openambitproject / openambit

openambit
277 stars 82 forks source link

ambit_device_driver_ambit3: ambit_navigation_read / write #286

Open hglanzer opened 2 years ago

hglanzer commented 2 years ago

Hi folks,

first i want to thank everyone involved in this great project. the restrictions suunto puts onto its users are really annoying, to put it mildly.

something i really would love to do with my old suunto ambit3 peak is

unfortunately, ambit_device_driver_ambit3 driver is lacking support for navigation_read() / navigation_write(), while ambit_device_driver_ambit seems to support them.

i really would like to get involved here, i.e. implementing this feature for peak3.

is there anybody who can give me a starter on this topic? is uploading a (gpx?) track to ambit2 fully supported? is the protocol or format for navigation data used for ambit3 fundamentally different, or where is the specific problem here?

i investigated the peak2 driver for navigation data a little bit: here, routes are only written as part of the personal settings data. i guess its not possible to just add/remove single routes?

thx in advance! hari

centic9 commented 2 years ago

Thanks for your interest to complete the Ambit 3 driver.

I did some experiments with storing/uploading routes from local storage recently to be prepared when Movescount is disabled for good.

I just pushed a change which will store the routes that are fetched from Movescount to local files similar to other settings.

The format on-disk are two simple JSON-files per route, one with general information and a 2nd with the list of points. (this is actually how they are provided by the Movescount REST API).

It should be fairly easy now to prepare new routes in this format and then provide an option in openambit-cli to read in and store those on the watch.

However for Ambit 3 this will need implementations of the missing protocol-methods. I don't have any information how the communication for those works on this model and only have an Ambit 2, so I fear I cannot help much with that part.

axed commented 2 years ago

I very much want to help with this, but... If only I could get Wireshark dissection of USB HID data working on my machine (#285) then I would be in a position for the necessary protocol reverse engineering.

I have both Ambit 2s and Ambit 3 peak, currently, and may purchase more variants if there seems a realistic chance of full stand-alone support, including Apps, running under Linux.

vdca commented 2 years ago

I'm also interested in implementing this method. I can give a hand with the Ambit 3 Peak.

centic9 commented 2 years ago

@hglanzer, not sure why you closed this, it seems there is active interest in working on this.

hglanzer commented 2 years ago

I'm also interested in implementing this method. I can give a hand with the Ambit 3 Peak.

that would be nice. can we make an appointment? which timezone do you live in?

hglanzer commented 2 years ago

@hglanzer, not sure why you closed this, it seems there is active interest in working on this.

thx for reopening. i didn't close on purpose...

ruvido commented 1 year ago

Hi all, I am about to get an ambit 3 peak. But before purchasing I'd like to know what is the status for sync on this watch. Thanks a lot for your work! It looks amazing

szma commented 1 year ago

I have a Ambit3 Peak and it synchronizes without problems (since about 1 year, no problems, yet). Only configuring sport modes and personal settings does not work for me.