Home Assistant setup not working properly - possibly Zigbee issue?

Hi there.

I am very much a beginner to HA but have managed to set up HA on a Raspberry Pi3, connected to two IKEA smart bulbs.

I am using a USB zzh (CC2652R) stick and, with the help of various Youtube videos, have installed and set up Zone-RED, Zigbeeqmqtt (with Mosquitto broker).

I have used Zone-Red to create an automation whereby one light comes on at sunset and the other, 30 seconds later.

I manually turn both lights off at night.

Everything seems to work fine, following a server re-set. Both lights show up on my Overview screen and you can turn them off and on and change the brightness without any issue.

The problem happens each morning.

I go to turn on one of the lights and the on off button on the Overview Screen does not work properly - you can turn the switch on (so it turns blue) but keeps switching back to grey.

Ultimately, I have lost full control of both lights and have to restart the server again.

Another weird thing is that one of my light has both brightness and colour control. If I click on that light, from the Overview, I no longer get a slider to change the temperature anymore (only the brightness is available).

I am not really sure where to look for issues but my system log shows the following:

Log Details (ERROR)
Logger: homeassistant
Source: components/dlna_dmr/config_flow.py:477
First occurred: 08:01:01 (1 occurrences)
Last logged: 08:01:01
Error doing job: Task exception was never retrieved

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/discovery_flow.py", line 74, in _async_process_pending_flows
    await gather_with_concurrency(
  File "/usr/src/homeassistant/homeassistant/util/async_.py", line 170, in gather_with_concurrency
    return await gather(
  File "/usr/src/homeassistant/homeassistant/util/async_.py", line 168, in sem_task
    return await task
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 197, in async_init
    flow, result = await task
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 224, in _async_init
    result = await self._async_handle_step(flow, flow.init_step, data, init_done)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 320, in _async_handle_step
    result: FlowResult = await getattr(flow, method)(user_input)
  File "/usr/src/homeassistant/homeassistant/components/dlna_dmr/config_flow.py", line 216, in async_step_ssdp
    if _is_ignored_device(discovery_info):
  File "/usr/src/homeassistant/homeassistant/components/dlna_dmr/config_flow.py", line 477, in _is_ignored_device
    manufacturer = discovery_info.get(ssdp.ATTR_UPNP_MANUFACTURER, "").lower()
AttributeError: 'NoneType' object has no attribute 'lower'

I have then had a look at the log file for the Zigbee2MQTT2 login and have seen the following:

Zigbee2MQTT:debug 2021-11-10 16:46:18: Received MQTT message on 'zigbee2mqtt/bridge/request/networkmap' with data '{"routes":false,"transaction":"uwk3v-1","type":"raw"}'
Zigbee2MQTT:info  2021-11-10 16:46:18: Starting network scan (includeRoutes 'false')
Zigbee2MQTT:error 2021-11-10 16:46:36: Failed to execute LQI for 'Coordinator'
Zigbee2MQTT:error 2021-11-10 16:46:54: Failed to execute LQI for 'Small Bedroom Lamp'
Zigbee2MQTT:error 2021-11-10 16:47:12: Failed to execute LQI for 'Kitchen Cooker Hood'
Zigbee2MQTT:info  2021-11-10 16:47:12: Network scan finished
Zigbee2MQTT:info  2021-11-10 16:47:12: MQTT publish: topic 'zigbee2mqtt/bridge/response/networkmap', payload '{"data":{"routes":false,"type":"raw","value":{"links":[],"nodes":[{"definition":null,"failed":["lqi"],"friendlyName":"Coordinator","ieeeAddr":"0x00124b00238da1eb","lastSeen":null,"networkAddress":0,"type":"Coordinator"},{"definition":{"description":"TRADFRI LED bulb E14 WW clear 250 lumen, dimmable","model":"LED1935C3","supports":"light (state, brightness), effect, power_on_behavior, linkquality","vendor":"IKEA"},"failed":["lqi"],"friendlyName":"Small Bedroom Lamp","ieeeAddr":"0x804b50fffe9fc8f0","lastSeen":1636496457192,"manufacturerName":"IKEA of Sweden","modelID":"TRADFRIbulbE14WWclear250lm","networkAddress":33730,"type":"Router"},{"definition":{"description":"TRADFRI bulb E12/E14 WS 450/470 lumen, dimmable, white spectrum, opal white","model":"LED1903C5/LED1835C6","supports":"light (state, brightness, color_temp, color_temp_startup), effect, power_on_behavior, linkquality","vendor":"IKEA"},"failed":["lqi"],"friendlyName":"Kitchen Cooker Hood","ieeeAddr":"0x804b50fffe496aa7","lastSeen":1636500663944,"manufacturerName":"IKEA of Sweden","modelID":"TRADFRI bulb E14 WS 470lm","networkAddress":2177,"type":"Router"}]}},"status":"ok","transaction":"uwk3v-1"}'
Zigbee2MQTT:debug 2021-11-10 16:48:55: Received MQTT message on 'zigbee2mqtt/Small Bedroom Lamp/set' with data '{"state": "ON"}'
Zigbee2MQTT:debug 2021-11-10 16:48:55: Publishing 'set' 'state' to 'Small Bedroom Lamp'
Zigbee2MQTT:debug 2021-11-10 16:49:01: Received MQTT message on 'zigbee2mqtt/Small Bedroom Lamp/set' with data '{"state": "ON", "brightness": 157}'
Zigbee2MQTT:debug 2021-11-10 16:49:01: Publishing 'set' 'brightness' to 'Small Bedroom Lamp'
Zigbee2MQTT:error 2021-11-10 16:49:01: Publish 'set' 'state' to 'Small Bedroom Lamp' failed: 'Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)'
Zigbee2MQTT:debug 2021-11-10 16:49:01: Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)
    at Timeout._onTimeout (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:64:35)
    at listOnTimeout (internal/timers.js:557:17)
    at processTimers (internal/timers.js:500:7)
Zigbee2MQTT:info  2021-11-10 16:49:01: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'state' to 'Small Bedroom Lamp' failed: 'Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {\"sendWhenActive\":false,\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":false,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (SRSP - AF - dataRequest after 6000ms)'","meta":{"friendly_name":"Small Bedroom Lamp"},"type":"zigbee_publish_error"}'
Zigbee2MQTT:debug 2021-11-10 16:49:03: Received MQTT message on 'zigbee2mqtt/Small Bedroom Lamp/set' with data '{"state": "ON"}'
Zigbee2MQTT:debug 2021-11-10 16:49:03: Publishing 'set' 'state' to 'Small Bedroom Lamp'
Zigbee2MQTT:error 2021-11-10 16:49:07: Publish 'set' 'brightness' to 'Small Bedroom Lamp' failed: 'Error: Command 0x804b50fffe9fc8f0/1 genLevelCtrl.moveToLevelWithOnOff({"level":157,"transtime":0}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)'
Zigbee2MQTT:debug 2021-11-10 16:49:07: Error: Command 0x804b50fffe9fc8f0/1 genLevelCtrl.moveToLevelWithOnOff({"level":157,"transtime":0}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)
    at Timeout._onTimeout (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:64:35)
    at listOnTimeout (internal/timers.js:557:17)
    at processTimers (internal/timers.js:500:7)
Zigbee2MQTT:info  2021-11-10 16:49:07: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'brightness' to 'Small Bedroom Lamp' failed: 'Error: Command 0x804b50fffe9fc8f0/1 genLevelCtrl.moveToLevelWithOnOff({\"level\":157,\"transtime\":0}, {\"sendWhenActive\":false,\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":false,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (SRSP - AF - dataRequest after 6000ms)'","meta":{"friendly_name":"Small Bedroom Lamp"},"type":"zigbee_publish_error"}'
Zigbee2MQTT:error 2021-11-10 16:49:13: Publish 'set' 'state' to 'Small Bedroom Lamp' failed: 'Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)'
Zigbee2MQTT:debug 2021-11-10 16:49:13: Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)
    at Timeout._onTimeout (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:64:35)
    at listOnTimeout (internal/timers.js:557:17)
    at processTimers (internal/timers.js:500:7)
