Devices are disappearing from Device list.
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
Same problem. Devices dissapearing
I have the same issue after updated to 1.28.4 downgraded to 1.28.2 and everything back to normal
Are you all using the EZSP adapter?
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.
Are you all using the EZSP adapter?
Yes.
Are you all using the EZSP adapter?
conbee 2/deconz
Are you all using the EZSP adapter?
Slaesh stick
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)
@erzhan89 still works with 1.28.2?
@erzhan89 still works with 1.28.2?
Yes. Since I deployed v1.28.2 there is no issue.
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.
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
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
The screen in IE browser

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
BTW why the issue is named: "Devices are disappearing from Device list" because in Chrome browser this is what appears:
In IE is 502: Bad Gateway
LE3: downgraded to 1.28.2 and everything back to normal . the new log log.txt
It looks to me that Zigbee2MQTT is not running, can you check the log page of the addon?
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
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.
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
https://www.zigbee2mqtt.io/guide/usage/debug.html
But it is a little easier now for the HA addon:

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

Later edit: was in documentation :)

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

Test 2 - restart the machine - the log after restart log.txt
HASS started at 00:20 --> device screen empty

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

### 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