Made a simple galaxy watch app for data monitoring

I made a simple Samsung galaxy watch app so that I can monitor some data live while I foil around the lake. I was previously using Alcor Telemetry from the app store, but it stopped working. It was also removed from the app store as far as I can tell. Right now, my app is only monitoring speed, Voltage, current in, and mosfet temperature. I determine speed using location data in mph. The app allows you to adjust the cell count, and it uses this to show average per cell voltage.

I should be able to share the apk with people if anyone is interested. I have not tried to compile it yet though. I will look into this if it gains traction. I know others have made apple watch apps so I figured I would put something out there for the rest of us.

For reference I only have a galaxy watch 4, but I believe with the API I used, it should run on anything else newer than that as well.

8 Likes

Nice work!
Just to be clear, this is for connecting to a vesc with Bluetooth?

That is correct. Connection and polling over bluetooth. Polling is set to happen every 2 seconds.

I was looking for something similar. I am using my s7 but it is not very handy. Some data on watch would be really nice. You use the gps of the watch fir the speed?

Yup. I had a chance to test it out today on the lake. It connects and data updates as expected. I think I am going to increase the frequency the speed updates since it felt too slow when I was using it. Also, the current isnt updating as it should. Just reading 0.00 the whole time.

I should be able to fix that too.

Exactly what I was looking for: Could you share the apk?

I put the apk here.

https://drive.google.com/drive/folders/14RpvRifOxH45zfwHDP3dLzZJdpShq82M?usp=sharing

I updated the speed to update every 0.5 seconds. I will leave the file there for now. I am going to work on it more soon. For some reason, the current in is still not working.

Let me know if the link isn’t working or you have problems with the app.

3 Likes

For your information.
It works on an Android Pixel7 phone too.
Can you maybe add an option to set it to km/h?

That is pretty cool. I really didn’t even think about trying it on a phone.

I can look into it. Maybe I can add a settings screen swiping right to left, or just put another button to switch from the imperial system to metric below the cell count adjustment.

1 Like

Thats really cool. Did you get the current display working? I would really like current or watts display to check efficiency of my setup on the fly.

I have not had a chance to work on it for a while now. Unfortunately, I have been pretty busy. I have a few hours today. I am going to take another look at it.

Okay, The fix was way easier than I thought. I had it mostly right. The current is now being updated correctly. It is shown in Amps. To be clear, the current shown is the input current to the VESC from the batteries, not the current to the motor.

I also updated the code to be much quicker polling data from the VESC so that it doesn’t seem so laggy. It was polling only every 2 seconds. Now it is polling every 200 milliseconds.

I will upload the updated release to that google drive link above.

As before, let me know if anyone has any issues and I will try to address them as soon as possible.

EDIT: I just put a new file up that also includes the option to change the Speed units from MP/H to KM/H as requested by Kian. Just tap the speed data on the main view and it will change between the two.

2 Likes

Awesome I will give it shot later today.

I just tested it on the water, and it worked great for me.

1 Like

The app seems working but I cannot connect my watch 4 to the vesc via bluetooth. I need to figure it why

It is a bit small (I am old :rofl:), maybe you can increase the size of the fonts and removing the labels (speed, battery, temp and Current) but keep the units ? Or using the 4 quarter of the watch…

Anyway nice job!

I am not sure why your watch isn’t connecting to the VESC. I know that my VESC will not send out a discovery signal if it is already connected to another device, i.e. my phone. If you haven’t connected to the VESC before using Bluetooth down load the VESC app on the phone and double check that the device is visible there.

The “speed”, “battery”, “temp”, and “current” text actually go away after it connects to the VESC. The font text size remains the same though because of the limitations of the watch face size.

So I tried several things, I even reset my watch, but nothing worked… until I swiped right.
It works! I feel a little silly for not swiping hard enough to the right…(my watch is lagging since last update)
Thank you for the app and for your time.

I too have a watch 4, and it is so slow these days. Aiming to get a new one soon.

I stops using it since last update but yesterday i reseted it to factory’s defaults. I have now the feeling that the watch is much faster. No more freeze or lag when swiping from screen to screen.
I think it is worth to try.
If the weather is ok i will try your app in real conditions on Friday.

i have an older Galaxy 3 watch. Anyone think it will work with this app? I sure hope so, this is exactly what i was hoping to find.