Zigbee2MQTT:info  2021-11-10 16:49:13: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'state' to 'Small Bedroom Lamp' failed: 'Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {\"sendWhenActive\":false,\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":false,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (SRSP - AF - dataRequest after 6000ms)'","meta":{"friendly_name":"Small Bedroom Lamp"},"type":"zigbee_publish_error"}'
Zigbee2MQTT:debug 2021-11-10 16:49:36: Saving state to file /config/zigbee2mqtt/state.json
Zigbee2MQTT:debug 2021-11-10 16:54:36: Saving state to file /config/zigbee2mqtt/state.json
Zigbee2MQTT:debug 2021-11-10 16:59:36: Saving state to file /config/zigbee2mqtt/state.json
Zigbee2MQTT:debug 2021-11-10 17:03:14: Received MQTT message on 'zigbee2mqtt/Small Bedroom Lamp/set' with data '{"state": "ON"}'
Zigbee2MQTT:debug 2021-11-10 17:03:14: Publishing 'set' 'state' to 'Small Bedroom Lamp'
Zigbee2MQTT:error 2021-11-10 17:03:20: Publish 'set' 'state' to 'Small Bedroom Lamp' failed: 'Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)'
Zigbee2MQTT:debug 2021-11-10 17:03:20: Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)
    at Timeout._onTimeout (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:64:35)
    at listOnTimeout (internal/timers.js:557:17)
    at processTimers (internal/timers.js:500:7)
