• 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.4k 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.
    • J Offline
      jiho
      last edited by jiho 8 May 2021, 13:17

      Warning: I removed gattool support from the latest builds. This causes devices on stable to not be able to communicate to the paired watches as the current BlueZ (bluetoothctl) version is not able to send GATT commands.

      Working build for xenial which includes support for gatttool: https://gitlab.com/jiiho1/uwatch/uploads/c4dd2cffae019106bebab9641f69c4b1/uwatch.jiho_0.1_all.click

      What works:

      • Searching and adding devices from within the app (to connect the device automatically, use System Settings)
      • Sync time on the watch upon connecting
      • Sync battery level
      • Sync heart rate
      • Sync firmware version
      • Sync device name
      • Sync hardware revision
      • Sync steps (available in firmware version 1.7.0 and higher)
      • Graphs to display synced data over time
      • Automatically fetch data regularly

      Things I want to implement or things I'm currently working on:

      • Calculate burnt calories (will be calclated by steps per day)
      • Notifications
      • Music controls
      • (Maybe an indicator)

      Also I am currently focusing on the PineTime with InfiniTime.

      Source code: https://gitlab.com/jiiho1/uwatch
      uGatt: https://gitlab.com/jiiho/ugatt (GattTool for Ubuntu Touch)

      1 Reply Last reply Reply Quote 14
      • T Offline
        TotalSonic
        last edited by TotalSonic 5 Aug 2021, 17:19 8 May 2021, 17:18

        The start looks great. What watches running what operating systems is your app going to be compatible with? There is currently the Telescope app that works very well for syncing to smart watches running Asteroid OS (I use it with my LG G Watch R and Urbane) - and RockWork which syncs to Pebble watches as well.

        Best regards,
        Steve Berson

        1 Reply Last reply Reply Quote 0
        • J Offline
          jiho
          last edited by 8 May 2021, 17:49

          Currently I am working with a PineTime with InfiniTime installed.

          This is actually my first attempt to write an app that communicates with smartwatches, so I have no idea how the communication usually happens between the watch and the phone/computer.

          As long as the device is using BLE some form of communication should be possible at least.

          I was also looking into ways to communicate with wearOS watches and Fitbit devices.
          I haven't put a lot of thoughts into them yet though...

          1 Reply Last reply Reply Quote 1
          • M Offline
            magnargj
            last edited by 11 Aug 2021, 16:49

            @jiho just received my pinetime, and just want to express my hopes and enthusiasm for your work! šŸ˜Ž

            Volla 22, Xiaomi Mi A2, Nexus5 (backup)

            J 1 Reply Last reply 16 Aug 2021, 09:12 Reply Quote 0
            • J Offline
              JosuƩ
              last edited by 12 Aug 2021, 10:01

              I'm waiting to have a companion app for pinetime :beaming_face_with_smiling_eyes:
              Looks like the gitlab links are broken or you have a closed profile. I hope you have sucess with the app. I'll keep an eye here šŸ™‚

              J 1 Reply Last reply 13 Aug 2021, 21:00 Reply Quote 0
              • M Offline
                Moem
                last edited by 12 Aug 2021, 13:02

                I use Rockwork myself, which works with Pebble watches, and I can confirm that having a good app that allows using a smartwatch on UT is all kinds of awesome.
                Keep on keeping on, you will certainly help make UT more popular!

                Is currently using an Op5t
                Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jiho @JosuƩ
                  last edited by 13 Aug 2021, 21:00

                  @josuƩ thank you very much!
                  I don't know what's wrong with the links... I made them publicly available. Please try that one: https://gitlab.com/jiiho/uwatch/-/tree/main

                  I too hope that I'll be able to create an app that is actually usable. It is my very first QML app (and Open Source project), so I'll see how it goes.

                  J 1 Reply Last reply 15 Aug 2021, 09:52 Reply Quote 0
                  • O Offline
                    OhneZ
                    last edited by 14 Aug 2021, 21:54

                    Very good work.
                    You have my respect.
                    At the moment I am using Sailfish OS. There is the app (in open repos) Amazfish.
                    PineTime is also being developed there.
                    Maybe you can get help there if you need it. Maybe Amazfit devices would also be interesting for you.

                    J 1 Reply Last reply 16 Aug 2021, 09:11 Reply Quote 0
                    • J Offline
                      JosuƩ @jiho
                      last edited by 15 Aug 2021, 09:52

                      @jiho It already works. Thanks!

                      1 Reply Last reply Reply Quote 1
                      • J Offline
                        jiho @OhneZ
                        last edited by 16 Aug 2021, 09:11

                        @ohnez I would love to be able to support Amazfit devices! Unfortunately I don't have one so I either need help here or I might get one later.

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          jiho @magnargj
                          last edited by 16 Aug 2021, 09:12

                          @magnargj Thanks! If you'd like to try it out, the CI in gitlab should work now.

                          M 1 Reply Last reply 16 Aug 2021, 10:50 Reply Quote 0
                          • M Offline
                            magnargj @jiho
                            last edited by 16 Aug 2021, 10:50

                            @jiho Fantastic! Thanks. I was able to install the click package sucessfully, but the app seems to struggle with pairing with the watch. I suspect something is wrong with the bluetooth functionality of the phone. I'm investigating eagerly...

                            Volla 22, Xiaomi Mi A2, Nexus5 (backup)

                            J 1 Reply Last reply 16 Aug 2021, 21:38 Reply Quote 0
                            • J Offline
                              jiho @magnargj
                              last edited by 16 Aug 2021, 21:38

                              @magnargj Which firmware version is currently installed on your PineTime? I also have troubles connecting to a PineTime with InfiniTime 1.3.0. Neither the system settings nor my app are able to connect.

                              M 1 Reply Last reply 17 Aug 2021, 05:56 Reply Quote 0
                              • M Offline
                                magnargj @jiho
                                last edited by 17 Aug 2021, 05:56

                                @jiho it's 1.3.0. And I manage to connect to other bluetooth devices such as my wife's headphones... So, I think there might be the firmware... It works with my pinephone and siglo... Curtently waiting for the battery to drain sice I managed to send it into a never ending bootloop yesterday šŸ˜‚

                                Volla 22, Xiaomi Mi A2, Nexus5 (backup)

                                1 Reply Last reply Reply Quote 0
                                • LakotaubpL Offline
                                  Lakotaubp
                                  last edited by 24 Aug 2021, 17:51

                                  @jiho Have a PineTime on the way now so will give this a try when it arrives.

                                  B J 2 Replies Last reply 28 Aug 2021, 23:14 Reply Quote -1
                                  • B Offline
                                    bradman1171 @Lakotaubp
                                    last edited by 28 Aug 2021, 23:14

                                    @lakotaubp Did you get any luck?

                                    I have a Pixel 3a Ubuntu Touch and I am very interested in getting a pinetime as a smartwatch when its finished or workable!

                                    LakotaubpL 1 Reply Last reply 29 Aug 2021, 04:34 Reply Quote 0
                                    • LakotaubpL Offline
                                      Lakotaubp @bradman1171
                                      last edited by 29 Aug 2021, 04:34

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

                                      1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        jiho @Lakotaubp
                                        last edited by jiho 31 Aug 2021, 11:00

                                        @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 LakotaubpL 2 Replies Last reply 31 Aug 2021, 14:40 Reply Quote 1
                                        • M Offline
                                          magnargj @jiho
                                          last edited by 31 Aug 2021, 14:40

                                          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)

                                          J 1 Reply Last reply 31 Aug 2021, 19:15 Reply Quote 0
                                          • H Offline
                                            heyspencerb
                                            last edited by 31 Aug 2021, 17:10

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

                                            J 1 Reply Last reply 31 Aug 2021, 19:15 Reply Quote 2
                                            • First post
                                              Last post