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

    Smartwatch sync app

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

        @lakotaubp I am glad it worked. I noticed getting problems pairing the device after flashing the firmware version 1.3.0

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

          @rebecca58 I did add default BLE uuids to the app. If the watch supports them, SOME things should work, IF you are able to pair the watch and the watch supports them.

          It all depends on how the manufacturer implemented the functionality and if you are able to pair the watch. The only way to communicate that is currently implemented in the app, is BLE.

          However, the chances that it just works... Are not very high....

          1 條回覆 最後回覆 回覆 引用 0
          • R 離線
            RowdyRagamuffin
            最後由 編輯

            Hey @jiho app is working well so far on firmware 1.4. Connection is holding steady so far, love your work!

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

              Installed the app on my Nexus 5 today, and it works like a charm. Connected through the app at second attempt. So far I have not been able to connect with my Xiaomi Mi A2.

              Volla 22, Xiaomi Mi A2, Nexus5 (backup)

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

                The one thing I have noticied is that the initial connection is now quicker and lasts longer on the OP5 with 1.4 Once that connection drops out it will not re-connect. The OP5 says connected for about a second then it drops out. So without investigating further I suspect the PineTime is rejecting the connection, which is a known issue at ther end.
                Still no connection on PinePhone but that may be a permission problem with the phone also known about.

                jihoJ 1 條回覆 最後回覆 回覆 引用 0
                • E 離線
                  Emphrath
                  最後由 編輯

                  Hello ! I don't know if that's any help but I tried your app on a Garmin smartwatch. It's detected under a different name (which I guess is the BT dongle or sth) but i does connect to some extent: sometimes through the normal connection process, sometimes when the watch isn't in pairing mode (but BT on, of course).
                  In both cases, the app doesn't seem to access the data - it displays heartrate and steps monitor, but that's it - they're empty. On another hand I don't use smartwatches usually, so maybe these are data that only display after some time on the phone. Anyway that's a great initiative, best luck !

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

                    @lakotaubp That is good to know! I need to test it on different devices, I haven't been able to connect with 1.3.0 at all.
                    There seems to be a problem with the PinePhone in general at the moment.

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

                      @emphrath Hi, it is good to hear, that the app is able to connect! Heart rate and steps won't be able to sync, as no UUIDs have been added yet. If you are able to extract the UUIDs we can try adding it as a device.

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

                        @jiho Connection with 1.3.0 was more hit and miss for me too. 1.4.0 works a lot better but that rejected connection is an issue .

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

                          @magnargj Today I succeeded connectin with my Xiaomi Mi A2 for the first time. I have no idea what has changed. It was with firmware 1.4. With the pinephone (siglo) I did not succeed today. 😵

                          Volla 22, Xiaomi Mi A2, Nexus5 (backup)

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

                            In InfiniTime 1.7.0 the characteristic to sync the step count was added.

                            The app is now capable of syncing steps:

                            • At every sync the app will sync the steps that were added since the last sync
                            • If the amount of steps is smaller than the currently saved ones, it will sync the total amount of steps, as InfiniTime does not retain the steps after a reboot.

                            Also the app will now not sync empty values or "0".

                            You might have to sync twice after updating the app to first update the device revision, as the app will now check if a characteristic works for the installed firmware version.

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

                              @jiho Sorry not been around much for the last week or so. Do you mean your app will now sync steps or that the last Infinitime version now syncs steps. Also have there been updates to your app, if so do you have the link?

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

                                @lakotaubp Don't worry, I wasn't around for a long time either.

                                I mean both. Infinitime now lets you sync the step count and the app will also do it.

                                Take the latest build from here: https://gitlab.com/jiiho/uwatch/-/jobs/1851724064/artifacts/download?file_type=archive

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

                                  @jiho Thanks will give it a go.
                                  Edit: All works, I now have steps. Like the app icon too. Great wirk thanks

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • 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
                                              • 第一個貼文
                                                最後的貼文