dresden-elektronik / deconz-rest-plugin

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

_TZE204_sxm7l9xa doesn't show targetdistance #7641

Closed patrickschaper closed 8 months ago

patrickschaper commented 8 months ago

Does the issue really belong here?

Is there already an existing issue for this?

Describe the bug

The state of _TZE204_sxm7l9xa doesn't show the targetdistance property as stated here.

Also when looking into the app the state is missing. image

I'm running deCONZ 2.25.3 on Home Assistant with a Raspbee.

The deconz-input node in NodeRED is also missing the targetdistance property:

{
   "payload":{
      "lastupdated":"2024-02-26T16:50:16.512",
      "presence":true
   },
   "topic":"",
   "payload_format":"__complete__",
   "payload_raw":{
      "config":{
         "delay":50,
         "on":true,
         "reachable":true,
         "sensitivity":7,
         "triggerdistance":"6"
      },
      "etag":"804bdca0e7d764de3763745388c2ac72",
      "lastannounced":null,
      "lastseen":"2024-02-26T16:50Z",
      "manufacturername":"_TZE204_sxm7l9xa",
      "modelid":"TS0601",
      "name":"Living Room Motion Sensor",
      "state":{
         "lastupdated":"2024-02-26T16:50:16.512",
         "presence":true
      },
      "swversion":"1.0.10",
      "type":"ZHAPresence",
      "uniqueid":"a4:c1:38:88:7b:0b:c6:ea-01-ef00",
      "device_type":"sensors",
      "device_id":121,
      "device_path":"sensors/uniqueid/a4:c1:38:88:7b:0b:c6:ea-01-ef00"
   },
   "payload_type":"state",
   "meta":{
      "config":{
         "delay":50,
         "on":true,
         "reachable":true,
         "sensitivity":7,
         "triggerdistance":"6"
      },
      "etag":"804bdca0e7d764de3763745388c2ac72",
      "lastannounced":null,
      "lastseen":"2024-02-26T16:50Z",
      "manufacturername":"_TZE204_sxm7l9xa",
      "modelid":"TS0601",
      "name":"Living Room Motion Sensor",
      "state":{
         "lastupdated":"2024-02-26T16:50:16.512",
         "presence":true
      },
      "swversion":"1.0.10",
      "type":"ZHAPresence",
      "uniqueid":"a4:c1:38:88:7b:0b:c6:ea-01-ef00",
      "device_type":"sensors",
      "device_id":121,
      "device_path":"sensors/uniqueid/a4:c1:38:88:7b:0b:c6:ea-01-ef00"
   },
   "meta_changed":[

   ],
   "_msgid":"b218fedea27be1ea"
}

In case it helps, here my node information image

Steps to reproduce the behavior

  1. In NodeRED create a deconz-input node with the motions sensor selected
  2. read the complete msg object in a debug node
  3. Trigger a ZHAPresence event

Expected behavior

The message payload should contain the targetdistance.

Screenshots

No response

Environment

deCONZ Logs

