dresden-elektronik / deconz-rest-plugin

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

Philips hue dimmer RWL021 does not work after v2.05.87 and above #4135

Open Tooa opened 3 years ago

Tooa commented 3 years ago

Describe the bug

I upgraded from marthoc/deconz:armhf-2.05.84 to marthoc/deconz:armhf-2.07.01 and my Philips hue dimmer stopped working with the error message: "No button handler for: RWL021 endpoint: 0x02 cluster: 0xFC00 command: 0x00 payload[0]: 001". Downgrading to marthoc/deconz:armhf-2.05.84 resolves the issue.

Steps to reproduce the behavior

  1. Working setup with tag marthoc/deconz:armhf-2.05.84
  2. Replace image with tag marthoc/deconz:armhf-2.07.01 (latest available stable)
  3. Click on dimmer to switch on the light (worked on 2.05.84)

Expected behavior

Screenshots

Environment

deCONZ Logs

Let me know if you need more of the logs as DEBUG level 2 logs a lot. The snippet below should contain two button presses.

deconz    | 12:36:36:283 Force binding of attribute reporting for sensor switch_living_room
deconz    | 12:36:36:283 [INFO] - No button handler for: RWL021 endpoint: 0x02 cluster: 0xFC00 command: 0x00 payload[0]: 004
deconz    | 12:36:36:284 discard sensor state push for 2: state/buttonevent (already pushed)
deconz    | 12:36:36:285 discard sensor state push for 2: state/eventduration (already pushed)
deconz    | 12:36:36:286 discard sensor state push for 2: state/lastupdated (already pushed)
deconz    | 12:36:36:825 poll node 00:17:88:01:03:54:85:0d-0b
deconz    | 12:36:36:825 Poll light node ceiling_living_room
deconz    | 12:36:36:878 read attributes of 0x001788010354850D cluster: 0x0006: [ 12:36:36:878 0x0000 12:36:36:878 ]
deconz    | 12:36:36:878 add task 278 type 19 to 0x001788010354850D cluster 0x0006 req.id 4
deconz    | 12:36:36:878 Poll APS request 4 to 0x001788010354850D cluster: 0x0006
deconz    | 12:36:36:901 Poll APS confirm 4 status: 0x00
deconz    | 12:36:36:901 Erase task req-id: 4, type: 19 zcl seqno: 127 send time 0, profileId: 0x0104, clusterId: 0x0006
deconz    | 12:36:36:927 Node data 0x001788010354850d profileId: 0x0104, clusterId: 0x0006
deconz    | 12:36:36:927 0x001788010354850D: update ZCL value 0x0B/0x0006/0x0000 after 0 s
deconz    | 12:36:36:927 enqueue event event/checkgroupanyon for /groups/65520
deconz    | 12:36:36:983 enqueue event config/localtime for /config/
deconz    | 12:36:37:079 enqueue event state/buttonevent for /sensors/2
deconz    | 12:36:37:079 enqueue event state/eventduration for /sensors/2
deconz    | 12:36:37:079 enqueue event state/lastupdated for /sensors/2
deconz    | 12:36:37:079 Force binding of attribute reporting for sensor switch_living_room
deconz    | 12:36:37:079 [INFO] - No button handler for: RWL021 endpoint: 0x02 cluster: 0xFC00 command: 0x00 payload[0]: 004
deconz    | 12:36:37:080 discard sensor state push for 2: state/buttonevent (already pushed)
deconz    | 12:36:37:081 discard sensor state push for 2: state/eventduration (already pushed)
deconz    | 12:36:37:082 discard sensor state push for 2: state/lastupdated (already pushed)
deconz    | 12:36:37:200 enqueue event state/buttonevent for /sensors/2
deconz    | 12:36:37:200 enqueue event state/eventduration for /sensors/2
deconz    | 12:36:37:200 enqueue event state/lastupdated for /sensors/2
deconz    | 12:36:37:200 Force binding of attribute reporting for sensor switch_living_room
deconz    | 12:36:37:200 [INFO] - No button handler for: RWL021 endpoint: 0x02 cluster: 0xFC00 command: 0x00 payload[0]: 004
deconz    | 12:36:37:201 discard sensor state push for 2: state/buttonevent (already pushed)
deconz    | 12:36:37:202 discard sensor state push for 2: state/eventduration (already pushed)
deconz    | 12:36:37:203 discard sensor state push for 2: state/lastupdated (already pushed)
deconz    | 12:36:37:909 poll node 00:17:88:01:02:7a:71:a0-0b
deconz    | 12:36:37:909 Poll light node floor_3_living_room
deconz    | 12:36:37:962 read attributes of 0x00178801027A71A0 cluster: 0x0006: [ 12:36:37:962 0x0000 12:36:37:962 ]
deconz    | 12:36:37:962 add task 283 type 19 to 0x00178801027A71A0 cluster 0x0006 req.id 14
deconz    | 12:36:37:962 Poll APS request 14 to 0x00178801027A71A0 cluster: 0x0006
deconz    | 12:36:37:983 enqueue event config/localtime for /config/
deconz    | 12:36:37:983 Wait 4s till query finished
deconz    | 12:36:38:006 Poll APS confirm 14 status: 0x00
deconz    | 12:36:38:006 Erase task req-id: 14, type: 19 zcl seqno: 128 send time 0, profileId: 0x0104, clusterId: 0x0006
deconz    | 12:36:38:027 Node data 0x00178801027a71a0 profileId: 0x0104, clusterId: 0x0006
deconz    | 12:36:38:028 0x00178801027A71A0: update ZCL value 0x0B/0x0006/0x0000 after 0 s
deconz    | 12:36:38:028 enqueue event event/checkgroupanyon for /groups/65520
deconz    | 12:36:38:197 read attributes of 0x00178801027A71A0 cluster: 0x0008: [ 12:36:38:198 0x0000 12:36:38:198 ]
deconz    | 12:36:38:198 add task 285 type 19 to 0x00178801027A71A0 cluster 0x0008 req.id 19
deconz    | 12:36:38:198 Poll APS request 19 to 0x00178801027A71A0 cluster: 0x0008
deconz    | 12:36:38:302 Poll APS confirm 19 status: 0x00
deconz    | 12:36:38:302 Erase task req-id: 19, type: 19 zcl seqno: 129 send time 0, profileId: 0x0104, clusterId: 0x0008
deconz    | 12:36:38:304 read attributes of 0x00178801027A71A0 cluster: 0x0300: [ 12:36:38:304 0x0001 12:36:38:304 0x0003 12:36:38:304 0x0004 12:36:38:304 0x0007 12:36:38:304 0x0008 12:36:38:304 0x4000 12:36:38:304 0x4001 12:36:38:304 0x4002 12:36:38:304 ]
deconz    | 12:36:38:304 add task 287 type 19 to 0x00178801027A71A0 cluster 0x0300 req.id 21
deconz    | 12:36:38:304 Poll APS request 21 to 0x00178801027A71A0 cluster: 0x0300
deconz    | 12:36:38:324 Node data 0x00178801027a71a0 profileId: 0x0104, clusterId: 0x0008
deconz    | 12:36:38:324 0x00178801027A71A0: update ZCL value 0x0B/0x0008/0x0000 after 0 s
deconz    | 12:36:38:410 Poll APS confirm 21 status: 0x00
deconz    | 12:36:38:410 Erase task req-id: 21, type: 19 zcl seqno: 130 send time 0, profileId: 0x0104, clusterId: 0x0300
deconz    | 12:36:38:444 Node data 0x00178801027a71a0 profileId: 0x0104, clusterId: 0x0300

