Code Monkey home page Code Monkey logo

pentair-screenlogic's Introduction

Docker Hub image for cbschuld/pentair-screenlogic

An MQTT decorator for the Pentair Screenlogic system

Provides a Docker container to access the Pentair Screenlogic system via MQTT.

Requirements

This container requires access to an MQTT broker. You can run one easily in Docker or on a Synology (inside docker);

This container requires the Pentair Screenlogic system and knowledge of what IP address your Screenlogic LAN adapter.

Environment Variables

The container is expecting the following environment variables:

SCREENLOGICIP = the IP address of your Screenlogic LAN adapter
MQTTIP = IP address of your MQTT broker
MQTTPORT = the port number of your MQTT broker (typically 1883) [*optional*]
MQTTUSER = the username for your MQTT broker system [*optional*]
MQTTPASS = the user's password for your MQTT broker system [*optional*]

Example Usage

docker run --name pentair -e "MQTTIP=192.168.1.50" -e "SCREENLOGICIP=192.168.1.51" cbschuld/pentair-screenlogic:

Special Thanks!

This container's work is hugely influenced by Brian Woodworth's work via https://github.com/bwoodworth/hassio-addons. Brian's addon is designed for HomeAssistant's HASSIO. If you are not using HASSIO and/or need an MQTT decorator for Pentair via Docker this solution removes the dependencies on HASSIO and is a vanilla MQTT decorator for the Pentair system (context).

The guts of this decorator is provided by the great work of Chris Pickett's node-screenlogic.

A huge thanks to these folks for simplifying the automation of the Pentair system.

Internal Notes

build and push

docker build --tag cbschuld/pentair-screenlogic:latest .
docker build --tag cbschuld/pentair-screenlogic:1.1 .
docker push cbschuld/pentair-screenlogic

local testing

docker run --name=pentair -e "MQTTIP=10.10.1.50" -e "SCREENLOGICIP=10.10.1.81" cbschuld/pentair-screenlogic:latest

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.