Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For this solution, we are using a Sonoff SV controller. This is a nice controller since it has everything we need to control the heater's remote relays. Additionally, we can power it from the heater itself since it accepts 5-24 volts input and the heater will supply us with 10v. We are going to use the Sonoff SV in isolation mode by removing the two resisters that would normally supply the power to the controller using the input voltage.



Firmware

Flashing

name250

FirmwareRelease DateDownload
v3.35
View file
2022-05-12height


Once the flashing is complete, it will reboot.  You will need to look for pool-heater, in your list of available WIFI networks.

...

In the Apple Home App we now have access to our pool heater.




Wiring

Wiring Diagram

Image Added


Board Pinout

GPIOFunction
0Button
4-
5Temp
12Relay
13 LED
14-


Wiring Pictures


Temperature Sensor

...

  • Press Up or Down to display REMOTE.
  • Press MENU, REMOTE OFF (default) is displayed.
  • Use Up or Down to scroll through the Remote options until HI-LO-COM is displayed, then press MENU to select.
  • Press POOL or SPA to exit Service Setup mode


Advanced Functionality

Only Heat when the Forecast Looks Good

Using the home bridge weather plus plugin, we can pull weather forecasts for our location and then setup an automation in Apple HomeKit.


Ottawa Forecast:

https://openweathermap.org/city/6094817


Install the following plugin for homebridge:

https://github.com/naofireblade/homebridge-weather-plus


Configure it in the config.json. This plugin will add the current temperature and the forecast for today and tomorrow.

Code Block
        {
                "platform": "WeatherPlus",
                "service": "openweathermap",
                "key": "xxx",
                "locationId": 6094817,
                "locationCity": "Ottawa, CA",
                "locationGeo": [45.393553, -75.700374],
                "conditionCategory": "detailed",
                "forecast": [0,1],
                "nameNow": "Ottawa",
                "nameForecast": "Ottawa Forecast"
        }


In Apple HomeKit, setup the automation:


Add an Automation and select "A Sensor Detects Something"

Image AddedImage Added


Select your tomorrow's forecast (I renamed mine to Tomorrow's Forecast). Select Rises Above and choose a temperature. Restrict the time of the check. I do the check right before my pool pump is about to start it's nightly heat/filter cycle.

Image AddedImage AddedImage Added


Select the pool-heater and set the desired temperature and select Done.

Image AddedImage AddedImage Added

You are all setup!


References

...