Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.98k stars 1.67k forks source link

Devices are disappearing from Device list. #15299

Closed erzhan89 closed 1 year ago

erzhan89 commented 1 year ago

What happened?

Devices 4 pc. (RTV https://www.zigbee2mqtt.io/devices/GS361A-H04.html ) disappearing from Device list. after 15-20 minutes. Before they worked without issues.

What did you expect to happen?

To have stable connection.

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.28.4

Adapter firmware version

6.10.3.0 build 297

Adapter

ITead Sonoff Zigbee 3.0 USB Dongle Plus V2 model "ZBDongle-E"

Debug log

No response

cloudharps commented 1 year ago

Same problem. Devices dissapearing

terierul commented 1 year ago

I have the same issue after updated to 1.28.4 downgraded to 1.28.2 and everything back to normal

Koenkk commented 1 year ago

Are you all using the EZSP adapter?

erzhan89 commented 1 year ago

I have the same issue after updated to 1.28.4 downgraded to 1.28.2 and everything back to normal

I did same. so far works fine.

cloudharps commented 1 year ago

Are you all using the EZSP adapter?

Yes.

terierul commented 1 year ago

Are you all using the EZSP adapter?

conbee 2/deconz

rhvs commented 1 year ago

Are you all using the EZSP adapter?

Slaesh stick

brunolinsalves commented 1 year ago

Same thing here. I can't readd the device that left network. What should I do ? I already updated to version 1.28.4-1 to test and the problem was not solved...

My device was ZM-L03E-Z(TS0003)

kilski commented 1 year ago

@erzhan89 still works with 1.28.2?

erzhan89 commented 1 year ago

@erzhan89 still works with 1.28.2?

Yes. Since I deployed v1.28.2 there is no issue.

Koenkk commented 1 year ago

Can someone provide the debug log when a device disappears?

See https://www.zigbee2mqtt.io/guide/usage/debug.html on how to enable debug logging.

brunolinsalves commented 1 year ago

I wasn't been able to simulate the error to post the logs here. But, I tryed again, in version 1.28.4-1 and was successful. The devices was added as expected and didn't left the network anymore.

Thanks

terierul commented 1 year ago

Can someone provide the debug log when a device disappears?

See https://www.zigbee2mqtt.io/guide/usage/debug.html on how to enable debug logging.

Hello @Koenkk . Here you have the file

log.txt

The screen in IE browser image

LE: the amazing part is that immediately after I took the printscreen from above the list reappeared....

LE2: I did as restart of the RPI4 where the HASS is installed and the error come back. Here is the new log after restart

log.txt

BTW why the issue is named: "Devices are disappearing from Device list" because in Chrome browser this is what appears: image In IE is 502: Bad Gateway

LE3: downgraded to 1.28.2 and everything back to normal . the new log log.txt

Koenkk commented 1 year ago

It looks to me that Zigbee2MQTT is not running, can you check the log page of the addon?

terierul commented 1 year ago

I think this is the issue (check the LE2 comment file- log after restart) The last lines in the log. Something get wrong and forced Zigbee2MQTT to stop

debug 2022-12-07 08:52:16: lumi.vibration.aq1: unknown key 6 with value 0,5 debug 2022-12-07 08:52:16: lumi.vibration.aq1: unknown key 153 with value 107 debug 2022-12-07 08:52:16: lumi.vibration.aq1: Processed data into payload {"voltage":3005,"battery":100,"device_temperature":21,"power_outage_count":8} debug 2022-12-07 08:52:16: lumi.vibration.aq1: Processed data into payload {"voltage":3005,"battery":100,"device_temperature":21,"power_outage_count":8} info 2022-12-07 08:52:16: MQTT publish: topic 'zigbee2mqtt/Sensor vibracion 1', payload '{"action":null,"angle":9,"angle_x":0,"angle_x_absolute":90,"angle_y":-1,"angle_y_absolute":91,"angle_z":-89,"battery":100,"device_temperature":21,"linkquality":255,"power_outage_count":8,"sensitivity":"high","strength":2,"vibration":false,"voltage":3005}' debug 2022-12-07 08:52:20: Saving state to file /config/zigbee2mqtt/state.json info 2022-12-07 08:52:20: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'offline' info 2022-12-07 08:52:20: Disconnecting from MQTT server info 2022-12-07 08:52:20: Stopping zigbee-herdsman... info 2022-12-07 08:52:22: Stopped zigbee-herdsman info 2022-12-07 08:52:22: Stopped Zigbee2MQTT

Koenkk commented 1 year ago

Interesting, can you provide the herdsman debug log of this?

See https://www.zigbee2mqtt.io/guide/usage/debug.html on how to enable the herdsman debug logging. Note that this is only logged to STDOUT and not to log files.

terierul commented 1 year ago

Hello @Koenkk Sorry have been out of town for some days please give me some more instructions how to extract STDOUT. Is the first time Thanks

jerrm commented 1 year ago

https://www.zigbee2mqtt.io/guide/usage/debug.html

But it is a little easier now for the HA addon:

image

terierul commented 1 year ago

well I do not have this button in add-on. could you please activate the button and show me the yaml code please?

image

Later edit: was in documentation :) image

terierul commented 1 year ago

Test 1 - you may jump directly to Test 2 because the problem seems to be there @Koenkk after I have activated herdsman debug and install again 1.28.4 - 2 logs have been generated

Log 1 log (1) 2022-12-12.00-02-06.txt

Log2 log (2) 2022-12-12.00-02-35.txt

Look again at log 1

debug 2022-12-12 00:02:23: Saving state to file /config/zigbee2mqtt/state.json info 2022-12-12 00:02:23: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'offline' info 2022-12-12 00:02:23: Disconnecting from MQTT server info 2022-12-12 00:02:23: Stopping zigbee-herdsman... info 2022-12-12 00:02:24: Stopped zigbee-herdsman info 2022-12-12 00:02:24: Stopped Zigbee2MQTT

and after that in log 2 which seems is the follow up of log1:

