Made it in the end. Here’s what I did:
- Added the various yaml from @BruceH5200’s repo
- Created a thermostat (config below)
- Installed HACS and then installed Scheduler card/custom component
- Set a scheduler card to do a heating cycle that suits my needs and can be altered easily
- Made a dashboard
- The cards are mostly to prove what can be done
Thermostat code:
climate:
- platform: generic_thermostat
name: Hottub
heater: switch.hottub_heat
target_sensor: sensor.hottub_pump_temp
min_temp: 21
max_temp: 40
target_temp: 35
precision: 1.0
Notes:
All of this works on the basis that the target temp is set to 40 degrees C and left that way. I’ve not actually figured out a way to set that explicitly through the UI. The thermostat reads the pump temp and turn the heating off or on based on that reading. Thus if your target temp is set to 30 and the thermo is trying to heat to 40 it’s never going to turn off. This will work better if the thermostat is actually manipulating the pumps target temp rather than just switching the heater on or off. It also doesn’t control the filter.
To do
- work out if the target temp can be set from the generic thermostat setting
- understand the automations better as the idea of turning on the pump for a few minutes to sample temp and then turning off if it’s high enough seems good. Ditto running the filter on it’s own regularly.
- look at the Octopus agile automations.
For now I’ve got much more than I had. A easy to use scheduler that actually works and is probably trustworthy!
Thank you all for getting me started one this