Zigbee2MQTT:info  2021-11-10 17:03:20: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'state' to 'Small Bedroom Lamp' failed: 'Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {\"sendWhenActive\":false,\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":false,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (SRSP - AF - dataRequest after 6000ms)'","meta":{"friendly_name":"Small Bedroom Lamp"},"type":"zigbee_publish_error"}'
Zigbee2MQTT:debug 2021-11-10 17:04:09: Received MQTT message on 'zigbee2mqtt/Small Bedroom Lamp/set' with data '{"state": "ON"}'
Zigbee2MQTT:debug 2021-11-10 17:04:09: Publishing 'set' 'state' to 'Small Bedroom Lamp'
Zigbee2MQTT:debug 2021-11-10 17:04:14: Received MQTT message on 'zigbee2mqtt/Small Bedroom Lamp/set' with data '{"state": "ON"}'
Zigbee2MQTT:debug 2021-11-10 17:04:14: Publishing 'set' 'state' to 'Small Bedroom Lamp'
Zigbee2MQTT:error 2021-11-10 17:04:15: Publish 'set' 'state' to 'Small Bedroom Lamp' failed: 'Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)'
Zigbee2MQTT:debug 2021-11-10 17:04:15: Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)
    at Timeout._onTimeout (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:64:35)
    at listOnTimeout (internal/timers.js:557:17)
    at processTimers (internal/timers.js:500:7)
Zigbee2MQTT:info  2021-11-10 17:04:15: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'state' to 'Small Bedroom Lamp' failed: 'Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {\"sendWhenActive\":false,\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":false,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (SRSP - AF - dataRequest after 6000ms)'","meta":{"friendly_name":"Small Bedroom Lamp"},"type":"zigbee_publish_error"}'
Zigbee2MQTT:debug 2021-11-10 17:04:15: Received MQTT message on 'zigbee2mqtt/Small Bedroom Lamp/set' with data '{"state": "OFF"}'
Zigbee2MQTT:debug 2021-11-10 17:04:15: Publishing 'set' 'state' to 'Small Bedroom Lamp'
Zigbee2MQTT:debug 2021-11-10 17:04:18: Received MQTT message on 'zigbee2mqtt/Small Bedroom Lamp/set' with data '{"state": "ON"}'
Zigbee2MQTT:debug 2021-11-10 17:04:18: Publishing 'set' 'state' to 'Small Bedroom Lamp'
Zigbee2MQTT:debug 2021-11-10 17:04:21: Received MQTT message on 'zigbee2mqtt/Small Bedroom Lamp/set' with data '{"state": "ON", "brightness": 134}'
Zigbee2MQTT:debug 2021-11-10 17:04:21: Publishing 'set' 'brightness' to 'Small Bedroom Lamp'
Zigbee2MQTT:error 2021-11-10 17:04:21: Publish 'set' 'state' to 'Small Bedroom Lamp' failed: 'Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)'
Zigbee2MQTT:debug 2021-11-10 17:04:21: Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)
    at Timeout._onTimeout (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:64:35)
    at listOnTimeout (internal/timers.js:557:17)
    at processTimers (internal/timers.js:500:7)
