A collection of devices designed to interface with a nodejs-poolController instance which is talking on the RS-485 bus to allow viewing and setting pool control options. Includes devices to manage the Pool pump, lights and heater, the spa pump and heater, the chlorinator, all Circuits and Features, and Intellichem devices.
This code is fully compatible with BOTH SmartThings (classic App) and Hubitat. The SHPL is awesome and made that possible so thanks to Barry Burke
Copyright (C) 2017-2020 Brad Sileo / bsileo / [email protected]
This version is NOT compatible with the 5.3.3 version of nodejs-poolController. If you are using that version, consider upgrading! The last deprecated version of this code for use with 5.3.3 is available here. There is no forward migration path from that version to this version as all Apps and Drivers have been renamed and refactored.
- Install and configure Nodejs-Poolcontroller (version NEXT is required!) https://github.com/tagyoureit/nodejs-poolController
- Open the Apps Code, "New App" and then either:
-
Click Import, then paste in the URL to the file: https://raw.githubusercontent.com/bsileo/hubitat_poolcontroller/NJSPC6/pool_controller_app.groovy
-
Or paste the code for the Master App into it and Save:
-
Install all of the Drivers into Drivers Code following this same procedure:
-
Go to Apps, Add User App and create a "Pool Controller 6" app. The Nodejs-Poolcontroller should be autolocated, or you can manually enter the details. Follow the prompts to complete installation.
-
Enable the Event interface in the poolController. Look for a section like the following and make the appropaite changes:
"smartThings": {
"name": "SmartThings",
"enabled": true,
"fileName": "smartThings.json",
"globals": {},
"options": {
"host": "10.0.0.39",
"port": 39501
}
- Use the newly created devices in Dashboards, Rules, Groups, etc!!