18:13:48:195 TY_DATA_REPORT: seq 23, dpid: 0x6D, type: 0x02, length: 4, val: 189
18:13:48:195 TY_DATA_REPORT: seq 23, dpid: 0x6D, type: 0x02, length: 4, val: 189
18:13:48:195 TY_DATA_REPORT: seq 23, dpid: 0x6D, type: 0x02, length: 4, val: 189
18:13:49:793 TY_DATA_REPORT: seq 24, dpid: 0x6D, type: 0x02, length: 4, val: 215
18:13:49:793 TY_DATA_REPORT: seq 24, dpid: 0x6D, type: 0x02, length: 4, val: 215
18:13:49:793 TY_DATA_REPORT: seq 24, dpid: 0x6D, type: 0x02, length: 4, val: 215
18:13:49:793 TY_DATA_REPORT: seq 24, dpid: 0x6D, type: 0x02, length: 4, val: 215
18:13:49:793 TY_DATA_REPORT: seq 24, dpid: 0x6D, type: 0x02, length: 4, val: 215
18:13:51:394 TY_DATA_REPORT: seq 25, dpid: 0x6D, type: 0x02, length: 4, val: 230
18:13:51:394 TY_DATA_REPORT: seq 25, dpid: 0x6D, type: 0x02, length: 4, val: 230
18:13:51:394 TY_DATA_REPORT: seq 25, dpid: 0x6D, type: 0x02, length: 4, val: 230
18:13:51:394 TY_DATA_REPORT: seq 25, dpid: 0x6D, type: 0x02, length: 4, val: 230
18:13:51:394 TY_DATA_REPORT: seq 25, dpid: 0x6D, type: 0x02, length: 4, val: 230
18:13:52:991 TY_DATA_REPORT: seq 26, dpid: 0x6D, type: 0x02, length: 4, val: 231
18:13:52:991 TY_DATA_REPORT: seq 26, dpid: 0x6D, type: 0x02, length: 4, val: 231
18:13:52:991 TY_DATA_REPORT: seq 26, dpid: 0x6D, type: 0x02, length: 4, val: 231
18:13:52:991 TY_DATA_REPORT: seq 26, dpid: 0x6D, type: 0x02, length: 4, val: 231
18:13:52:991 TY_DATA_REPORT: seq 26, dpid: 0x6D, type: 0x02, length: 4, val: 231
18:13:56:192 TY_DATA_REPORT: seq 27, dpid: 0x6D, type: 0x02, length: 4, val: 250
18:13:56:192 TY_DATA_REPORT: seq 27, dpid: 0x6D, type: 0x02, length: 4, val: 250
18:13:56:192 TY_DATA_REPORT: seq 27, dpid: 0x6D, type: 0x02, length: 4, val: 250
18:13:56:192 TY_DATA_REPORT: seq 27, dpid: 0x6D, type: 0x02, length: 4, val: 250
18:13:56:192 TY_DATA_REPORT: seq 27, dpid: 0x6D, type: 0x02, length: 4, val: 250
18:13:57:791 TY_DATA_REPORT: seq 28, dpid: 0x6D, type: 0x02, length: 4, val: 155
18:13:57:791 TY_DATA_REPORT: seq 28, dpid: 0x6D, type: 0x02, length: 4, val: 155
18:13:57:791 TY_DATA_REPORT: seq 28, dpid: 0x6D, type: 0x02, length: 4, val: 155
18:13:57:791 TY_DATA_REPORT: seq 28, dpid: 0x6D, type: 0x02, length: 4, val: 155
18:13:57:792 TY_DATA_REPORT: seq 28, dpid: 0x6D, type: 0x02, length: 4, val: 155
18:13:59:390 TY_DATA_REPORT: seq 29, dpid: 0x6D, type: 0x02, length: 4, val: 164
18:13:59:390 TY_DATA_REPORT: seq 29, dpid: 0x6D, type: 0x02, length: 4, val: 164
18:13:59:390 TY_DATA_REPORT: seq 29, dpid: 0x6D, type: 0x02, length: 4, val: 164
18:13:59:390 TY_DATA_REPORT: seq 29, dpid: 0x6D, type: 0x02, length: 4, val: 164
18:13:59:390 TY_DATA_REPORT: seq 29, dpid: 0x6D, type: 0x02, length: 4, val: 164
18:14:04:190 TY_DATA_REPORT: seq 30, dpid: 0x6D, type: 0x02, length: 4, val: 221
18:14:04:190 TY_DATA_REPORT: seq 30, dpid: 0x6D, type: 0x02, length: 4, val: 221
18:14:04:190 TY_DATA_REPORT: seq 30, dpid: 0x6D, type: 0x02, length: 4, val: 221
18:14:04:190 TY_DATA_REPORT: seq 30, dpid: 0x6D, type: 0x02, length: 4, val: 221
18:14:04:190 TY_DATA_REPORT: seq 30, dpid: 0x6D, type: 0x02, length: 4, val: 221
18:14:05:788 TY_DATA_REPORT: seq 31, dpid: 0x6D, type: 0x02, length: 4, val: 220
18:14:05:788 TY_DATA_REPORT: seq 31, dpid: 0x6D, type: 0x02, length: 4, val: 220
18:14:05:788 TY_DATA_REPORT: seq 31, dpid: 0x6D, type: 0x02, length: 4, val: 220
18:14:05:788 TY_DATA_REPORT: seq 31, dpid: 0x6D, type: 0x02, length: 4, val: 220
18:14:05:789 TY_DATA_REPORT: seq 31, dpid: 0x6D, type: 0x02, length: 4, val: 220
18:14:07:389 TY_DATA_REPORT: seq 32, dpid: 0x6D, type: 0x02, length: 4, val: 235
18:14:07:389 TY_DATA_REPORT: seq 32, dpid: 0x6D, type: 0x02, length: 4, val: 235
18:14:07:389 TY_DATA_REPORT: seq 32, dpid: 0x6D, type: 0x02, length: 4, val: 235
18:14:07:389 TY_DATA_REPORT: seq 32, dpid: 0x6D, type: 0x02, length: 4, val: 235
18:14:07:389 TY_DATA_REPORT: seq 32, dpid: 0x6D, type: 0x02, length: 4, val: 235
18:14:08:987 TY_DATA_REPORT: seq 33, dpid: 0x6D, type: 0x02, length: 4, val: 228
18:14:08:987 TY_DATA_REPORT: seq 33, dpid: 0x6D, type: 0x02, length: 4, val: 228
18:14:08:987 TY_DATA_REPORT: seq 33, dpid: 0x6D, type: 0x02, length: 4, val: 228
18:14:08:987 TY_DATA_REPORT: seq 33, dpid: 0x6D, type: 0x02, length: 4, val: 228
18:14:08:987 TY_DATA_REPORT: seq 33, dpid: 0x6D, type: 0x02, length: 4, val: 228
18:14:12:186 TY_DATA_REPORT: seq 34, dpid: 0x6D, type: 0x02, length: 4, val: 231
18:14:12:186 TY_DATA_REPORT: seq 34, dpid: 0x6D, type: 0x02, length: 4, val: 231
18:14:12:186 TY_DATA_REPORT: seq 34, dpid: 0x6D, type: 0x02, length: 4, val: 231
18:14:12:186 TY_DATA_REPORT: seq 34, dpid: 0x6D, type: 0x02, length: 4, val: 231
18:14:12:186 TY_DATA_REPORT: seq 34, dpid: 0x6D, type: 0x02, length: 4, val: 231
18:14:13:787 TY_DATA_REPORT: seq 35, dpid: 0x6D, type: 0x02, length: 4, val: 235
18:14:13:787 TY_DATA_REPORT: seq 35, dpid: 0x6D, type: 0x02, length: 4, val: 235
18:14:13:787 TY_DATA_REPORT: seq 35, dpid: 0x6D, type: 0x02, length: 4, val: 235
18:14:13:787 TY_DATA_REPORT: seq 35, dpid: 0x6D, type: 0x02, length: 4, val: 235
18:14:13:787 TY_D...

Additional context

No response

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.

mattreim commented 8 months ago

Try version v2.26.1, some attributes are available again.

patrickschaper commented 8 months ago

Alright, I guess I’ll wait for home-assistant release then. Thank you.