Lightwave TRV Integration for HomeAssistant
This adds support for Thermostatic Radiator Valves (TRVs) to the LightwaveRF integration into HomeAssistant. This is for Series 1 Lightwave.
Getting Started
Lightwave does not provide an interface, via the API, to query the Lightwave Hub for the current TRV status. Instead the status is broadcast to the LAN. This proxy captures the TRV broadcast messages, and makes them available to a HomeAssistant polling loop.
Installing
- github
git clone https://github.com/ColinRobbins/Homeassistant-Lightwave-TRV.git
- pip
pip3 install lw-trv-proxy
Requirement
HomeAssistant 0.109 or greater
Configuration
Run the proxy
The proxy is (by default) configured to run on the same server as HomeAssistant. No configuration should be needed. Simply run it...
lwproxy &
Command line options:
-v
verbose-i ip_address
IP addres to run the proxy on. Default 127.0.0.1-p port
Port to run the proxy on. Default 7878
Reboot
You will need to run this as a service to survive reboots etc. I've created a systemctl
template service description in lwproxy.service
.
Test
Restart hass. (A restart is required, simply re-reading config is not sufficient)
Authors
- Colin Robbins - Initial work - ColinRobbins
License
This project is licensed under the same term as HomeAssistant - see the LICENSE.md file for details
Acknowledgements
- GeoffAtHome for the initial work that started me investigating how to do this!