Giter Club home page Giter Club logo

Comments (13)

ihewitt avatar ihewitt commented on July 26, 2024

Hi,
Yeah I'm just working on getting poolmate live support going at the
moment.
Been a bit busy recently though to spend time on it. I'll keep you posted.

Cheers,
Ivor.

On Friday 08 May 2015 11:51:03 Andrea wrote:

Hi,
I've got a PoolMateLive.It creates a COM port /dev/ttyUSB0, but not much
happens after that.I've logged the Windows COM traffic using portmon,
in a session where the watch is plugged in, data uploaded (1 set 2
laps) and unplugged.
http://utente.xoom.it/depo/scambio/Portmon.zip[1]
Can it be of any use to add support for it?
Andrea
β€”Reply to this email directly or view it on GitHub[2].[3]


[1] http://utente.xoom.it/depo/scambio/Portmon.zip
[2] #13
[3]
https://github.com/notifications/beacon/AD3_LEkG1vXfdHiosml8D_8cH
Zzi_srtks5oHP0XgaJpZM4EUFaw.gif

from poolviewer.

audetto avatar audetto commented on July 26, 2024

Cool,

meanwhile I had some fun trying to replicate the communication and felt SOOOOOOOOOOOOOOOOOO good when I saw the light on and the message LINKED on the watch.

Not looked at the actual payload of the communication yet.

Here is my effort

https://gist.github.com/audetto/fa165d241002c88ba91e

from poolviewer.

ihewitt avatar ihewitt commented on July 26, 2024

aye, I've got the protocol decoded. The only stumbling block I have at the moment is I can't work out the algorithm for the two byte checksum at the end therefore am limited to simply sending pre-canned messages. This should be enough for syncing, but will prevent setting/changing watch settings.

from poolviewer.

audetto avatar audetto commented on July 26, 2024

I've made some small progress

  1. the Win app sets the time each time it connects to it
    data3 = bytearray([0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x01, 0x07, 0x19, 0x05, 0x0F, 0x00, 0x30, 0x36, 0x15, 0x00])

where 0x19 = 25
0x05 = may
and probably 0x0F = 2015

hour is something like 21:54

maybe this is a workaround the fact that the watch does not keep the time well

  1. cannot find out how many sets there are to download (chrono or swim), but it is not too bad as if you try to download a non existing set, it will be full of FF. each set is long 261 bytes (including the 4 CRC)
    no idea what they mean yet

from poolviewer.

audetto avatar audetto commented on July 26, 2024

The number of logs seems to come from a call like (CRC omitted)
00, 00, ff, ff, ff, ff, 00, 06, 80, 00, 00, 00
the answer starts with

00, ff, 03, 00, 00, 00, 00, 00

where each time I add a new item (chrono or swim) a new bit gets set (so in this case we have 8+2=10 events)

strange thing is that before I cleared everything I got some bits set to 0 in the middle

00, 00, 9e, fc, 07, 00, 0

9e = 10011110
fc = 11111100
07 = 00000111

so the last 6 (fc) + 3 (07) are contiguous 1 (when I was adding them). I was not able to force it to add a 0.

from poolviewer.

audetto avatar audetto commented on July 26, 2024

I got a 4 as log type.
It seems to behave like 2 & 3

http://pastebin.com/nJiUvVs2

(changed the out to csv, you might want to look at the data at the top

from poolviewer.

ballinger avatar ballinger commented on July 26, 2024

nice that there is some progress on the pm live version. i am still having issues tough, loaded the ftdi_sio thing and got the new_id file, but nothing happens when i want to sync. no idea how to help you out with information. let me know if i can provide you with anything.

from poolviewer.

audetto avatar audetto commented on July 26, 2024

I don't think the connection is implemented properly at the moment.
The protocol has been understood and can be tried in this separated app

https://github.com/ihewitt/poolviewer/blob/master/contrib/qttest.cpp

which show it works, but the GUI is not there yet.

from poolviewer.

ballinger avatar ballinger commented on July 26, 2024

thanks for the reply. i see the qttest.cpp file, just how can i test it? thanks.

from poolviewer.

ihewitt avatar ihewitt commented on July 26, 2024

just wait for a couple of days and the syncing will be in.
otherwise the commandline to compile qttest is listed at the top of the file.

from poolviewer.

ballinger avatar ballinger commented on July 26, 2024

oh then i will wait :) thanks!

from poolviewer.

davidcallen avatar davidcallen commented on July 26, 2024

Nice work on the poolviewer. Looking fwd to support for the Poolmate Live.
If you need feeback on testing just shout.

from poolviewer.

ihewitt avatar ihewitt commented on July 26, 2024

Initial support finally added, slightly fragile at the moment.

from poolviewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.