Closed PD202010 closed 1 year ago
I already found the issue as I was investigating why 'other' zigbee devices joined the network while 'permit join' was off.
The PAN-ID and EPAN-ID of both networks where identical as they were using the default values: 6754 and 8x 221.
What happened?
I have installed a fresh Home Assistant installation on a shiny new Home Assistant Yellow. After configuring Zigbee2MQTT, the addon keeps crashing after a short while. For example, I was able to discover an Philips Hue motion detector, but I could not rename it before Zigbee2MQTT had been restarted. The configuration I use: =-= socat: enabled: false master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777 slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5 options: "-d -d" log: false mqtt:
serial: adapter: ezsp port: /dev/ttyAMA1 baudrate: 115200 rtscts: true =-=
I also found that a random device was added to the list (Hue Dimmer Switch) but it failed to interview. The device was still running at the old HA instance. Zigbee2MQTT with a deconz stick. The Hue Dimmer Switch could only be removed forcefully.
With or without the phantom device, the log is flooded with the following messages: =-= 2023-07-18T13:49:10.343Z zigbee-herdsman:adapter:ezsp:erro Unparsed frame 0xc4. Skipped 2023-07-18T13:49:10.354Z zigbee-herdsman:adapter:ezsp:uart <-- [2607b1a9902a7d38b259e1df7e] 2023-07-18T13:49:10.355Z zigbee-herdsman:adapter:ezsp:uart <-- DATA (2,6,0): 2607b1a9902a18b259e1df7e 2023-07-18T13:49:10.355Z zigbee-herdsman:adapter:ezsp:uart --> ACK (3) 2023-07-18T13:49:10.355Z zigbee-herdsman:adapter:ezsp:uart --> [83401b7e] 2023-07-18T13:49:10.355Z zigbee-herdsman:adapter:ezsp:ezsp <== Frame: 459001c4000d0000 2023-07-18T13:49:10.358Z zigbee-herdsman:adapter:ezsp:erro Frame changeSourceRouteHandler parsing error: RangeError: Attempt to access memory outside buffer bounds at new NodeError (node:internal/errors:387:5) at boundsError (node:internal/buffer:84:11) at Buffer.readUInt16LE (node:internal/buffer:243:5) at Buffer.readUIntLE (node:internal/buffer:180:17) at Function.deserialize (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/types/basic.ts:19:67) at new EZSPFrameData (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:102:54) at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:76:23 at Array.every ()
at Function.createFrame (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:70:15)
at Ezsp.onFrameReceived (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:327:35)
2023-07-18T13:49:10.358Z zigbee-herdsman:adapter:ezsp:erro Unparsed frame 0xc4. Skipped
2023-07-18T13:49:10.839Z zigbee-herdsman:adapter:ezsp:uart <-- [3607b1a9902a7d38b259b2217e]
2023-07-18T13:49:10.840Z zigbee-herdsman:adapter:ezsp:uart <-- DATA (3,6,0): 3607b1a9902a18b259b2217e
2023-07-18T13:49:10.840Z zigbee-herdsman:adapter:ezsp:uart --> ACK (4)
2023-07-18T13:49:10.841Z zigbee-herdsman:adapter:ezsp:uart --> [8430fc7e]
2023-07-18T13:49:10.842Z zigbee-herdsman:adapter:ezsp:ezsp <== Frame: 459001c4000d0000
2023-07-18T13:49:10.845Z zigbee-herdsman:adapter:ezsp:erro Frame changeSourceRouteHandler parsing error: RangeError: Attempt to access memory outside buffer bounds
at new NodeError (node:internal/errors:387:5)
at boundsError (node:internal/buffer:84:11)
at Buffer.readUInt16LE (node:internal/buffer:243:5)
at Buffer.readUIntLE (node:internal/buffer:180:17)
at Function.deserialize (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/types/basic.ts:19:67)
at new EZSPFrameData (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:102:54)
at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:76:23
at Array.every ()
at Function.createFrame (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:70:15)
at Ezsp.onFrameReceived (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:327:35)
2023-07-18T13:49:10.846Z zigbee-herdsman:adapter:ezsp:erro Unparsed frame 0xc4. Skipped
2023-07-18T13:49:13.478Z zigbee-herdsman:adapter:ezsp:uart <-- [4607b1a97d312a15b658904124ab1593]
2023-07-18T13:49:13.480Z zigbee-herdsman:adapter:ezsp:uart <-- [499c4a9f613e2d9874f5de2d83f97b1e]
2023-07-18T13:49:13.481Z zigbee-herdsman:adapter:ezsp:uart <-- [dae229af7e]
2023-07-18T13:49:13.481Z zigbee-herdsman:adapter:ezsp:uart <-- DATA (4,6,0): 4607b1a9112a15b658904124ab1593499c4a9f613e2d9874f5de2d83f97b1edae229af7e
2023-07-18T13:49:13.481Z zigbee-herdsman:adapter:ezsp:uart --> ACK (5)
2023-07-18T13:49:13.482Z zigbee-herdsman:adapter:ezsp:uart --> [8520dd7e]
2023-07-18T13:49:13.482Z zigbee-herdsman:adapter:ezsp:ezsp <== Frame: 4590014500000401040b01014001000004b8cad3e3ffff08184e0a0505217d09
2023-07-18T13:49:13.483Z zigbee-herdsman:adapter:ezsp:ezsp <== 0x45: {"cls":"incomingMessageHandler","id":69,"isRequest":false,"type":0,"apsFrame":{"profileId":260,"clusterId":2820,"sourceEndpoint":1,"destinationEndpoint":1,"options":320,"groupId":0,"sequence":4},"lastHopLqi":184,"lastHopRssi":-54,"sender":58323,"bindingIndex":255,"addressIndex":255,"message":{"type":"Buffer","data":[24,78,10,5,5,33,125,9]}}
2023-07-18T13:49:13.483Z zigbee-herdsman:adapter:ezsp:debg processMessage: {"messageType":0,"apsFrame":{"profileId":260,"clusterId":2820,"sourceEndpoint":1,"destinationEndpoint":1,"options":320,"groupId":0,"sequence":4},"lqi":184,"rssi":-54,"sender":58323,"bindingIndex":255,"addressIndex":255,"message":{"type":"Buffer","data":[24,78,10,5,5,33,125,9]}}
2023-07-18T13:49:13.488Z zigbee-herdsman:controller:log Received 'zcl' data '{"frame":{"Header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":78,"manufacturerCode":null,"commandIdentifier":10},"Payload":[{"attrId":1285,"dataType":33,"attrData":2429}],"Command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}},"address":58323,"endpoint":1,"linkquality":184,"groupID":0,"wasBroadcast":false,"destinationEndpoint":1}'
2023-07-18T13:49:13.489Z zigbee-herdsman:controller:log 'zcl' data is from unknown device with address '58323', skipping...
2023-07-18T13:49:17.454Z zigbee-herdsman:adapter:ezsp:ezsp Time to watchdog ... 0
2023-07-18T13:49:17.454Z zigbee-herdsman:adapter:ezsp:ezsp ==> nop: null
2023-07-18T13:49:17.454Z zigbee-herdsman:adapter:ezsp:ezsp ==> {"cls":"nop","id":5,"isRequest":true}
2023-07-18T13:49:17.455Z zigbee-herdsman:adapter:ezsp:uart --> DATA (6,5,0): 4600010500
2023-07-18T13:49:17.455Z zigbee-herdsman:adapter:ezsp:uart --> [650421a9512a415e7e]
2023-07-18T13:49:17.456Z zigbee-herdsman:adapter:ezsp:uart -?- waiting (7)
2023-07-18T13:49:17.460Z zigbee-herdsman:adapter:ezsp:uart <-- [5704a1a9512a38aa7e]
2023-07-18T13:49:17.460Z zigbee-herdsman:adapter:ezsp:uart <-- DATA (5,7,0): 5704a1a9512a38aa7e
2023-07-18T13:49:17.460Z zigbee-herdsman:adapter:ezsp:uart --> ACK (6)
2023-07-18T13:49:17.461Z zigbee-herdsman:adapter:ezsp:uart --> [8610be7e]
2023-07-18T13:49:17.461Z zigbee-herdsman:adapter:ezsp:ezsp <== Frame: 4680010500
2023-07-18T13:49:17.461Z zigbee-herdsman:adapter:ezsp:ezsp <== 0x5: {"cls":"nop","id":5,"isRequest":false}
2023-07-18T13:49:17.461Z zigbee-herdsman:adapter:ezsp:uart -+- waiting (7) success
=-=
What did you expect to happen?
I expected that the addon would start and remained running, without crashes or excessive logging.
How to reproduce it (minimal and precise)
I haven't tried to reproduce it as it would require me to reinstall HA from scratch.
Zigbee2MQTT version
1.32.1 commit: unknown
Adapter firmware version
6.10.3.0 build 297 (EZSP v8)
Adapter
Home Assistant Yellow built in
Debug log
debug 2023-07-18 16:00:09: Loaded state from file /config/zigbee2mqtt/state.json info 2023-07-18 16:00:09: Logging to console and directory: '/config/zigbee2mqtt/log/2023-07-18.16-00-09' filename: log.txt debug 2023-07-18 16:00:09: Removing old log directory '/config/zigbee2mqtt/log/2023-07-13.17-12-58' info 2023-07-18 16:00:10: Starting Zigbee2MQTT version 1.32.1 (commit #unknown) info 2023-07-18 16:00:10: Starting zigbee-herdsman (0.16.0) debug 2023-07-18 16:00:10: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/config/zigbee2mqtt/coordinator_backup.json","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","databasePath":"/config/zigbee2mqtt/database.db","network":{"channelList":[11],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":6754},"serialPort":{"adapter":"ezsp","baudRate":115200,"path":"/dev/ttyAMA1","rtscts":true}}' info 2023-07-18 16:00:13: zigbee-herdsman started (resumed) info 2023-07-18 16:00:13: Coordinator firmware version: '{"meta":{"maintrel":"3 ","majorrel":"6","minorrel":"10","product":8,"revision":"6.10.3.0 build 297"},"type":"EZSP v8"}' debug 2023-07-18 16:00:13: Zigbee network parameters: {"channel":11,"extendedPanID":221,"panID":6754} info 2023-07-18 16:00:13: Currently 2 devices are joined: info 2023-07-18 16:00:13: 0x001788010b5f4c88 (0x001788010b5f4c88): Not supported (Unknown) info 2023-07-18 16:00:13: HUE-ZL-PIR-01 (0x001788010bcf5e2f): 9290030675 - Philips Hue motion sensor (EndDevice) info 2023-07-18 16:00:13: Zigbee: disabling joining new devices. info 2023-07-18 16:00:13: Connecting to MQTT server at mqtt://core-mosquitto:1883 debug 2023-07-18 16:00:13: Using MQTT login with username: addons info 2023-07-18 16:00:14: Connected to MQTT server info 2023-07-18 16:00:14: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"online"}' info 2023-07-18 16:00:14: Started frontend on port 0.0.0.0:8099 info 2023-07-18 16:00:14: MQTT publish: topic 'homeassistant/sensor/0x001788010bcf5e2f/temperature/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"device_class":"temperature","enabled_by_default":true,"name":"HUE-ZL-PIR-01 temperature","state_class":"measurement","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_temperature_zigbee2mqtt","unit_of_measurement":"°C","value_template":"{{ value_json.temperature }}"}' info 2023-07-18 16:00:14: MQTT publish: topic 'homeassistant/binary_sensor/0x001788010bcf5e2f/occupancy/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"device_class":"motion","name":"HUE-ZL-PIR-01 occupancy","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_occupancy_zigbee2mqtt","value_template":"{{ value_json.occupancy }}"}' info 2023-07-18 16:00:14: MQTT publish: topic 'homeassistant/sensor/0x001788010bcf5e2f/battery/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","name":"HUE-ZL-PIR-01 battery","state_class":"measurement","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}' info 2023-07-18 16:00:14: MQTT publish: topic 'homeassistant/sensor/0x001788010bcf5e2f/illuminance_lux/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"device_class":"illuminance","enabled_by_default":true,"name":"HUE-ZL-PIR-01 illuminance lux","state_class":"measurement","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_illuminance_lux_zigbee2mqtt","unit_of_measurement":"lx","value_template":"{{ value_json.illuminance_lux }}"}' info 2023-07-18 16:00:14: MQTT publish: topic 'homeassistant/sensor/0x001788010bcf5e2f/illuminance/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"enabled_by_default":false,"name":"HUE-ZL-PIR-01 illuminance","state_class":"measurement","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_illuminance_zigbee2mqtt","value_template":"{{ value_json.illuminance }}"}' info 2023-07-18 16:00:14: MQTT publish: topic 'homeassistant/sensor/0x001788010bcf5e2f/motion_sensitivity/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"enabled_by_default":false,"entity_category":"config","icon":"mdi:tune","name":"HUE-ZL-PIR-01 motion sensitivity","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_motion_sensitivity_zigbee2mqtt","value_template":"{{ value_json.motion_sensitivity }}"}' info 2023-07-18 16:00:14: MQTT publish: topic 'homeassistant/select/0x001788010bcf5e2f/motion_sensitivity/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/HUE-ZL-PIR-01/set/motion_sensitivity","device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"entity_category":"config","icon":"mdi:tune","name":"HUE-ZL-PIR-01 motion sensitivity","options":["low","medium","high","very_high","max"],"state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_motion_sensitivity_zigbee2mqtt","value_template":"{{ value_json.motion_sensitivity }}"}' info 2023-07-18 16:00:14: MQTT publish: topic 'homeassistant/switch/0x001788010bcf5e2f/switch_led_indication/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/HUE-ZL-PIR-01/set/led_indication","device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"entity_category":"config","icon":"mdi:led-on","name":"HUE-ZL-PIR-01 led_indication","payload_off":"false","payload_on":"true","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_switch_led_indication_zigbee2mqtt","value_template":"{% if value_json.led_indication %} true {% else %} false {% endif %}"}' info 2023-07-18 16:00:14: MQTT publish: topic 'homeassistant/sensor/0x001788010bcf5e2f/occupancy_timeout/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"enabled_by_default":false,"entity_category":"config","icon":"mdi:timer","name":"HUE-ZL-PIR-01 occupancy timeout","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_occupancy_timeout_zigbee2mqtt","unit_of_measurement":"second","value_template":"{{ value_json.occupancy_timeout }}"}' info 2023-07-18 16:00:14: MQTT publish: topic 'homeassistant/number/0x001788010bcf5e2f/occupancy_timeout/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/HUE-ZL-PIR-01/set/occupancy_timeout","device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"entity_category":"config","icon":"mdi:timer","max":65535,"min":0,"name":"HUE-ZL-PIR-01 occupancy timeout","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_occupancy_timeout_zigbee2mqtt","unit_of_measurement":"second","value_template":"{{ value_json.occupancy_timeout }}"}' info 2023-07-18 16:00:14: MQTT publish: topic 'homeassistant/sensor/0x001788010bcf5e2f/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"HUE-ZL-PIR-01 linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}' info 2023-07-18 16:00:14: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"online"}' info 2023-07-18 16:00:14: MQTT publish: topic 'zigbee2mqtt/HUE-ZL-PIR-01', payload '{"battery":null,"illuminance":23960,"illuminance_lux":249,"led_indication":null,"linkquality":152,"motion_sensitivity":null,"occupancy":null,"occupancy_timeout":null,"temperature":null}' info 2023-07-18 16:00:14: Zigbee2MQTT started! debug 2023-07-18 16:00:14: Received MQTT message on 'homeassistant/sensor/0x001788010bcf5e2f/temperature/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"device_class":"temperature","enabled_by_default":true,"name":"HUE-ZL-PIR-01 temperature","state_class":"measurement","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_temperature_zigbee2mqtt","unit_of_measurement":"°C","value_template":"{{ value_json.temperature }}"}' debug 2023-07-18 16:00:14: Received MQTT message on 'homeassistant/sensor/0x001788010bcf5e2f/battery/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","name":"HUE-ZL-PIR-01 battery","state_class":"measurement","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}' debug 2023-07-18 16:00:14: Received MQTT message on 'homeassistant/sensor/0x001788010bcf5e2f/illuminance_lux/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"device_class":"illuminance","enabled_by_default":true,"name":"HUE-ZL-PIR-01 illuminance lux","state_class":"measurement","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_illuminance_lux_zigbee2mqtt","unit_of_measurement":"lx","value_template":"{{ value_json.illuminance_lux }}"}' debug 2023-07-18 16:00:14: Received MQTT message on 'homeassistant/sensor/0x001788010bcf5e2f/illuminance/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"enabled_by_default":false,"name":"HUE-ZL-PIR-01 illuminance","state_class":"measurement","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_illuminance_zigbee2mqtt","value_template":"{{ value_json.illuminance }}"}' debug 2023-07-18 16:00:14: Received MQTT message on 'homeassistant/sensor/0x001788010bcf5e2f/motion_sensitivity/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"enabled_by_default":false,"entity_category":"config","icon":"mdi:tune","name":"HUE-ZL-PIR-01 motion sensitivity","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_motion_sensitivity_zigbee2mqtt","value_template":"{{ value_json.motion_sensitivity }}"}' debug 2023-07-18 16:00:14: Received MQTT message on 'homeassistant/sensor/0x001788010bcf5e2f/occupancy_timeout/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"enabled_by_default":false,"entity_category":"config","icon":"mdi:timer","name":"HUE-ZL-PIR-01 occupancy timeout","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_occupancy_timeout_zigbee2mqtt","unit_of_measurement":"second","value_template":"{{ value_json.occupancy_timeout }}"}' debug 2023-07-18 16:00:14: Received MQTT message on 'homeassistant/sensor/0x001788010bcf5e2f/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"HUE-ZL-PIR-01 linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}' debug 2023-07-18 16:00:14: Received MQTT message on 'homeassistant/binary_sensor/0x001788010bcf5e2f/occupancy/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"device_class":"motion","name":"HUE-ZL-PIR-01 occupancy","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_occupancy_zigbee2mqtt","value_template":"{{ value_json.occupancy }}"}' debug 2023-07-18 16:00:14: Received MQTT message on 'homeassistant/select/0x001788010bcf5e2f/motion_sensitivity/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/HUE-ZL-PIR-01/set/motion_sensitivity","device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"entity_category":"config","icon":"mdi:tune","name":"HUE-ZL-PIR-01 motion sensitivity","options":["low","medium","high","very_high","max"],"state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_motion_sensitivity_zigbee2mqtt","value_template":"{{ value_json.motion_sensitivity }}"}' debug 2023-07-18 16:00:14: Received MQTT message on 'homeassistant/switch/0x001788010bcf5e2f/switch_led_indication/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/HUE-ZL-PIR-01/set/led_indication","device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"entity_category":"config","icon":"mdi:led-on","name":"HUE-ZL-PIR-01 led_indication","payload_off":"false","payload_on":"true","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_switch_led_indication_zigbee2mqtt","value_template":"{% if value_json.led_indication %} true {% else %} false {% endif %}"}' debug 2023-07-18 16:00:14: Received MQTT message on 'homeassistant/number/0x001788010bcf5e2f/occupancy_timeout/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/HUE-ZL-PIR-01/set/occupancy_timeout","device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"entity_category":"config","icon":"mdi:timer","max":65535,"min":0,"name":"HUE-ZL-PIR-01 occupancy timeout","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_occupancy_timeout_zigbee2mqtt","unit_of_measurement":"second","value_template":"{{ value_json.occupancy_timeout }}"}' debug 2023-07-18 16:00:14: Received MQTT message on 'homeassistant/sensor/0x001788010bcf5e2f/temperature/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"device_class":"temperature","enabled_by_default":true,"name":"HUE-ZL-PIR-01 temperature","state_class":"measurement","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_temperature_zigbee2mqtt","unit_of_measurement":"°C","value_template":"{{ value_json.temperature }}"}' debug 2023-07-18 16:00:14: Received MQTT message on 'homeassistant/binary_sensor/0x001788010bcf5e2f/occupancy/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"device_class":"motion","name":"HUE-ZL-PIR-01 occupancy","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_occupancy_zigbee2mqtt","value_template":"{{ value_json.occupancy }}"}' debug 2023-07-18 16:00:14: Received MQTT message on 'homeassistant/sensor/0x001788010bcf5e2f/battery/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","name":"HUE-ZL-PIR-01 battery","state_class":"measurement","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}' debug 2023-07-18 16:00:14: Received MQTT message on 'homeassistant/sensor/0x001788010bcf5e2f/illuminance_lux/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"device_class":"illuminance","enabled_by_default":true,"name":"HUE-ZL-PIR-01 illuminance lux","state_class":"measurement","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_illuminance_lux_zigbee2mqtt","unit_of_measurement":"lx","value_template":"{{ value_json.illuminance_lux }}"}' debug 2023-07-18 16:00:14: Received MQTT message on 'homeassistant/sensor/0x001788010bcf5e2f/illuminance/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"enabled_by_default":false,"name":"HUE-ZL-PIR-01 illuminance","state_class":"measurement","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_illuminance_zigbee2mqtt","value_template":"{{ value_json.illuminance }}"}' debug 2023-07-18 16:00:14: Received MQTT message on 'homeassistant/sensor/0x001788010bcf5e2f/motion_sensitivity/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"enabled_by_default":false,"entity_category":"config","icon":"mdi:tune","name":"HUE-ZL-PIR-01 motion sensitivity","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_motion_sensitivity_zigbee2mqtt","value_template":"{{ value_json.motion_sensitivity }}"}' debug 2023-07-18 16:00:14: Received MQTT message on 'homeassistant/select/0x001788010bcf5e2f/motion_sensitivity/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/HUE-ZL-PIR-01/set/motion_sensitivity","device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"entity_category":"config","icon":"mdi:tune","name":"HUE-ZL-PIR-01 motion sensitivity","options":["low","medium","high","very_high","max"],"state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_motion_sensitivity_zigbee2mqtt","value_template":"{{ value_json.motion_sensitivity }}"}' debug 2023-07-18 16:00:14: Received MQTT message on 'homeassistant/switch/0x001788010bcf5e2f/switch_led_indication/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/HUE-ZL-PIR-01/set/led_indication","device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"entity_category":"config","icon":"mdi:led-on","name":"HUE-ZL-PIR-01 led_indication","payload_off":"false","payload_on":"true","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_switch_led_indication_zigbee2mqtt","value_template":"{% if value_json.led_indication %} true {% else %} false {% endif %}"}' debug 2023-07-18 16:00:14: Received MQTT message on 'homeassistant/sensor/0x001788010bcf5e2f/occupancy_timeout/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"enabled_by_default":false,"entity_category":"config","icon":"mdi:timer","name":"HUE-ZL-PIR-01 occupancy timeout","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_occupancy_timeout_zigbee2mqtt","unit_of_measurement":"second","value_template":"{{ value_json.occupancy_timeout }}"}' debug 2023-07-18 16:00:14: Received MQTT message on 'homeassistant/number/0x001788010bcf5e2f/occupancy_timeout/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/HUE-ZL-PIR-01/set/occupancy_timeout","device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"entity_category":"config","icon":"mdi:timer","max":65535,"min":0,"name":"HUE-ZL-PIR-01 occupancy timeout","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_occupancy_timeout_zigbee2mqtt","unit_of_measurement":"second","value_template":"{{ value_json.occupancy_timeout }}"}' debug 2023-07-18 16:00:14: Received MQTT message on 'homeassistant/sensor/0x001788010bcf5e2f/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x001788010bcf5e2f"],"manufacturer":"Philips","model":"Hue motion sensor (9290030675)","name":"HUE-ZL-PIR-01","sw_version":"2.53.6"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"HUE-ZL-PIR-01 linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/HUE-ZL-PIR-01","unique_id":"0x001788010bcf5e2f_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}' debug 2023-07-18 16:01:09: Received Zigbee message from 'HUE-ZL-PIR-01', type 'attributeReport', cluster 'msIlluminanceMeasurement', data '{"measuredValue":24178}' from endpoint 2 with groupID 0 info 2023-07-18 16:01:09: MQTT publish: topic 'zigbee2mqtt/HUE-ZL-PIR-01', payload '{"battery":null,"illuminance":24178,"illuminance_lux":262,"led_indication":null,"linkquality":156,"motion_sensitivity":null,"occupancy":null,"occupancy_timeout":null,"temperature":null}' debug 2023-07-18 16:01:09: Received Zigbee message from 'HUE-ZL-PIR-01', type 'attributeReport', cluster 'msIlluminanceMeasurement', data '{"measuredValue":24178}' from endpoint 2 with groupID 0 info 2023-07-18 16:01:09: MQTT publish: topic 'zigbee2mqtt/HUE-ZL-PIR-01', payload '{"battery":null,"illuminance":24178,"illuminance_lux":262,"led_indication":null,"linkquality":152,"motion_sensitivity":null,"occupancy":null,"occupancy_timeout":null,"temperature":null}' debug 2023-07-18 16:05:09: Saving state to file /config/zigbee2mqtt/state.json debug 2023-07-18 16:05:41: Received Zigbee message from '0x001788010b5f4c88', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":16785162,"imageType":276,"manufacturerCode":4107}' from endpoint 11 with groupID 0 warn 2023-07-18 16:05:41: Received message from unsupported device with Zigbee model 'undefined' and manufacturer name 'undefined' warn 2023-07-18 16:05:41: Please see: https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html debug 2023-07-18 16:06:45: Received Zigbee message from 'HUE-ZL-PIR-01', type 'attributeReport', cluster 'msTemperatureMeasurement', data '{"measuredValue":2486}' from endpoint 2 with groupID 0 info 2023-07-18 16:06:45: MQTT publish: topic 'zigbee2mqtt/HUE-ZL-PIR-01', payload '{"battery":null,"illuminance":24178,"illuminance_lux":262,"led_indication":null,"linkquality":120,"motion_sensitivity":null,"occupancy":null,"occupancy_timeout":null,"temperature":24.86}' debug 2023-07-18 16:06:45: Received Zigbee message from 'HUE-ZL-PIR-01', type 'attributeReport', cluster 'msTemperatureMeasurement', data '{"measuredValue":2486}' from endpoint 2 with groupID 0 info 2023-07-18 16:06:45: MQTT publish: topic 'zigbee2mqtt/HUE-ZL-PIR-01', payload '{"battery":null,"illuminance":24178,"illuminance_lux":262,"led_indication":null,"linkquality":132,"motion_sensitivity":null,"occupancy":null,"occupancy_timeout":null,"temperature":24.86}' debug 2023-07-18 16:10:09: Saving state to file /config/zigbee2mqtt/state.json