Hi everyone, I’m new to home assistant (about 1 month) but I’ve managed set it up with my kit pretty well so far. I left the integration of my lightwave devices to the end as I suspected that I’d have some problems. I was right.
I believe that my configuration.yaml is fine (I’ve checked it at YAMLlint and from with the checker on home assistant )
I’ve restarted home assistant and all appears OK and the devices appear on the overview, with the lights showing in the correct room and the switches listed in a separate card called switches.
The instructions say that first use of a switch or light will generate a link request to the Lightwave hub, this didn’t happen.
I’ve searched the various fora for help and came across a suggestion that using this syntax ~ echo -ne "100,\!F*p." | -u -w1 192.168.1.31 9760 in the terminal would also generate a link request to the hub.
This worked and I approved the request by pushing the Yes button on the hub.
However, none of the devices will switch on/off from within home assistant.
When I look at the entity I get the following message:
This entity (“switch.boiling_tap”) does not have a unique ID, therefore its settings cannot be managed from the UI. See the documentation for more detail.
I’ve rummaged around on the fora for a couple of days trying to work out what I need to do next to solve this but I’ve hit a brick wall and would really appreciate a little guidance/advice from somebody here.
Thank you very much for looking at this.
Here’s my configuration.yaml (I’ve replaced some bits with XXXX where I’ve not yet added these to my secrets.yaml.
Configure a default setup of Home Assistant (frontend, api, etc)
You are correct, it does not. It was a newbie error to put my lightwave configuration just below the discovery line, it wasn’t my expectation that lightwave would be discovered.
I have now commented out the discovery lines and restarted home assistant but it’s made no difference, the devices still don’t work.
Thanks, I know and I thought that they were correct because I’d run it through yamllint. I’m struggling to find out how to post the file as preformatted text as you asked earlier, apologies.
Yes, I have. I pasted the file from the file editor to a text doc before pasting it here so that I could comment out some things.
Let me try a paste directly from the file editor
Unfortunately, although I have Lightwave switches and sockets I no longer use the hub, so I can’t refer to my own setup. I’m inclined to think the issue is in connecting to the hub. It’s a couple of years since I did it, but I seem to remember that business of pressing the button within 12 seconds of issuing the first command was a bit tricky to get right, and took several restarts of the hub.
It’s entirely possible that’s the issue. I’m inclined to restore a snapshot prior to implementing the integration and restart from scratch tomorrow.
May I ask, if you no longer use the hub…how do you control your lightwave devices?
They’re turned on and off by RF codes from the hub, so you can substitute a universal remote - I use a Broadlink RM4 Pro but I believe there are others easier to integrate with HA. The problem is “teaching” the codes to the remote.
When Lightwave switches first came out there was a handheld remote and you can still find them on Ebay. I bought one and paired it with each of my switches - fortunately I only have about a dozen - then used it to teach the Broadlink the codes. The result is a bit more reliable than the hub (I think) and doesn’t require the Internet.
The Broadlink sounds like a good alternative, I too have a number of the handheld remotes and could potentially do the same if I get truly stuck with this integration.
In terms of the Broadlink, is yours a UK version? I read that they operate on different RF frequencies in different areas of the world and if you buy from Aliexpress it’s possible to choose which frequency. I think that Lightwave uses a frequency around 433 MHz. I also have a garage door opener operating at around 868 MHz. If possible, I’d like to use a hub that would do both.
OK, so I’m a bit further along. I restored home assistant from a snapshot, retyped the configuration.yaml carefully to ensure there were no mistakes, reset my LightwaveRF Hub, shutdown and restarted home assistant (and the Intel NUC on which it’s running). On first use of a Lightwaverf switch from the home assistant dashboard the lightwave hub asked to link the device which I did.
Then, when I switched on/off any lightwave device from the home assistant dashboard the lightwave hub displayed the correct device (I have the version 1 of the hub with an LCD) but the devices did not switch on/off. I did however get an error in the log (which I wasn’t getting before)
2021-07-13 10:55:51 ERROR (Thread-29) [lightwave.lightwave] Not yet registered
Not yet registered - OK, so I reset the Lightwaverf hub and used this command to link my home assistant to lightwave