dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.89k stars 498 forks source link

Dresden Elektronik Scene Switch - dimming doesn't work #7292

Closed jnmarczi closed 8 months ago

jnmarczi commented 11 months ago

Does the issue really belong here?

Is there already an existing issue for this?

Describe the bug

Unfortunately, dimming no longer works with the Dresden Elektronik Scene Switch. It worked before, I have set the corresponding key assignment a long time ago. Dimming the light (group) using the Phoscon Web App works.

Steps to reproduce the behavior

See attached screenshot for key assignment.

Expected behavior

Working dimming functionality.

Screenshots

2023-10-11 16_41_02-Phoscon App – Mozilla Firefox 2023-10-11 16_41_29-Phoscon App – Mozilla Firefox

Environment

deCONZ Logs

No response

Additional context

No response

Mimiix commented 11 months ago

Hi

If you click Events under Help - api information in phoscon, do you see events while pressing the button?

Kind regards

jnmarczi commented 11 months ago

I see events while pressing and holding the lower button, but not at the upper button. i see events for short key press at both buttons.

events.txt

Mimiix commented 11 months ago

I see events while pressing and holding the lower button, but not at the upper button. i see events for short key press at both buttons.

events.txt

Can you try the upper a few more times?

Was this the same as before?

jnmarczi commented 11 months ago

Same behaviour... i even tried it with different Scene Switches. Deterministic behaviour.

Mimiix commented 11 months ago

Same behaviour... i even tried it with different Scene Switches. Deterministic behaviour.

Same as prior the update , just the phoscon switch mapping stopped working?

jnmarczi commented 11 months ago

Same bug at all three installed Scene Switches here. I just added a new dimming key mapping at another Scene Switch and it doesn't work either.

Unfortnunately I don't know since when this behaviour is this way, we haven't used that switch for months.

jnmarczi commented 11 months ago

Btw. the led at the Scene Switch signals data sent for the several events (key press, key hold, key release).

Mimiix commented 11 months ago

I want to find out if the issue is phoscon or deconz. Are the events correct like they were before or not?

If it's the mappings not working, I am closing this issue and you need to report it on the forums(as the template stated).

jnmarczi commented 11 months ago

The events are definitely not correct, since there are no "key hold" and "key release" events ( i assume buttonevent 1001 and 1003).

Mimiix commented 11 months ago

Clear. I've asked devs to check in

manup commented 11 months ago

Hi, this is definitively strange if I remember correctly we had fixed this very issue a while ago :thinking: I'll schedule a re-test

Oliver-18 commented 11 months ago

I have the same issue with 11 scene switches with firmware 02010032, while one with version 02020010 works. My deConz version is 2.23.02

noodles321 commented 10 months ago

I have the same issue with all of my Senic FoH switches. My deconz Version is 2.24.1 (Docker).

github-actions[bot] commented 9 months ago

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

github-actions[bot] commented 9 months ago

As there has not been any response in 28 days, this issue will be closed. @ OP: If this issue is solved post what fixed it for you. If it is not solved, request to get this opened again.

manup commented 9 months ago

Small Update here, I've now removed the crazy legacy code for this and added a DDF for Scene Switch which works as it should with the Phoscon App switch editor. For the Lighting Switch I'll make this too.

There is however one caveat, the group which the switch sends to can't be reconfigured (needs to be fixed in a future firmware update) and on a factory reset the group is a random new one.

As long as the switch is configured via Phoscon App and gateway is online that's not a problem (deCONZ gets the button messages and just sends the control command to the actual group), but it's not suitable for using the switch offline without gateway.

github-actions[bot] commented 8 months ago

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

github-actions[bot] commented 8 months ago

As there has not been any response in 28 days, this issue will be closed. @ OP: If this issue is solved post what fixed it for you. If it is not solved, request to get this opened again.