Home Assistant - How to recognize MySensors nodes
-
Just ran it again and it seams to have worked, Thanks a lot for the help!!
-
Just ran it again and it seams to have worked, Thanks a lot for the help!!
If you declare your variable lightMsg in the for loop, it will be overwritten if you have more than one relay. I think you can use an array the same length as number of relays and store the msg variable in the slots of the array. Then use the array where you need your msg variables.
-
Ok cool just sorted that out! Is there any way to change the names of the individual child sensors and the switch? For example to have a room name and the names of the lights in that room as each child.
-
Ok cool just sorted that out! Is there any way to change the names of the individual child sensors and the switch? For example to have a room name and the names of the lights in that room as each child.
Yes, you can make custom names and groups of your devices.
https://home-assistant.io/getting-started/devices/
Also read the blog post on customizing icons from version 0.8.