In contrast this is how it looks like when it is working in image: marthoc/deconz:armhf-2.05.84 (Update: the log below was using DEBUG_INFO=1, for DEBUG_INFO=2 including the web socket events see this comment)

deconz    | 12:14:38:959 [INFO] - No button map for: RWL021 endpoint: 0x02 cluster: 0xFC00 command: 0x00 payload[0]: 001
deconz    | 12:14:38:984 delay sending request 20 dt 1 ms to 0x0017880103548895, ep: 0x0B cluster: 0x0008 onAir: 1
deconz    | 12:14:38:984 delay sending request 21 dt 1 ms to 0x0017880103548895, ep: 0x0B cluster: 0x0300 onAir: 1
deconz    | 12:14:39:010        0x0017880103548895 force poll (2)
deconz    | 12:14:39:055 [INFO] - No button map for: RWL021 endpoint: 0x02 cluster: 0xFC00 command: 0x00 payload[0]: 001
deconz    | 12:14:39:084 delay sending request 21 dt 0 ms to 0x0017880103548895, ep: 0x0B cluster: 0x0300 onAir: 1
deconz    | 12:14:39:184 delay sending request 21 dt 0 ms to 0x0017880103548895, ep: 0x0B cluster: 0x0300 onAir: 1
deconz    | 12:14:39:284 delay sending request 21 dt 0 ms to 0x0017880103548895, ep: 0x0B cluster: 0x0300 onAir: 1
deconz    | 12:14:39:384 delay sending request 21 dt 0 ms to 0x0017880103548895, ep: 0x0B cluster: 0x0300 onAir: 1
deconz    | 12:14:39:484 delay sending request 21 dt 0 ms to 0x0017880103548895, ep: 0x0B cluster: 0x0300 onAir: 1
deconz    | 12:14:39:584 delay sending request 21 dt 0 ms to 0x0017880103548895, ep: 0x0B cluster: 0x0300 onAir: 1
deconz    | 12:14:39:604 delay sending request 21 dt 0 ms to 0x0017880103548895, ep: 0x0B cluster: 0x0300 onAir: 1
deconz    | 12:14:39:684 delay sending request 21 dt 0 ms to 0x0017880103548895, ep: 0x0B cluster: 0x0300 onAir: 1
deconz    | 12:14:39:784 delay sending request 21 dt 0 ms to 0x0017880103548895, ep: 0x0B cluster: 0x0300 onAir: 1
deconz    | 12:14:39:884 delay sending request 21 dt 0 ms to 0x0017880103548895, ep: 0x0B cluster: 0x0300 onAir: 1
deconz    | 12:14:39:984 delay sending request 21 dt 1 ms to 0x0017880103548895, ep: 0x0B cluster: 0x0300 onAir: 1
deconz    | 12:14:40:027        0x0017880103548895 force poll (2)
deconz    | 12:14:40:060        0x0017880103548895 force poll (2)

Additional context

version: "2"
services:
  deconz:
    image: marthoc/deconz:armhf-2.07.01
    #image: marthoc/deconz:armhf-2.05.84
    container_name: deconz
    restart: unless-stopped
    ports:
      - 8085:8080
      - 4043:445
    volumes:
      - /opt/deconz/config:/root/.local/share/dresden-elektronik/deCONZ
      - /etc/localtime:/etc/localtime:ro
    devices:
      - /dev/ttyACM0
    environment:
      - DECONZ_WEB_PORT=8080
      - DECONZ_WS_PORT=445
      - DECONZ_DEVICE=/dev/ttyACM0
      - DEBUG_INFO=2
      - DEBUG_APS=0
      - DEBUG_ZCL=0
      - DEBUG_ZDP=0
      - DEBUG_OTAU=0

Update: The home assistant automation for the RWL021 acts on the deconz events it receives. I think we can rule out the home assistant part here, because according to the logs the web socket events are not being send by deconz.

- alias: 'Dimmer - Turn on Living Room light when 1 click'
  trigger:
    platform: event
    event_type: deconz_event
    event_data:
      id: switch_living_room
      event: 1002
  action:
close-issue-app[bot] commented 3 years ago

Hi there.

Thank you for filing this issue. Unfortunately, we cannot help you, as you haven't sticked to the provided template and/or have not provided all information requested. Consequently, this issue has been closed.
We're more than happy to help out where we can once you raise a new issue containing all requested information in the requested format.

