Balboa Hot Tub/Spa Automation and Power Savings

The stragegy behind the weather compensation is pretty easy really although with my lack of coding knowledge I need to learn how to transpose the PLC version I wrote into code but its basically a mathematical equation with limits on the result.

I was only yesterday looking at CTs that run on the Tuya app, they are pretty cheap so I will more than likely go down that route as it will save a lot of headaches

I have started trying to make a custom sensor to calculate a Weather Compensated Setpoint, I have got the equation to work but I need to limit the upper and lower permissible values. This is where I am up to -

      hot_tub_weather_compensated_setpoint:
        friendly_name: "Hot Tub Weather Compensated Setpoint"
        unit_of_measurement: "C"
        value_template: >-
          {% set outside_temp = states('sensor.home_realfeel_temperature')|float %}
          {% set temp_20c = 36 %}
          {% set temp_0c = 38 %}
          {% set max_temp = 40 %}
          {% set min_temp = 25 %}
          {% set weather_compensated_setpoint = ((((temp_20c - temp_0c) / 20) * outside_temp) + temp_0c) %}
          {{ weather_compensated_setpoint }}

This part works fine, for the limiting part I tried to use the following but it just gives an error and I cannot find the correct syntax to use -

          {% if states('weather_compensated_setpoint') < ('max_temp') else ('max_temp') %}
          {% if states('weather_compensated_setpoint') > ('min_temp') else ('min_temp') %}
          {% endif %}
          {{ limited_weather_compensated_setpoint }}

Hi jwelvaert , I have the same problem as you when I want to install the add-on. (Failure to install the extension
Unknown error, see supervisor) I copied the add-on files into my add-ons folder of my HA, I can clearly see the new add-on in the Local add-ons section. I click on the install button (Failure to install the extension
Unknown error, see supervisor) I did some research and I did not find the problem, do you have any solution? Thank you

Sad I was busy with having my Spa installed and chose to choose the original Balboa Wifi module. It’s pure rubbish.
25% of time it disappears from wifi (where connection is strong and there isn’t anything to point there is an issue with signal quality). Disconnecting is random and it might take hours to come back to network. Cycling power to spa brings it immediately online.
Very frustrating as main idea was to adjust heating based on cheap electricity cost and cheap period easily goes if there’s no connection for 2 hours.

1 Like

I have this same board and wondered if you had made any progress with it?

1 Like

Now seems that my problem has been solved and there was No issue on the Balboa Wifi. Noticed device had jumped connection to another wifi satellite (tp-link deco) and thought if the issue is conflict between satellite thus both strong and jumping around. Moved main one 5m further and now 12 hours without any errors!

1 Like

It appears data is flowing from my hot tub but it seems mqtt auto discovery isn’t picking it up so I’m not sure how to get it into HA -



I tried to manually create them following @jshank instructions but HA balked at using platform: mqtt.
What am I missing here?

Did you ever get his working? It might be better to raise an issue on that project if not rather than it get lost in this thread

Hi Santiniuk,

I see you have got it working.
Looks fine, but I have a question.
Can you switch de Heating on and off with HA.

Hi,

The system was running all over the summer very well.
I can control the 3 modes and also set the temperature through HA.
I’m not sure if that’s what you mean by turning the heating on and off ?
It was also working using a generic thermostat control to change the set temperature.

Thanks

Hello guys and girls! Thank you for this amazing project :smiley:
I’ve got everything ready to plug in, I think… I wonder… How would this setup behave if everything is setup correct but it is not plugged in to the spa? Its freezing and I dont want to debug outside :wink:

Got it working today! Nothing was showing in the docker container log but as soon as I plugged the device in to the spa, everything started working. Saved me a lot of money! Can I donate somewhere?

Hey all! Got into home assistant due to this project, so I was hoping to get it working but I’ve had no luck so far :frowning:

I found an spare RJ45 port on my control board, which appears to be labled as an 2005 M7, and wired it up as described here Balboa Hot Tub/Spa Automation and Power Savings - #129 by JPCClout

I do see bytes being recieved in my adapter, but nothing in the debug output of the docker container. If anyone has anything that might help I’d be very grateful!

What board do you have? Mine is a VS500z with a VL702s topside control. I plugged into the second RJ45 and seem to see data active on the bus but my topside control stops responding when the ew11 is plugged in. Just dawned on me though that maybe i need to reset persistent memory with the jumper in order to get everything addressed properly.

I cant find any concrete evidence online that the spa pack speaks the same RS485 language as the BP series though, so i hate to tear the side off again and mess with it for hours on end (again) if it will all be for not.

Hope someone can help, PLEASE.
I’ve had this excel;lent add-on running for three years with intermittent problem which I believe are down to Wifi, I changed antenna and all seemed to be OK. However just turned Hot tub on after being off for two weeks and get the following errors:
[12:31:05] ERROR: Got unexpected response from the API: Service not enabled
[12:31:05] ERROR: Failed to get services from Supervisor API
[12:31:05] ERROR: No MQTT configuration found. Exiting…
I have removed and reinstalled as I saw there was a recent change but still the errors persist.
Any advice really appreciated.
Thanks

It also states in the add on my Current version: 2024.8.0. Yet it seems theres a version 25.07. Dors that suggest the reinstall failed?

For anyone else getting similar problem using the Home Assistant add on - seems at some point the MQTT URI was removed. So likely problem initially caused as many identified with a change to Balboa communication, then update presumably stripped the URI.

Hello @santiniuk,

I also have an balboa GS523DZ and would like to implement this to reduce the power i use from the grit and be able to power the spa when i have solar power. Therfor i was wondering whether you could help me started a bit.

I assume, to get started, i just have to order and assemble the pcb. Are you able to help me with the next steps? Thanks in advance.

Hi @Albertoo

More than happy to help with your GS523DZ automation.

First I would build the hardware. Its not too complex.
Then you will need to have MQTT up and running on Home Assistant.
Once the hardware is built you will need to install the setup via Arduino IDE. This is the bit I think takes a bit more effort to install the extra libraries etc.

Thanks

1 Like

Maybe this can help too GitHub - CubieMedia/mqtt-client: Gateway connecting different Protocols and Devices via MQTT