Zigbee2MQTT:info  2021-11-10 17:04:21: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'state' to 'Small Bedroom Lamp' failed: 'Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {\"sendWhenActive\":false,\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":false,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (SRSP - AF - dataRequest after 6000ms)'","meta":{"friendly_name":"Small Bedroom Lamp"},"type":"zigbee_publish_error"}'
Zigbee2MQTT:debug 2021-11-10 17:04:24: Received MQTT message on 'zigbee2mqtt/Small Bedroom Lamp/set' with data '{"state": "ON"}'
Zigbee2MQTT:debug 2021-11-10 17:04:24: Publishing 'set' 'state' to 'Small Bedroom Lamp'
Zigbee2MQTT:error 2021-11-10 17:04:27: Publish 'set' 'state' to 'Small Bedroom Lamp' failed: 'Error: Command 0x804b50fffe9fc8f0/1 genOnOff.off({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)'
Zigbee2MQTT:debug 2021-11-10 17:04:27: Error: Command 0x804b50fffe9fc8f0/1 genOnOff.off({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)
    at Timeout._onTimeout (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:64:35)
    at listOnTimeout (internal/timers.js:557:17)
    at processTimers (internal/timers.js:500:7)
Zigbee2MQTT:info  2021-11-10 17:04:27: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'state' to 'Small Bedroom Lamp' failed: 'Error: Command 0x804b50fffe9fc8f0/1 genOnOff.off({}, {\"sendWhenActive\":false,\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":false,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (SRSP - AF - dataRequest after 6000ms)'","meta":{"friendly_name":"Small Bedroom Lamp"},"type":"zigbee_publish_error"}'
Zigbee2MQTT:error 2021-11-10 17:04:33: Publish 'set' 'state' to 'Small Bedroom Lamp' failed: 'Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)'
Zigbee2MQTT:debug 2021-11-10 17:04:33: Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)
    at Timeout._onTimeout (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:64:35)
    at listOnTimeout (internal/timers.js:557:17)
    at processTimers (internal/timers.js:500:7)
Zigbee2MQTT:info  2021-11-10 17:04:33: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'state' to 'Small Bedroom Lamp' failed: 'Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {\"sendWhenActive\":false,\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":false,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (SRSP - AF - dataRequest after 6000ms)'","meta":{"friendly_name":"Small Bedroom Lamp"},"type":"zigbee_publish_error"}'
Zigbee2MQTT:debug 2021-11-10 17:04:36: Saving state to file /config/zigbee2mqtt/state.json
Zigbee2MQTT:error 2021-11-10 17:04:39: Publish 'set' 'brightness' to 'Small Bedroom Lamp' failed: 'Error: Command 0x804b50fffe9fc8f0/1 genLevelCtrl.moveToLevelWithOnOff({"level":134,"transtime":0}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)'
Zigbee2MQTT:debug 2021-11-10 17:04:39: Error: Command 0x804b50fffe9fc8f0/1 genLevelCtrl.moveToLevelWithOnOff({"level":134,"transtime":0}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)
    at Timeout._onTimeout (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:64:35)
    at listOnTimeout (internal/timers.js:557:17)
    at processTimers (internal/timers.js:500:7)
