Closed los93sol closed 4 years ago
I can confirm that building your own is not only possible it’s easy and stable. I’ve had a raspberry pi 3 shoved inside my tub for over a year in a northern climate with temps ranging from -10 to 100f without issue.
Read through this and like to connect serially (RS485). I see the question about which connector and pins mentionend a couple of times, but no answer? Can someone provide an answer ? I have a GL2000 with no wifi module. Thanks!
I can confirm using RS485 works just fine. The protocol is the same directly on the bus.
Sent from my iPhone
On Jan 6, 2020, at 9:17 AM, Tore Bjørndalen notifications@github.com wrote:
Read through this and like to connect serially (RS485). I see the question about which connector and pins mentionend a couple of times, but no answer? Can someone provide an answer ? I have a GL2000 with no wifi module. Thanks!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Hi,
On the wire I have, the pin-out maps to:
Wire:
Yellow is ground
Orange is B
Red is A
Brown is 12v
Now, this does not mean that my cable matches yours. If I were you, I would use a multimeter and find Ground and +12V. Once you have those, you are left with A and B. If you wire them in the wrong order, you are just going to mess the bus, but not damage anything. If you get it right, you will start seeing data on the bus. Go to any local electronic parts store to find the actual connector if you want to make your own cable. I found a plug for $1.50.
Good luck.
On Mon, Jan 6, 2020 at 9:01 AM Adam Shortland notifications@github.com wrote:
I can confirm using RS485 works just fine. The protocol is the same directly on the bus.
Sent from my iPhone
On Jan 6, 2020, at 9:17 AM, Tore Bjørndalen notifications@github.com wrote:
Read through this and like to connect serially (RS485). I see the question about which connector and pins mentionend a couple of times, but no answer? Can someone provide an answer ? I have a GL2000 with no wifi module. Thanks!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ccutrer/balboa_worldwide_app/issues/2?email_source=notifications&email_token=AAOF7RFO7WN5SMQWOCSCONLQ4NPXHA5CNFSM4DQLJ63KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIGCESI#issuecomment-571220553, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOF7RGGCBHSCIMB5Z7GPN3Q4NPXHANCNFSM4DQLJ63A .
-- Stéphane Bourque
I can confirm that building your own is not only possible it’s easy and stable. I’ve had a raspberry pi 3 shoved inside my tub for over a year in a northern climate with temps ranging from -10 to 100f without issue.
@los93sol Are you able to share how you have a raspberry pi interfacing with the tub? I have a 2017 Sundance 880 that I’m looking to integrate with home assistant but hoping to avoid paying $200-$300 for the WiFi module.
Hi, maybe i'm a confused noob but is there a benefit to going through the rs485 port as opposed to the rj45 as this person did? Or does it essentially end up being the same result and either will work? Do all Balboa controllers have rs485 and only some rj45? https://www.olivierhill.ca/archives/72-The-Internet-of-Spas.html
I think you are mixing 2 things here:
-RJ-45 is a connector standard (8 conductors used for ethernet and many other things) -rs485 is a communication standard that can be carried over pretty much any wire and plug. Balboa uses rs485 to send/receive data and they may deliver that data over any connector: RJ-45, moles, etc. (mine is a 4 pin Molex connector).
So you have to use rs485, but how you connect is up to the board you are using
Hope this helps.
On Wed, May 13, 2020 at 1:37 PM ten300 notifications@github.com wrote:
Hi, maybe i'm a confused noob but is there a benefit to going through the rs485 port as opposed to the rj45 as this person did? Or does it essentially end up being the same result and either will work? Do all Balboa controllers have rs485 and only some rj45? https://www.olivierhill.ca/archives/72-The-Internet-of-Spas.html
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ccutrer/balboa_worldwide_app/issues/2#issuecomment-628232622, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOF7RCXKGCK4CR7CQZ57JDRRMAIFANCNFSM4DQLJ63A .
-- Stéphane Bourque
Thanks Stephane I had a doh moment there, of course you are right. I need more coffee! Having said that the owner of the link I posted has an Arduino sketch that looks usable so I’ll try that route with a nodemcu. My primary goal is to view actual Spa temp (not set temp). Thanks to you and all for this thread and the work that’s gone into reverse engineering , it’s starting to make sense now
On May 13, 2020, at 4:25 PM, Stephane Bourque notifications@github.com wrote:
I think you are mixing 2 things here:
-RJ-45 is a connector standard (8 conductors used for ethernet and many other things) -rs485 is a communication standard that can be carried over pretty much any wire and plug. Balboa uses rs485 to send/receive data and they may deliver that data over any connector: RJ-45, moles, etc. (mine is a 4 pin Molex connector).
So you have to use rs485, but how you connect is up to the board you are using
Hope this helps.
On Wed, May 13, 2020 at 1:37 PM ten300 notifications@github.com wrote:
Hi, maybe i'm a confused noob but is there a benefit to going through the rs485 port as opposed to the rj45 as this person did? Or does it essentially end up being the same result and either will work? Do all Balboa controllers have rs485 and only some rj45? https://www.olivierhill.ca/archives/72-The-Internet-of-Spas.html
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ccutrer/balboa_worldwide_app/issues/2#issuecomment-628232622, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOF7RCXKGCK4CR7CQZ57JDRRMAIFANCNFSM4DQLJ63A .
-- Stéphane Bourque — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
@stephb9959 I'm very interested in your code as I'd like to create and publish a esp8266 MQTT bridge to the tub. Is your code available for use?
Thanks, Sascha
@cribskip I have not touched that code in a while. Let me see what I can find out and in what state this is in. The code was worked better on particle than the pi. Give me a week or two.
On Fri, Jun 12, 2020 at 5:28 AM cribskip notifications@github.com wrote:
@stephb9959 https://github.com/stephb9959 I'm very interested in your code as I'd like to create and publish a esp8266 MQTT bridge to the tub. Is your code available for use?
Thanks, Sascha
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ccutrer/balboa_worldwide_app/issues/2#issuecomment-643244567, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOF7RCD3HNHWAVI726JXADRWINPPANCNFSM4DQLJ63A .
-- Stéphane Bourque
I have a Balboa GL2000 (as mentioned above, this board has no wifi). The "main panel" (J70, J71, J72) ports are 8 pins. Is it possible to wire up an RS485 to USB adapter to this?
I've got a friend with a Balboa EL1500. At some point I'd like to answer the same question for him.
I'll be doing the same thing once I actually get some time, Balboa vs501 board
ri, Jun 12, 2020 at 5:28 AM cribskip notifications@github.com wrote:
@stephb9959 https://github.com/stephb9959 I'm very interested in your code as I'd like to create and publish a esp8266 MQTT bridge to the tub. Is your code available for use?
Thanks, Sascha
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/ccutrer/balboa_worldwide_app/issues/2#issuecomment-643244567 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAOF7RCD3HNHWAVI726JXADRWINPPANCNFSM4DQLJ63A
.
-- Stéphane Bourque
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccutrer/balboa_worldwide_app/issues/2#issuecomment-645462682, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMWWHLP33XZI7NS2GBITMXDRXDVIZANCNFSM4DQLJ63A .
So I got my Spa wired up and state is published via MQTT from the RS485 to OpenHAB 👍
Sending toggle command (lights) results in no action.
I'm sending these bytes to toggle the lights. Are they correct?
0x7E 0x06 0x0A 0xBF 0x11 0x00 0xBA 0x7E
When using wifi, you can't use any control messages until you've sent one or two messages asking for the configuration. hopefully that's the trick
I'm not sending any request_configuration as the node is on the RS485. May be that's the problem? What telegram may I have to send beforehand?
Also, my telegrams look a little bit different to yours. My message type is not 0A BF xx but 10 BF xx in most cases:
7e 07 10 bf 11 00 00 3e 7e sent nearly all the time in sub-second intervals
7e 20 ff af 13 00 01 ff 12 31 01 26 3a 00 03 00 00 00 00 00 00 00 00 02 00 3a 00 00 00 00 00 00 b5 7e is my status update
Maybe there is a different configuration in my BP2100G0? 🤔
Thanks to all of you, Sascha
First of all, you're missing the second 0x11
byte: 0x7E 0x06 0x0A 0xBF 0x11 0x11 0x00 0xBA 0x7E
, but that may just be a typo in your post.
Secondly, I've been working on fully documenting the protocol on the wiki (WIP). I believe you can use the channel of your top panel and/or wifi module to send commands, but you have to wait for the appropriate ClearToSend message.
@bggardner Wow, kudos, thank you very much for your efforts! I'll be checking this out 👍
So thank you all so much for your work.
Today, I've created my esp8266-mqtt-balboa-bridge and it's working very well.
Code is published in my repo: https://github.com/cribskip/esp8266_spa
I have a Balboa GL2000 (as mentioned above, this board has no wifi). The "main panel" (J70, J71, J72) ports are 8 pins. Is it possible to wire up an RS485 to USB adapter to this?
Hi @markpw7; I have the same "issue" as you do. Did you figure it out? Thanks in advance. #14
Hacking at its best... the fun begins...
1 - this industry is rather lazy. Once they have developed a device and some software, they stick with it. So I would guess that this is just a new form factor. It could even be 2 4 pin connectors side by side (I am assuming this is a 2x4 molex. If RJ45, then you will need a breakout board or a cut up Ethernet cable). 2 - it’s fairly simple to use a multimeter to figure out which pins are what. You can safely isolate power and ground usually. 3 - borrowing a cheap scope would reveal the signal pins. 4 - there’s no high voltage present on that connector for sure. 5 - try to find out which accessories can be plugged in that port. Are they all new ones or some older ones are also supported. This might point to the wiring being the same or a shim used to convert from old to new. 6 - put on your Sherlock Holmes hat and let us know what you find. Post some pics of the connector.
All this investigation can be done without harming the board.
On Sun, Aug 16, 2020 at 06:55 tmjo notifications@github.com wrote:
I have a Balboa GL2000 (as mentioned above, this board has no wifi). The "main panel" (J70, J71, J72) ports are 8 pins. Is it possible to wire up an RS485 to USB adapter to this?
Hi @markpw7 https://github.com/markpw7; I have the same "issue" as you do. Did you figure it out? Thanks in advance. #14 https://github.com/ccutrer/balboa_worldwide_app/issues/14
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ccutrer/balboa_worldwide_app/issues/2#issuecomment-674529618, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOF7RFERBJ6EWW5G62LNBDSA7QNXANCNFSM4DQLJ63A .
-- Stéphane Bourque
Hi Stéphane and thanks for your reply!
It's Molex and not RJ45. Got a bit lost measuring since the combinations are so many, but I'll do some more testing and see. Will upload some pictures in separate threat to not spam this one. See #14 for details.
Any more progress by anyone on this one? Finally time to tackle it I think!
From: tmjo notifications@github.com Reply-To: ccutrer/balboa_worldwide_app reply@reply.github.com Date: Sunday, August 16, 2020 at 2:36 PM To: ccutrer/balboa_worldwide_app balboa_worldwide_app@noreply.github.com Cc: ten300 matt@disimilar.com, Comment comment@noreply.github.com Subject: Re: [ccutrer/balboa_worldwide_app] Pinout (#2)
Hi Stéphane and thanks for your reply!
It's Molex and not RJ45. Got a bit lost measuring since the combinations are so many, but I'll do some more testing and see. Will upload some pictures in separate threat to not spam this one. See #14https://github.com/ccutrer/balboa_worldwide_app/issues/14 for details.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/ccutrer/balboa_worldwide_app/issues/2#issuecomment-674568237, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMWWHLKZEQR3XHW5SRSOCF3SBAYKRANCNFSM4DQLJ63A.
Also watching... I can say that the data is TTL level serial at 115200 8N1 as mentioned. I am using a Photon micro controller to replace the aweful Wifi module. Building a proxy and then will use the Particle cloud to manage the tub.
Hi @stephb9959
Which control unit are you using? Which connector does it have? Interesting you are seeing TTL and not RS484, so must be using something different to the others. Hopefully hold the key to resolving https://github.com/ccutrer/balboa_worldwide_app/issues/14
I was not very clear in my description…
What I have is a RS485 to TTL level converter. I believe I bought the module from Sparkfun. With that module, you can now get serial data into any micro controller or a Pi. I have been busy on a couple of large projects but I will resurrect this one in a month or so.
On Sat, Jan 15, 2022 at 11:36 netmindz @.***> wrote:
Also watching... I can say that the data is TTL level serial at 115200 8N1 as mentioned. I am using a Photon micro controller to replace the aweful Wifi module. Building a proxy and then will use the Particle cloud to manage the tub.
Hi @stephb9959 https://github.com/stephb9959
Which control unit are you using? Which connector does it have? Interesting you are seeing TTL and not RS484, so must be using something different to the others. Hopefully hold the key to resolving #14 https://github.com/ccutrer/balboa_worldwide_app/issues/14
— Reply to this email directly, view it on GitHub https://github.com/ccutrer/balboa_worldwide_app/issues/2#issuecomment-1013742073, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOF7RBC4CAT4QXRPVI5F73UWHEEPANCNFSM4DQLJ63A . You are receiving this because you were mentioned.Message ID: @.***>
-- Stéphane Bourque
If anyone finds this thread and has 8pin then check out https://github.com/netmindz/balboa_GL_ML_spa_control
Hey out there :)
Just recevied my hot tub, from Belgium :) I'm trying to connect with a RS485 USB connector on a raspberry pi 3.
I can just get garbage, regardless how I connect A and B, event if I try to connect the minus (B) on the ground. Bought it following this documentation : https://github.com/ccutrer/balboa_worldwide_app/
I think I missing something there, from the electronical side, can someone of you give me some tips how to progress there ? I already used with success RS-232 and RS-485 on other project (energymeter f.i.), but I cant get it to work :(
I'm seeing messages passing by on a regular basis, but of course, completely unreadable.
Please... SOS.... ... --- ... ... --- ...
What model of controller do you have @ScanxTaz ? Please confirm which pins you are using for the RS485
What's your model of controller and UI? Did you check for continuity when connected to the pool so those wires are connected properly? Did you try different baud rates? Do you have a logic analyser at hand or oscilloscope?
Good luck, Sascha
ScanxTaz @.***> schrieb am Mi., 25. Okt. 2023, 17:46:
Hey out there :)
Just recevied my hot tub, from Belgium :) I'm trying to connect with a RS485 USB connector https://www.amazon.fr/dp/B07B416CPK?psc=1&ref=ppx_yo2ov_dt_b_product_details on a raspberry pi 3.
I can just get garbage, regardless how I connect A and B, event if I try to connect the minus (B) on the ground. Bought it following this documentation : https://github.com/ccutrer/balboa_worldwide_app/
I think I missing something there, from the electronical side, can someone of you give me some tips how to progress there ? I already used with success RS-232 and RS-485 on other project (energymeter f.i.), but I cant get it to work :(
Please... SOS.... ... --- ... ... --- ...
— Reply to this email directly, view it on GitHub https://github.com/ccutrer/balboa_worldwide_app/issues/2#issuecomment-1779571420, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK476RNNKP4OOTRAXAR4LDYBEX6TAVCNFSM4DQLJ63KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZXHE2TOMJUGIYA . You are receiving this because you were mentioned.Message ID: @.***>
Hey, thanks for your answer @netmindz & @cribskip .
The RS 485 first, I checked with a multimeter before plugging in. I've +- 15V on 2 wires, and then, only a few volts with the two others. I figured it out following this documentation : https://github.com/ccutrer/balboa_worldwide_app/wiki
The wires appear exactly the same as explained in : https://github.com/ccutrer/balboa_worldwide_app/wiki#physical-layer
I used the 15v to get a stable 5v for my raspberry (I initially tought under-voltage was a reason of issue, which is not). I'm arriving at this level : https://ibb.co/6yhRvXP
The controller says BP21, with this written on the box : https://ibb.co/s6SWVGV
I've bought this RS485 interface to connect on my Raspberry pi 3 : https://www.amazon.fr/dp/B07B416CPK?psc=1&ref=ppx_yo2ov_dt_b_product_details
My raspberry recognizes the USB key, and I can connect, with this command, to the hot tub :
screen /dev/ttyUSB0 115200,cs8,parenb,-parodd
Meanwhile, I only see garbage, but at regular time, like if some messages where passing by, I'd say 4 to 6 updates per second, with some pauses in between of 1 or 2 seconds every 5 seconds. Here's what I see :
~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~���~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~ ��(>>x9~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~ ��(>>x9~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~ ��(>>x9~~�\~~�>~>~�>~~�\~~�>~~���~~�\~~�>~\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~ ��(>>x9~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~ ��(>>x9~~�\~~�>~~~�\~~�>~~�\~~�>~~�\~~�>~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~ ��(>>x9~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~>x9~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~~�\~~�>~~�\~~�>~~�\~~�>~~�>~~ ��(>>x9~�>~~�\~~�>~~�\~~�>~~���~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�>~~�>~\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~ ��(>>x9~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~~�\~~�>~>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�>~~�\~~�~�\~~
Eh, you should view the data not in ASCII but Hex. As the data is fairly repeative, I think you are already good to go.
ScanxTaz @.***> schrieb am Do., 26. Okt. 2023, 11:01:
Hey, thanks for your answer @netmindz https://github.com/netmindz & @cribskip https://github.com/cribskip .
The RS 485 first, I checked with a multimeter before plugging in. I've +- 15V on 2 wires, and then, only a few volts with the two others. I figured it you following this documentation : https://github.com/ccutrer/balboa_worldwide_app/wiki
The wires appear exactly the same as explained in : https://github.com/ccutrer/balboa_worldwide_app/wiki#physical-layer
I used the 15v to get a stable 5v for my raspberry (I initially tought under-voltage was a reason of issue, which is not). I'm arriving at this level : https://ibb.co/6yhRvXP
The controller says BP21, with this written on the box : https://ibb.co/s6SWVGV
I've bought this RS485 interface to connect on my Raspberry pi 3 : https://www.amazon.fr/dp/B07B416CPK?psc=1&ref=ppx_yo2ov_dt_b_product_details
My raspberry recognizes the USB key, and I can connect, with this command, to the hot tub :
screen /dev/ttyUSB0 115200,cs8,parenb,-parodd
Meanwhile, I only see garbage, but at regular time, like if some messages where passing by, I'd say 4 to 6 updates per second, with some pauses in between of 1 or 2 seconds every 5 seconds. Here's what I see :
~�\
�>�\�>�\�>�\�>����\�>�\�>�\�>�\�>�>�\�>�\�>�\�>��(>>x9�\�>�\�>�\�>�\�>~�\�>�\�>�\�>�\�>�\�>�\�>�\~�\�>�\�>�\�>�\�>�\�>��(>>x9�\�>�\�>�\�>�\�>�\�>�\�>�\�>�\�>�\�>~~ ��(>>x9�\�>~>~�>�\�>����\�>~\�>�\�>�\�>�\�>�\�>�\�>�\�>�\�>~~ ��(>>x9�\�>�\�>�\�>�\�>�\�>�\�>�\�>~~ ��(>>x9�\�>~�\�>�\�>�\�>�>�\�>�\�>�\�>�\�>��(>>x9�\�>�\�>�\�>�\�>�\�>�\�>�\�>�\�>�\�>�\�>~>x9�\�>�\�>�\�>�\�>~>�\�>�\�>�\�>�\�>~�>�\�>�\�>�\�>�\�>�\�>�\�>~�\�>�\�>�\�>�>��(>>x9~�>�\�>�\�>����\�>�\�>�\�>�\�>�>�>~\�>�\�>�\�>�\�>�\�>~ ��(>>x9�>�\�>�\�>�\�>�\�>�\�>�\�>�\�>�\�>�\�>~�\�>~>�\�>�\�>�\�>�\�>�\�>�\�>�\�>�\�>�\�~�\— Reply to this email directly, view it on GitHub https://github.com/ccutrer/balboa_worldwide_app/issues/2#issuecomment-1780703160, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK476SFH3EEM35AAUKZ36DYBIRHJAVCNFSM4DQLJ63KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZYGA3TAMZRGYYA . You are receiving this because you were mentioned.Message ID: @.***>
Can I then just ask a dumb question : How can I read (human reading) what's passing by the USB then ? Could you share a command in CLI please ?
That's indeed working, I want to give it a tutorial, step by step, to make it to work, but I can't manage to find a correct command to verify the link with the spa works well.
On my side, the registration of the service was failing, I don't know why, most certainly access right on the gem that are not well set...
Thanks for your help, it works now
I'm actually looking to do similar with my tub and trying to figure out the pinout. Based on your findings I suspect the wifi module is nothing more than a dumb RS232 to Wifi module and that the protocol from the main to the topside is the same as what you're seeing from the Wifi module. I'm trying to find some documentation on the RJ45 port that Balboa uses on their VS series units. Does anyone have any info on it or can anyone confirm the wifi module isn't anything special?