Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add lightwave components for switches and lights #18026
Integration of LightwaveRF switches and lights with Home Assistant (HASS) as a platfrom
It's very crude, but does work. It's been working for me for several years with the 1st generation of LightWave kit. I have not tested this with the newer (2nd gen) Lightwave products.
This code may show your devices in the Home Assistant UI, but it may not be able to control the lights for you. The code speaks directly to your Lightwave WiFi Link. Obviously, if you don't have a WiFi Link, then this isn't going to work for you.
Adding LightwaveRF to your configuration file
To use the Lightwave switches and lights your file must be updated.
Where 192.168.1.2 is the ip address of your Lightwave hub.
The first use of a switch or light will try to register with the WiFi Link hub. If the hub has not been registered a message on your WiFi Link asking you to pair the device. You have 12 seconds to push the button on the WiFi Link to accept this. Once done, you should be able to control your lights via Home Asssistant.
Thanks to Chirag Desai for paving the way to getting this component done.
@frenck so where do I add the documentation. I looked here https://developers.home-assistant.io/docs/en/documentation_index.html and found this https://github.com/home-assistant/home-assistant.io. The documentation here does match my expectations. Am I looking in the wrong place?
You need to create component documentation and open a PR for it on our documentation project. Which indeed this is the repository: https://github.com/home-assistant/home-assistant.io
This is all we need to set up this integration:
lightwave: host: 192.168.1.2 lights: R1D3: name: Wall lights R1D4: name: Ceiling lights switches: R1D2: name: Tree socket R2D1: name: Radio socket R2D2: name: Light socket R2D3: name: Phone socket R2D4: name: Torch socket
Remove the examples that have platform:
light: - platform: ...