Giter Site home page Giter Site logo

chrismdann / smartthings_pentair Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bsileo/smartthings_pentair

0.0 1.0 0.0 485 KB

Smarthings UI for use with Pentair Pool Controller

License: GNU Affero General Public License v3.0

Groovy 97.76% JavaScript 2.24%

smartthings_pentair's Introduction

SmartThings_Pentair

Smarthings UI for use with the nodjs-PoolController

License

SmartThings_Pentair.
An application to control pool equipment from within Smartthings. Copyright (C) 2017-2018 Brad Sileo / bsileo / [email protected]

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.

What is the Smartthings Pentair Pool Controller?

A collection of devices designed to interface with a nodejs-poolControlller 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, and any installed additional "Features".


Installation Instructions

  1. Install and configure Nodejs-Poolcontroller (version 4.x+) https://github.com/tagyoureit/nodejs-poolController

  2. Update your Nodejs-Poolcontroller installation with the SmartThings interface:

    Copy the outputToSmartThings.js into the integrations directory

    Update your configuration file to reference it:

         "socketISY": 0,
         "outputSocketToConsoleExample": 0,
         "outputToSmartThings":1
         }
         
        "outputToSmartThings": {
       "address": "*", (Address of the HUB is dynamically detected)
       "port": "39500"
       }```
    
  3. Install the new SmartApp and Devices into the Smartthings IDE (http://graph.api.smartthings.com/)

    Github Approach (preferred)

    1. Add the repository to your Smartthings IDE. Go to My Device Handlers and click "Settings"
    2. In the blank line at the bottom add:

    Owner | Name | Branch

    bsileo | SmartThings_Pentair | Master

    1. Click OK
    2. Click "Update from Repo" and select SmartThings_Pentair
    3. In the dialog which appears select all items in the "New (only in GitHub)" group. Click the "Publish" checkbox. Click Execute Update.
    4. Repeat the "Update from Repo" from Steps 4-5 on My SmartApps

    Manual Approach

  4. Install a new SmartApp Pool Controller and configure it:

    • Go to MarketPlace, click SmartApps
    • Go to My Apps and locate Pool Controller
    • Allow discovery to find your PoolController node.js server, or manually configure it:
      • Controller IP and Port - Set these to match the device where you have nodejs-PoolController running
      • Controller MAC Address - set this to the MAC address for that device. Use all uppercase, no colins to enter it
  5. Manually adjust the circuit devices You will have 8 new devices created as Children to the main pool controller. You can access these in your things view and adjust them to improve the experience by changing their names as well as their icons. You cna also go to the Pol COntroler settings, enable Autoname, and hit Refresh to name them all from your PoolController. Autoname will only run once and thus you can change the labels after this if desired.

  6. Use all of the devices from the pool controller in any of your other Smartapps. You will have access to all Temperature readings, the ability to turn automated relay swicthes on and off, and control the pool and spa pumps.

smartthings_pentair's People

Contributors

bsileo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.