Lightwaverf via Wifi link

Looking forward to it @GeoffAtHome It’d be great to integrate this into HA

Published the update.


Still more work to do but this tackles the queuing issues. Using the hub ip address is also more reliable than a full broadcast.

TODO:

  1. Merge into a single addon for lights and switches
  2. Publish via Docker
  3. Push button hub registration

Raise an issue if you run into problems.

2 Likes

Just a quick one - Host IP address in the config file - is this the address of the Lightwave hub or the raspberry Pi?

Cool! Eagerly awaiting the Docker version.

Yay - got it working! Awesome work my friend!!

As an observation - I have a mixture of switches and lights in all of my rooms, and as such the queue system doesn’t really work. I’m guessing this is due to there being two components and the lights and switches between them are clashing still.

Looking forward to seeing the merged addon!!!

Again - Good work on this dude!! Glad someone out there is still pushing LightwaveRF.

Looks great, I’ve tried to pair my Link Plus hub (Gen2) but it’s not happening. If I can get ti paired I’ll let you know if it works with Gen2 kit.

It is the IP address of the lightwave hub. I’ll update the documentation.

Thanks. I am using a 1st generation hub, switches and lights.

Merging will create a single queue and hopefully resolve the issue. What I cannot see in the documentation, or other examples, is when a hub is responsible for more than once component (light, switch, climate) how these can be aggregated. If anyone knows, or can point me at an example, this would be great and really helpful.

1 Like

Merged the lights and switches together in a single queue. It is working but I have seen a few issues that I have been unable to repeatable reproduce. The code has been refactored and shared between the two components. Configuration file is almost the same expect a new platform (Lightwave) needs to be added. This is where the IP address for the hub goes. See the readme for more details:

TODO:

  1. Merge into a single addon for lights and switches - DONE
  2. Publish via Docker
  3. Push button hub registration
2 Likes

Just tried installing as per instructions and I got this:
Invalid config for [light.lightwave]: required key not provided @ data[‘host’]. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/light.lightwave/

Sorry - my bad - I didn’t update the light & switch .py files! Doh.

Initial super quick test seems to work!

Amazing work @GeoffAtHome!!!

Been having an extensive play with this and I can confirm that everything seems to be working as expected!

I have about 7 switches and 7 lights.

The lines of codes from my scripts have literally been reduced by thousands due to the hacky delays and things I was having to implement before.

They joy of turning on a group / room in one go!!!

Thanks again @GeoffAtHome

Thanks for the feedback. Need to get round to the Docker installer. This will ensure everything is updated in one go.

Also looking to use aiohttp as this maybe more responsive that using threads. Does anyone know how to use aiohttp as this is new to me.

I have a few lightwaveRF light switches in my house and I’m considering switching from a virtual environment install to a hassio one. Is anyone using the GeoffAtHome plugin on hassio? If so, did you have any issues setting up - I’m thinking specifically about running:
echo -ne “100,!F*p.” | nc -u -w1 192.168.1.110 9760
as I didn’t think hassio gives you full access to a shell?

I am indeed using the lightwave with Hassio. Works perfectly thanks to @GeoffAtHome and his hard work!

To link the hub using the echo code, you just have to SSH into Hassio then fire the code and press the hub button. Nice and easy!

Awesome, thank you!

@GeoffAtHome You seem to be the man to ask this question to!

Does LightwaveRF support transition for the brightness?

Hi Martin,

Please elaborate as I may be missing something from Lightwave. Brightness is supported but I don’t know about transitions. The lights always appear to fade on or off, which I like, but I don’t know if the time can be set.

Cheers,
Geoff

Exactly that - just didn’t know if lightwaveRF supported transition. My Hue lights can be set to dim over a period of time (say a couple of mins).

I’m guessing if you didn’t know about it, it isn’t supported!