...
The objective of this project is to control the Jandy pool heater. We can either control the heater using it's REMOTE relays or interface with it's RS485 interface. For now, we are going to use the REMOTE relays.
The equipment we will to interfacing with is the Jandy JXi Gas-Fired Pool and Spa Heater 260N.
...
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
Firmware | Release Date | Download |
---|---|---|
v3.35 | 2022-05-12 |
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
Board Pinout
GPIO | Function |
---|---|
0 | Button |
4 | - |
5 | Temp |
12 | Relay |
13 | LED |
14 | - |
Wiring Pictures
Temperature Sensor
...
- Use the dimple to center the drill bit. Drill a 1/4 in (6.4 mm) diameter hole through the port. Take care not to damage the plastic threads. TIP: Drilling a 1/8 in (3 mm) diameter hole first will help prevent thread damage
- Wrapped 5-6 turns of PTFE (Teflon) tape around the male threads of the adaptor.
- Thread in your 1/4 inch adaptor into the port. Make sure to get a snug fit. Do not over-tighten.
Configure the Jandy Control Panel
- Make sure the pool heater is OFF.
- Press and hold MENU, then the POOL and SPA buttons for 5 seconds to access Service Setup mode.
NOTE: The display will revert back to OFF 1 minute after the last key press.
- 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"
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.
Select the pool-heater and set the desired temperature and select Done.
You are all setup!
References
Reference | URL |
---|---|
Jandy Heater Manuals | https://www.jandy.com/en/products/heaters/jxi Installation: https://www.jandy.com/-/media/zodiac/global/downloads/h/h0574300.pdf Installation Code Handbook: http://www.tagengineering.ca/wp-content/uploads/2015/02/B149-1handbook.pdf |
...