So if I understand this correctly, deconz sends the events to pydeconz who updates the state, but no event inside Hass is visible in the logs or sent ?
Shouldn’t I have this lumi.sensor_switch also on HA states (HA-host/dev-state)?
It’s not there at all, even though it shows up when HA starts (listing every sensor):
The error is as suspected. You have written lumi.sensor_switch, whereas the I’d is lumisensor_switch
At the moment hass doesn’t list this kind of event in the gui yet
Thanks for that but where did you see it’s lumisensor_switch? The id coming from DeCONZ is lumi.sensor_switch.
For the sake of it, I tested with lumisensor_switch and it also didn’t work
Edit: I stand corrected, just switched the lumisensor_switch and it worked but the question is. How come it’s lumisensor if the id coming is lumi.sensor? I haven’t noticed that before but the water leak sensor has also lumisensor (altogether).
The id is slugified version of the deconz name. Since events has a limited amount of characters supported.
I will make sure to update the documentation to be clearer about this.
It can be read in the event itself 2018-07-20 14:27:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event deconz_event[R]: id=lumisensor_switch, event=1004>
Man, I didn’t see it heh
I ran the full debug so I could see everything and you spotted!
I actually tend to use what is on the 5th field so that’s why.
Anyway, thanks again for the help!
I’m running the deCONZ plugin in Hassio to control a few Trådfri lamps - works great. Now I just bought a Trådfri remote, and it seems I need to update the firmware to get it to work (?).
Hey @Robban, just installed the desktop SW on a windows PC but I cannot get it to connect to the RaspPI with Hass.IO and DECONZ installed. Is there some steps to set this up?
Hi @Robban, i have 2 Xiaomi wireless switches, the round one, and in deconz on Hassio they are configured
as lumi.sensor_switch and lumi.sensor_switch (2) as you can se in the log
There is an example on how to change names or devices using the hass deconz service. You will still need to enable debug to get the proper device if from Deconz first though