Re: Control your Jandy equipment from your PC with a $15 ada
Hi,
I also have a similar setup. I currently have a Hayward Oncommand connected with the Aquarite via RS485. I want to replace the Oncommand with a Raspberry PI using the RexControl software to turn it into a PLC (so easy to program and debug). I have programmed everything but the missing part is to remove the Oncommand and connect the Raspberry PI with a USB RS485 adaptor to the Aquarite. I have connected the PI with the USB RS485 and I am able to dump the data. The problem is that I can't figure out how is it communicating with the Aquarite. When I disable the Aquarite the data capture looks like what has been already decoded. When I enable the Aquarite I see new frames that are not starting with 1002 and there seems to be a sequence that I can't figure (if I collect them for a while and sort them). I have tried to disconnect the Oncommand and send the same frames to the Aquarite but I do not get any reply so there's something missing.
Have you been able to figure out how to decode it? I really would like to be able to configure the % from the PI and get the status (salt, etc).
Thanks,
Fred
Hi,
I think I found the frames going to the Aquarite. What I do not understand is that they keep changing. It looks like they do not follow at all the 1002 start and 1003 end.
So I disconnect the Oncommand and only keep the USB RS485 attached to the Aquarite but I have not been able to get any response back from it. I also tried to only unpower the Oncommand (to keep it on the RS485 bus as when I attached the scope to it I found that the RS485 voltage from my adapter was higher probably because there was not end of line resistor). I have ordered another RS485 adaptor so I can bridge them to be sure what is the source for each stream that I capture. Will get in on Monday.
I also tried to capture the packets when Chlorinator is disconnected from power source to see the difference and I see that the packets that I suspect to be addressed to the Chlorinator are shorter.
Here is what I have captured when Chlorinator is connected to OnCommand and I poweron the Oncommand until I see the "externally controlled" led on the chlorinator. To make it easier I disconnected the LCD of the OnCommand on the RS485 bus so I get less data.
If you have any idea it would be great! I just don't undestand that I am not getting any reply from it when trying to emulate the communications. I am thiking that maybe I should try to write something to send the stream automatically and see if it's going to work.
10 02 02
09 00 1d 10 03
10 02 01 01
00 14 10 03
0
c1 18
80 00 99 00 18 9e 00 c1 1e 00 00 81 18 80 00 06 80 00
00 1e 60 00 60 00 10 02 01 02 04 00 00 00 00 00
00 00 00 19 10 03 10 02 01 03 20 20 20 20 20 20 44 65 66 61 …
20 20 20 20 20 20 20 20 20 20 20 20 4d 65 6e 75 20 20 20 20 …
10 03 10 02 01 01 00 14 10 03
10 02 01 02 00 00 00 00 00 00 00 00 00 15 10
3
10
02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10
02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10
02 01 01 00 14 10 03
10 02 04 07 00 1d 10 03
10 02 01 02 00 00 00 00 00 00 00 00 00 15 10 03 10 02 01 03 …
20 44 65 66 61 75 6c 74 20 20 20 20 20 20 20 20 20 20 20 20 …
20 20 20 20 20 20 20 00 08 10 00 10 03
10 02 01 01 00 14 10 03
0
e0 18
80 00 e6 06 e0 fe 80 18 e0 00 81 1e 80 00 60 0c c0 00
18 60 00 06 00 60 9e 00 c1 1e 80 10 02 01 02 28 00 00
00 00 00 00 00 00 3d 10 03
10 02 01 01 00 14 10 03
10 02
01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02
01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
0
e0 18
80 00 d9 06 03 fe 80 18 e0 00 c1 1e 00 00 60 0e c0 00
18 03 00 06 00 60 9e 00 60 0f c0
10 02 01 01 00 14 10 03
10 02
01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02
01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02
01 01 00 14 10 03
10 02 01 02 28 00 00
00 00 00 00 00 00 3d 10 03 10 02 01 03 20 20 20 20 20 20 44 …
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4d 65 6e 75 20 …
08 10 00 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02
01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
And this is the capture with the Chlorinator disconnected (power on the Oncommand while Chlorinator disconnected).
So I was under the impression that the data to chlorinator was
Capture
10 02 02 09 00 1d 10 03
10 02 01 01 00 14 10 03
00 e0 18
80 00 99 00 18 9e 00 e0 1e 00
10 02 01 02 04 00 00
00 00 00 00 00 00 19 10 03 10 02 01 03 20 20 20 20 20 20 44 …
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4d 65 6e 75 20 …
08 10 00 10 03 10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10
02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10
3
10 02 01 01 00 14 10 03
10 02 04 07 00 1d 10 03
10 02 01 02 04 00 00 00 00 00 00 00 00 19 10 03 10 02 01 03 …
20 44 65 66 61 75 6c 74 20 20 20 20 20 20 20 20 20 20 20 20 …
20 20 20 20 20 20 20 00 08 10 00 10 03
10 02 01 01 00 14 10 03
10 02 01 02 2c 00 00 00 00 00 00 00 00 41 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10
02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10
02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
0
81 18 80 00
e6 00 18 9c 00 c1 1e 80
10 02 01 01 00 14 10 03
10 02 01 01
00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01
00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01
00 14 10 03
10 02 01 02 2c 00 00 00 00
00 00 00 00 41 10 03 10 02 01 03 20 20 20 20 20 20 44 65 66 …
20 20 20 20 20 20 20 20 20 20 20 20 20 4d 65 6e 75 20 20 20 …
00 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01
00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01
00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
0
e0 18
80 00
cd 00 18 bc 00 81 1e 80
10 02 01 01 00 14 10 03
10 02 01 01
00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00
14 10 03
10 02 01 01 00 14 10 03
10 02 01 01 00 14 10 03