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.1k 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.
      • KenedaK Offline
        Keneda @Phiibuntu
        last edited by Keneda

        @phiibuntu
        I think you have to download source files and build the click yourself. Then you can install click using UTTT.

        I searched a bit the git given above for a click but didn't find any.

        2015-2023 : Meizu MX4 ☠️⚰️✝️
        2023-2024 : Nexus 5 ☠️⚰️✝️
        2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
        🇲🇫🇬🇧

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

          @phiibuntu You can download build artifacts from here: https://gitlab.com/jiiho1/uwatch/-/pipelines

          You'll be able to download a ZIP file that contains the click package. You can install it either with UTTT or opening it with the Open Store.

          Beware however... I am currently rewriting a huge part of the backand in 'movetojs'. So make sure to download the artifact from 'main', because some things are not yet working in 'movetojs'.

          If needed I can also build a package for you.

          KenedaK 1 Reply Last reply Reply Quote 1
          • KenedaK Offline
            Keneda @jiho
            last edited by

            @jiho
            Maybe you could publish a beta on open-store if it's in beta state ?

            2015-2023 : Meizu MX4 ☠️⚰️✝️
            2023-2024 : Nexus 5 ☠️⚰️✝️
            2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
            🇲🇫🇬🇧

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

              @keneda It's difficult to define what the beta state is... How much should the app be able to do to be understood to be in beta.

              But besides that, I haven't implemented an appropriate error management yet.

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

                @jiho From what I have seen for a beta it works Ok steps and heart rate wise with the PineTime. Battery % is a little off and data transfer is a bit slow on my OP5 quicker with the Pixel 3a but then the PineTime is still being worked on too.
                Once your reasonably happy I would go for it, you could tinker around with it for ages and still not be 100% happy with the result. The more downloads hopefully the more more feed back leading to quicker updates. TELEports is still beta in the Opentore and Dekko is experimental. Just clearly state it's a Beta and what future updates will bring and go for it.

                jihoJ 1 Reply Last reply Reply Quote 2
                • P Offline
                  Phiibuntu
                  last edited by

                  thanks a lot I'll ty this app 🙂

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    Phiibuntu
                    last edited by

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

                    perhaps this watch can't synchronize?

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

                      @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
                      • jihoJ Offline
                        jiho @Phiibuntu
                        last edited by

                        @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

                          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?

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

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

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

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

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

                                @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 Reply Quote 0
                                • E Offline
                                  Equareo @jiho
                                  last edited by

                                  @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

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

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

                                    E 1 Reply Last reply Reply Quote 1
                                    • E Offline
                                      Equareo @jiho
                                      last edited by Equareo

                                      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:

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

                                        @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 Reply Quote 0
                                        • E Offline
                                          Equareo @jiho
                                          last edited by Equareo

                                          @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.

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

                                            @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 Reply Quote 1
                                            • E Offline
                                              Equareo @jiho
                                              last edited by

                                              @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 🙂

                                              arubislanderA 1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post