In this regard, please take note that:
- read the template thoroughly
- all given header lines (starting with ###) must not be deleted
- everything enclosed by <!-- --> is intended to give you guidance and should be replaced by your input specific to the issue
- Listings regarding your environment must be filled out completely where applicable (bug reports and user questions).
- Not following the template or providing insufficient information can still implicate manual closure.

So please, first help us a bit to help you!

Tooa commented 3 years ago

@ebaauw @manup Can you guys please reopen? For me the bug report looks according to the guidelines.

ebaauw commented 3 years ago

I could, but then the bot closes it again. @Mimiix, what's wrong here?

SwoopX commented 3 years ago

The button handler is not the problem since Philips devices weren't and still are not covered by the button maps.

Mimiix commented 3 years ago

I could, but then the bot closes it again. @Mimiix, what's wrong here?

User didn't comply. Expected Behavior (as per template), user had Expected Behaviour.

Tooa commented 3 years ago

User didn't comply. Expected Behavior (as per template), user had Expected Behaviour.

Thanks for helping out here.

The button handler is not the problem since Philips devices weren't and still are not covered by the button maps.

So, I guess the message No button handler for: RWL021 endpoint: 0x02 cluster: 0xFC00 command: 0x00 payload[0]: 001 was added in the newer release and is expected behavior.

Do you need other information from me to find the cause then?

Edit: I also do not receive a deconz_event in home assistant via the developer tools when listening for the events. With marthoc/deconz:armhf-2.05.84 I receive events though. Maybe something changed that the home assistant deconz integration is not aware of?

SwoopX commented 3 years ago

Are you sure you haven't mixed out the debug output for the corresponding versions? Based on the output provided and the current state code, the lower part (where you state it should be 2.05.84) represents the currently expected behaviour. As Philips devices have no button map, they should exit the function responsible for generating the [INFO] - messages at the very beginning, stating there is no button map (which is correct).

However, a small part of the code which might have previously been called, isn't right now.

https://github.com/dresden-elektronik/deconz-rest-plugin/blob/ecabe6dfd3e279c7c0ba72a1239daee1763fbf82/de_web_plugin.cpp#L3957-L3962

Under the given circumstances, this would be dead code...

Regardless, the Philips button events are handled and emitted by handlePhilipsClusterIndication()

Tooa commented 3 years ago

Are you sure you haven't mixed out the debug output for the corresponding versions?

The lower part showing version 2.05.84 wasn't executed with a debug flag value of 2. I only did this for the non-working version.

Working version image: marthoc/deconz:armhf-2.05.84 with DEBUG_INFO=2

deconz    | 22:24:21:753 [INFO] - No button map for: RWL021 endpoint: 0x02 cluster: 0xFC00 command: 0x00 payload[0]: 001
deconz    | 22:24:21:754 Websocket 192.168.144.1:50612 send message: {"e":"changed","id":"2","r":"sensors","state":{"buttonevent":1000,"eventduration":0,"lastupdated":"2021-01-08T22:24:21.752"},"t":"event","uniqueid":"00:17:88:01:06:ea:c0:46-02-fc00"} (ret = -1092944336)
deconz    | 22:24:21:755 Websocket 192.168.144.1:50628 send message: {"e":"changed","id":"2","r":"sensors","state":{"buttonevent":1000,"eventduration":0,"lastupdated":"2021-01-08T22:24:21.752"},"t":"event","uniqueid":"00:17:88:01:06:ea:c0:46-02-fc00"} (ret = -1092944336)
deconz    | 22:24:21:757 discard sensor state push for 2: state/eventduration (already pushed)
deconz    | 22:24:21:759 discard sensor state push for 2: state/lastupdated (already pushed)
deconz    | 22:24:21:856 [INFO] - No button map for: RWL021 endpoint: 0x02 cluster: 0xFC00 command: 0x00 payload[0]: 001
deconz    | 22:24:21:857 Websocket 192.168.144.1:50612 send message: {"e":"changed","id":"2","r":"sensors","state":{"buttonevent":1002,"eventduration":1,"lastupdated":"2021-01-08T22:24:21.855"},"t":"event","uniqueid":"00:17:88:01:06:ea:c0:46-02-fc00"} (ret = -1092944336)
deconz    | 22:24:21:858 Websocket 192.168.144.1:50628 send message: {"e":"changed","id":"2","r":"sensors","state":{"buttonevent":1002,"eventduration":1,"lastupdated":"2021-01-08T22:24:21.855"},"t":"event","uniqueid":"00:17:88:01:06:ea:c0:46-02-fc00"} (ret = -1092944336)
deconz    | 22:24:21:859 discard sensor state push for 2: state/eventduration (already pushed)
deconz    | 22:24:21:860 discard sensor state push for 2: state/lastupdated (already pushed)
deconz    | 22:24:21:872 add task 333 type 11 to 0x001788010354850D cluster 0x0008 req.id 10
deconz    | 22:24:21:872 add task 332 type 14 to 0x001788010354850D cluster 0x0006 req.id 9
deconz    | 22:24:21:872 add task 334 type 11 to 0x001788010354850D cluster 0x0008 req.id 11
deconz    | 22:24:21:872 add task 335 type 5 to 0x001788010354850D cluster 0x0300 req.id 12
deconz    | 22:24:21:874 Websocket 192.168.144.1:50612 send message: {"e":"changed","id":"1","r":"lights","state":{"alert":null,"bri":203,"colormode":"xy","ct":389,"effect":"none","hue":7454,"on":true,"reachable":true,"sat":146,"xy":[0.472,0.403]},"t":"event","uniqueid":"00:17:88:01:03:54:85:0d-0b"} (ret = -1092943808)
deconz    | 22:24:21:874 Websocket 192.168.144.1:50628 send message: {"e":"changed","id":"1","r":"lights","state":{"alert":null,"bri":203,"colormode":"xy","ct":389,"effect":"none","hue":7454,"on":true,"reachable":true,"sat":146,"xy":[0.472,0.403]},"t":"event","uniqueid":"00:17:88:01:03:54:85:0d-0b"} (ret = -1092943808)
deconz    | 22:24:21:884 delay sending request 9 dt 0 ms to 0x001788010354850D, ep: 0x0B cluster: 0x0006 onAir: 1
deconz    | 22:24:21:884 delay sending request 9 ep: 0x0B cluster 0x0006 to 0x001788010354850d onAir 1
deconz    | 22:24:21:884 delay sending request 11 dt 0 ms to 0x001788010354850D, ep: 0x0B cluster: 0x0008 onAir: 1
deconz    | 22:24:21:884 delay sending request 11 ep: 0x0B cluster 0x0008 to 0x001788010354850d onAir 1
deconz    | 22:24:21:884 delay sending request 12 dt 0 ms to 0x001788010354850D, ep: 0x0B cluster: 0x0300 onAir: 1
deconz    | 22:24:21:884 delay sending request 12 ep: 0x0B cluster 0x0300 to 0x001788010354850d onAir 1
deconz    | 22:24:21:901        0x001788010354850D force poll (2)
deconz    | 22:24:21:901 Erase task req-id: 10, type: 11 zcl seqno: 56 send time 0, profileId: 0x0104, clusterId: 0x0008
deconz    | 22:24:21:945        0x001788010354850D force poll (2)
deconz    | 22:24:21:945 Erase task req-id: 9, type: 14 zcl seqno: 57 send time 0, profileId: 0x0104, clusterId: 0x0006
deconz    | 22:24:21:976        0x001788010354850D force poll (2)
deconz    | 22:24:21:977 Erase task req-id: 11, type: 11 zcl seqno: 58 send time 0, profileId: 0x0104, clusterId: 0x0008
deconz    | 22:24:22:011        0x001788010354850D force poll (2)
deconz    | 22:24:22:011 Erase task req-id: 12, type: 5 zcl seqno: 59 send time 1, profileId: 0x0104, clusterId: 0x0300
deconz    | 22:24:22:485 poll node 00:15:8d:00:03:88:4b:1d-01-0702
deconz    | 22:24:22:485 Poll ZHAConsumption sensor node Consumption 17
deconz    | 22:24:22:744 Poll APS request to 0x00158D0003884B1D cluster: 0x0702 dropped, values are fresh enough
deconz    | 22:24:23:188 void deCONZ::zmNode::setFetched(deCONZ::RequestId, bool) fetched item: 8, node: 0xA743
deconz    | 22:24:23:222 [INFO] - No button map for: RWL021 endpoint: 0x02 cluster: 0xFC00 command: 0x00 payload[0]: 004
deconz    | 22:24:23:224 Websocket 192.168.144.1:50612 send message: {"e":"changed","id":"2","r":"sensors","state":{"buttonevent":4000,"eventduration":0,"lastupdated":"2021-01-08T22:24:23.221"},"t":"event","uniqueid":"00:17:88:01:06:ea:c0:46-02-fc00"} (ret = -1092944336)
deconz    | 22:24:23:227 Websocket 192.168.144.1:50628 send message: {"e":"changed","id":"2","r":"sensors","state":{"buttonevent":4000,"eventduration":0,"lastupdated":"2021-01-08T22:24:23.221"},"t":"event","uniqueid":"00:17:88:01:06:ea:c0:46-02-fc00"} (ret = -1092944336)
deconz    | 22:24:23:230 discard sensor state push for 2: state/eventduration (already pushed)
deconz    | 22:24:23:232 discard sensor state push for 2: state/lastupdated (already pushed)
deconz    | 22:24:23:334 [INFO] - No button map for: RWL021 endpoint: 0x02 cluster: 0xFC00 command: 0x00 payload[0]: 004
deconz    | 22:24:23:336 Websocket 192.168.144.1:50612 send message: {"e":"changed","id":"2","r":"sensors","state":{"buttonevent":4002,"eventduration":1,"lastupdated":"2021-01-08T22:24:23.333"},"t":"event","uniqueid":"00:17:88:01:06:ea:c0:46-02-fc00"} (ret = -1092944336)
deconz    | 22:24:23:336 Websocket 192.168.144.1:50628 send message: {"e":"changed","id":"2","r":"sensors","state":{"buttonevent":4002,"eventduration":1,"lastupdated":"2021-01-08T22:24:23.333"},"t":"event","uniqueid":"00:17:88:01:06:ea:c0:46-02-fc00"} (ret = -1092944336)
deconz    | 22:24:23:337 discard sensor state push for 2: state/eventduration (already pushed)
deconz    | 22:24:23:339 discard sensor state push for 2: state/lastupdated (already pushed)
deconz    | 22:24:23:352 add task 346 type 14 to 0x001788010354850D cluster 0x0006 req.id 33
deconz    | 22:24:23:355 Websocket 192.168.144.1:50612 send message: {"e":"changed","id":"1","r":"lights","state":{"alert":null,"bri":203,"colormode":"xy","ct":389,"effect":"none","hue":7454,"on":false,"reachable":true,"sat":146,"xy":[0.472,0.403]},"t":"event","uniqueid":"00:17:88:01:03:54:85:0d-0b"} (ret = -1092943808)
deconz    | 22:24:23:355 Websocket 192.168.144.1:50628 send message: {"e":"changed","id":"1","r":"lights","state":{"alert":null,"bri":203,"colormode":"xy","ct":389,"effect":"none","hue":7454,"on":false,"reachable":true,"sat":146,"xy":[0.472,0.403]},"t":"event","uniqueid":"00:17:88:01:03:54:85:0d-0b"} (ret = -1092943808)
deconz    | 22:24:23:380        0x001788010354850D force poll (2)
deconz    | 22:24:23:380 Erase task req-id: 33, type: 14 zcl seqno: 60 send time 0, profileId: 0x0104, clusterId: 0x0006
deconz    | 22:24:23:479 poll node 00:15:8d:00:03:88:44:f6-01-0702
deconz    | 22:24:23:479 Poll ZHAConsumption sensor node Consumption 15
deconz    | 22:24:23:484 DB save zll database items 0x00000085
deconz    | 22:24:23:484 DB sql exec REPLACE INTO auth (apikey, devicetype, createdate, lastusedate, useragent) VALUES ('D1A7FF949D', 'pydeconz', '2021-01-08T14:53:15', '2021-01-08T22:24:23', 'HomeAssistant/2020.12.2 aiohttp/3.7.1 Python/3.8')
deconz    | 22:24:23:485 DB sql exec REPLACE INTO nodes (id, state, mac, name, groups, endpoint, modelid, manufacturername, swbuildid, ritems) VALUES ('1', 'normal', '00:17:88:01:03:54:85:0d-0b', 'ceiling_living_room', '65520', '11', 'LCT015', 'Philips', '1.46.13_r26312', '{"attr/id":"1","attr/lastannounced":"2020-12-26T00:28:17Z","attr/lastseen":"2021-01-08T22:23Z","attr/manufacturername":"Philips","attr/modelid":"LCT015","attr/name":"ceiling_living_room","attr/swversion":"1.46.13_r26312","attr/type":"Extended color light","attr/uniqueid":"00:17:88:01:03:54:85:0d-0b","config/colorcapabilities":31,"config/ctmax":500,"config/ctmin":153,"state/alert":null,"state/bri":203,"state/colormode":"xy","state/ct":389,"state/effect":0,"state/hue":7454,"state/on":false,"state/reachable":true,"state/sat":146,"state/x":30932,"state/y":26410}')
deconz    | 22:24:23:486 DB sql exec REPLACE INTO nodes (id, state, mac, name, groups, endpoint, modelid, manufacturername, swbuildid, ritems) VALUES ('2', 'normal', '00:17:88:01:02:7a:71:a0-0b', 'floor_3_living_room', '65520', '11', 'LCT010', 'Philips', '1.46.13_r26312', '{"attr/id":"2","attr/lastannounced":null,"attr/lastseen":"2021-01-08T22:23Z","attr/manufacturername":"Philips","attr/modelid":"LCT010","attr/name":"floor_3_living_room","attr/swversion":"1.46.13_r26312","attr/type":"Extended color light","attr/uniqueid":"00:17:88:01:02:7a:71:a0-0b","config/colorcapabilities":31,"config/ctmax":500,"config/ctmin":153,"state/alert":null,"state/bri":122,"state/colormode":"ct","state/ct":205,"state/effect":0,"state/hue":40570,"state/on":false,"state/reachable":true,"state/sat":37,"state/x":22809,"state/y":23442}')
deconz    | 22:24:23:488 DB sql exec REPLACE INTO nodes (id, state, mac, name, groups, endpoint, modelid, manufacturername, swbuildid, ritems) VALUES ('3', 'normal', '00:17:88:01:02:7a:75:4b-0b', 'floor_1_living_room', '65520', '11', 'LCT010', 'Philips', '1.46.13_r26312', '{"attr/id":"3","attr/lastannounced":null,"attr/lastseen":"2021-01-08T22:23Z","attr/manufacturername":"Philips","attr/modelid":"LCT010","attr/name":"floor_1_living_room","attr/swversion":"1.46.13_r26312","attr/type":"Extended color light","attr/uniqueid":"00:17:88:01:02:7a:75:4b-0b","config/colorcapabilities":31,"config/ctmax":500,"config/ctmin":153,"state/alert":null,"state/bri":254,"state/colormode":"ct","state/ct":415,"state/effect":0,"state/hue":7987,"state/on":false,"state/reachable":true,"state/sat":179,"state/x":31782,"state/y":27173}')
deconz    | 22:24:23:489 DB sql exec REPLACE INTO nodes (id, state, mac, name, groups, endpoint, modelid, manufacturername, swbuildid, ritems) VALUES ('4', 'normal', '00:17:88:01:03:54:88:95-0b', 'floor_2_living_room', '65520', '11', 'LCT015', 'Philips', '1.46.13_r26312', '{"attr/id":"4","attr/lastannounced":null,"attr/lastseen":"2021-01-08T22:23Z","attr/manufacturername":"Philips","attr/modelid":"LCT015","attr/name":"floor_2_living_room","attr/swversion":"1.46.13_r26312","attr/type":"Extended color light","attr/uniqueid":"00:17:88:01:03:54:88:95-0b","config/colorcapabilities":31,"config/ctmax":500,"config/ctmin":153,"state/alert":null,"state/bri":254,"state/colormode":"xy","state/ct":153,"state/effect":0,"state/hue":52521,"state/on":false,"state/reachable":true,"state/sat":248,"state/x":20514,"state/y":8529}')
deconz    | 22:24:23:489 DB sql exec REPLACE INTO sensors (sid, name, type, modelid, manufacturername, uniqueid, swversion, state, config, fingerprint, deletedState, mode) VALUES ('17', 'Consumption 17', 'ZHAConsumption', 'SP 120', 'innr', '00:15:8d:00:03:88:4b:1d-01-0702', '2.0', '{"consumption":540,"lastupdated":"2021-01-08T22:24:09.138"}', '{"on":true,"reachable":true}', '{"d":16,"ep":1,"in":[1794],"p":49246}', 'normal', '1')
deconz    | 22:24:23:491 DB sql exec REPLACE INTO sensors (sid, name, type, modelid, manufacturername, uniqueid, swversion, state, config, fingerprint, deletedState, mode) VALUES ('14', 'sensor_bedroom', 'ZHALightLevel', 'SML001', 'Philips', '00:17:88:01:04:b4:e5:41-02-0400', '6.1.1.27575', '{"dark":true,"daylight":false,"lastupdated":"2021-01-08T22:24:21.191","lightlevel":0,"lux":0}', '{"alert":"none","battery":82,"ledindication":false,"on":true,"pending":0,"reachable":true,"tholddark":12000,"tholdoffset":7000,"usertest":false}', '{"d":263,"ep":2,"in":[0,1,1024],"p":260}', 'normal', '1')
deconz    | 22:24:23:491 DB sql exec REPLACE INTO sensors (sid, name, type, modelid, manufacturername, uniqueid, swversion, state, config, fingerprint, deletedState, mode) VALUES ('18', 'Power 18', 'ZHAPower', 'SP 120', 'innr', '00:15:8d:00:03:88:4b:1d-01-0b04', '2.0', '{"current":0,"lastupdated":"2021-01-08T22:24:11.739","power":0,"voltage":230}', '{"on":true,"reachable":true}', '{"d":16,"ep":1,"in":[2820],"p":49246}', 'normal', '1')
deconz    | 22:24:23:512 DB saved in 28 ms

Broken version marthoc/deconz:armhf-2.07.01 with DEBUG_INFO=2

deconz    | 22:29:28:988 [INFO] - No button handler for: RWL021 endpoint: 0x02 cluster: 0xFC00 command: 0x00 payload[0]: 001
deconz    | 22:29:28:989 discard sensor state push for 2: state/buttonevent (already pushed)
deconz    | 22:29:28:990 discard sensor state push for 2: state/eventduration (already pushed)
deconz    | 22:29:28:991 discard sensor state push for 2: state/lastupdated (already pushed)
deconz    | 22:29:29:211 enqueue event state/buttonevent for /sensors/2
deconz    | 22:29:29:211 enqueue event state/eventduration for /sensors/2
deconz    | 22:29:29:211 enqueue event state/lastupdated for /sensors/2
deconz    | 22:29:29:211 Force binding of attribute reporting for sensor switch_living_room
deconz    | 22:29:29:211 [INFO] - No button handler for: RWL021 endpoint: 0x02 cluster: 0xFC00 command: 0x00 payload[0]: 001
deconz    | 22:29:29:212 discard sensor state push for 2: state/buttonevent (already pushed)
deconz    | 22:29:29:213 discard sensor state push for 2: state/eventduration (already pushed)
deconz    | 22:29:29:214 discard sensor state push for 2: state/lastupdated (already pushed)
deconz    | 22:29:29:332 poll node 00:15:8d:00:03:88:4b:1d-01-0b04
deconz    | 22:29:29:332 Poll ZHAPower sensor node Power 18
deconz    | 22:29:29:583 read attributes of 0x00158D0003884B1D cluster: 0x0B04: [ 22:29:29:583 0x050B 22:29:29:583 ]
deconz    | 22:29:29:583 add task 230 type 19 to 0x00158D0003884B1D cluster 0x0B04 req.id 147
deconz    | 22:29:29:583 Poll APS request 147 to 0x00158D0003884B1D cluster: 0x0B04
deconz    | 22:29:29:703 Poll APS confirm 147 status: 0x00
deconz    | 22:29:29:703 Erase task req-id: 147, type: 19 zcl seqno: 36 send time 0, profileId: 0x0104, clusterId: 0x0B04
deconz    | 22:29:29:724 Node data 0x00158d0003884b1d profileId: 0x0104, clusterId: 0x0B04
deconz    | 22:29:29:724 0x00158D0003884B1D: added ZCL value 0x01/0x0B04/0x050B
deconz    | 22:29:29:724 enqueue event state/power for /sensors/18
deconz    | 22:29:29:725 enqueue event state/lastupdated for /sensors/18
deconz    | 22:29:29:726 discard sensor state push for 18: state/power (already pushed)
deconz    | 22:29:29:727 discard sensor state push for 18: state/lastupdated (already pushed)
deconz    | 22:29:29:821 enqueue event state/buttonevent for /sensors/2
deconz    | 22:29:29:821 enqueue event state/eventduration for /sensors/2
deconz    | 22:29:29:821 enqueue event state/lastupdated for /sensors/2
deconz    | 22:29:29:821 Force binding of attribute reporting for sensor switch_living_room
deconz    | 22:29:29:821 [INFO] - No button handler for: RWL021 endpoint: 0x02 cluster: 0xFC00 command: 0x00 payload[0]: 004
deconz    | 22:29:29:823 discard sensor state push for 2: state/buttonevent (already pushed)
deconz    | 22:29:29:825 discard sensor state push for 2: state/eventduration (already pushed)
deconz    | 22:29:29:826 discard sensor state push for 2: state/lastupdated (already pushed)
deconz    | 22:29:29:984 enqueue event config/localtime for /config/
deconz    | 22:29:29:984 Wait 2s till query finished
deconz    | 22:29:30:324 poll node 00:15:8d:00:03:88:44:f6-01-0b04
deconz    | 22:29:30:324 Poll ZHAPower sensor node Power 16
deconz    | 22:29:30:483 Daylight now: nightStart, status: 230, daylight: 0, dark: 1
deconz    | 22:29:30:499 DeviceAnnce of SensorNode: 0x0017880106EAC046 [1]
deconz    | 22:29:30:499 enqueue event config/reachable for /sensors/2
deconz    | 22:29:30:501 discard sensor config push for config/reachable (already pushed)
deconz    | 22:29:30:584 read attributes of 0x00158D00038844F6 cluster: 0x0B04: [ 22:29:30:584 0x050B 22:29:30:584 ]
deconz    | 22:29:30:584 add task 235 type 19 to 0x00158D00038844F6 cluster 0x0B04 req.id 159
deconz    | 22:29:30:584 Poll APS request 159 to 0x00158D00038844F6 cluster: 0x0B04
deconz    | 22:29:30:641 Poll APS confirm 159 status: 0x00
deconz    | 22:29:30:641 Erase task req-id: 159, type: 19 zcl seqno: 37 send time 0, profileId: 0x0104, clusterId: 0x0B04
deconz    | 22:29:30:645 Node data 0x00158d00038844f6 profileId: 0x0104, clusterId: 0x0B04
deconz    | 22:29:30:646 0x00158D00038844F6: added ZCL value 0x01/0x0B04/0x050B
deconz    | 22:29:30:646 enqueue event state/power for /sensors/16
deconz    | 22:29:30:646 enqueue event state/lastupdated for /sensors/16
deconz    | 22:29:30:647 discard sensor state push for 16: state/power (already pushed)
deconz    | 22:29:30:648 discard sensor state push for 16: state/lastupdated (already pushed)
deconz    | 22:29:30:649 enqueue event state/buttonevent for /sensors/2
deconz    | 22:29:30:649 enqueue event state/eventduration for /sensors/2
deconz    | 22:29:30:649 enqueue event state/lastupdated for /sensors/2
deconz    | 22:29:30:649 Force binding of attribute reporting for sensor switch_living_room
deconz    | 22:29:30:649 [INFO] - No button handler for: RWL021 endpoint: 0x02 cluster: 0xFC00 command: 0x00 payload[0]: 001
deconz    | 22:29:30:651 discard sensor state push for 2: state/buttonevent (already pushed)
deconz    | 22:29:30:652 discard sensor state push for 2: state/eventduration (already pushed)
deconz    | 22:29:30:653 discard sensor state push for 2: state/lastupdated (already pushed)
deconz    | 22:29:30:984 enqueue event config/localtime for /config/
deconz    | 22:29:30:984 Wait 1s till query finished
deconz    | 22:29:31:064 enqueue event state/buttonevent for /sensors/2
deconz    | 22:29:31:064 enqueue event state/eventduration for /sensors/2
deconz    | 22:29:31:064 enqueue event state/lastupdated for /sensors/2
deconz    | 22:29:31:064 Force binding of attribute reporting for sensor switch_living_room
deconz    | 22:29:31:064 [INFO] - No button handler for: RWL021 endpoint: 0x02 cluster: 0xFC00 command: 0x00 payload[0]: 004
deconz    | 22:29:31:066 discard sensor state push for 2: state/buttonevent (already pushed)
deconz    | 22:29:31:067 discard sensor state push for 2: state/eventduration (already pushed)
deconz    | 22:29:31:068 discard sensor state push for 2: state/lastupdated (already pushed)
deconz    | 22:29:31:202 enqueue event state/buttonevent for /sensors/2
deconz    | 22:29:31:202 enqueue event state/eventduration for /sensors/2
deconz    | 22:29:31:202 enqueue event state/lastupdated for /sensors/2
deconz    | 22:29:31:202 Force binding of attribute reporting for sensor switch_living_room
deconz    | 22:29:31:202 [INFO] - No button handler for: RWL021 endpoint: 0x02 cluster: 0xFC00 command: 0x00 payload[0]: 004
deconz    | 22:29:31:204 discard sensor state push for 2: state/buttonevent (already pushed)
deconz    | 22:29:31:205 discard sensor state push for 2: state/eventduration (already pushed)
deconz    | 22:29:31:206 discard sensor state push for 2: state/lastupdated (already pushed)
deconz    | 22:29:31:273 poll node 00:17:88:01:03:54:85:0d-0b
deconz    | 22:29:31:273 Poll light node ceiling_living_room
deconz    | 22:29:31:326 read attributes of 0x001788010354850D cluster: 0x0006: [ 22:29:31:326 0x0000 22:29:31:326 ]
deconz    | 22:29:31:326 add task 239 type 19 to 0x001788010354850D cluster 0x0006 req.id 171
deconz    | 22:29:31:326 Poll APS request 171 to 0x001788010354850D cluster: 0x0006
deconz    | 22:29:31:406 Poll APS confirm 171 status: 0x00
deconz    | 22:29:31:406 Erase task req-id: 171, type: 19 zcl seqno: 38 send time 0, profileId: 0x0104, clusterId: 0x0006
deconz    | 22:29:31:422 Node data 0x001788010354850d profileId: 0x0104, clusterId: 0x0006
deconz    | 22:29:31:422 0x001788010354850D: update ZCL value 0x0B/0x0006/0x0000 after 0 s
deconz    | 22:29:31:422 enqueue event event/checkgroupanyon for /groups/65520
deconz    | 22:29:31:598 read attributes of 0x001788010354850D cluster: 0x0008: [ 22:29:31:598 0x0000 22:29:31:598 ]
deconz    | 22:29:31:598 add task 241 type 19 to 0x001788010354850D cluster 0x0008 req.id 175
deconz    | 22:29:31:598 Poll APS request 175 to 0x001788010354850D cluster: 0x0008
deconz    | 22:29:31:713 Poll APS confirm 175 status: 0x00
deconz    | 22:29:31:713 Erase task req-id: 175, type: 19 zcl seqno: 39 send time 0, profileId: 0x0104, clusterId: 0x0008
deconz    | 22:29:31:715 read attributes of 0x001788010354850D cluster: 0x0300: [ 22:29:31:715 0x0001 22:29:31:715 0x0003 22:29:31:715 0x0004 22:29:31:715 0x0007 22:29:31:715 0x0008 22:29:31:715 0x4000 22:29:31:715 0x4001 22:29:31:715 0x4002 22:29:31:715 ]
deconz    | 22:29:31:715 add task 242 type 19 to 0x001788010354850D cluster 0x0300 req.id 177
deconz    | 22:29:31:715 Poll APS request 177 to 0x001788010354850D cluster: 0x0300
deconz    | 22:29:31:727 enqueue event state/buttonevent for /sensors/2
deconz    | 22:29:31:727 enqueue event state/eventduration for /sensors/2
deconz    | 22:29:31:727 enqueue event state/lastupdated for /sensors/2
deconz    | 22:29:31:727 Force binding of attribute reporting for sensor switch_living_room
deconz    | 22:29:31:727 [INFO] - No button handler for: RWL021 endpoint: 0x02 cluster: 0xFC00 command: 0x00 payload[0]: 001
deconz    | 22:29:31:729 discard sensor state push for 2: state/buttonevent (already pushed)
deconz    | 22:29:31:730 discard sensor state push for 2: state/eventduration (already pushed)
deconz    | 22:29:31:731 discard sensor state push for 2: state/lastupdated (already pushed)
deconz    | 22:29:31:751 Node data 0x001788010354850d profileId: 0x0104, clusterId: 0x0008
deconz    | 22:29:31:751 0x001788010354850D: update ZCL value 0x0B/0x0008/0x0000 after 0 s
deconz    | 22:29:31:804 Poll APS confirm 177 status: 0x00
deconz    | 22:29:31:804 Erase task req-id: 177, type: 19 zcl seqno: 40 send time 0, profileId: 0x0104, clusterId: 0x0300
deconz    | 22:29:31:826 Node data 0x001788010354850d profileId: 0x0104, clusterId: 0x0300
deconz    | 22:29:31:826 0x001788010354850D: update ZCL value 0x0B/0x0300/0x0001 after 0 s
deconz    | 22:29:31:826 0x001788010354850D: update ZCL value 0x0B/0x0300/0x0003 after 0 s
deconz    | 22:29:31:827 0x001788010354850D: update ZCL value 0x0B/0x0300/0x0004 after 0 s
deconz    | 22:29:31:827 0x001788010354850D: update ZCL value 0x0B/0x0300/0x0007 after 0 s
deconz    | 22:29:31:827 0x001788010354850D: update ZCL value 0x0B/0x0300/0x0008 after 0 s
deconz    | 22:29:31:827 0x001788010354850D: update ZCL value 0x0B/0x0300/0x4000 after 0 s
deconz    | 22:29:31:827 0x001788010354850D: update ZCL value 0x0B/0x0300/0x4001 after 0 s
deconz    | 22:29:31:827 0x001788010354850D: update ZCL value 0x0B/0x0300/0x4002 after 0 s
deconz    | 22:29:31:860 enqueue event state/buttonevent for /sensors/2
deconz    | 22:29:31:860 enqueue event state/eventduration for /sensors/2
deconz    | 22:29:31:860 enqueue event state/lastupdated for /sensors/2
deconz    | 22:29:31:861 Force binding of attribute reporting for sensor switch_living_room
deconz    | 22:29:31:861 [INFO] - No button handler for: RWL021 endpoint: 0x02 cluster: 0xFC00 command: 0x00 payload[0]: 001
deconz    | 22:29:31:862 discard sensor state push for 2: state/buttonevent (already pushed)
deconz    | 22:29:31:863 discard sensor state push for 2: state/eventduration (already pushed)
deconz    | 22:29:31:864 discard sensor state push for 2: state/lastupdated (already pushed)
deconz    | 22:29:31:984 enqueue event config/localtime for /config/
deconz    | 22:29:31:984 poll node 00:17:88:01:03:54:88:95-0b
deconz    | 22:29:31:984 Poll light node floor_2_living_room
deconz    | 22:29:31:984 Idle timer triggered
deconz    | 22:29:31:984 Force binding of attribute reporting for node ceiling_bedroom
deconz    | 22:29:31:984 Force read attributes for ZHATemperature SensorNode sensor_bedroom
deconz    | 22:29:32:342 enqueue event state/buttonevent for /sensors/2
deconz    | 22:29:32:342 enqueue event state/eventduration for /sensors/2
deconz    | 22:29:32:342 enqueue event state/lastupdated for /sensors/2
deconz    | 22:29:32:342 Force binding of attribute reporting for sensor switch_living_room

In the second log snippet I cannot find the Websocket events happening. Hopefully this helps. I also tried to find the specific version where the dimmer breaks:

So the bug fix release marthoc/deconz:armhf-2.05.87 seems to be the culprit.

SwoopX commented 3 years ago

Version 2.09.00 in my production network:

21:44:04:037 enqueue event state/buttonevent for /sensors/3
21:44:04:037 enqueue event state/eventduration for /sensors/3
21:44:04:037 enqueue event state/lastupdated for /sensors/3
21:44:04:038 [INFO] - No button map for: RWL021 endpoint: 0x02 cluster: 0xFC00 command: 0x00 payload[0]: 002
21:44:04:040 read attributes of 0x00158D0001FE575E cluster: 0x0702: [ 21:44:04:040 0x0000 21:44:04:041 0x0400 21:44:04:041 ]
21:44:04:041 add task 212 type 19 to 0x00158D0001FE575E cluster 0x0702 req.id 126
21:44:04:041 Poll APS request 126 to 0x00158D0001FE575E cluster: 0x0702
21:44:04:047 Websocket 127.0.0.1:59596 send message: {"e":"changed","id":"3","r":"sensors","state":{"buttonevent":2000,"eventduration":0,"lastupdated":"2021-01-09T20:44:04.037"},"t":"event","uniqueid":"00:17:88:01:04:f4:2f:61-02-fc00"} (ret = -1098597144)
21:44:04:059 discard sensor state push for 3: state/eventduration (already pushed)
21:44:04:063 discard sensor state push for 3: state/lastupdated (already pushed)
21:44:04:135 enqueue event config/localtime for /config/
21:44:04:137 rule event /config/localtime: 21:44:03.215 -> 21:44:04.134 (919ms)
21:44:04:261 Poll APS confirm 126 status: 0xE9
21:44:04:261 0x00158D0001FE575E error APSDE-DATA.confirm: 0xE9 on task
21:44:04:261 Erase task req-id: 126, type: 19 zcl seqno: 142 send time 0, profileId: 0x0104, clusterId: 0x0702
21:44:04:284 enqueue event state/buttonevent for /sensors/3
21:44:04:285 enqueue event state/eventduration for /sensors/3
21:44:04:285 enqueue event state/lastupdated for /sensors/3
21:44:04:285 [INFO] - No button map for: RWL021 endpoint: 0x02 cluster: 0xFC00 command: 0x00 payload[0]: 002
21:44:04:289 Websocket 127.0.0.1:59596 send message: {"e":"changed","id":"3","r":"sensors","state":{"buttonevent":2002,"eventduration":2,"lastupdated":"2021-01-09T20:44:04.284"},"t":"event","uniqueid":"00:17:88:01:04:f4:2f:61-02-fc00"} (ret = -1098597144)
21:44:04:301 discard sensor state push for 3: state/eventduration (already pushed)
21:44:04:304 discard sensor state push for 3: state/lastupdated (already pushed)
Tooa commented 3 years ago

For me with 2.09.00 it looks like the following below. Again no websocket event. How does our setup differ? Have you also migrated from a previous version (including mine) or is this a fresh install?

deconz    | 21:33:07:302 Poll APS confirm 3 status: 0x00
deconz    | 21:33:07:302 Erase task req-id: 3, type: 19 zcl seqno: 66 send time 0, profileId: 0x0104, clusterId: 0x0006
deconz    | 21:33:07:313 Node data 0x001788010354850d profileId: 0x0104, clusterId: 0x0006
deconz    | 21:33:07:313 0x001788010354850D: update ZCL value 0x0B/0x0006/0x0000 after 0 s
deconz    | 21:33:07:313 enqueue event event/checkgroupanyon for /groups/65520
deconz    | 21:33:07:461 enqueue event state/buttonevent for /sensors/2
deconz    | 21:33:07:461 enqueue event state/eventduration for /sensors/2
deconz    | 21:33:07:461 enqueue event state/lastupdated for /sensors/2
deconz    | 21:33:07:461 [INFO] - No button map for: RWL021 endpoint: 0x02 cluster: 0xFC00 command: 0x00 payload[0]: 001
deconz    | 21:33:07:462 discard sensor state push for 2: state/buttonevent (already pushed)
deconz    | 21:33:07:463 discard sensor state push for 2: state/eventduration (already pushed)
deconz    | 21:33:07:465 discard sensor state push for 2: state/lastupdated (already pushed)
SwoopX commented 3 years ago

The difference is for sure me running bare Raspbian and I don't use HA, I've set up the system freshly like 2 weeks ago, but it also worked before. Got an update history starting somewhere early 2.05.xx.

Do you have more sensors/switches in your network? If yes, are they doing alright?

schmosby commented 3 years ago

Edit, Thanks SwoopX, I moved my issue with the lutron connected bulb remote not sending events out to a separate issue under #4151

SwoopX commented 3 years ago

@schmosby Please open a new issue for this. Stay brief and recycle the info you've already given here. Your case is different and the fix is easy. Will reply on that issue then, thanks.

Tooa commented 3 years ago

The difference is for sure me running bare Raspbian and I don't use HA, I've set up the system freshly like 2 weeks ago, but it also worked before. Got an update history starting somewhere early 2.05.xx.

The home assistant automation for the RWL021 acts on the deconz events it receives. I think we can rule out the home assistant part here, because according to the logs the web socket events are not being send by deconz.

- alias: 'Dimmer - Turn on Living Room light when 1 click'
  trigger:
    platform: event
    event_type: deconz_event
    event_data:
      id: switch_living_room
      event: 1002
  action:

Do you have more sensors/switches in your network? If yes, are they doing alright?

I have two Philips hue motion sensors that work as before i.e. reporting all values and state changes correct. My other Philips hue light bulbs also work as expected. I finally own two RWL021 and both do not work in my automation any more. The battery level of them is reported correct though.

SwoopX commented 3 years ago

To be honest, I got no clue what to do here since I cannot reproduce this. As shown above, everything's working as expected in my setup. Have you already tried re-pairing one of those?

@ebaauw Any further ideas maybe?

manup commented 3 years ago

Is this still not working or can this be closed?

I've tested the Hue Dimmer RWL021 with date code 20160302 in deCONZ v2.11.2 no problems here, all button events are generated.

c-t-d commented 3 years ago

@Tooa: I had exact the same issue and could resolve it by:

Edit: On the latest release 2.11.05

lettore commented 2 years ago

Not sure if this is related but for at least 3 months I have had a lot of pain with this model of remote in Deconz, I have 10 remotes RWL021 and at least 4 of them are constantly not working, when you press the button it blinks red light instead of green. I can reset them and they work immediately for less than one day. Then again stop working and usually they freeze the entire network for something like 10 seconds. I also have 2 ZYCT-202 that are not supported in UI? (I see them in light) and they work great as I look for events in Node-red. Ikea remotes also work perfectly. I'm not sure what's is broken with Philips because I used them for years with Deconz and I didn't add/change anything in the last few months.