Simple sensor component for Home Assistant which listens for the messages from the LightwaveRF Energy hub. This current implementation uses polling method, I may migrate it to a asynchronous approach in the future depending on how it perfroms
git clone https://github.com/asantaga/lightwaverf_HA_EnergySensor.git
lightwaverf_energy
directory within custom_components to your custom_components directory in your Hoome Assistant config directory
e.g.
cp -r custom_components/lightwave_energy <yourConfigDir>/custom_components
ufw enable 9761/udp
will do the trickhttps://github.com/asantaga/lightwaverf_HA_EnergySensor
as a integration and install
voila easyufw enable 9761/udp
will do the trickconfiguration.yaml
lightwaverf_energy:
scan_interval: 30
Scan_interval is optional, defaults to every 30 seconds
Remember Ensure port 9761/UDP is open for thi integration to work
PR's / Issues welcome!
V 1.3 : Migrated to new component model, breaking changes that yaml is now different
V 1.4 : Added support for HACS V 1.5 : Added version number to manifest file V 1.6 : Added PR which adds a socket close, hopefully fixes errors with ports still being open