Navigation

    UBports Robot Logo

    UBports Forum

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

    Smartwatch sync app

    App Development
    21
    101
    7615
    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
      magnargj @magnargj last edited by

      @magnargj Today I succeeded connectin with my Xiaomi Mi A2 for the first time. I have no idea what has changed. It was with firmware 1.4. With the pinephone (siglo) I did not succeed today. 😵

      Xiaomi Mi A2, Nexus5 (backup)

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

        In InfiniTime 1.7.0 the characteristic to sync the step count was added.

        The app is now capable of syncing steps:

        • At every sync the app will sync the steps that were added since the last sync
        • If the amount of steps is smaller than the currently saved ones, it will sync the total amount of steps, as InfiniTime does not retain the steps after a reboot.

        Also the app will now not sync empty values or "0".

        You might have to sync twice after updating the app to first update the device revision, as the app will now check if a characteristic works for the installed firmware version.

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

          @jiho Sorry not been around much for the last week or so. Do you mean your app will now sync steps or that the last Infinitime version now syncs steps. Also have there been updates to your app, if so do you have the link?

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

            @lakotaubp Don't worry, I wasn't around for a long time either.

            I mean both. Infinitime now lets you sync the step count and the app will also do it.

            Take the latest build from here: https://gitlab.com/jiiho/uwatch/-/jobs/1851724064/artifacts/download?file_type=archive

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

              @jiho Thanks will give it a go.
              Edit: All works, I now have steps. Like the app icon too. Great wirk thanks

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

                @jiho Was just wondering how this was developing and if it was close to being in the OpenStore. Thanks

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

                  @lakotaubp Sorry for the late reply. (And missing news in general)

                  To be honest I ran into some problems with the current version of bluez.
                  Pin verification will be made mandatory in Infinitime at some point. As this functionality is already included in the System Settings, I wanted to use it, to pair and verify the watch and then use it in the app. That would also provide an easy way to automatically connect to the watch. Gatttool however is not able to enter existing bluetooth connections and the implemented version of bluez is not able to handle GATT very well or at all (never actually got it to do what I want).

                  So to work around some things, I started to rethink the backend and am currently working on that.

                  Also I want to see what I can do with the upcoming 20.04 base as hopefully the bluez version will be able to handle the requests way better.

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

                    @jiho Thanks for the update and work.

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

                      @jiho The link is 404ing is there a fix coming https://gitlab.com/jiiho/uwatch/-/jobs/1851724064/artifacts/download?file_type=archive Thanks

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

                        @lakotaubp Sorry, I moved to project to a group in GitLab (to have all UT apps in the same place).

                        You can find the latest builds here: https://gitlab.com/jiiho1/uwatch/-/pipelines

                        The latest build (a few minutes ago) should be one last one you already have (with clickable 7 build).

                        A lot more changes are currently happening in the branch "movetojs", however not everything is working in there yet.

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

                          @jiho Thank you for the info

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

                            Hi, I would try Uwatch, but I can't find how to install it.

                            Someone can give some tips? 🙂 please?

                            Keneda jiho 2 Replies Last reply Reply Quote 0
                            • Keneda
                              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-Now : Meizu MX4 (Stable) for daily use
                              Spare : Nexus 5 (Stable)

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

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

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

                                  2015-Now : Meizu MX4 (Stable) for daily use
                                  Spare : Nexus 5 (Stable)

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

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

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

                                        thanks a lot I'll ty this app 🙂

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

                                          jiho 1 Reply Last reply Reply Quote 0
                                          • jiho
                                            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
                                            • First post
                                              Last post