Support for Balboa WiFi-enabled Hot Tubs / Spas as controllable loads
Is your feature request related to a problem? Please describe.
Many EVCC users with a PV system also own a hot tub or spa equipped with a Balboa control system. Currently, EVCC cannot control these devices, even though they represent a large and flexible thermal load.
As a result, excess PV energy is often exported to the grid while the spa heats later using grid power. Likewise, when using dynamic electricity tariffs, the spa cannot automatically shift its heating to the cheapest hours.
Describe the solution you'd like
Add native support for Balboa WiFi-enabled spa controllers as a controllable load.
The integration should ideally expose:
- Current water temperature
- Configured target temperature
- Heater status
- Connection status
- Optional pump status
This would allow EVCC to:
- Increase the target temperature when excess PV power is available.
- Restore the normal target temperature once surplus energy is no longer available.
- Optionally optimize heating based on dynamic electricity prices.
- Treat the spa as another flexible consumer, similar to EV charging or other controllable loads.
Since a hot tub has a high thermal mass, it effectively acts as a thermal battery. Heating the water when electricity is cheap or when PV surplus is available can significantly increase self-consumption while reducing energy costs.
Describe alternatives you've considered
At the moment, this is only possible by building custom automations, for example using Home Assistant together with custom Balboa integrations.
This approach requires additional software, more maintenance, and custom logic outside of EVCC. Native support would provide a much simpler and more reliable user experience.
Additional context
Balboa is one of the most widely used spa control systems and already has several mature open-source implementations for communicating with its WiFi modules.
These projects could serve as valuable references for an EVCC integration:
-
pybalboa (Python library)
https://github.com/garbled1/pybalboa -
Home Assistant Spa Client integration
https://github.com/plmilord/Hass.io-custom-component-spaclient -
Balboa protocol implementation and documentation
https://github.com/ccutrer/balboa_worldwide_app
These projects already implement local communication with Balboa WiFi modules, proving that the protocol is well understood and suitable for local control.
Supporting Balboa spas would allow EVCC users to use their hot tub as a flexible thermal energy storage system, improving PV self-consumption and enabling intelligent optimization with dynamic electricity tariffs.
Thanks for the detailed writeup. This is a well-scoped feature request, not a bug, so I'm not asking for more info — a few notes for whoever picks this up:
- evcc already has a generic "heating" device category (
api.Heatingfeature, seecharger/heatpump.go) that models a thermal load via configurable power/temperature getters and setters, driven through the generic HTTP/MQTT/Modbuspluginsystem. That's why heat pumps, boilers, etc. can often be integrated without a dedicated Go driver — as long as the device exposes its state/control via HTTP or MQTT. - Balboa spa controllers don't fit that generic pattern because they speak a proprietary binary protocol over a raw TCP socket (as referenced by
pybalboa/balboa_worldwide_app), not REST/MQTT. That means native support here would require a dedicated charger implementation (a new file undercharger/, e.g.charger/balboa.go) that implements the Balboa TCP protocol directly and exposes it through the existingHeatingcharger interface (getter for current temperature, setter/getter for target temperature, status). - This is a legitimate new-device integration effort (parsing/implementing the Balboa protocol) rather than a small config change, so it needs someone to pick it up and implement/test it against real hardware.
Marking this as a device/heating feature request for visibility.
🤖 Generated with Claude Code
I've actually started implementing this as a proof of concept.
The implementation is currently untested, so I'm not opening a pull request yet because I haven't had the opportunity to validate it on real hardware.
The current approach implements Balboa as a native heating consumer rather than emulating a charger. It uses the Balboa Ready/Rest heating modes for load control and can optionally adjust the target temperature.
For power and energy measurement, I'm using a dedicated Shelly Pro 3EM assigned to the spa. Since the Balboa protocol does not expose electrical power or energy values, this provides accurate consumption data while EVCC controls the heating logic.
If there is interest in adding Balboa support to EVCC, I'd be happy to continue developing the implementation, test it on my hardware, and open a draft pull request for discussion.
Lets please keep this an external component. It doesn't sound like mass-usage.
@andig Is there an officially supported extension mechanism for adding custom heating consumers outside the main repository? I'd be happy to maintain it separately if that's the preferred approach.
No other than the APIs, sorry.
Will the Automatic Optimizer eventually support heating devices (including Home Assistant heating switches), or will it remain limited to EV charging, home batteries and supported heating devices?
I did a little prototype for fun, see https://github.com/evcc-io/evcc/pull/33431 for a mechanism that might support external devices.
This is exactly the kind of extension mechanism I was hoping for. 🙂 Would you expect heating devices to be supported through the same mechanism as well? My Balboa integration is implemented as a heating device, so I'd be happy to keep it completely outside the evcc core if that becomes possible.
That's already the case...