UBports Robot Logo UBports Forum
    • 版面
    • 最新
    • 標籤
    • 熱門
    • 使用者
    • 群組
    • 搜尋
    • 註冊
    • 登入

    Smartwatch sync app

    已排程 已置頂 已鎖定 已移動 App Development
    107 貼文 22 Posters 39.2k 瀏覽 10 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
      回覆
      • 在新貼文中回覆
      登入後回覆
      此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
      • LakotaubpL 離線
        Lakotaubp
        最後由 編輯

        @jiho Was just wondering how this was developing and if it was close to being in the OpenStore. Thanks

        jihoJ 1 條回覆 最後回覆 回覆 引用 0
        • jihoJ 離線
          jiho @Lakotaubp
          最後由 編輯

          @lakotaubp Sorry for the late reply. (And missing news in general)

          To be honest I ran into some problems with the current version of bluez.
          Pin verification will be made mandatory in Infinitime at some point. As this functionality is already included in the System Settings, I wanted to use it, to pair and verify the watch and then use it in the app. That would also provide an easy way to automatically connect to the watch. Gatttool however is not able to enter existing bluetooth connections and the implemented version of bluez is not able to handle GATT very well or at all (never actually got it to do what I want).

          So to work around some things, I started to rethink the backend and am currently working on that.

          Also I want to see what I can do with the upcoming 20.04 base as hopefully the bluez version will be able to handle the requests way better.

          LakotaubpL 1 條回覆 最後回覆 回覆 引用 2
          • LakotaubpL 離線
            Lakotaubp @jiho
            最後由 編輯

            @jiho Thanks for the update and work.

            1 條回覆 最後回覆 回覆 引用 0
            • LakotaubpL 離線
              Lakotaubp @jiho
              最後由 編輯

              @jiho The link is 404ing is there a fix coming https://gitlab.com/jiiho/uwatch/-/jobs/1851724064/artifacts/download?file_type=archive Thanks

              jihoJ 1 條回覆 最後回覆 回覆 引用 0
              • jihoJ 離線
                jiho @Lakotaubp
                最後由 編輯

                @lakotaubp Sorry, I moved to project to a group in GitLab (to have all UT apps in the same place).

                You can find the latest builds here: https://gitlab.com/jiiho1/uwatch/-/pipelines

                The latest build (a few minutes ago) should be one last one you already have (with clickable 7 build).

                A lot more changes are currently happening in the branch "movetojs", however not everything is working in there yet.

                LakotaubpL 1 條回覆 最後回覆 回覆 引用 1
                • LakotaubpL 離線
                  Lakotaubp @jiho
                  最後由 編輯

                  @jiho Thank you for the info

                  1 條回覆 最後回覆 回覆 引用 0
                  • P 離線
                    Phiibuntu
                    最後由 編輯

                    Hi, I would try Uwatch, but I can't find how to install it.

                    Someone can give some tips? 🙂 please?

                    KenedaK jihoJ 2 條回覆 最後回覆 回覆 引用 0
                    • KenedaK 離線
                      Keneda @Phiibuntu
                      最後由 Keneda 編輯

                      @phiibuntu
                      I think you have to download source files and build the click yourself. Then you can install click using UTTT.

                      I searched a bit the git given above for a click but didn't find any.

                      2015-2023 : Meizu MX4 ☠️⚰️✝️
                      2023-2024 : Nexus 5 ☠️⚰️✝️
                      2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                      🇲🇫🇬🇧

                      1 條回覆 最後回覆 回覆 引用 0
                      • jihoJ 離線
                        jiho @Phiibuntu
                        最後由 編輯

                        @phiibuntu You can download build artifacts from here: https://gitlab.com/jiiho1/uwatch/-/pipelines

                        You'll be able to download a ZIP file that contains the click package. You can install it either with UTTT or opening it with the Open Store.

                        Beware however... I am currently rewriting a huge part of the backand in 'movetojs'. So make sure to download the artifact from 'main', because some things are not yet working in 'movetojs'.

                        If needed I can also build a package for you.

                        KenedaK 1 條回覆 最後回覆 回覆 引用 1
                        • KenedaK 離線
                          Keneda @jiho
                          最後由 編輯

                          @jiho
                          Maybe you could publish a beta on open-store if it's in beta state ?

                          2015-2023 : Meizu MX4 ☠️⚰️✝️
                          2023-2024 : Nexus 5 ☠️⚰️✝️
                          2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                          🇲🇫🇬🇧

                          jihoJ 1 條回覆 最後回覆 回覆 引用 0
                          • jihoJ 離線
                            jiho @Keneda
                            最後由 編輯

                            @keneda It's difficult to define what the beta state is... How much should the app be able to do to be understood to be in beta.

                            But besides that, I haven't implemented an appropriate error management yet.

                            LakotaubpL 1 條回覆 最後回覆 回覆 引用 0
                            • LakotaubpL 離線
                              Lakotaubp @jiho
                              最後由 Lakotaubp 編輯

                              @jiho From what I have seen for a beta it works Ok steps and heart rate wise with the PineTime. Battery % is a little off and data transfer is a bit slow on my OP5 quicker with the Pixel 3a but then the PineTime is still being worked on too.
                              Once your reasonably happy I would go for it, you could tinker around with it for ages and still not be 100% happy with the result. The more downloads hopefully the more more feed back leading to quicker updates. TELEports is still beta in the Opentore and Dekko is experimental. Just clearly state it's a Beta and what future updates will bring and go for it.

                              jihoJ 1 條回覆 最後回覆 回覆 引用 2
                              • P 離線
                                Phiibuntu
                                最後由 編輯

                                thanks a lot I'll ty this app 🙂

                                1 條回覆 最後回覆 回覆 引用 0
                                • P 離線
                                  Phiibuntu
                                  最後由 編輯

                                  Install is ok thanks, but it seems that synch doesn't work with xiaomi mi watch lite.

                                  perhaps this watch can't synchronize?

                                  jihoJ 1 條回覆 最後回覆 回覆 引用 0
                                  • jihoJ 離線
                                    jiho @Lakotaubp
                                    最後由 編輯

                                    @lakotaubp Thanks for the advice. You are right, it might be a good idea to submit the app, when I think it is ready as a beta.

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • jihoJ 離線
                                      jiho @Phiibuntu
                                      最後由 編輯

                                      @phiibuntu Sorry, I don't know. The app itself uses Bluetooth Low Energy to sync the data. So the watch needs to support this.

                                      I've implemented default values that are based on the official documentation. So as long as a watch uses BLE with these values, SOME data can be synced.

                                      If that's not the case but the watch uses BLE then the BLE GATT values need to be added to the app.

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • M 離線
                                        martijntje
                                        最後由 編輯

                                        New UT user here. I've managed to install from the latest artifact on gitlab (which wasn't easy, as I didn't know how to install those click files!). Now I'm stuck on pairing the device. When I connect to the device from uwatch I see 6 digits on my watch and I get a prompt on the phone.

                                        The obvious thing to do do is then to enter the numbers and continue. I can enter the numbers fine, but I cannot continue after. None of the buttons work, not even the cancel. After a while it seems to time out and then gives an error that it's unable to pair.

                                        I'm running the stable version of UT and InfiniTime 1.10.0. Am I doing something wrong?

                                        LakotaubpL 1 條回覆 最後回覆 回覆 引用 0
                                        • LakotaubpL 離線
                                          Lakotaubp @martijntje
                                          最後由 編輯

                                          @martijntje Can you state which phone you are using please, it might help.

                                          M 1 條回覆 最後回覆 回覆 引用 0
                                          • M 離線
                                            martijntje @Lakotaubp
                                            最後由 編輯

                                            Of course! I should have included that in my post. It's a Nexus 5.

                                            jihoJ 1 條回覆 最後回覆 回覆 引用 0
                                            • jihoJ 離線
                                              jiho @martijntje
                                              最後由 jiho 編輯

                                              @martijntje Thanks for trying out the app.
                                              The pairing is currently broken it that version of the app. You can pair the watch via the system settings and then try again. That should add the watch as an "already known device".

                                              With the BlueZ update in the devel channel I was able to rebuild the back end and let the pairing process (and automatic reconnect) be handled by system settings.

                                              This should make the whole process smoother and overall faster (I hope). In case you think of using the development channel (or wait until the change hits stable), feel free to try out this new version: https://gitlab.com/jiiho1/uwatch/-/jobs/2982595472/artifacts/download?file_type=archive

                                              However, there currently is a drawback: It seems that with this new version, BlueZ is not able to fetch all necessary services from the watch. Because of that the battery level can't be read and you will most likely get an "impossible" value back.

                                              E 1 條回覆 最後回覆 回覆 引用 0
                                              • 第一個貼文
                                                最後的貼文