• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.
    • P Offline
      Phiibuntu
      last edited by 10 Jun 2022, 18:08

      thanks a lot I'll ty this app πŸ™‚

      1 Reply Last reply Reply Quote 0
      • P Offline
        Phiibuntu
        last edited by 11 Jun 2022, 07:18

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

        perhaps this watch can't synchronize?

        J 1 Reply Last reply 11 Jun 2022, 10:43 Reply Quote 0
        • J Offline
          jiho @Lakotaubp
          last edited by 11 Jun 2022, 10:39

          @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 Reply Last reply Reply Quote 0
          • J Offline
            jiho @Phiibuntu
            last edited by 11 Jun 2022, 10:43

            @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 Reply Last reply Reply Quote 0
            • M Offline
              martijntje
              last edited by 3 Sept 2022, 12:50

              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?

              L 1 Reply Last reply 3 Sept 2022, 14:29 Reply Quote 0
              • L Offline
                Lakotaubp @martijntje
                last edited by 3 Sept 2022, 14:29

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

                M 1 Reply Last reply 3 Sept 2022, 15:45 Reply Quote 0
                • M Offline
                  martijntje @Lakotaubp
                  last edited by 3 Sept 2022, 15:45

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

                  J 1 Reply Last reply 5 Sept 2022, 22:26 Reply Quote 0
                  • J Offline
                    jiho @martijntje
                    last edited by jiho 9 May 2022, 22:37 5 Sept 2022, 22:26

                    @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 Reply Last reply 19 Oct 2022, 18:29 Reply Quote 0
                    • E Offline
                      Equareo @jiho
                      last edited by 19 Oct 2022, 18:29

                      @jiho Hi, do you have a new download link? The old one expired. I tried building it from source, but I'm too noob to figure out the apparmor settings. unconfined doesn't work XD

                      J 1 Reply Last reply 19 Oct 2022, 20:01 Reply Quote 0
                      • J Offline
                        jiho @Equareo
                        last edited by 19 Oct 2022, 20:01

                        @equareo Sure, here you go πŸ™‚ https://gitlab.com/jiiho1/uwatch/-/jobs/2982616820/artifacts/download?file_type=archive

                        E 1 Reply Last reply 19 Oct 2022, 20:53 Reply Quote 1
                        • E Offline
                          Equareo @jiho
                          last edited by Equareo 19 Oct 2022, 20:53

                          Thank you πŸ˜„

                          Edit: I'm on Edge with the Fairphone 4 and infinitime 1.11.0. It's connected, but i'm not getting any stats. Bluetooth settings says it's a mouse :brain:

                          J 1 Reply Last reply 19 Oct 2022, 22:00 Reply Quote 0
                          • J Offline
                            jiho @Equareo
                            last edited by jiho 19 Oct 2022, 22:00

                            @equareo It should not matter if it is interpreted as a mouse :D... after the first connect, it will try to sync the firmware version of the watch (restart the app if the sync does not work at first). You can manually sync by swiping down.

                            E 1 Reply Last reply 19 Oct 2022, 22:22 Reply Quote 0
                            • E Offline
                              Equareo @jiho
                              last edited by Equareo 19 Oct 2022, 22:22

                              @jiho Nope, not getting it to work. Maybe because i'm running the firmware that came out three days ago, or maybe i'm just too on the edge XD

                              Screenshot from 2022-10-20 00-24-32.png This is as far as i get. Refresh doesn't do anything.

                              J 1 Reply Last reply 19 Oct 2022, 23:33 Reply Quote 0
                              • J Offline
                                jiho @Equareo
                                last edited by 19 Oct 2022, 23:33

                                @equareo Could you please try this one: https://gitlab.com/jiiho1/uwatch/-/jobs/3199676376/artifacts/download?file_type=archive

                                I added a progress bar to display the initial sync (firmware version should then automatically update). Before that, could you delete the app data via UT Tweak Tool to get a clean state?

                                Only after the firmware version synced successfully will you be able to sync the rest of the data. (Battery status is currently broken as BlueZ can't fetch that attribute)

                                E 1 Reply Last reply 20 Oct 2022, 06:01 Reply Quote 1
                                • E Offline
                                  Equareo @jiho
                                  last edited by 20 Oct 2022, 06:01

                                  @jiho After deleting the app through the UT Tweak tool, and then reinstalling it just works. I haven't upgraded the system or done anything else fancy, so no idea why it didn't work the first time :confused_face: Thank you so much for the help πŸ™‚

                                  A 1 Reply Last reply 20 Oct 2022, 06:46 Reply Quote 0
                                  • A Online
                                    arubislander @Equareo
                                    last edited by 20 Oct 2022, 06:46

                                    @equareo The edge channel is not the best place to be on for Ubuntu Touch. It is an outlier and for highly experimental stuff, and sometimes lags behind, when the stuff gets into the main channels.

                                    If you want to be on the cusp of development and help test new features as they drop, the devel channel is the place you want to be.

                                    πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                                    Happily running Ubuntu Touch
                                    Google Pixel 3a (20.04 DEV)
                                    JingPad (24.04 preview)
                                    Meizu Pro 5 (16.04 DEV)

                                    1 Reply Last reply Reply Quote 2
                                    • J Offline
                                      jiho
                                      last edited by 23 Oct 2022, 17:03

                                      I just added automatic sync to the app and I'd like to get some feedback, if anyone is interested. To sync in the background, disable suspension with UTTT.

                                      Build: https://gitlab.com/jiiho1/uwatch/-/jobs/3214702902/artifacts/download?file_type=archive

                                      If everything works as expected, then I'd like to submit it as a beta app to the app store. πŸ™‚

                                      sandworm88S 1 Reply Last reply 19 Nov 2022, 10:21 Reply Quote 3
                                      • sandworm88S Offline
                                        sandworm88 @jiho
                                        last edited by 19 Nov 2022, 10:21

                                        @jiho Last version dont see the watches.
                                        Just click '+', open bt settings, connect to Infinitime device, go back - and nothing!

                                        Redmi Note 9 Pro latest stable xenial (daily driver).
                                        Poco F1 focal devel (for experiments)
                                        Lenovo Tab M10 X605F/L latest stable xenial (for bedside table)

                                        J 1 Reply Last reply 20 Nov 2022, 21:11 Reply Quote 0
                                        • J Offline
                                          jiho @sandworm88
                                          last edited by 20 Nov 2022, 21:11

                                          @sandworm88 I'm sorry, I should have added it to the first post also.
                                          With the updated BlueZ version in the Dev (and I think RC) channel, I stopped using gattool, as it made things a lot more difficult.

                                          Instead I'm using bluetoothctl. Unfortunately the current BlueZ version in stable is not able to use GATT commands to fetch the information. This includes paired devices.

                                          A 1 Reply Last reply 20 Nov 2022, 23:14 Reply Quote 0
                                          • A Online
                                            arubislander @jiho
                                            last edited by 20 Nov 2022, 23:14

                                            @jiho it was decided at the last moment to revert the bluez stack to the one in stable, as the new one caused too much breakage.
                                            How will this decision impact your app?

                                            πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                                            Happily running Ubuntu Touch
                                            Google Pixel 3a (20.04 DEV)
                                            JingPad (24.04 preview)
                                            Meizu Pro 5 (16.04 DEV)

                                            J 1 Reply Last reply 20 Nov 2022, 23:39 Reply Quote 0
                                            • First post
                                              Last post