Provides a Docker container to access the Pentair Screenlogic system via MQTT.
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.
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*]
docker run --name pentair -e "MQTTIP=192.168.1.50" -e "SCREENLOGICIP=192.168.1.51" cbschuld/pentair-screenlogic:
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.
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