I am using Home Assistant 2024.2.0 which is running on an RPI 4. I am using this with a Lightwave Connect LW930. This has been registered successfully with the software. On the main Overview screen, under switches, I have created a R1D1, R1D2 etc list of rooms/devices in the configuration.yaml and I can add devices such as switches and dimmers and control these from that screen. So devices can be switched off/on etc. I would now like to create some automations but I cannot pick any of the devices when I want to control them on a time schedule or dawn/dusk events. The devices do not appear under Settings/Devices. Does any know who to make the devices appear in Home Assistant or will I have to handcraft the automations.yaml?
Tom.
I think theyâre entities, not devices.
Ahh, so they are. I will continue playing. Thanks for your help.
Tom.
And have just created my first automation that worked fine. I will now look at the automations.yaml that was created to understand who this gets put together.
Thanks again Stiltjack
How did you go about figuring out which light was which in the integration? The R1 D1 thing has baffled a few people.
It was a bit of guesswork and logic. Create a room, doesnât matter what the friendly name is such as âKitchenâ but Home Assistant just gives this the internal name of R1. Or more precisely it assigns the JSON array name as R1 (Room 1). I think! Then the array is populated with the object pairs. âname: Kitchenâ. Then the first device (or Entity) added gets D1 (Device 1) as the array name.
I think I am going to need to add some kind of object called id which needs to be unique as the software is complaining and not allowing me to edit these entities.
Watch this space.
Tom.
1 Like
Donât you give them a name in configuration.yaml?
lights:
R1D3:
name: Wall lights
Do you need any more light switches or wall sockets? Iâve got a few in the cupboard - I switched to Zigbee a while ago.
These are white single light switches and double wall sockets.
Just to be clear - these are the old Connect series; they donât report their status back to HA, which can lead to problems if theyâre turned on or off manually.
Yes I have given all the entries a name attribute. Wile testing, I have been very boring and created a configuration.yaml with 25 rooms/devices (or entities) under switches. So R1D1, R1D2, R1D3 etc all the way to R5D5, Then for the names, I have just used DR1D1, DR2D2, DR1D3 etc. It is easy to change these unfriedly name to friendly names so point down the line.
The problem I have is that when I view these 25 switch entities in Settings > Devices & Services > Entities, I am unable to edit them. So I canât add them to a room or zone. They show up as read only and the edit pen icon has a strike through it. The error message is âThis entity (âswitch.dr1d1â) does not have a unique ID, therefore its settings cannot be managed from the UI.â I commented out the other 24 entities so there was a single switch left but I get the same error.
I wondered if another attribute was needed. I tried adding âidâ, âentity_idâ, âunique_idâ in the value pairs in configuration.yaml but Home Assistant complains about this. I am beginning to think that the Lightwave v1 integration might not support and UI configuration.
Thanks for the offer of lights/switches etc but I donât need any at the mo. I have gone through so many different Home Automation technologies that the attic is full of bits and bobs. X10, Z-Wave, ESPXX, Pi-Face etc. My main use is the relay modules that are needed to switch off Amateur Radio repeaters, gateways & digipeaters.
Re-posting again after batteries changed in wireless keyboard.
Yes I have given all the entries a name attribute. While testing, I have been very boring and created a configuration.yaml with 25 rooms/devices (or entities) under switches. So R1D1, R1D2, R1D3 etc all the way to R5D5, Then for the names, I have just used DR1D1, DR2D2, DR1D3 etc. It is easy to change these unfriedly names to friendly names some point down the line.
The problem I have is that when I view these 25 switch entities in Settings > Devices & Services > Entities, I am unable to edit them. So I canât add them to a room or zone. They show up as read only and the edit pen icon has a strike through it. The error message is âThis entity (âswitch.dr1d1â) does not have a unique ID, therefore its settings cannot be managed from the UI.â I commented out the other 24 entities so there was a single switch left but I get the same error.
I wondered if another attribute was needed. I tried adding âidâ, âentity_idâ, âunique_idâ in the value pairs in configuration.yaml but Home Assistant complains about this. I am beginning to think that the Lightwave v1 integration might not support any UI configuration.
Thanks for the offer of lights/switches etc but I donât need any at the mo. I have gone through so many different Home Automation technologies that the attic is full of bits and bobs. X10, Z-Wave, ESPXX, Pi-Face etc. My main use is the relay modules that are needed to switch off Amateur Radio repeaters, gateways & digipeaters.
1 Like
No problem.
I used mine for quite a long time with a Broadlink RM4 Pro universal RF remote (the Connect switches and plugs are all standard RF devices). This means theyâre entirely local and you can do away with the hub. The broadlink automation allows you to define a switch for each device and give them sensible names, although again theyâre set up in yaml and canât be edited in the UI.
Now look a what you have started. Today I have been looking at the whole ZigBee world and the cost of devices seems to very favourable compared to other systems. I may need to find some more space in the attic.
Please be careful! Zigbee can be brilliant or it can be a disaster⌠Thereâs lots of advice in the Community Guides, but basically build a solid network of boring mains-powered devices first (lightbulbs, wall sockets) and only start adding the flashy battery-powered stuff when youâre sure itâs working. And be very, very careful what you buy. About 50% of Chinese stuff is⌠well⌠crap.