Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Smartwatch sync app

    App Development
    21
    101
    8013
    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.
    • Lakotaubp
      Lakotaubp @bradman1171 last edited by

      @bradman1171 Only just dispatched from China.S o still waiting.

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

        @lakotaubp Very nice!
        Be aware though that UT does not seem to be able to connect, if the firmware version 1.3.0 is installed.

        Many things are not yet implemented, but I am getting there. OTA support and notifications will probably be the next things I'm going to implement.

        M Lakotaubp 2 Replies Last reply Reply Quote 1
        • M
          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?

          Xiaomi Mi A2, Nexus5 (backup)

          jiho 1 Reply Last reply Reply Quote 0
          • H
            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++.

            jiho 1 Reply Last reply Reply Quote 2
            • jiho
              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
              • jiho
                jiho @magnargj last edited by

                @magnargj Hey! Yeah I am currently using 1.2

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

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

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

                    @jiho thanks ๐Ÿ‘

                    Xiaomi Mi A2, Nexus5 (backup)

                    1 Reply Last reply Reply Quote 0
                    • H
                      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?

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

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

                              Xiaomi Mi A2, Nexus5 (backup)

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

                                      @heyspencerb how do you restart the watch?

                                      Xiaomi Mi A2, Nexus5 (backup)

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

                                        @magnargj forget it, just holding the button for 10 seconds โ˜บ

                                        Xiaomi Mi A2, Nexus5 (backup)

                                        H 1 Reply Last reply Reply Quote 1
                                        • H
                                          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
                                            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 ๐Ÿ™‚

                                            jiho 1 Reply Last reply Reply Quote 7
                                            • First post
                                              Last post