HyperActiveJ / sundance780-jacuzzi-balboa-rs485-tcp

Python Module and MQTT interface For "Encrypted" Sundance 780 series hot tubs and Other Jaccuzi Products
Apache License 2.0
5 stars 1 forks source link

Add suport for jacuzzi 335 #1

Open HyperActiveJ opened 1 year ago

HyperActiveJ commented 1 year ago

Move from this thread https://github.com/garbled1/pybalboa/issues/11

dhmsjs commented 1 year ago

Just FYI I'll be traveling for the first half of this week. I'll be monitoring things but not likely to be able to put much time into it. Should be back to normal by Thursday.

pddc commented 1 year ago

Hi Jack.

Finally got to make the 485 to wifi cable and got it working but have an issue running your code on a J355 with an encrypted board 2023-06-28 20:30:42,109:INFO:Attempting to connect to Jacuzzi (10.10.60.61:4257)... 2023-06-28 20:30:43,533:ERROR:Message had bad CRC, discarding 2023-06-28 20:30:44,536:ERROR:Message had bad CRC, discarding 2023-06-28 20:30:45,537:ERROR:Unhandled msg type 0xCC (204) in process_message() 2023-06-28 20:30:45,537:INFO:Discovered Channels: [16] 2023-06-28 20:30:45,538:ERROR:Unhandled msg type 0xCC (204) in process_message() 2023-06-28 20:30:45,538:ERROR:Unhandled msg type 0xCC (204) in process_message()

any ideas?

cheers

On Mon, Jun 19, 2023 at 3:36 AM Jack Brown @.***> wrote:

I'm impressed with how this is all evolving and fast. you guys rock. @jackbrown1993 https://github.com/jackbrown1993. I will make the 485 to wifi cable this week as I was still using prolink and will see how your code works with my encrypted board. I have a J-355, which should be very similar to yours, except for the encryption which makes me think there is some sadistic programmer at Balboa that enjoyed switching bits around.

I've been dormant the last 2 weeks and was still chasing the bit locations in relation to @dhmsjs https://github.com/dhmsjs unencrypted message findings. PIA to find the needle in the haystack amongst the 40 bytes. had made a simple script to colour the changed bytes on screen to help chase, but with your progress maybe it won't be needed. script here if it could be of interest. Not a programmer, so kudos to chatGPT entirely. https://github.com/pddc/jacuzzypy-compare

Hey @pddc https://github.com/pddc, it's great seeing a few of us coming together and tinkering to try and build something great. If you want to branch off of my repo on what you are doing we can maybe create a script for development/testing which includes your color changing bytes?

— Reply to this email directly, view it on GitHub https://github.com/HyperActiveJ/sundance780-jacuzzi-balboa-rs485-tcp/issues/1#issuecomment-1596664900, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPJTDUF7ESLPKCEETVZMU3XL76PRANCNFSM6AAAAAAR3P2LH4 . You are receiving this because you were mentioned.Message ID: <HyperActiveJ/sundance780-jacuzzi-balboa-rs485-tcp/issues/1/1596664900@ github.com>

dhmsjs commented 1 year ago

I believe Jack's spa has an unencrypted controller. So his code does not need to handle 0xCC or 0xCA messages. I think you need to modify his listen() method to recognize and then correctly parse the encrypted 0xCC and 0xCA message types.

HyperActiveJ commented 1 year ago

I believe Jack's spa has an unencrypted controller. So his code does not need to handle 0xCC or 0xCA messages. I think you need to modify his listen() method to recognize and then correctly parse the encrypted 0xCC and 0xCA message types.

Hi Jack. Finally got to make the 485 to wifi cable and got it working but have an issue running your code on a J355 with an encrypted board 2023-06-28 20:30:42,109:INFO:Attempting to connect to Jacuzzi (10.10.60.61:4257)... 2023-06-28 20:30:43,533:ERROR:Message had bad CRC, discarding 2023-06-28 20:30:44,536:ERROR:Message had bad CRC, discarding 2023-06-28 20:30:45,537:ERROR:Unhandled msg type 0xCC (204) in process_message() 2023-06-28 20:30:45,537:INFO:Discovered Channels: [16] 2023-06-28 20:30:45,538:ERROR:Unhandled msg type 0xCC (204) in process_message() 2023-06-28 20:30:45,538:ERROR:Unhandled msg type 0xCC (204) in process_message() any ideas? cheers On Mon, Jun 19, 2023 at 3:36 AM Jack Brown @.***> wrote: I'm impressed with how this is all evolving and fast. you guys rock. @jackbrown1993 https://github.com/jackbrown1993. I will make the 485 to wifi cable this week as I was still using prolink and will see how your code works with my encrypted board. I have a J-355, which should be very similar to yours, except for the encryption which makes me think there is some sadistic programmer at Balboa that enjoyed switching bits around. I've been dormant the last 2 weeks and was still chasing the bit locations in relation to @dhmsjs https://github.com/dhmsjs unencrypted message findings. PIA to find the needle in the haystack amongst the 40 bytes. had made a simple script to colour the changed bytes on screen to help chase, but with your progress maybe it won't be needed. script here if it could be of interest. Not a programmer, so kudos to chatGPT entirely. https://github.com/pddc/jacuzzypy-compare Hey @pddc https://github.com/pddc, it's great seeing a few of us coming together and tinkering to try and build something great. If you want to branch off of my repo on what you are doing we can maybe create a script for development/testing which includes your color changing bytes? — Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPJTDUF7ESLPKCEETVZMU3XL76PRANCNFSM6AAAAAAR3P2LH4 . You are receiving this because you were mentioned.Message ID: <HyperActiveJ/sundance780-jacuzzi-balboa-rs485-tcp/issues/1/1596664900@ github.com>

@dhmsjs is right @pddc, if you are getting the CC and CA messages you are seeing are likely the same messages my Sundance 780 has. You can try just running my trunks mqtt add on. It will announce and you should see it show up in home assistant, if thats what you are using.