Smanar / Domoticz-deCONZ

deCONZ plugin for Domoticz (Zigbee application)
GNU General Public License v3.0
36 stars 27 forks source link

Ikea TRÅDFRI smart button 403.563.81 works wierd #109

Closed christoferjh closed 2 years ago

christoferjh commented 2 years ago

When using the smart button (only a single button to press), it registers as selector. Changing to Push On makes it receive "Off" and "Sound 2".

image

christoferjh commented 2 years ago

Looks like using as selector with 3 levels works. image

Smanar commented 2 years ago

And selector with all values don't work ? Can you show the device Json ? (from logs)

I m using a generic selector by defaut for all switch but can use a specific one for this one (if it s not already done)

christoferjh commented 2 years ago

A selector with those 3 values works just fine, but the initial registration created a weird setup. Perhaps no action is needed and this one can be closed. But now others will know how to fix it (change to selector with the levels i posted).

Smanar commented 2 years ago

As you want, but if you show the complete json (to be sure for the device) I can make the code create as initial widget the one with only 3 values.

But idk what was the "weird setup" ? you can have a selector with 10 Levels but use only the 3 firsts.

And for the "Sound 2" IDK where it s from, but you are not the first one with this issue, the last time, the user have deleted the device, and it was re-created with correct values, but I don't know the origin.