### What happened?
Z2m sometimes constantly crashes. Sometimes there is a few d…ays without any problem, but sometimes it can happen every few minutes, always showing the same error. I'm attaching the debug log. From the logs, only the last line repeats after every crash:
```
Error: Write 0x90fd9ffffede3c52/1 genLevelCtrl({"onLevel":255}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 9001 - 1 - 4 - 8 - 4 after 10000ms)
at Timeout._onTimeout (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:64:35)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)
```
Its strange error, because the 0x90fd9ffffede3c52/1 device its a Ikea Tradfrii bulb, which is located about 3meters from coordinator.
### What did you expect to happen?
I expect that this error should be handled in z2m
### How to reproduce it (minimal and precise)
There is no way to reproduce, it randomly happens.
### Zigbee2MQTT version
1.29.2 commit: unknown
### Adapter firmware version
20220219
### Adapter
sonoff zigbee 3.0 usb dongle plus (ZBDongle-P)
### Debug log
Zigbee2MQTT:debug 2023-01-15 21:25:43: Received MQTT message on 'homeassistant/sensor/0x680ae2fffe3e4896/last_seen/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/z-hall-table/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x680ae2fffe3e4896"],"manufacturer":"Lidl","model":"Silvercrest 3 gang switch, with 4 USB (EU, FR, CZ, BS) (HG06338)","name":"z-hall-table"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:clock","name":"z-hall-table last seen","state_topic":"zigbee2mqtt/z-hall-table","unique_id":"0x680ae2fffe3e4896_last_seen_zigbee2mqtt","value_template":"{{ value_json.last_seen }}"}'
Zigbee2MQTT:debug 2023-01-15 21:25:43: Received MQTT message on 'homeassistant/sensor/0x00158d00054dbd56/battery/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/z-bathroom-sensor-1/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00158d00054dbd56"],"manufacturer":"Xiaomi","model":"Aqara temperature, humidity and pressure sensor (WSDCGQ11LM)","name":"z-bathroom-sensor-1","sw_version":"3000-0001"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","name":"z-bathroom-sensor-1 battery","state_class":"measurement","state_topic":"zigbee2mqtt/z-bathroom-sensor-1","unique_id":"0x00158d00054dbd56_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}'
Zigbee2MQTT:debug 2023-01-15 21:25:43: Received MQTT message on 'homeassistant/sensor/0x00158d00054dbd56/temperature/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/z-bathroom-sensor-1/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00158d00054dbd56"],"manufacturer":"Xiaomi","model":"Aqara temperature, humidity and pressure sensor (WSDCGQ11LM)","name":"z-bathroom-sensor-1","sw_version":"3000-0001"},"device_class":"temperature","enabled_by_default":true,"name":"z-bathroom-sensor-1 temperature","state_class":"measurement","state_topic":"zigbee2mqtt/z-bathroom-sensor-1","unique_id":"0x00158d00054dbd56_temperature_zigbee2mqtt","unit_of_measurement":"°C","value_template":"{{ value_json.temperature }}"}'
Zigbee2MQTT:debug 2023-01-15 21:25:43: Received MQTT message on 'homeassistant/sensor/0x00158d00054dbd56/humidity/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/z-bathroom-sensor-1/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00158d00054dbd56"],"manufacturer":"Xiaomi","model":"Aqara temperature, humidity and pressure sensor (WSDCGQ11LM)","name":"z-bathroom-sensor-1","sw_version":"3000-0001"},"device_class":"humidity","enabled_by_default":true,"name":"z-bathroom-sensor-1 humidity","state_class":"measurement","state_topic":"zigbee2mqtt/z-bathroom-sensor-1","unique_id":"0x00158d00054dbd56_humidity_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.humidity }}"}'
Zigbee2MQTT:debug 2023-01-15 21:25:43: Received MQTT message on 'homeassistant/sensor/0x00158d00054dbd56/pressure/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/z-bathroom-sensor-1/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00158d00054dbd56"],"manufacturer":"Xiaomi","model":"Aqara temperature, humidity and pressure sensor (WSDCGQ11LM)","name":"z-bathroom-sensor-1","sw_version":"3000-0001"},"device_class":"pressure","enabled_by_default":true,"name":"z-bathroom-sensor-1 pressure","state_class":"measurement","state_topic":"zigbee2mqtt/z-bathroom-sensor-1","unique_id":"0x00158d00054dbd56_pressure_zigbee2mqtt","unit_of_measurement":"hPa","value_template":"{{ value_json.pressure }}"}'
Zigbee2MQTT:debug 2023-01-15 21:25:43: Received MQTT message on 'homeassistant/sensor/0x00158d00054dbd56/voltage/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/z-bathroom-sensor-1/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00158d00054dbd56"],"manufacturer":"Xiaomi","model":"Aqara temperature, humidity and pressure sensor (WSDCGQ11LM)","name":"z-bathroom-sensor-1","sw_version":"3000-0001"},"device_class":"voltage","enabled_by_default":false,"entity_category":"diagnostic","name":"z-bathroom-sensor-1 voltage","state_class":"measurement","state_topic":"zigbee2mqtt/z-bathroom-sensor-1","unique_id":"0x00158d00054dbd56_voltage_zigbee2mqtt","unit_of_measurement":"mV","value_template":"{{ value_json.voltage }}"}'
Zigbee2MQTT:debug 2023-01-15 21:25:43: Received MQTT message on 'homeassistant/sensor/0x00158d00054dbd56/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/z-bathroom-sensor-1/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00158d00054dbd56"],"manufacturer":"Xiaomi","model":"Aqara temperature, humidity and pressure sensor (WSDCGQ11LM)","name":"z-bathroom-sensor-1","sw_version":"3000-0001"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"z-bathroom-sensor-1 linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/z-bathroom-sensor-1","unique_id":"0x00158d00054dbd56_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
Zigbee2MQTT:debug 2023-01-15 21:25:43: Received MQTT message on 'homeassistant/sensor/0x00158d00054dbd56/last_seen/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/z-bathroom-sensor-1/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00158d00054dbd56"],"manufacturer":"Xiaomi","model":"Aqara temperature, humidity and pressure sensor (WSDCGQ11LM)","name":"z-bathroom-sensor-1","sw_version":"3000-0001"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:clock","name":"z-bathroom-sensor-1 last seen","state_topic":"zigbee2mqtt/z-bathroom-sensor-1","unique_id":"0x00158d00054dbd56_last_seen_zigbee2mqtt","value_template":"{{ value_json.last_seen }}"}'
Zigbee2MQTT:debug 2023-01-15 21:25:43: Received MQTT message on 'homeassistant/sensor/0x00158d00042d1bc3/battery/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/z-kitchen-window-sensor-1/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00158d00042d1bc3"],"manufacturer":"Xiaomi","model":"Aqara door & window contact sensor (MCCGQ11LM)","name":"z-kitchen-window-sensor-1"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","name":"z-kitchen-window-sensor-1 battery","state_class":"measurement","state_topic":"zigbee2mqtt/z-kitchen-window-sensor-1","unique_id":"0x00158d00042d1bc3_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}'
Zigbee2MQTT:debug 2023-01-15 21:25:43: Received MQTT message on 'homeassistant/sensor/0x00158d00042d1bc3/device_temperature/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/z-kitchen-window-sensor-1/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00158d00042d1bc3"],"manufacturer":"Xiaomi","model":"Aqara door & window contact sensor (MCCGQ11LM)","name":"z-kitchen-window-sensor-1"},"device_class":"temperature","enabled_by_default":true,"entity_category":"diagnostic","name":"z-kitchen-window-sensor-1 device temperature","state_class":"measurement","state_topic":"zigbee2mqtt/z-kitchen-window-sensor-1","unique_id":"0x00158d00042d1bc3_device_temperature_zigbee2mqtt","unit_of_measurement":"°C","value_template":"{{ value_json.device_temperature }}"}'
Zigbee2MQTT:debug 2023-01-15 21:25:43: Received MQTT message on 'homeassistant/sensor/0x00158d00042d1bc3/voltage/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/z-kitchen-window-sensor-1/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00158d00042d1bc3"],"manufacturer":"Xiaomi","model":"Aqara door & window contact sensor (MCCGQ11LM)","name":"z-kitchen-window-sensor-1"},"device_class":"voltage","enabled_by_default":false,"entity_category":"diagnostic","name":"z-kitchen-window-sensor-1 voltage","state_class":"measurement","state_topic":"zigbee2mqtt/z-kitchen-window-sensor-1","unique_id":"0x00158d00042d1bc3_voltage_zigbee2mqtt","unit_of_measurement":"mV","value_template":"{{ value_json.voltage }}"}'
Zigbee2MQTT:debug 2023-01-15 21:25:43: Received MQTT message on 'homeassistant/sensor/0x00158d00042d1bc3/power_outage_count/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/z-kitchen-window-sensor-1/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00158d00042d1bc3"],"manufacturer":"Xiaomi","model":"Aqara door & window contact sensor (MCCGQ11LM)","name":"z-kitchen-window-sensor-1"},"enabled_by_default":true,"name":"z-kitchen-window-sensor-1 power outage count","state_topic":"zigbee2mqtt/z-kitchen-window-sensor-1","unique_id":"0x00158d00042d1bc3_power_outage_count_zigbee2mqtt","unit_of_measurement":"","value_template":"{{ value_json.power_outage_count }}"}'
Zigbee2MQTT:debug 2023-01-15 21:25:43: Received MQTT message on 'homeassistant/sensor/0x00158d00042d1bc3/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/z-kitchen-window-sensor-1/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00158d00042d1bc3"],"manufacturer":"Xiaomi","model":"Aqara door & window contact sensor (MCCGQ11LM)","name":"z-kitchen-window-sensor-1"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"z-kitchen-window-sensor-1 linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/z-kitchen-window-sensor-1","unique_id":"0x00158d00042d1bc3_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
Zigbee2MQTT:debug 2023-01-15 21:25:43: Received MQTT message on 'homeassistant/sensor/0x00158d00042d1bc3/last_seen/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/z-kitchen-window-sensor-1/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x00158d00042d1bc3"],"manufacturer":"Xiaomi","model":"Aqara door & window contact sensor (MCCGQ11LM)","name":"z-kitchen-window-sensor-1"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:clock","name":"z-kitchen-window-sensor-1 last seen","state_topic":"zigbee2mqtt/z-kitchen-window-sensor-1","unique_id":"0x00158d00042d1bc3_last_seen_zigbee2mqtt","value_template":"{{ value_json.last_seen }}"}'
Zigbee2MQTT:debug 2023-01-15 21:25:43: Received MQTT message on 'homeassistant/sensor/0x70b3d52b600158dd/power_outage_memory/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/z-socket-s-3/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b600158dd"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (TS011F_plug_3)","name":"z-socket-s-3","sw_version":"20B+TZSKT41BS102"},"enabled_by_default":false,"entity_category":"config","icon":"mdi:power-settings","name":"z-socket-s-3 power outage memory","state_topic":"zigbee2mqtt/z-socket-s-3","unique_id":"0x70b3d52b600158dd_power_outage_memory_zigbee2mqtt","value_template":"{{ value_json.power_outage_memory }}"}'
Zigbee2MQTT:debug 2023-01-15 21:25:43: Received MQTT message on 'homeassistant/sensor/0x70b3d52b600158dd/indicator_mode/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/z-socket-s-3/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b600158dd"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (TS011F_plug_3)","name":"z-socket-s-3","sw_version":"20B+TZSKT41BS102"},"enabled_by_default":false,"name":"z-socket-s-3 indicator mode","state_topic":"zigbee2mqtt/z-socket-s-3","unique_id":"0x70b3d52b600158dd_indicator_mode_zigbee2mqtt","value_template":"{{ value_json.indicator_mode }}"}'
Zigbee2MQTT:debug 2023-01-15 21:25:43: Received MQTT message on 'homeassistant/sensor/0x70b3d52b600158dd/power/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/z-socket-s-3/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b600158dd"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (TS011F_plug_3)","name":"z-socket-s-3","sw_version":"20B+TZSKT41BS102"},"device_class":"power","enabled_by_default":true,"entity_category":"diagnostic","name":"z-socket-s-3 power","state_class":"measurement","state_topic":"zigbee2mqtt/z-socket-s-3","unique_id":"0x70b3d52b600158dd_power_zigbee2mqtt","unit_of_measurement":"W","value_template":"{{ value_json.power }}"}'
Zigbee2MQTT:debug 2023-01-15 21:25:43: Received MQTT message on 'homeassistant/sensor/0x70b3d52b600158dd/current/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/z-socket-s-3/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b600158dd"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (TS011F_plug_3)","name":"z-socket-s-3","sw_version":"20B+TZSKT41BS102"},"device_class":"current","enabled_by_default":false,"entity_category":"diagnostic","name":"z-socket-s-3 current","state_class":"measurement","state_topic":"zigbee2mqtt/z-socket-s-3","unique_id":"0x70b3d52b600158dd_current_zigbee2mqtt","unit_of_measurement":"A","value_template":"{{ value_json.current }}"}'
Zigbee2MQTT:debug 2023-01-15 21:25:43: Received MQTT message on 'homeassistant/sensor/0x70b3d52b600158dd/voltage/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/z-socket-s-3/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0x70b3d52b600158dd"],"manufacturer":"TuYa","model":"Smart plug (with power monitoring by polling) (TS011F_plug_3)","name":"z-socket-s-3","sw_version":"20B+TZSKT41BS102"},"device_class":"voltage","enabled_by_default":false,"entity_category":"diagnostic","name":"z-socket-s-3 voltage","state_class":"measurement","state_topic":"zigbee2mqtt/z-socket-s-3","unique_id":"0x70b3d52b600158dd_voltage_zigbee2mqtt","unit_of_measurement":"V","value_template":"{{ value_json.voltage }}"}'
Error: Write 0x90fd9ffffede3c52/1 genLevelCtrl({"onLevel":255}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 9001 - 1 - 4 - 8 - 4 after 10000ms)
at Timeout._onTimeout (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:64:35)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)