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

    Smartwatch sync app

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

        Hey @jiho ! Which firmware version do you use? I guess 1.2 is second best, when 1.3 doesn't work?

        Volla 22, Xiaomi Mi A2, Nexus5 (backup)

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

          @jiho Are you willing to take pull requests? I was actually thinking about trying to make my own version of this app but then I found out you're already pretty far in! I have an PineTime and Pixel 3a with UT, and I also have a lot of experience with C++.

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

            @heyspencerb Absolutely! I'd love to see contributions!
            Though I am not using C++ but rather python

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

              @magnargj Hey! Yeah I am currently using 1.2

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

                @jiho Thanks for the tip. Looking forward to trying it.

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

                  @jiho thanks 👍

                  Volla 22, Xiaomi Mi A2, Nexus5 (backup)

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

                    @jiho Ah, I see! I'm less familiar but for my job I've had to write a lot of python this month as well so I will take a look! Probably for the best in terms of getting something working as soon as possible.

                    Have you looked at the InfiniTime source code to try and see what they changed from version 1.2 to 1.3? You said the issue now is Bluetooth won't connect?

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

                      @heyspencerb I didn't look at the InfiniTime source code yet, so I don't know what exactly they changed. The authentication process is being cancelled during the attempt to connect.

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

                        @jiho Ok, that sounds like a good spot for me to start. I will see if I can find the part that might have changed in the connection process.

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

                          @jiho Hey, so as a first step I wanted to re-create the issue you had so I installed infinitime 1.30 and then tried to connect and I had no issues at all. The watch connected first try, the time was set correctly to the phone's time and my heart rate data is syncing perfectly.

                          Maybe there is an issue with your install of 1.3? If I'm just the only lucky one then let me know and I can look over InfiniTime again but I also compared the releases and there didn't seem to be any updates to the connectivity added, only cosmetic and new features.

                          Since 1.30 is working for me I think I'll switch gears to notifications instead, let me know if you are having trouble with 1.30 still

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

                            @heyspencerb hmm, I'm not succeeding with 1.2.0 either. I wonder if it is phone dependent?

                            Volla 22, Xiaomi Mi A2, Nexus5 (backup)

                            1 條回覆 最後回覆 回覆 引用 0
                            • manlandM 離線
                              manland @heyspencerb
                              最後由 編輯

                              @heyspencerb When I tested it fail also for me. Looking at logs give me an error related to "heart rate". After starting the sensor in the watch (go to heart app and click on play), uwatch started to work!! I think there is a null for heart rate if you never start it since the last reboot of watch. And uwatch don't handle this case or something like that.

                              @jiho thanks for this app it's amazing ❤ Please don't stop your good work, we need a companion app for pinetime so much!

                              H 1 條回覆 最後回覆 回覆 引用 0
                              • QugetQ 離線
                                Quget
                                最後由 編輯

                                Ooo this looks interesting, I would love to test this with my Galaxy Watch 3.
                                I am just not able to build/develop for now. I will keep my eye on this 🙂

                                🌹

                                1 條回覆 最後回覆 回覆 引用 0
                                • H 離線
                                  heyspencerb @manland
                                  最後由 編輯

                                  @manland @magnargj Interesting, in case you want to try and recreate, here were my exact steps:

                                  1. Load InfiniTime version 1.20 on the watch
                                  2. Connect the app to the watch
                                  3. Disconnect the app
                                  4. Load InfiniTime version 1.30 on the watch
                                  5. Open the app again and click add a new watch, and add the watch

                                  Just now when I went to connect the watch again I was getting "pair unsuccessful" so I restarted the watch then tried again. When I tried again it paired on the second attempt and immidatly updated the time on the watch. The Bluetooth logo appeared on the watch and then my heart rate and steps data is updating well in real-time.

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

                                    @heyspencerb how do you restart the watch?

                                    Volla 22, Xiaomi Mi A2, Nexus5 (backup)

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

                                      @magnargj forget it, just holding the button for 10 seconds ☺

                                      Volla 22, Xiaomi Mi A2, Nexus5 (backup)

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

                                        I’m on a Pixel 3a xl on the developer channel

                                        Here’s a video

                                        https://imgur.com/a/Mr6cGtr

                                        1 條回覆 最後回覆 回覆 引用 1
                                        • J 離線
                                          JF002
                                          最後由 編輯

                                          Hi! I'm JF002, the creator of InfiniTime! I received a PM about this app, and I have to say I'm really happy to know that a companion app is being developed for UBPorts, and to see so many PineTime users in this community!

                                          I see that many of you experience issues connecting the watch to the phone. We are aware of issues around BLE connectivity in InfiniTime: unexpected disconnections and difficulties to pair the watch to the phone are the most common. What are currently trying to analyze those issues, but debugging BLE is really not easy. You can follow our discussions here, or join us in the PineTime chat rooms (you'll find the link on the pine64 website.

                                          Until we find fixes for these issues, the best workaround is to reset the watch (keep the button pushed for ~10s). BLE should be working again after the reboot.

                                          Let me know if I can be of any help with this project! I'll also probably try this app soon on my PinePhone 🙂

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

                                            @jf002 Hi JF002! Thank you for creating InfiniTime. Using the PineTime with InfiniTime actually pushed me to try my hands on my first ever QML app. I got the opportunity to learn so much and of course I am still learning and experimenting.

                                            I am always happy to receive feedback and help especially with the BLE part, as I am sure, I am doing many things wrong or at least not the best way.

                                            1 條回覆 最後回覆 回覆 引用 2
                                            • Rebecca58R 離線
                                              Rebecca58
                                              最後由 編輯

                                              Would it work with a Huawei band 4 watch? I'd love to try this!!

                                              B TotalSonicT jihoJ 3 條回覆 最後回覆 回覆 引用 0
                                              • 第一個貼文
                                                最後的貼文