I’m very new to HA and trying to get to grips with it.
I have added the following code to configuration.yaml, but how does HA know which Lightwave switch I want to control just from R1D1?
Lightwave configuration entry
lightwave:
host: 192.168.86.45
lights:
R1D1:
name: Study lights
Is the ‘name:’ entry just local to HA or does it have to match what that device is called in Lightwave?
Having restarted HA I can see the light ‘Study lights’ in the dashboard but the only control is an on/off switch with no dimmer control. And even the On/off control does nothing.
Help please.
I set up Lightwave sockets and switches a long time ago (now replaced by Zigbee). As I remember the R1D1 thing was the trickiest bit because it was very hard to tell which room and device the numbers referred to.
The name in configuration.yaml is local to HA and has nothing to do with the name in the Lightwave account. I think the room and device numbers (R1D1, R1D2 etc.) are generated by the Lightwave app simply from the order in which rooms and devices were added. The function of the yaml is to associate the HA name with the Lightwave code.
I definitely remember getting in a muddle (and thinking it wasn’t working) because the lights I thought were R1D1 turned out to be in a different room entirely. I ended up walking round the house turning a light on and off in HA until I found the right one, then editing the name in HA to match.
Can’t see anything in the docs about dimming - is it supported?
Well that sounds like a rubbish implementation! I’ll guess I’ll spend the next few days wandering round the house trying to figure out which is which (every light and nearly every socket).
Thanks for your help.
ps maybe the device R1D1 is a socket, not a light dimmer.
Quite possible. I think the HA integration was set up originally for the first gen Lightwave sockets, switches and app. Still, you only have to do it once - as I remember it was very stable once it was working.
Ok. In an attempt to see which room is which I have now added to configuration.yaml a light in each of 8 rooms (R1D1 - R8D1). Turning these on and off within the dashboard makes no change to any Lightwave devices in my house. Open dashboards on other devices get updated immediately.
Really not sure what to do next.
Maybe there is a more complete Lightwave solution for HA that I haven’t found yet?
Any offers of help gratefully received.
I wonder if something has changed at Lightwave - I see that there is someone on GitHub asking the same questions. I assume you have pressed the button on top of the Lightwave hub?
The first use of a light or switch will try to register with your Lightwave WiFi Link hub. If the hub has not been registered a message on your hub will be displayed asking you to pair the device. You have 12 seconds to push the button on your hub to accept this. Once done, you should be able to control your lights and switches via Home Assistant.
So where (and when) am I supposed see this message?
I’ve tried restarting HA and then tapping on the overview dashboard and immediately pressing the the button on Lightwave hub L2. I don’t see any messages,either warning or confirmation, and I still can’t control the lights.
BUT they are still connected to my SmartThings hub. Do I have to unpair them from that first?
There is a completely different way of controlling Lightwave devices, which I used until recently - don’t know if it will work with second gen though. It also has a big drawback in that the switches can’t report their state back to Home Assistant and if they’re turned on or off manually they may get out of sync.
The codes the hub sends to the switches and sockets are standard RF and a universal remote should be able to do the same. I had a Broadlink RM4 Pro, which does RF as well as IR and it worked very well, with the added advantage that it was entirely local - no cloud account needed.
The main problem was “teaching” the codes to the Broadlink. When the first gen Connect series switches came out there was a remote control which could be paired with up to 16 of them (JSJSLW100WH). No longer available, but you can still get them on Ebay for about £10. In the end it was just a matter of pairing the remote with each switch, then pointing it at the Broadlink and pressing the buttons.
Might be worth £10 to get hold of a remote just to see if it will pair with your switches. If it will, a universal remote is another option.