ebaauw / homebridge-deconz

Homebridge plugin for deCONZ
Apache License 2.0
134 stars 7 forks source link

TRADFRI Switch seem don't working with latest version (v0.0.17) #56

Closed adriengonz closed 2 years ago

adriengonz commented 2 years ago
Image PNG

Hi, shortly after updated the plugin to version 0.0.17, when I press any button on the switch, this error appear on logs (in attachment).

So I had to switch back to the previous version (v0.0.16)

adriengonz commented 2 years ago

I have Homebridge installed on Raspberry Pi 4

ebaauw commented 2 years ago

Sorry for the late reply - It took me a while to find my Trådfri on/off switch.

I cannot reproduce this error. It's caused because Homebridge deCONZ receives a buttonevent notiication from the on/off switch, but somehow, it's seems to have lost the link between the accessory and the resource. No clue what caused this: maybe an upgrade of deCONZ (now exposing the switch through DDF, maybe); maybe an upgrade of Homebridge deCONZ.

Could you try and un-expose the on/off switch, wait a while and then re-expose it? I think/hope that will correctly link the resource to the accessory.

If that doesn't help, could you please attach the dump file, set Log Level for the switch to 2, and capture the Homebridge log file.

adriengonz commented 2 years ago

Hi, I updated Homebridge-deCONZ at his last version (0.0.21) and now it's working fine

Thanks a lot !

reinisb commented 1 year ago

@adriengonz Could you please share the config you use in Homebridge for the Trådfri on/off switch? I'm asking since I'm about to install deCONZ and Homebridge-deCONZ to use my Trådfri on/off switch via Conbee II. Thank you!

adriengonz commented 1 year ago

Hi @reinisb, I didn't saw your message before.

That's my config on Homebridge :

{ "name": "deCONZ", "hosts": [ "****" ], "_bridge": { "username": "****", "port": **** }, "platform": "deCONZ" },

I added my Conbee local IP and the deCONZ plugin is in charge of the rest