debug 2022-12-12 00:02:36: Loaded state from file /config/zigbee2mqtt/state.json info 2022-12-12 00:02:36: Logging to console and directory: '/config/zigbee2mqtt/log/2022-12-12.00-02-35' filename: log.txt info 2022-12-12 00:02:36: Starting Zigbee2MQTT version 1.28.4 (commit #unknown) info 2022-12-12 00:02:36: Starting zigbee-herdsman (0.14.76)

5 min later I was able to enter in the device screen image

Test 2 - restart the machine - the log after restart log.txt

HASS started at 00:20 --> device screen empty

image

Finally at 00:30 - the list was populated with all the devices - FINAL LOG attached log.txt

image

### CONCLUSION: in the end app starts. But was needing 10 min to do the initiation after HASS did - before 1.28.4 the initiation was in the same time with HASS

_HINT: I have some devices (some 220V smart plugs and switch modules) which are not plug in in the network for the moment but they are paired (Look in the log for the devices call: "Enchufe" or "Antena para Siren"). Because they are not plugged in this moment they need a long time to be discovered as offline

Eg with the device call Enchufe 2. Start configuring at 00:22:06 and ending at 00:23:07 with the message "Failed to configure 'Enchufe 2',"_

info 2022-12-12 00:22:06: Configuring 'Enchufe 2' debug 2022-12-12 00:23:01: Received Zigbee message from 'Humidity sensor1', type 'attributeReport', cluster 'msTemperatureMeasurement', data '{"measuredValue":1800}' from endpoint 1 with groupID null info 2022-12-12 00:23:01: MQTT publish: topic 'zigbee2mqtt/Humidity sensor1', payload '{"battery":100,"humidity":57.36,"linkquality":255,"power_outage_count":4,"pressure":937.7,"temperature":18,"voltage":3005}' debug 2022-12-12 00:23:01: Received Zigbee message from 'Humidity sensor1', type 'attributeReport', cluster 'msRelativeHumidity', data '{"measuredValue":5739}' from endpoint 1 with groupID null info 2022-12-12 00:23:01: MQTT publish: topic 'zigbee2mqtt/Humidity sensor1', payload '{"battery":100,"humidity":57.39,"linkquality":255,"power_outage_count":4,"pressure":937.7,"temperature":18,"voltage":3005}' debug 2022-12-12 00:23:01: Received Zigbee message from 'Humidity sensor1', type 'attributeReport', cluster 'msPressureMeasurement', data '{"measuredValue":937,"scale":-1,"scaledValue":9379}' from endpoint 1 with groupID null info 2022-12-12 00:23:01: MQTT publish: topic 'zigbee2mqtt/Humidity sensor1', payload '{"battery":100,"humidity":57.39,"linkquality":255,"power_outage_count":4,"pressure":937.9,"temperature":18,"voltage":3005}' error 2022-12-12 00:23:07: Failed to configure 'Enchufe 2', attempt 1 (Error: Read 0xa4c1389c498fc01f/1 genBasic(["manufacturerName","zclVersion","appVersion","modelId","powerSource",65534], {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received) at DeconzAdapter.sendZclFrameToEndpoint (/app/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:658:23) at Endpoint.sendRequest (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:299:20) at Endpoint.read (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:472:28) at Object.configureMagicPacket (/app/node_modules/zigbee-herdsman-converters/lib/tuya.js:1179:9) at Object.configure (/app/node_modules/zigbee-herdsman-converters/devices/tuya.js:2301:13) at Configure.configure (/app/lib/extension/configure.ts:115:13) at Configure.start (/app/lib/extension/configure.ts:68:13) at Controller.callExtensions (/app/lib/controller.ts:316:17) at Controller.start (/app/lib/controller.ts:153:9) at start (/app/index.js:107:5))

I have 12 devices in this moment which are offline. So 12 devices * 1 min (the time to discover he status) = aprox 10 min the time to initiation for Test 2

Koenkk commented 1 year ago

Found the issue, should be fixed now.

Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)

terierul commented 1 year ago

thanks!!

erzhan89 commented 1 year ago

@Koenkk , after 2 days... lost all devices again...

terierul commented 1 year ago

@erzhan89 I think you have another issue. For you the list is working and suddenly disappear? Or this is happening (like in my case) only after a reboot/restart? anyway the fix is not in production. Probably will be push with the next version. Right now is in dev branch.

erzhan89 commented 1 year ago

I had dev branch... now reverted to 1.28.2 back. in 1.28.2 works stable...

terierul commented 1 year ago

well the true is that I did not test the fix because my zigbee network is installed in a location where I am under a CG-NAT network. Is my secondary home (not living there permanently) and cannot connect to it from internet. But still, after reboot, after 10-15 min your network does not come back alive?

erzhan89 commented 1 year ago

I tried twice to join all devices back... but after 2 days... they are not in list again..

Koenkk commented 1 year ago

@erzhan89 what coordinator are you using?

kilski commented 1 year ago

I gave up. I've bought ZBDongle-P - everything works well on that.

vignez2991 commented 1 year ago

I tried twice to join all devices back... but after 2 days... they are not in list again..

Same issue for me also on power restart, But not all the time.

I am using CC2652R using CC2652R_coordinator_20220219 firmware with Z2M version 1.28.2

erzhan89 commented 1 year ago

@Koenkk, ITead Sonoff Zigbee 3.0 USB Dongle Plus V2 model "ZBDongle-E"

Koenkk commented 1 year ago

@erzhan89 the dongle-e is currently experimental @kirovilya do you know if this issue has been fixed already in the latest dev?

@vignez2991 can you explain a bit more what happens exactly? CC2652R should be stable.

myuc commented 1 year ago

Jumping in here as I seem to be having the same issue. Devices randomly dropping off the network after a while/after stopping and starting zigbee2mqtt. Sometimes the device will rejoin automatically, other times it does not. Do let me know if you prefer I submit a new issue instead.

Zigbee2MQTT version: 1.28.4-dev (commit #8fc83ca) I noticed that this problem started with v1.28.1. I do not get this issue when I downgrade to 1.28.0

Coordinator type/revision: EZSP v8 6.10.3.0 build 297 - ZBDongle-E

Below is a snippet of my herdsman log. I've trimmed the log using grep. The first 5 digit of each line refers to the line number in the full log file. The 6th character (either a : or a - is a by product of grep -n). The original log starts from the 7th character. Do let me know if you require more info from my full logs.

00787:Zigbee2MQTT:info  2022-12-25 03:00:29: M Light (0x00124b00257c778c): ZBMINI-L - SONOFF Zigbee smart switch (no neutral) (EndDevice)
00793-Zigbee2MQTT:info  2022-12-25 03:00:29: Zigbee: disabling joining new devices.
00844-Zigbee2MQTT:debug 2022-12-25 03:00:30: Received MQTT message on 'zigbee2mqtt/M Room TV Con/availability' with data '{"state":"online"}'
00894:Zigbee2MQTT:debug 2022-12-25 03:00:30: Active device 'M Light' was last seen '20.45' minutes ago.
00895:Zigbee2MQTT:info  2022-12-25 03:00:30: MQTT publish: topic 'zigbee2mqtt/M Light/availability', payload '{"state":"online"}'
01007-2022-12-24T19:00:30.648Z zigbee-herdsman:adapter:ezsp:uart --> ACK  (1)
01008-2022-12-24T19:00:30.648Z zigbee-herdsman:adapter:ezsp:uart --> [8160597e]
01009-2022-12-24T19:00:30.649Z zigbee-herdsman:adapter:ezsp:ezsp <== Frame: 3680017e00
01010-2022-12-24T19:00:30.649Z zigbee-herdsman:adapter:ezsp:ezsp <== 0x7e: {"_id_":126,"_cls_":"setExtendedTimeout","_isRequest_":false}
01011-2022-12-24T19:00:30.649Z zigbee-herdsman:adapter:ezsp:uart -+- waiting (7) success
01012-2022-12-24T19:00:30.649Z zigbee-herdsman:adapter:ezsp:ezsp ==> {"_cls_":"setExtendedTimeout","_id_":126,"_isRequest_":true,"remoteEui64":{"_value":{"type":"Buffer","data":[0,18,75,0,36,191,242,240]}},"extendedTimeout":true}
01013-2022-12-24T19:00:30.650Z zigbee-herdsman:adapter:ezsp:uart --> DATA (7,1,0): 3700017e00f0f2bf24004b120001
01014-2022-12-24T19:00:30.650Z zigbee-herdsman:adapter:ezsp:uart --> [717521a92a2ae540e6b04a6eb8559363d67e]
01015-2022-12-24T19:00:30.650Z zigbee-herdsman:adapter:ezsp:uart -?- waiting (0)
01016-2022-12-24T19:00:30.650Z zigbee-herdsman:adapter:ezsp:ezsp ==> sendUnicast: {"type":0,"indexOrDestination":4666,"apsFrame":{"clusterId":0,"profileId":260,"sequence":7,"sourceEndpoint":1,"destinationEndpoint":1,"groupId":0,"options":320},"messageTag":8,"message":{"type":"Buffer","data":[16,3,0,0,0]}}
01027:Zigbee2MQTT:info  2022-12-25 03:00:30: MQTT publish: topic 'homeassistant/switch/0x00124b00257c778c/switch/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/M Light/set","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"name":"M Light","payload_off":"OFF","payload_on":"ON","state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_switch_zigbee2mqtt","value_template":"{{ value_json.state }}"}'
01028:Zigbee2MQTT:info  2022-12-25 03:00:30: MQTT publish: topic 'homeassistant/sensor/0x00124b00257c778c/power_on_behavior/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"enabled_by_default":false,"entity_category":"config","icon":"mdi:power-settings","name":"M Light power on behavior","state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_power_on_behavior_zigbee2mqtt","value_template":"{{ value_json.power_on_behavior }}"}'
01029:Zigbee2MQTT:info  2022-12-25 03:00:30: MQTT publish: topic 'homeassistant/select/0x00124b00257c778c/power_on_behavior/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/M Light/set/power_on_behavior","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"entity_category":"config","icon":"mdi:power-settings","name":"M Light power on behavior","options":["off","previous","on"],"state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_power_on_behavior_zigbee2mqtt","value_template":"{{ value_json.power_on_behavior }}"}'
01030:Zigbee2MQTT:info  2022-12-25 03:00:30: MQTT publish: topic 'homeassistant/sensor/0x00124b00257c778c/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"M Light linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
01031:Zigbee2MQTT:info  2022-12-25 03:00:30: MQTT publish: topic 'homeassistant/sensor/0x00124b00257c778c/last_seen/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"device_class":"timestamp","enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:clock","name":"M Light last seen","state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_last_seen_zigbee2mqtt","value_template":"{{ value_json.last_seen }}"}'
01032:Zigbee2MQTT:info  2022-12-25 03:00:30: MQTT publish: topic 'homeassistant/sensor/0x00124b00257c778c/update_state/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:update","name":"M Light update state","state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_update_state_zigbee2mqtt","value_template":"{{ value_json['update']['state'] }}"}'
01033:Zigbee2MQTT:info  2022-12-25 03:00:30: MQTT publish: topic 'homeassistant/binary_sensor/0x00124b00257c778c/update_available/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"device_class":"update","enabled_by_default":false,"entity_category":"diagnostic","name":"M Light update available","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_update_available_zigbee2mqtt","value_template":"{{ value_json['update']['state'] == \"available\" }}"}'
01034:Zigbee2MQTT:info  2022-12-25 03:00:30: MQTT publish: topic 'homeassistant/update/0x00124b00257c778c/update/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/bridge/request/device/ota_update/update","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"device_class":"firmware","entity_picture":"https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png","latest_version_template":"{{ value_json['update']['latest_version'] }}","latest_version_topic":"zigbee2mqtt/M Light","name":"M Light","payload_install":"{\"id\": \"0x00124b00257c778c\"}","state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_update_zigbee2mqtt","value_template":"{{ value_json['update']['installed_version'] }}"}'
01101:Zigbee2MQTT:debug 2022-12-25 03:00:30: Active device 'M Light' was last seen '20.46' minutes ago.
01123:Zigbee2MQTT:info  2022-12-25 03:00:30: MQTT publish: topic 'zigbee2mqtt/M Light', payload '{"last_seen":"2022-12-25T02:40:03+08:00","linkquality":152,"power_on_behavior":null,"state":"OFF","update":{"installed_version":4353,"latest_version":4353,"state":"idle"},"update_available":null}'
01129-Zigbee2MQTT:info  2022-12-25 03:00:30: Zigbee2MQTT started!
01142:Zigbee2MQTT:debug 2022-12-25 03:00:30: Received MQTT message on 'homeassistant/switch/0x00124b00257c778c/switch/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/M Light/set","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"name":"M Light","payload_off":"OFF","payload_on":"ON","state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_switch_zigbee2mqtt","value_template":"{{ value_json.state }}"}'
01246:Zigbee2MQTT:debug 2022-12-25 03:00:30: Received MQTT message on 'homeassistant/sensor/0x00124b00257c778c/power_on_behavior/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"enabled_by_default":false,"entity_category":"config","icon":"mdi:power-settings","name":"M Light power on behavior","state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_power_on_behavior_zigbee2mqtt","value_template":"{{ value_json.power_on_behavior }}"}'
01247:Zigbee2MQTT:debug 2022-12-25 03:00:30: Received MQTT message on 'homeassistant/sensor/0x00124b00257c778c/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"M Light linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
01248:Zigbee2MQTT:debug 2022-12-25 03:00:30: Received MQTT message on 'homeassistant/sensor/0x00124b00257c778c/last_seen/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"device_class":"timestamp","enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:clock","name":"M Light last seen","state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_last_seen_zigbee2mqtt","value_template":"{{ value_json.last_seen }}"}'
01249:Zigbee2MQTT:debug 2022-12-25 03:00:30: Received MQTT message on 'homeassistant/sensor/0x00124b00257c778c/update_state/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:update","name":"M Light update state","state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_update_state_zigbee2mqtt","value_template":"{{ value_json['update']['state'] }}"}'
01322:Zigbee2MQTT:debug 2022-12-25 03:00:30: Received MQTT message on 'homeassistant/binary_sensor/0x00124b00257c778c/update_available/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"device_class":"update","enabled_by_default":false,"entity_category":"diagnostic","name":"M Light update available","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_update_available_zigbee2mqtt","value_template":"{{ value_json['update']['state'] == \"available\" }}"}'
01332:Zigbee2MQTT:debug 2022-12-25 03:00:30: Received MQTT message on 'homeassistant/select/0x00124b00257c778c/power_on_behavior/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/M Light/set/power_on_behavior","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"entity_category":"config","icon":"mdi:power-settings","name":"M Light power on behavior","options":["off","previous","on"],"state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_power_on_behavior_zigbee2mqtt","value_template":"{{ value_json.power_on_behavior }}"}'
01340:Zigbee2MQTT:debug 2022-12-25 03:00:30: Received MQTT message on 'homeassistant/update/0x00124b00257c778c/update/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/bridge/request/device/ota_update/update","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"device_class":"firmware","entity_picture":"https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png","latest_version_template":"{{ value_json['update']['latest_version'] }}","latest_version_topic":"zigbee2mqtt/M Light","name":"M Light","payload_install":"{\"id\": \"0x00124b00257c778c\"}","state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_update_zigbee2mqtt","value_template":"{{ value_json['update']['installed_version'] }}"}'
01443:Zigbee2MQTT:debug 2022-12-25 03:00:30: Received MQTT message on 'homeassistant/switch/0x00124b00257c778c/switch/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/M Light/set","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"name":"M Light","payload_off":"OFF","payload_on":"ON","state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_switch_zigbee2mqtt","value_template":"{{ value_json.state }}"}'
01444:Zigbee2MQTT:debug 2022-12-25 03:00:30: Received MQTT message on 'homeassistant/sensor/0x00124b00257c778c/power_on_behavior/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"enabled_by_default":false,"entity_category":"config","icon":"mdi:power-settings","name":"M Light power on behavior","state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_power_on_behavior_zigbee2mqtt","value_template":"{{ value_json.power_on_behavior }}"}'
01445:Zigbee2MQTT:debug 2022-12-25 03:00:30: Received MQTT message on 'homeassistant/select/0x00124b00257c778c/power_on_behavior/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/M Light/set/power_on_behavior","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"entity_category":"config","icon":"mdi:power-settings","name":"M Light power on behavior","options":["off","previous","on"],"state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_power_on_behavior_zigbee2mqtt","value_template":"{{ value_json.power_on_behavior }}"}'
01446:Zigbee2MQTT:debug 2022-12-25 03:00:30: Received MQTT message on 'homeassistant/sensor/0x00124b00257c778c/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"M Light linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
01447:Zigbee2MQTT:debug 2022-12-25 03:00:30: Received MQTT message on 'homeassistant/sensor/0x00124b00257c778c/last_seen/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"device_class":"timestamp","enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:clock","name":"M Light last seen","state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_last_seen_zigbee2mqtt","value_template":"{{ value_json.last_seen }}"}'
01448:Zigbee2MQTT:debug 2022-12-25 03:00:30: Received MQTT message on 'homeassistant/sensor/0x00124b00257c778c/update_state/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:update","name":"M Light update state","state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_update_state_zigbee2mqtt","value_template":"{{ value_json['update']['state'] }}"}'
01449:Zigbee2MQTT:debug 2022-12-25 03:00:30: Received MQTT message on 'homeassistant/binary_sensor/0x00124b00257c778c/update_available/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"device_class":"update","enabled_by_default":false,"entity_category":"diagnostic","name":"M Light update available","payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_update_available_zigbee2mqtt","value_template":"{{ value_json['update']['state'] == \"available\" }}"}'
01450:Zigbee2MQTT:debug 2022-12-25 03:00:30: Received MQTT message on 'homeassistant/update/0x00124b00257c778c/update/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/M Light/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","command_topic":"zigbee2mqtt/bridge/request/device/ota_update/update","device":{"identifiers":["zigbee2mqtt_0x00124b00257c778c"],"manufacturer":"SONOFF","model":"Zigbee smart switch (no neutral) (ZBMINI-L)","name":"M Light","sw_version":"1.1.1"},"device_class":"firmware","entity_picture":"https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png","latest_version_template":"{{ value_json['update']['latest_version'] }}","latest_version_topic":"zigbee2mqtt/M Light","name":"M Light","payload_install":"{\"id\": \"0x00124b00257c778c\"}","state_topic":"zigbee2mqtt/M Light","unique_id":"0x00124b00257c778c_update_zigbee2mqtt","value_template":"{{ value_json['update']['installed_version'] }}"}'
01577-2022-12-24T19:00:40.794Z zigbee-herdsman:adapter:ezsp:uart <-- DATA (3,6,0): 367fa1a9602a15289e087e
01578-2022-12-24T19:00:40.794Z zigbee-herdsman:adapter:ezsp:uart --> ACK  (4)
01579-2022-12-24T19:00:40.794Z zigbee-herdsman:adapter:ezsp:uart --> [8430fc7e]
01580-2022-12-24T19:00:40.794Z zigbee-herdsman:adapter:ezsp:ezsp <== Frame: 3d80013400009a
01581-2022-12-24T19:00:40.794Z zigbee-herdsman:adapter:ezsp:ezsp <== 0x34: {"_id_":52,"_cls_":"sendUnicast","_isRequest_":false,"status":0,"sequence":154}
01582-2022-12-24T19:00:40.794Z zigbee-herdsman:adapter:ezsp:uart -+- waiting (6) success
01583-2022-12-24T19:00:41.134Z zigbee-herdsman:adapter:ezsp:uart <-- [467fb1a90d2a5d8ee98c4b4581802139f4f827c1af7e]
01584-2022-12-24T19:00:41.134Z zigbee-herdsman:adapter:ezsp:uart <-- DATA (4,6,0): 467fb1a90d2a5d8ee98c4b4581802139f4f827c1af7e
01585-2022-12-24T19:00:41.134Z zigbee-herdsman:adapter:ezsp:uart --> ACK  (5)
01586-2022-12-24T19:00:41.134Z zigbee-herdsman:adapter:ezsp:uart --> [8520dd7e]
01587-2022-12-24T19:00:41.134Z zigbee-herdsman:adapter:ezsp:ezsp <== Frame: 3d90015900483cb01801602bd5b37068b600
01588-2022-12-24T19:00:41.134Z zigbee-herdsman:adapter:ezsp:ezsp <== 0x59: {"_id_":89,"_cls_":"incomingRouteRecordHandler","_isRequest_":false,"source":15432,"longId":{"type":"Buffer","data":[112,179,213,43,96,1,24,176]},"lastHopLqi":104,"lastHopRssi":-74,"relay":{"type":"Buffer","data":[]}}
01589-2022-12-24T19:00:41.134Z zigbee-herdsman:adapter:ezsp:driv handleRouteRecord: nwk=15432, ieee=p��+`�, lqi=104, rssi=-74, relays=
01590-2022-12-24T19:00:41.143Z zigbee-herdsman:adapter:ezsp:uart <-- [567fb5a9772a16b255c2c652d67092028e4e235ea67e]
01591-2022-12-24T19:00:41.143Z zigbee-herdsman:adapter:ezsp:uart <-- DATA (5,6,0): 567fb5a9772a16b255c2c652d67092028e4e235ea67e
01592-2022-12-24T19:00:41.143Z zigbee-herdsman:adapter:ezsp:uart --> ACK  (6)
01593-2022-12-24T19:00:41.143Z zigbee-herdsman:adapter:ezsp:uart --> [8610be7e]
01594-2022-12-24T19:00:41.143Z zigbee-herdsman:adapter:ezsp:ezsp <== Frame: 3d9401230003000c568c777c25004b120004
01595-2022-12-24T19:00:41.143Z zigbee-herdsman:adapter:ezsp:ezsp <== 0x23: {"_id_":35,"_cls_":"childJoinHandler","_isRequest_":false,"index":3,"joining":0,"childId":22028,"childEui64":{"type":"Buffer","data":[0,18,75,0,37,124,119,140]},"childType":4}
01596-2022-12-24T19:00:41.143Z zigbee-herdsman:adapter:ezsp:debg Device left network request received: 22028 00124b00257c778c
01597:2022-12-24T19:00:41.144Z zigbee-herdsman:controller:log Device leave '0x00124b00257c778c'
01598:2022-12-24T19:00:41.144Z zigbee-herdsman:controller:log Removing device from database '0x00124b00257c778c'
01599:Zigbee2MQTT:warn  2022-12-25 03:00:41: Device 'M Light' left the network
01600:Zigbee2MQTT:info  2022-12-25 03:00:41: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"M Light","ieee_address":"0x00124b00257c778c"},"type":"device_leave"}'
myuc commented 1 year ago

Including logs for another device which disappeared ~12 hours after starting zigbee2mqtt. First 6 lines refers to the line no in the original log file.

000832:Zigbee2MQTT:info  2022-12-25 04:27:17: Kitchen Light (0x2c1165fffe4290a6): TS0013 - TuYa Smart light switch - 3 gang without neutral wire (EndDevice)

herdsman log when device disappear from zigbee2mqtt (including 20 lines before/after the first/last instance of Kitchen Light or 0x2c1165fffe4290a6.

166484-2022-12-25T08:00:49.073Z zigbee-herdsman:adapter:ezsp:ezsp Time to watchdog ... 0
166485-2022-12-25T08:00:49.073Z zigbee-herdsman:adapter:ezsp:ezsp ==> nop: null
166486-2022-12-25T08:00:49.074Z zigbee-herdsman:adapter:ezsp:ezsp ==> {"_cls_":"nop","_id_":5,"_isRequest_":true}
166487-2022-12-25T08:00:49.074Z zigbee-herdsman:adapter:ezsp:uart > DATA (0,5,0): e800010500
166488-2022-12-25T08:00:49.074Z zigbee-herdsman:adapter:ezsp:uart > [05aa21a9512afb8a7e]
166489-2022-12-25T08:00:49.074Z zigbee-herdsman:adapter:ezsp:uart -?- waiting (1)
166490-2022-12-25T08:00:49.079Z zigbee-herdsman:adapter:ezsp:uart < [51aaa1a9512a50877e]
166491-2022-12-25T08:00:49.079Z zigbee-herdsman:adapter:ezsp:uart < DATA (5,1,0): 51aaa1a9512a50877e
166492-2022-12-25T08:00:49.079Z zigbee-herdsman:adapter:ezsp:uart > ACK  (6)
166493-2022-12-25T08:00:49.079Z zigbee-herdsman:adapter:ezsp:uart > [8610be7e]
166494-2022-12-25T08:00:49.079Z zigbee-herdsman:adapter:ezsp:ezsp <== Frame: e880010500
166495-2022-12-25T08:00:49.079Z zigbee-herdsman:adapter:ezsp:ezsp <== 0x5: {"_id_":5,"_cls_":"nop","_isRequest_":false}
166496-2022-12-25T08:00:49.079Z zigbee-herdsman:adapter:ezsp:uart -+- waiting (1) success
166497-2022-12-25T08:00:55.057Z zigbee-herdsman:adapter:ezsp:uart < [61aab5a9702aef8cff0408db553083659c4d6f97579e7e]
166498-2022-12-25T08:00:55.057Z zigbee-herdsman:adapter:ezsp:uart < DATA (6,1,0): 61aab5a9702aef8cff0408db553083659c4d6f97579e7e
166499-2022-12-25T08:00:55.057Z zigbee-herdsman:adapter:ezsp:uart > ACK  (7)
166500-2022-12-25T08:00:55.057Z zigbee-herdsman:adapter:ezsp:uart > [87009f7e]
166501-2022-12-25T08:00:55.058Z zigbee-herdsman:adapter:ezsp:ezsp <== Frame: e894012400fa3ea69042feff65112c0003483c
166502-2022-12-25T08:00:55.058Z zigbee-herdsman:adapter:ezsp:ezsp <== 0x24: {"_id_":36,"_cls_":"trustCenterJoinHandler","_isRequest_":false,"newNodeId":16122,"newNodeEui64":{"type":"Buffer","data":[44,17,101,255,254,66,144,166]},"status":0,"policyDecision":3,"parentOfNewNodeId":15432}
166503-2022-12-25T08:00:55.058Z zigbee-herdsman:adapter:ezsp:debg Device join request received: 16122 2c1165fffe4290a6
166504-2022-12-25T08:00:55.058Z zigbee-herdsman:controller:log Device '0x2c1165fffe4290a6' joined
166505-2022-12-25T08:00:55.058Z zigbee-herdsman:controller:log Device '0x2c1165fffe4290a6' accepted by handler
166506:Zigbee2MQTT:info  2022-12-25 16:00:55: MQTT publish: topic 'zigbee2mqtt/Kitchen Light', payload '{"backlight_mode":null,"last_seen":"2022-12-25T16:00:55+08:00","linkquality":80,"power_on_behavior":null,"state_center":null,"state_left":null,"state_right":null}'
166507:2022-12-25T08:00:55.060Z zigbee-herdsman:controller:log Not interviewing '0x2c1165fffe4290a6', completed 'true', in progress 'false'
166508:Zigbee2MQTT:info  2022-12-25 16:00:55: MQTT publish: topic 'zigbee2mqtt/Kitchen Light/mode', payload '{"backlight":null}'
166509-2022-12-25T08:00:55.062Z zigbee-herdsman:adapter:ezsp:uart < [71aab1a9772a15b2a3aaecb5e8ab6d2c8d622382617e]
166510-2022-12-25T08:00:55.062Z zigbee-herdsman:adapter:ezsp:uart < DATA (7,1,0): 71aab1a9772a15b2a3aaecb5e8ab6d2c8d622382617e
166511-2022-12-25T08:00:55.062Z zigbee-herdsman:adapter:ezsp:uart > ACK  (0)
166512-2022-12-25T08:00:55.062Z zigbee-herdsman:adapter:ezsp:uart > [8070787e]
166513-2022-12-25T08:00:55.062Z zigbee-herdsman:adapter:ezsp:ezsp <== Frame: e8900123000000fa3ea69042feff65112c04
166514-2022-12-25T08:00:55.063Z zigbee-herdsman:adapter:ezsp:ezsp <== 0x23: {"_id_":35,"_cls_":"childJoinHandler","_isRequest_":false,"index":0,"joining":0,"childId":16122,"childEui64":{"type":"Buffer","data":[44,17,101,255,254,66,144,166]},"childType":4}
166515-2022-12-25T08:00:55.063Z zigbee-herdsman:adapter:ezsp:debg Device left network request received: 16122 2c1165fffe4290a6
166516:2022-12-25T08:00:55.063Z zigbee-herdsman:controller:log Device leave '0x2c1165fffe4290a6'
166517:2022-12-25T08:00:55.063Z zigbee-herdsman:controller:log Removing device from database '0x2c1165fffe4290a6'
166518:Zigbee2MQTT:warn  2022-12-25 16:00:55: Device 'Kitchen Light' left the network
166519:Zigbee2MQTT:info  2022-12-25 16:00:55: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"Kitchen Light","ieee_address":"0x2c1165fffe4290a6"},"type":"device_leave"}'
166520-2022-12-25T08:00:58.326Z zigbee-herdsman:adapter:ezsp:uart < [01aab1a97d312a15b6589e4a24ab5593499cec4f1d17f09874f8c60489fb7d5e3bc28d7e]
166521-2022-12-25T08:00:58.326Z zigbee-herdsman:adapter:ezsp:uart < DATA (0,1,0): 01aab1a9112a15b6589e4a24ab5593499cec4f1d17f09874f8c60489fb7e3bc28d7e
166522-2022-12-25T08:00:58.326Z zigbee-herdsman:adapter:ezsp:uart > ACK  (1)
166523-2022-12-25T08:00:58.326Z zigbee-herdsman:adapter:ezsp:uart > [8160597e]
166524-2022-12-25T08:00:58.326Z zigbee-herdsman:adapter:ezsp:ezsp <== Frame: e8900145000004010a00010100010000a268b6fa3effff05006700070004
166525-2022-12-25T08:00:58.326Z zigbee-herdsman:adapter:ezsp:ezsp <== 0x45: {"_id_":69,"_cls_":"incomingMessageHandler","_isRequest_":false,"type":0,"apsFrame":{"profileId":260,"clusterId":10,"sourceEndpoint":1,"destinationEndpoint":1,"options":256,"groupId":0,"sequence":162},"lastHopLqi":104,"lastHopRssi":-74,"sender":16122,"bindingIndex":255,"addressIndex":255,"message":{"type":"Buffer","data":[0,103,0,7,0]}}
166526-2022-12-25T08:00:58.326Z zigbee-herdsman:adapter:ezsp:debg processMessage: {"messageType":0,"apsFrame":{"profileId":260,"clusterId":10,"sourceEndpoint":1,"destinationEndpoint":1,"options":256,"groupId":0,"sequence":162},"lqi":104,"rssi":-74,"sender":16122,"bindingIndex":255,"addressIndex":255,"message":{"type":"Buffer","data":[0,103,0,7,0]}}
166527-2022-12-25T08:00:58.327Z zigbee-herdsman:controller:log Received 'zcl' data '{"frame":{"Header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":103,"manufacturerCode":null,"commandIdentifier":0},"Payload":[{"attrId":7}],"Command":{"ID":0,"name":"read","parameters":[{"name":"attrId","type":33}],"response":1}},"address":16122,"endpoint":1,"linkquality":104,"groupID":0,"wasBroadcast":false,"destinationEndpoint":1}'
166528-2022-12-25T08:00:58.327Z zigbee-herdsman:controller:log 'zcl' data is from unknown device with address '16122', skipping...
166529-2022-12-25T08:00:58.735Z zigbee-herdsman:adapter:ezsp:uart < [7d31aab1a97d312a15b6589e4a24ab5593499ced471f17f09874f8c60489fb7d5e3bd7c47e]
166530-2022-12-25T08:00:58.735Z zigbee-herdsman:adapter:ezsp:uart < DATA (1,1,0): 11aab1a9112a15b6589e4a24ab5593499ced471f17f09874f8c60489fb7e3bd7c47e
166531-2022-12-25T08:00:58.735Z zigbee-herdsman:adapter:ezsp:uart > ACK  (2)
166532-2022-12-25T08:00:58.735Z zigbee-herdsman:adapter:ezsp:uart > [82503a7e]
166533-2022-12-25T08:00:58.735Z zigbee-herdsman:adapter:ezsp:ezsp <== Frame: e8900145000004010a00010100010000a360b4fa3effff05006700070004
166534-2022-12-25T08:00:58.735Z zigbee-herdsman:adapter:ezsp:ezsp <== 0x45: {"_id_":69,"_cls_":"incomingMessageHandler","_isRequest_":false,"type":0,"apsFrame":{"profileId":260,"clusterId":10,"sourceEndpoint":1,"destinationEndpoint":1,"options":256,"groupId":0,"sequence":163},"lastHopLqi":96,"lastHopRssi":-76,"sender":16122,"bindingIndex":255,"addressIndex":255,"message":{"type":"Buffer","data":[0,103,0,7,0]}}
166535-2022-12-25T08:00:58.736Z zigbee-herdsman:adapter:ezsp:debg processMessage: {"messageType":0,"apsFrame":{"profileId":260,"clusterId":10,"sourceEndpoint":1,"destinationEndpoint":1,"options":256,"groupId":0,"sequence":163},"lqi":96,"rssi":-76,"sender":16122,"bindingIndex":255,"addressIndex":255,"message":{"type":"Buffer","data":[0,103,0,7,0]}}
166536-2022-12-25T08:00:58.736Z zigbee-herdsman:controller:log Received 'zcl' data '{"frame":{"Header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":103,"manufacturerCode":null,"commandIdentifier":0},"Payload":[{"attrId":7}],"Command":{"ID":0,"name":"read","parameters":[{"name":"attrId","type":33}],"response":1}},"address":16122,"endpoint":1,"linkquality":96,"groupID":0,"wasBroadcast":false,"destinationEndpoint":1}'
166537-2022-12-25T08:00:58.736Z zigbee-herdsman:controller:log 'zcl' data is from unknown device with address '16122', skipping...
166538-2022-12-25T08:00:59.074Z zigbee-herdsman:adapter:ezsp:ezsp Time to watchdog ... 0
166539-2022-12-25T08:00:59.074Z zigbee-herdsman:adapter:ezsp:ezsp ==> nop: null

herdsman log containing the 2nd last interaction of the device with zigbee2mqtt (including 20 lines before/after the first/last instance of Kitchen Light or 0x2c1165fffe4290a6.

157020-2022-12-25T07:25:17.967Z zigbee-herdsman:adapter:ezsp:ezsp ==> nop: null
157021-2022-12-25T07:25:17.967Z zigbee-herdsman:adapter:ezsp:ezsp ==> {"_cls_":"nop","_id_":5,"_isRequest_":true}
157022-2022-12-25T07:25:17.967Z zigbee-herdsman:adapter:ezsp:uart > DATA (1,4,0): 2900010500
157023-2022-12-25T07:25:17.967Z zigbee-herdsman:adapter:ezsp:uart > [146b21a9512a3d477e]
157024-2022-12-25T07:25:17.967Z zigbee-herdsman:adapter:ezsp:uart -?- waiting (2)
157025-2022-12-25T07:25:17.972Z zigbee-herdsman:adapter:ezsp:uart < [426ba1a9512a1d0a7e]
157026-2022-12-25T07:25:17.972Z zigbee-herdsman:adapter:ezsp:uart < DATA (4,2,0): 426ba1a9512a1d0a7e
157027-2022-12-25T07:25:17.972Z zigbee-herdsman:adapter:ezsp:uart > ACK  (5)
157028-2022-12-25T07:25:17.972Z zigbee-herdsman:adapter:ezsp:uart > [8520dd7e]
157029-2022-12-25T07:25:17.972Z zigbee-herdsman:adapter:ezsp:ezsp <== Frame: 2980010500
157030-2022-12-25T07:25:17.972Z zigbee-herdsman:adapter:ezsp:ezsp <== 0x5: {"_id_":5,"_cls_":"nop","_isRequest_":false}
157031-2022-12-25T07:25:17.972Z zigbee-herdsman:adapter:ezsp:uart -+- waiting (2) success
157032-2022-12-25T07:25:18.620Z zigbee-herdsman:adapter:ezsp:uart < [526bb1a97d312a15b658944a24ab5593499cd15f7d3117f09874f2ce3483fd7d5e1fe30932fe706b00e7dbd7de957e]
157033-2022-12-25T07:25:18.620Z zigbee-herdsman:adapter:ezsp:uart < DATA (5,2,0): 526bb1a9112a15b658944a24ab5593499cd15f1117f09874f2ce3483fd7e1fe30932fe706b00e7dbd7de957e
157034-2022-12-25T07:25:18.620Z zigbee-herdsman:adapter:ezsp:uart > ACK  (6)
157035-2022-12-25T07:25:18.620Z zigbee-herdsman:adapter:ezsp:uart > [8610be7e]
157036-2022-12-25T07:25:18.620Z zigbee-herdsman:adapter:ezsp:ezsp <== Frame: 299001450000040100000101000100009f78bafa3effff0f08570a01002044e2ff201fe4ff200002
157037-2022-12-25T07:25:18.620Z zigbee-herdsman:adapter:ezsp:ezsp <== 0x45: {"_id_":69,"_cls_":"incomingMessageHandler","_isRequest_":false,"type":0,"apsFrame":{"profileId":260,"clusterId":0,"sourceEndpoint":1,"destinationEndpoint":1,"options":256,"groupId":0,"sequence":159},"lastHopLqi":120,"lastHopRssi":-70,"sender":16122,"bindingIndex":255,"addressIndex":255,"message":{"type":"Buffer","data":[8,87,10,1,0,32,68,226,255,32,31,228,255,32,0]}}
157038-2022-12-25T07:25:18.620Z zigbee-herdsman:adapter:ezsp:debg processMessage: {"messageType":0,"apsFrame":{"profileId":260,"clusterId":0,"sourceEndpoint":1,"destinationEndpoint":1,"options":256,"groupId":0,"sequence":159},"lqi":120,"rssi":-70,"sender":16122,"bindingIndex":255,"addressIndex":255,"message":{"type":"Buffer","data":[8,87,10,1,0,32,68,226,255,32,31,228,255,32,0]}}
157039-2022-12-25T07:25:18.621Z zigbee-herdsman:controller:log Received 'zcl' data '{"frame":{"Header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":87,"manufacturerCode":null,"commandIdentifier":10},"Payload":[{"attrId":1,"dataType":32,"attrData":68},{"attrId":65506,"dataType":32,"attrData":31},{"attrId":65508,"dataType":32,"attrData":0}],"Command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}},"address":16122,"endpoint":1,"linkquality":120,"groupID":0,"wasBroadcast":false,"destinationEndpoint":1}'
157040:Zigbee2MQTT:debug 2022-12-25 15:25:18: Received Zigbee message from 'Kitchen Light', type 'attributeReport', cluster 'genBasic', data '{"65506":31,"65508":0,"appVersion":68}' from endpoint 1 with groupID 0
157041:2022-12-25T07:25:18.629Z zigbee-herdsman:controller:endpoint DefaultResponse 0x2c1165fffe4290a6/1 0(10, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
157042:2022-12-25T07:25:18.629Z zigbee-herdsman:adapter:ezsp:debg sendZclFrameToEndpointInternal 0x2c1165fffe4290a6:16122/1 (0,0,2)
157043:Zigbee2MQTT:info  2022-12-25 15:25:18: MQTT publish: topic 'zigbee2mqtt/Kitchen Light', payload '{"backlight_mode":null,"last_seen":"2022-12-25T15:25:18+08:00","linkquality":120,"power_on_behavior":null,"state_center":null,"state_left":null,"state_right":null}'
157044:Zigbee2MQTT:info  2022-12-25 15:25:18: MQTT publish: topic 'zigbee2mqtt/Kitchen Light/mode', payload '{"backlight":null}'
157045-2022-12-25T07:25:18.632Z zigbee-herdsman:adapter:ezsp:ezsp ==> setExtendedTimeout: {"remoteEui64":{"_value":{"type":"Buffer","data":[44,17,101,255,254,66,144,166]}},"extendedTimeout":true}
157046-2022-12-25T07:25:18.632Z zigbee-herdsman:adapter:ezsp:ezsp ==> {"_cls_":"setExtendedTimeout","_id_":126,"_isRequest_":true,"remoteEui64":{"_value":{"type":"Buffer","data":[44,17,101,255,254,66,144,166]}},"extendedTimeout":true}
157047-2022-12-25T07:25:18.632Z zigbee-herdsman:adapter:ezsp:uart > DATA (2,6,0): 2a00017e00a69042feff65112c01
157048-2022-12-25T07:25:18.632Z zigbee-herdsman:adapter:ezsp:uart > [266821a92a2ab3221b6ab540bb7993b26f7e]
157049-2022-12-25T07:25:18.632Z zigbee-herdsman:adapter:ezsp:uart -?- waiting (3)
157050-2022-12-25T07:25:18.640Z zigbee-herdsman:adapter:ezsp:uart < [6368a1a92a2a57d37e]
157051-2022-12-25T07:25:18.640Z zigbee-herdsman:adapter:ezsp:uart < DATA (6,3,0): 6368a1a92a2a57d37e
157052-2022-12-25T07:25:18.641Z zigbee-herdsman:adapter:ezsp:uart > ACK  (7)
157053-2022-12-25T07:25:18.641Z zigbee-herdsman:adapter:ezsp:uart > [87009f7e]
157054-2022-12-25T07:25:18.641Z zigbee-herdsman:adapter:ezsp:ezsp <== Frame: 2a80017e00
157055-2022-12-25T07:25:18.641Z zigbee-herdsman:adapter:ezsp:ezsp <== 0x7e: {"_id_":126,"_cls_":"setExtendedTimeout","_isRequest_":false}
157056-2022-12-25T07:25:18.641Z zigbee-herdsman:adapter:ezsp:uart -+- waiting (3) success
157057-2022-12-25T07:25:18.641Z zigbee-herdsman:adapter:ezsp:ezsp ==> sendUnicast: {"type":0,"indexOrDestination":16122,"apsFrame":{"clusterId":0,"profileId":260,"sequence":203,"sourceEndpoint":1,"destinationEndpoint":1,"groupId":0,"options":320},"messageTag":204,"message":{"type":"Buffer","data":[24,87,11,10,0]}}
157058-2022-12-25T07:25:18.641Z zigbee-herdsman:adapter:ezsp:ezsp ==> {"_cls_":"sendUnicast","_id_":52,"_isRequest_":true,"type":0,"indexOrDestination":16122,"apsFrame":{"clusterId":0,"profileId":260,"sequence":203,"sourceEndpoint":1,"destinationEndpoint":1,"groupId":0,"options":320},"messageTag":204,"message":{"type":"Buffer","data":[24,87,11,10,0]}}
157059-2022-12-25T07:25:18.641Z zigbee-herdsman:adapter:ezsp:uart > DATA (3,7,0): 2b0001340000fa3e04010000010140010000cbcc0518570b0a00
157060-2022-12-25T07:25:18.641Z zigbee-herdsman:adapter:ezsp:uart > [376921a9602a154867904b25aa5493099d4e276021cb7fdcf6cc639d9e7e]
157061-2022-12-25T07:25:18.641Z zigbee-herdsman:adapter:ezsp:uart -?- waiting (4)
157062-2022-12-25T07:25:18.651Z zigbee-herdsman:adapter:ezsp:uart < [7469a1a9602a15d67ff17e]
157063-2022-12-25T07:25:18.651Z zigbee-herdsman:adapter:ezsp:uart < DATA (7,4,0): 7469a1a9602a15d67ff17e
157064-2022-12-25T07:25:18.651Z zigbee-herdsman:adapter:ezsp:uart > ACK  (0)
157065-2022-12-25T07:25:18.651Z zigbee-herdsman:adapter:ezsp:uart > [8070787e]
157066-2022-12-25T07:25:18.651Z zigbee-herdsman:adapter:ezsp:ezsp <== Frame: 2b800134000064
157067-2022-12-25T07:25:18.651Z zigbee-herdsman:adapter:ezsp:ezsp <== 0x34: {"_id_":52,"_cls_":"sendUnicast","_isRequest_":false,"status":0,"sequence":100}
157068-2022-12-25T07:25:18.651Z zigbee-herdsman:adapter:ezsp:uart -+- waiting (4) success
157069-2022-12-25T07:25:18.726Z zigbee-herdsman:adapter:ezsp:uart < [0469b1a96b2a154867904b25aa5493099d4e27cf21ce67a3ac7e]
157070-2022-12-25T07:25:18.726Z zigbee-herdsman:adapter:ezsp:uart < DATA (0,4,0): 0469b1a96b2a154867904b25aa5493099d4e27cf21ce67a3ac7e
157071-2022-12-25T07:25:18.726Z zigbee-herdsman:adapter:ezsp:uart > ACK  (1)
157072-2022-12-25T07:25:18.726Z zigbee-herdsman:adapter:ezsp:uart > [8160597e]
157073-2022-12-25T07:25:18.726Z zigbee-herdsman:adapter:ezsp:ezsp <== Frame: 2b90013f0000fa3e0401000001014001000064cc0000
157074-2022-12-25T07:25:18.726Z zigbee-herdsman:adapter:ezsp:ezsp <== 0x3f: {"_id_":63,"_cls_":"messageSentHandler","_isRequest_":false,"type":0,"indexOrDestination":16122,"apsFrame":{"profileId":260,"clusterId":0,"sourceEndpoint":1,"destinationEndpoint":1,"options":320,"groupId":0,"sequence":100},"messageTag":204,"status":0,"message":{"type":"Buffer","data":[]}}
157075-2022-12-25T07:25:19.186Z zigbee-herdsman:adapter:ezsp:uart < [1469b1a97d312a15b658944a24ab5593499cee771b17f09874f1ce3b8323817d5da227eae5449efd80637e]
157076-2022-12-25T07:25:19.186Z zigbee-herdsman:adapter:ezsp:uart < DATA (1,4,0): 1469b1a9112a15b658944a24ab5593499cee771b17f09874f1ce3b8323817da227eae5449efd80637e
157077-2022-12-25T07:25:19.186Z zigbee-herdsman:adapter:ezsp:uart > ACK  (2)
157078-2022-12-25T07:25:19.186Z zigbee-herdsman:adapter:ezsp:uart > [82503a7e]
157079-2022-12-25T07:25:19.186Z zigbee-herdsman:adapter:ezsp:ezsp <== Frame: 2b900145000004010000010100010000a050b0fa3effff0c08580adfff4205cc273b2b1102
157080-2022-12-25T07:25:19.186Z zigbee-herdsman:adapter:ezsp:ezsp <== 0x45: {"_id_":69,"_cls_":"incomingMessageHandler","_isRequest_":false,"type":0,"apsFrame":{"profileId":260,"clusterId":0,"sourceEndpoint":1,"destinationEndpoint":1,"options":256,"groupId":0,"sequence":160},"lastHopLqi":80,"lastHopRssi":-80,"sender":16122,"bindingIndex":255,"addressIndex":255,"message":{"type":"Buffer","data":[8,88,10,223,255,66,5,204,39,59,43,17]}}
157081-2022-12-25T07:25:19.186Z zigbee-herdsman:adapter:ezsp:debg processMessage: {"messageType":0,"apsFrame":{"profileId":260,"clusterId":0,"sourceEndpoint":1,"destinationEndpoint":1,"options":256,"groupId":0,"sequence":160},"lqi":80,"rssi":-80,"sender":16122,"bindingIndex":255,"addressIndex":255,"message":{"type":"Buffer","data":[8,88,10,223,255,66,5,204,39,59,43,17]}}
157082-2022-12-25T07:25:19.187Z zigbee-herdsman:controller:log Received 'zcl' data '{"frame":{"Header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":88,"manufacturerCode":null,"commandIdentifier":10},"Payload":[{"attrId":65503,"dataType":66,"attrData":"�';+\u0011"}],"Command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}},"address":16122,"endpoint":1,"linkquality":80,"groupID":0,"wasBroadcast":false,"destinationEndpoint":1}'
157083:Zigbee2MQTT:debug 2022-12-25 15:25:19: Received Zigbee message from 'Kitchen Light', type 'attributeReport', cluster 'genBasic', data '{"65503":"�';+\u0011"}' from endpoint 1 with groupID 0
157084:2022-12-25T07:25:19.191Z zigbee-herdsman:controller:endpoint DefaultResponse 0x2c1165fffe4290a6/1 0(10, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false})
157085:2022-12-25T07:25:19.191Z zigbee-herdsman:adapter:ezsp:debg sendZclFrameToEndpointInternal 0x2c1165fffe4290a6:16122/1 (0,0,2)
157086:Zigbee2MQTT:info  2022-12-25 15:25:19: MQTT publish: topic 'zigbee2mqtt/Kitchen Light', payload '{"backlight_mode":null,"last_seen":"2022-12-25T15:25:19+08:00","linkquality":80,"power_on_behavior":null,"state_center":null,"state_left":null,"state_right":null}'
157087:Zigbee2MQTT:info  2022-12-25 15:25:19: MQTT publish: topic 'zigbee2mqtt/Kitchen Light/mode', payload '{"backlight":null}'
157088-2022-12-25T07:25:19.192Z zigbee-herdsman:adapter:ezsp:ezsp ==> setExtendedTimeout: {"remoteEui64":{"_value":{"type":"Buffer","data":[44,17,101,255,254,66,144,166]}},"extendedTimeout":true}
157089-2022-12-25T07:25:19.192Z zigbee-herdsman:adapter:ezsp:ezsp ==> {"_cls_":"setExtendedTimeout","_id_":126,"_isRequest_":true,"remoteEui64":{"_value":{"type":"Buffer","data":[44,17,101,255,254,66,144,166]}},"extendedTimeout":true}
157090-2022-12-25T07:25:19.192Z zigbee-herdsman:adapter:ezsp:uart > DATA (4,2,0): 2c00017e00a69042feff65112c01
157091-2022-12-25T07:25:19.192Z zigbee-herdsman:adapter:ezsp:uart > [426e21a92a2ab3221b6ab540bb799395a77e]
157092-2022-12-25T07:25:19.192Z zigbee-herdsman:adapter:ezsp:uart -?- waiting (5)
157093-2022-12-25T07:25:19.200Z zigbee-herdsman:adapter:ezsp:uart < [256ea1a92a2a7d5da77e]
157094-2022-12-25T07:25:19.200Z zigbee-herdsman:adapter:ezsp:uart < DATA (2,5,0): 256ea1a92a2a7da77e
157095-2022-12-25T07:25:19.200Z zigbee-herdsman:adapter:ezsp:uart > ACK  (3)
157096-2022-12-25T07:25:19.200Z zigbee-herdsman:adapter:ezsp:uart > [83401b7e]
157097-2022-12-25T07:25:19.200Z zigbee-herdsman:adapter:ezsp:ezsp <== Frame: 2c80017e00
157098-2022-12-25T07:25:19.200Z zigbee-herdsman:adapter:ezsp:ezsp <== 0x7e: {"_id_":126,"_cls_":"setExtendedTimeout","_isRequest_":false}
157099-2022-12-25T07:25:19.200Z zigbee-herdsman:adapter:ezsp:uart -+- waiting (5) success
157100-2022-12-25T07:25:19.200Z zigbee-herdsman:adapter:ezsp:ezsp ==> sendUnicast: {"type":0,"indexOrDestination":16122,"apsFrame":{"clusterId":0,"profileId":260,"sequence":204,"sourceEndpoint":1,"destinationEndpoint":1,"groupId":0,"options":320},"messageTag":205,"message":{"type":"Buffer","data":[24,88,11,10,0]}}
157101-2022-12-25T07:25:19.200Z zigbee-herdsman:adapter:ezsp:ezsp ==> {"_cls_":"sendUnicast","_id_":52,"_isRequest_":true,"type":0,"indexOrDestination":16122,"apsFrame":{"clusterId":0,"profileId":260,"sequence":204,"sourceEndpoint":1,"destinationEndpoint":1,"groupId":0,"options":320},"messageTag":205,"message":{"type":"Buffer","data":[24,88,11,10,0]}}
157102-2022-12-25T07:25:19.200Z zigbee-herdsman:adapter:ezsp:uart > DATA (5,3,0): 2d0001340000fa3e04010000010140010000cccd0518580b0a00
157103-2022-12-25T07:25:19.200Z zigbee-herdsman:adapter:ezsp:uart > [536f21a9602a154867904b25aa5493099d4e276720cb7fd3f6cc633f7d337e]
157104-2022-12-25T07:25:19.200Z zigbee-herdsman:adapter:ezsp:uart -?- waiting (6)
157105-2022-12-25T07:25:19.209Z zigbee-herdsman:adapter:ezsp:uart < [366fa1a9602a15d7b7837e]
157106-2022-12-25T07:25:19.209Z zigbee-herdsman:adapter:ezsp:uart < DATA (3,6,0): 366fa1a9602a15d7b7837e
157107-2022-12-25T07:25:19.209Z zigbee-herdsman:adapter:ezsp:uart > ACK  (4)
vignez2991 commented 1 year ago

@Koenkk I have configured 10+ devices using zigbee2Mqtt with CC2652R Coordinator, Everything is working fine. When I restarted my Gateway sometimes (approximately 9/10 times) working fine, but sometime(approximately 1/10 times) devices disappeared in zigbee2Mqtt device list. At the same time I can see the device response in zigbee-herdsman log. And also when I restore the data folder from backup and restarted zigbee2Mqtt service everything comes to work normal. zigbee2mqtt.txt

please find the attached log file with device response separated at the end of the file.

vignez2991 commented 1 year ago

@Koenkk I have configured 10+ devices using zigbee2Mqtt with CC2652R Coordinator, Everything is working fine. When I restarted my Gateway sometimes (approximately 9/10 times) working fine, but sometime(approximately 1/10 times) devices disappeared in zigbee2Mqtt device list. At the same time I can see the device response in zigbee-herdsman log. And also when I restore the data folder from backup and restarted zigbee2Mqtt service everything comes to work normal. zigbee2mqtt.txt

please find the attached log file with device response separated at the end of the file. @Koenkk Hii Koenkk I have attached log data again with herdsman debug enabled. device-remove-log.txt

wiinxt commented 1 year ago

I've the similar problem as myuc, I lost devices connected directly to coordinator randomly after long period or after restart (but I never lost routers connected to coordinator for now). I tried disabling the USB auto-suspend feature but that didn't change anything. (I see this in FAQ)

I use Raspberry pi 3B with docker Zigbee2MQTT version: 1.29 (commit: dddce57) Coordinator type/revision: EZSP v8 6.10.3.0 build 297 - ZBDongle-E

I just configured the logs, I'll post them if it happens again

vignez2991 commented 1 year ago

Hii @Koenkk Any Update??

I am Using Ubuntu 20.04 OS. And This happens only on power restart and not on soft reboot.

medictroy commented 1 year ago

I have a similar problem with the Sonoff ZB Dongle-E in coordinator mode. (ITead Sonoff Zigbee 3.0 USB Dongle Plus V2 model "ZBDongle-E"), Adapter firmware version: 6.10.3.0 build 297 Zigbee2MQTT version: 1.29.1

When I get a device to join the network, it says connected for approx. 10-15 seconds and then leaves the network. When it is connected I can control the device with no problems. This happens every time I try to get a TuYa TS0013 switch to join. https://www.zigbee2mqtt.io/devices/TS0013.html These switches worked fine with my old Conbee II. Any thoughts?

Koenkk commented 1 year ago

@vignez2991 which device left in this log?

vignez2991 commented 1 year ago

@vignez2991 which device left in this log?

All devices.

Koenkk commented 1 year ago

@vignez2991 it seems your data/database.db is cleared for some reason. Since you indicated that this only happens on a hard restart, could it be that this creates problems with your file system dropping the files?

vignez2991 commented 1 year ago

Yes, Exactly this is happening.

vignez2991 commented 1 year ago

When I restore data folder which was backed up early, Everything works normal.

Koenkk commented 1 year ago

@vignez2991 I don't expect z2m to be the root cause of this. You have to check what your system is doing.

myuc commented 1 year ago

@Koenkk could you take a look at my above comment? Link: https://github.com/Koenkk/zigbee2mqtt/issues/15299#issuecomment-1364577939

It seems unrelated to vignez2991's problem. Should I move my comments to a separate issue?

Koenkk commented 1 year ago

@myuc probably caused by the EZSP adapter which support is experimental. Please comment here so the maintainer can take a look.

vignez2991 commented 1 year ago

@vignez2991 I don't expect z2m to be the root cause of this. You have to check what your system is doing.

@Koenkk This happens only when the z2m service was active. It looks this file was kept opened while running z2m at that time when I restart power this file gets truncated. (Note: I am using ubuntu 20.04 OS)

Koenkk commented 1 year ago

What if you:

vignez2991 commented 1 year ago

What if you:

  • start z2m; pair devices
  • restart z2m -> devices should still be there
  • restart power
  • start z2m -> are devices missing now?

Yes, After restarting power and starting z2m devices are missing (1 out of 3 tries).