Zigbee2MQTT:info  2021-11-10 17:04:39: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'brightness' to 'Small Bedroom Lamp' failed: 'Error: Command 0x804b50fffe9fc8f0/1 genLevelCtrl.moveToLevelWithOnOff({\"level\":134,\"transtime\":0}, {\"sendWhenActive\":false,\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":false,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (SRSP - AF - dataRequest after 6000ms)'","meta":{"friendly_name":"Small Bedroom Lamp"},"type":"zigbee_publish_error"}'
Zigbee2MQTT:error 2021-11-10 17:04:45: Publish 'set' 'state' to 'Small Bedroom Lamp' failed: 'Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)'
Zigbee2MQTT:debug 2021-11-10 17:04:45: Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)
    at Timeout._onTimeout (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:64:35)
    at listOnTimeout (internal/timers.js:557:17)
    at processTimers (internal/timers.js:500:7)
Zigbee2MQTT:info  2021-11-10 17:04:45: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'state' to 'Small Bedroom Lamp' failed: 'Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {\"sendWhenActive\":false,\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":false,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (SRSP - AF - dataRequest after 6000ms)'","meta":{"friendly_name":"Small Bedroom Lamp"},"type":"zigbee_publish_error"}'
Zigbee2MQTT:debug 2021-11-10 17:05:16: Received MQTT message on 'zigbee2mqtt/Small Bedroom Lamp/set' with data '{"state": "ON"}'
Zigbee2MQTT:debug 2021-11-10 17:05:16: Publishing 'set' 'state' to 'Small Bedroom Lamp'
Zigbee2MQTT:error 2021-11-10 17:05:22: Publish 'set' 'state' to 'Small Bedroom Lamp' failed: 'Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)'
Zigbee2MQTT:debug 2021-11-10 17:05:22: Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SRSP - AF - dataRequest after 6000ms)
    at Timeout._onTimeout (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:64:35)
    at listOnTimeout (internal/timers.js:557:17)
    at processTimers (internal/timers.js:500:7)
Zigbee2MQTT:info  2021-11-10 17:05:22: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'state' to 'Small Bedroom Lamp' failed: 'Error: Command 0x804b50fffe9fc8f0/1 genOnOff.on({}, {\"sendWhenActive\":false,\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":false,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (SRSP - AF - dataRequest after 6000ms)'","meta":{"friendly_name":"Small Bedroom Lamp"},"type":"zigbee_publish_error"}'
Zigbee2MQTT:debug 2021-11-10 17:09:36: Saving state to file /config/zigbee2mqtt/state.json

I have tried removing the USB stick and plugging it back in as well as moving the USB stick away from the Pi with a longer USB extension cable, but the issues still happens every day.

Any advice on what to do would be much appreciated.

Hi, i have same problem with very similar setup. Even if i tried to turn light off in Zigbee2MQTT i get same error. Reboot of host solve problem, but it is anoying.

1 Like

Thanks for that - good to at least know that I am not alone.

I was getting a bit desperate and was even considering getting rid of Zone-Red, in case that was causing a problem.

How often do you have to reboot?

I think about firmware problem in coordinator, because i bought stick from ebay that was flashed, and because it worked, i didn’t do anything. Now i have about 12 devices and network is very slow sometimes. Do you know how to check exact version of stick firmware? Now i see, i have CC2652P, do all firmwares same for this chipset or i need exact version for my stick?

1 Like

What make and model of USB stick do you have?

I have just looked at the instructions for mine:

https://electrolama.com/radio-docs/zigbee2mqtt/

and have just noticed that I never added

“rtscts: false” to my configuration. Hopefully that does the trick - shall report back here with an update.

You need the correct firmware, are your stick can be bricked, needing a jtag to recover.

1 Like

Do you use an USB extension cable ?

2 Likes

Hi Francis.

Yes - have tried with and without one and, unfortunately, the problem persists…

USB-C CC2652P V4 ZigBee 3.0 for Zigbee 2 mqtt, iobroker, openhab, nodered, hassio | eBay i have this. In it is only E72-2G4M20S1E chip.