UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Smartwatch sync app

    Scheduled Pinned Locked Moved App Development
    107 Posts 22 Posters 39.2k Views 10 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • M Offline
        magnargj @jiho
        last edited by

        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 Reply Last reply Reply Quote 0
        • H Offline
          heyspencerb
          last edited by

          @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 Reply Last reply Reply Quote 2
          • jihoJ Offline
            jiho @heyspencerb
            last edited by

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

            H 1 Reply Last reply Reply Quote 0
            • jihoJ Offline
              jiho @magnargj
              last edited by

              @magnargj Hey! Yeah I am currently using 1.2

              M 1 Reply Last reply Reply Quote 0
              • LakotaubpL Offline
                Lakotaubp @jiho
                last edited by

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

                1 Reply Last reply Reply Quote 0
                • M Offline
                  magnargj @jiho
                  last edited by

                  @jiho thanks πŸ‘

                  Volla 22, Xiaomi Mi A2, Nexus5 (backup)

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    heyspencerb @jiho
                    last edited by 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 Reply Last reply Reply Quote 0
                    • jihoJ Offline
                      jiho @heyspencerb
                      last edited by

                      @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 Replies Last reply Reply Quote 0
                      • H Offline
                        heyspencerb @jiho
                        last edited by

                        @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 Reply Last reply Reply Quote 0
                        • H Offline
                          heyspencerb @jiho
                          last edited by 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 Replies Last reply Reply Quote 0
                          • M Offline
                            magnargj @heyspencerb
                            last edited by

                            @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 Reply Last reply Reply Quote 0
                            • manlandM Offline
                              manland @heyspencerb
                              last edited by

                              @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 Reply Last reply Reply Quote 0
                              • QugetQ Offline
                                Quget
                                last edited by

                                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 Reply Last reply Reply Quote 0
                                • H Offline
                                  heyspencerb @manland
                                  last edited by

                                  @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 Reply Last reply Reply Quote 0
                                  • M Offline
                                    magnargj @heyspencerb
                                    last edited by magnargj

                                    @heyspencerb how do you restart the watch?

                                    Volla 22, Xiaomi Mi A2, Nexus5 (backup)

                                    M 1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      magnargj @magnargj
                                      last edited by

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

                                      Volla 22, Xiaomi Mi A2, Nexus5 (backup)

                                      H 1 Reply Last reply Reply Quote 1
                                      • H Offline
                                        heyspencerb @magnargj
                                        last edited by

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

                                        Here’s a video

                                        https://imgur.com/a/Mr6cGtr

                                        1 Reply Last reply Reply Quote 1
                                        • J Offline
                                          JF002
                                          last edited by

                                          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 Reply Last reply Reply Quote 8
                                          • jihoJ Offline
                                            jiho @JF002
                                            last edited by

                                            @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 Reply Last reply Reply Quote 2
                                            • Rebecca58R Offline
                                              Rebecca58
                                              last edited by

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

                                              B TotalSonicT jihoJ 3 Replies Last reply Reply Quote 0
                                              • First post
                                                Last post