### What happened?
If I toggle the light (set on/off) the device does act to …it. But, after 10s or so, Zigbee2MQTT throws an error in the log. As stated, the dimmer does turn the light on/off.
If I do another thing, in the period, AFTER the light has turned off, but BEFORE the error from the first action has been thrown, the next action does nothing right away.
But AFTER the error is thrown from the first action, the device turns the lights on.
I'm able to reproduce it over and over again. I only have brightness and light on/off option working, but it seems like this only happens for toggle on/off. Brightnees works most of the times, and a error are never thrown as part of a brightness change.
While debugging I noticed that changing brightness does work every time. Check the last two logs (sorry, there's a few, but I thought it would be useful), where I describe, what's working, and what's not working as expected.
Device shown in GUI as match: https://www.zigbee2mqtt.io/devices/3004482_3137308_3137309.html#light%2520solutions-3004482%252F3137308%252F3137309
Manual in details for the hardware: https://ledpaerer.dk/media/catalog/product/attachment/Manual-engelsk.pdf
Image of the actual product from the manual:
<img width="445" alt="image" src="https://github.com/Koenkk/zigbee2mqtt/assets/3549445/2624d1ae-37ce-4bbd-ba1a-d751c10f1c24">
Let me know if I can help with other details. I've also factory reset the device, moved it to another router (hue bulb instead directly to coordinator), and more. Nothing changes the current behavior.
<img width="721" alt="SCR-20240226-qwzy" src="https://github.com/Koenkk/zigbee2mqtt/assets/3549445/de331816-10cf-4ca7-b49e-c97c9283764d">
_Image from Zigbee2MQTT._
Firmware and ZigBee2MQTT are updated as part of my debugging (after creating the issue), and the dev-channel has been tested, too. Nothing changed the behaviour of the device/situation in general.
### What did you expect to happen?
That the light would work properly with the light on/off commands.
### How to reproduce it (minimal and precise)
I can reproduce it over and over again, by toggle the light (turning on/off). Error is thrown every time, after the timeout.
### Zigbee2MQTT version
**main**: 1.35.3 commit: fe0742a
**dev**: 1.35.3-dev commit: [8fb28f9](https://github.com/Koenkk/zigbee2mqtt/commit/8fb28f9))
### Adapter firmware version
`20230507` (Also tested on 20220219, but I upgraded the firmware today, just to test - I've also factory reset the device and removed it in Z2M during that process, just to secure that everything was erased, if it was a faulty pairing, or similar).
### Adapter
`LAUNCHXL-CC26X2R1` (Works with all other devices, not a single one makes problems, and there's a good amount of different devices)
### Setup
Docker, with Zigbee2MQTT in a container.
The same system also hosts HA, and other things. But I don't think it's related to any of that. All things works just fine, except this dimmer.
### Debug log
Here's one example, where I change the power state:
```log
Debug 2024-02-26 19:08:40Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"state":"OFF"}'
Debug 2024-02-26 19:08:40Publishing 'set' 'state' to 'lightsolutions_dim_1'
Debug 2024-02-26 19:08:40Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Debug 2024-02-26 19:08:40Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":1}' from endpoint 1 with groupID 0
Info 2024-02-26 19:08:40MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":254,"elapsed":21385,"linkquality":72,"power_on_behavior":null,"state":"OFF"}'
Info 2024-02-26 19:08:40MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":1,"elapsed":4,"linkquality":72,"power_on_behavior":null,"state":"OFF"}'
Debug 2024-02-26 19:08:44Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"state":"ON"}'
Debug 2024-02-26 19:08:44Publishing 'set' 'state' to 'lightsolutions_dim_1'
Error 2024-02-26 19:09:03Publish 'set' 'state' to 'lightsolutions_dim_1' failed: 'Error: Command 0x385b44fffe1b3d45/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 29765 - 1 - 73 - 6 - 11 after 10000ms)'
Debug 2024-02-26 19:09:03Error: Command 0x385b44fffe1b3d45/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 29765 - 1 - 73 - 6 - 11 after 10000ms) at Object.start (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:63:23) at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:502:47) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20) at Request.send (/app/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:79:20) at Endpoint.command (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:746:28) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:46:17) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:1116:32) at Publish.onMQTTMessage (/app/lib/extension/publish.ts:249:36) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17)
Debug 2024-02-26 19:09:03Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
```
Here another example:
```log
2024-02-26 19:17:34Publish 'set' 'state' to 'lightsolutions_dim_1' failed: 'Error: Command 0x385b44fffe1b3d45/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 29765 - 1 - 200 - 6 - 11 after 10000ms)'
Debug 2024-02-26 19:17:34Error: Command 0x385b44fffe1b3d45/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 29765 - 1 - 200 - 6 - 11 after 10000ms) at Object.start (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:63:23) at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:502:47) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20) at Request.send (/app/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:79:20) at Endpoint.command (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:746:28) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:46:17) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:1116:32) at Publish.onMQTTMessage (/app/lib/extension/publish.ts:249:36) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17)
Debug 2024-02-26 19:17:34Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
Info 2024-02-26 19:17:34MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":1,"elapsed":23058,"linkquality":43,"power_on_behavior":null,"state":"ON"}'
Debug 2024-02-26 19:17:34Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":231}' from endpoint 1 with groupID 0
Info 2024-02-26 19:17:34MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":231,"elapsed":18,"linkquality":43,"power_on_behavior":null,"state":"ON"}'on","linkquality":43,"power":9,"power_outage_memory":"restore","state":"ON","voltage":219}'
Error 2024-02-26 19:17:57Publish 'set' 'state' to 'lightsolutions_dim_1' failed: 'Error: Command 0x385b44fffe1b3d45/1 genOnOff.on({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 29765 - 1 - 203 - 6 - 11 after 10000ms)'
Debug 2024-02-26 19:17:57Error: Command 0x385b44fffe1b3d45/1 genOnOff.on({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 29765 - 1 - 203 - 6 - 11 after 10000ms) at Object.start (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:63:23) at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:502:47) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20) at Request.send (/app/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:79:20) at Endpoint.command (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:746:28) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:46:17) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:1116:32) at Publish.onMQTTMessage (/app/lib/extension/publish.ts:249:36) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17)
Debug 2024-02-26 19:17:57Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Debug 2024-02-26 19:17:57Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":1}' from endpoint 1 with groupID 0
Info 2024-02-26 19:17:57MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":231,"elapsed":23068,"linkquality":171,"power_on_behavior":null,"state":"OFF"}'
Info 2024-02-26 19:17:57MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":1,"elapsed":4,"linkquality":171,"power_on_behavior":null,"state":"OFF"}'
````
Here's another where I've removed the device, made factory reset of the device, and paired it again. Please don't mind the name change to `0x385b44fffe1b3d45` (that's just the original name)
```
Debug 2024-02-26 20:42:54Saving state to file /app/data/state.json
Debug 2024-02-26 20:43:13Received MQTT message on 'zigbee2mqtt/bridge/request/permit_join' with data '{"device":"hue9","time":254,"transaction":"qbu6h-5","value":true}'
Info 2024-02-26 20:43:13Zigbee: allowing new devices to join via hue9.
Info 2024-02-26 20:43:14MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"device":"hue9","time":254,"value":true},"status":"ok","transaction":"qbu6h-5"}'
Info 2024-02-26 20:43:17Device '0x385b44fffe1b3d45' joined
Info 2024-02-26 20:43:17MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x385b44fffe1b3d45","ieee_address":"0x385b44fffe1b3d45"},"type":"device_joined"}'
Info 2024-02-26 20:43:17Starting interview of '0x385b44fffe1b3d45'
Info 2024-02-26 20:43:17MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x385b44fffe1b3d45","ieee_address":"0x385b44fffe1b3d45","status":"started"},"type":"device_interview"}'
Debug 2024-02-26 20:43:17Device '0x385b44fffe1b3d45' announced itself
Info 2024-02-26 20:43:17MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x385b44fffe1b3d45","ieee_address":"0x385b44fffe1b3d45"},"type":"device_announce"}'
Debug 2024-02-26 20:43:18Received Zigbee message from '0x385b44fffe1b3d45', type 'readResponse', cluster 'genBasic', data '{"appVersion":0}' from endpoint 1 with groupID 0
Debug 2024-02-26 20:43:18Skipping message, still interviewing
Debug 2024-02-26 20:43:18Received Zigbee message from '0x385b44fffe1b3d45', type 'readResponse', cluster 'genBasic', data '{"stackVersion":0}' from endpoint 1 with groupID 0
Debug 2024-02-26 20:43:18Skipping message, still interviewing
Debug 2024-02-26 20:43:18Received Zigbee message from '0x385b44fffe1b3d45', type 'readResponse', cluster 'genBasic', data '{"hwVersion":0}' from endpoint 1 with groupID 0
Debug 2024-02-26 20:43:18Skipping message, still interviewing
Info 2024-02-26 20:43:18Successfully interviewed '0x385b44fffe1b3d45', device has successfully been paired
Info 2024-02-26 20:43:18Device '0x385b44fffe1b3d45' is supported, identified as: Light Solutions Zigbee dimmer for wire (3004482/3137308/3137309)
Info 2024-02-26 20:43:18MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Zigbee dimmer for wire","exposes":[{"features":[{"access":7,"description":"On/off state of this light","label":"State","name":"state","property":"state","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"},{"access":7,"description":"Brightness of this light","label":"Brightness","name":"brightness","property":"brightness","type":"numeric","value_max":254,"value_min":0}],"type":"light"},{"access":2,"description":"Triggers an effect on the light (e.g. make light blink for a few seconds)","label":"Effect","name":"effect","property":"effect","type":"enum","values":["blink","breathe","okay","channel_change","finish_effect","stop_effect"]},{"access":7,"category":"config","description":"Controls the behavior when the device is powered on after power loss. If you get an `UNSUPPORTED_ATTRIBUTE` error, the device does not support it.","label":"Power-on behavior","name":"power_on_behavior","property":"power_on_behavior","type":"enum","values":["off","on","toggle","previous"]},{"access":1,"category":"diagnostic","description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"3004482/3137308/3137309","options":[{"access":2,"description":"Controls the transition time (in seconds) of on/off, brightness, color temperature (if applicable) and color (if applicable) changes. Defaults to `0` (no transition).","label":"Transition","name":"transition","property":"transition","type":"numeric","value_min":0},{"access":2,"description":"State actions will also be published as 'action' when true (default false).","label":"State action","name":"state_action","property":"state_action","type":"binary","value_off":false,"value_on":true}],"supports_ota":false,"vendor":"Light Solutions"},"friendly_name":"0x385b44fffe1b3d45","ieee_address":"0x385b44fffe1b3d45","status":"successful","supported":true},"type":"device_interview"}'
Info 2024-02-26 20:43:18Configuring '0x385b44fffe1b3d45'
Info 2024-02-26 20:43:18MQTT publish: topic 'homeassistant/light/0x385b44fffe1b3d45/light/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"brightness":true,"brightness_scale":254,"command_topic":"zigbee2mqtt/0x385b44fffe1b3d45/set","device":{"identifiers":["zigbee2mqtt_0x385b44fffe1b3d45"],"manufacturer":"Light Solutions","model":"Zigbee dimmer for wire (3004482/3137308/3137309)","name":"0x385b44fffe1b3d45","sw_version":"1.00","via_device":"zigbee2mqtt_bridge_0x00124b001caa682e"},"effect":true,"effect_list":["blink","breathe","okay","channel_change","finish_effect","stop_effect"],"name":null,"object_id":"0x385b44fffe1b3d45","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"schema":"json","state_topic":"zigbee2mqtt/0x385b44fffe1b3d45","unique_id":"0x385b44fffe1b3d45_light_zigbee2mqtt"}'
Info 2024-02-26 20:43:18MQTT publish: topic 'homeassistant/select/0x385b44fffe1b3d45/effect/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/0x385b44fffe1b3d45/set/effect","device":{"identifiers":["zigbee2mqtt_0x385b44fffe1b3d45"],"manufacturer":"Light Solutions","model":"Zigbee dimmer for wire (3004482/3137308/3137309)","name":"0x385b44fffe1b3d45","sw_version":"1.00","via_device":"zigbee2mqtt_bridge_0x00124b001caa682e"},"enabled_by_default":false,"icon":"mdi:palette","name":"Effect","object_id":"0x385b44fffe1b3d45_effect","options":["blink","breathe","okay","channel_change","finish_effect","stop_effect"],"origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"unique_id":"0x385b44fffe1b3d45_effect_zigbee2mqtt"}'
Info 2024-02-26 20:43:18MQTT publish: topic 'homeassistant/sensor/0x385b44fffe1b3d45/power_on_behavior/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x385b44fffe1b3d45"],"manufacturer":"Light Solutions","model":"Zigbee dimmer for wire (3004482/3137308/3137309)","name":"0x385b44fffe1b3d45","sw_version":"1.00","via_device":"zigbee2mqtt_bridge_0x00124b001caa682e"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:power-settings","name":"Power-on behavior","object_id":"0x385b44fffe1b3d45_power_on_behavior","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x385b44fffe1b3d45","unique_id":"0x385b44fffe1b3d45_power_on_behavior_zigbee2mqtt","value_template":"{{ value_json.power_on_behavior }}"}'
Info 2024-02-26 20:43:18MQTT publish: topic 'homeassistant/select/0x385b44fffe1b3d45/power_on_behavior/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/0x385b44fffe1b3d45/set/power_on_behavior","device":{"identifiers":["zigbee2mqtt_0x385b44fffe1b3d45"],"manufacturer":"Light Solutions","model":"Zigbee dimmer for wire (3004482/3137308/3137309)","name":"0x385b44fffe1b3d45","sw_version":"1.00","via_device":"zigbee2mqtt_bridge_0x00124b001caa682e"},"entity_category":"config","icon":"mdi:power-settings","name":"Power-on behavior","object_id":"0x385b44fffe1b3d45_power_on_behavior","options":["off","on","toggle","previous"],"origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x385b44fffe1b3d45","unique_id":"0x385b44fffe1b3d45_power_on_behavior_zigbee2mqtt","value_template":"{{ value_json.power_on_behavior }}"}'
Info 2024-02-26 20:43:18MQTT publish: topic 'homeassistant/sensor/0x385b44fffe1b3d45/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x385b44fffe1b3d45"],"manufacturer":"Light Solutions","model":"Zigbee dimmer for wire (3004482/3137308/3137309)","name":"0x385b44fffe1b3d45","sw_version":"1.00","via_device":"zigbee2mqtt_bridge_0x00124b001caa682e"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Linkquality","object_id":"0x385b44fffe1b3d45_linkquality","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0x385b44fffe1b3d45","unique_id":"0x385b44fffe1b3d45_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
Debug 2024-02-26 20:43:18Configure reporting: true, read: true for 0x385b44fffe1b3d45/1 genOnOff [{"attribute":"onOff","min":0,"max":"MAX","change":1}]
Debug 2024-02-26 20:43:18Received MQTT message on 'homeassistant/light/0x385b44fffe1b3d45/light/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"brightness":true,"brightness_scale":254,"command_topic":"zigbee2mqtt/0x385b44fffe1b3d45/set","device":{"identifiers":["zigbee2mqtt_0x385b44fffe1b3d45"],"manufacturer":"Light Solutions","model":"Zigbee dimmer for wire (3004482/3137308/3137309)","name":"0x385b44fffe1b3d45","sw_version":"1.00","via_device":"zigbee2mqtt_bridge_0x00124b001caa682e"},"effect":true,"effect_list":["blink","breathe","okay","channel_change","finish_effect","stop_effect"],"name":null,"object_id":"0x385b44fffe1b3d45","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"schema":"json","state_topic":"zigbee2mqtt/0x385b44fffe1b3d45","unique_id":"0x385b44fffe1b3d45_light_zigbee2mqtt"}'
Debug 2024-02-26 20:43:18Received MQTT message on 'homeassistant/select/0x385b44fffe1b3d45/effect/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/0x385b44fffe1b3d45/set/effect","device":{"identifiers":["zigbee2mqtt_0x385b44fffe1b3d45"],"manufacturer":"Light Solutions","model":"Zigbee dimmer for wire (3004482/3137308/3137309)","name":"0x385b44fffe1b3d45","sw_version":"1.00","via_device":"zigbee2mqtt_bridge_0x00124b001caa682e"},"enabled_by_default":false,"icon":"mdi:palette","name":"Effect","object_id":"0x385b44fffe1b3d45_effect","options":["blink","breathe","okay","channel_change","finish_effect","stop_effect"],"origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"unique_id":"0x385b44fffe1b3d45_effect_zigbee2mqtt"}'
Debug 2024-02-26 20:43:18Received MQTT message on 'homeassistant/sensor/0x385b44fffe1b3d45/power_on_behavior/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x385b44fffe1b3d45"],"manufacturer":"Light Solutions","model":"Zigbee dimmer for wire (3004482/3137308/3137309)","name":"0x385b44fffe1b3d45","sw_version":"1.00","via_device":"zigbee2mqtt_bridge_0x00124b001caa682e"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:power-settings","name":"Power-on behavior","object_id":"0x385b44fffe1b3d45_power_on_behavior","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x385b44fffe1b3d45","unique_id":"0x385b44fffe1b3d45_power_on_behavior_zigbee2mqtt","value_template":"{{ value_json.power_on_behavior }}"}'
Debug 2024-02-26 20:43:18Received MQTT message on 'homeassistant/select/0x385b44fffe1b3d45/power_on_behavior/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/0x385b44fffe1b3d45/set/power_on_behavior","device":{"identifiers":["zigbee2mqtt_0x385b44fffe1b3d45"],"manufacturer":"Light Solutions","model":"Zigbee dimmer for wire (3004482/3137308/3137309)","name":"0x385b44fffe1b3d45","sw_version":"1.00","via_device":"zigbee2mqtt_bridge_0x00124b001caa682e"},"entity_category":"config","icon":"mdi:power-settings","name":"Power-on behavior","object_id":"0x385b44fffe1b3d45_power_on_behavior","options":["off","on","toggle","previous"],"origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x385b44fffe1b3d45","unique_id":"0x385b44fffe1b3d45_power_on_behavior_zigbee2mqtt","value_template":"{{ value_json.power_on_behavior }}"}'
Debug 2024-02-26 20:43:18Received MQTT message on 'homeassistant/sensor/0x385b44fffe1b3d45/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x385b44fffe1b3d45"],"manufacturer":"Light Solutions","model":"Zigbee dimmer for wire (3004482/3137308/3137309)","name":"0x385b44fffe1b3d45","sw_version":"1.00","via_device":"zigbee2mqtt_bridge_0x00124b001caa682e"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Linkquality","object_id":"0x385b44fffe1b3d45_linkquality","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0x385b44fffe1b3d45","unique_id":"0x385b44fffe1b3d45_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
Debug 2024-02-26 20:43:19Received Zigbee message from '0x385b44fffe1b3d45', type 'readResponse', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
Info 2024-02-26 20:43:19MQTT publish: topic 'zigbee2mqtt/0x385b44fffe1b3d45', payload '{"elapsed":172714,"linkquality":65,"power_on_behavior":null,"state":"ON"}'
Debug 2024-02-26 20:43:19Configure reporting: true, read: true for 0x385b44fffe1b3d45/1 genLevelCtrl [{"attribute":"currentLevel","min":"10_SECONDS","max":"MAX","change":1}]
Debug 2024-02-26 20:43:19Received Zigbee message from '0x385b44fffe1b3d45', type 'readResponse', cluster 'genLevelCtrl', data '{"currentLevel":81}' from endpoint 1 with groupID 0
Info 2024-02-26 20:43:19MQTT publish: topic 'zigbee2mqtt/0x385b44fffe1b3d45', payload '{"brightness":81,"elapsed":363,"linkquality":69,"power_on_behavior":null,"state":"ON"}'
Info 2024-02-26 20:43:19Successfully configured '0x385b44fffe1b3d45'
Debug 2024-02-26 20:43:49Publishing 'set' 'state' to '0x385b44fffe1b3d45'
Debug 2024-02-26 20:43:49Received Zigbee message from '0x385b44fffe1b3d45', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":1}' from endpoint 1 with groupID 0
Info 2024-02-26 20:43:49MQTT publish: topic 'zigbee2mqtt/0x385b44fffe1b3d45', payload '{"brightness":1,"elapsed":29552,"linkquality":51,"power_on_behavior":null,"state":"ON"}'
Debug 2024-02-26 20:43:50Received MQTT message on 'zigbee2mqtt/0x385b44fffe1b3d45/set' with data '{"state":"ON"}'
Debug 2024-02-26 20:43:50Publishing 'set' 'state' to '0x385b44fffe1b3d45'
Debug 2024-02-26 20:43:53Received MQTT message on 'zigbee2mqtt/0x385b44fffe1b3d45/set' with data '{"state":"OFF"}'
Debug 2024-02-26 20:43:53Publishing 'set' 'state' to '0x385b44fffe1b3d45'
Debug 2024-02-26 20:43:54Received MQTT message on 'zigbee2mqtt/0x385b44fffe1b3d45/set' with data '{"state":"ON"}'
Debug 2024-02-26 20:43:54Publishing 'set' 'state' to '0x385b44fffe1b3d45'
Error 2024-02-26 20:44:12Publish 'set' 'state' to '0x385b44fffe1b3d45' failed: 'Error: Command 0x385b44fffe1b3d45/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 34084 - 1 - 25 - 6 - 11 after 10000ms)'
Debug 2024-02-26 20:44:12Error: Command 0x385b44fffe1b3d45/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 34084 - 1 - 25 - 6 - 11 after 10000ms) at Object.start (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:63:23) at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:502:47) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20) at Request.send (/app/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:79:20) at Endpoint.command (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:746:28) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:46:17) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:1116:32) at Publish.onMQTTMessage (/app/lib/extension/publish.ts:249:36) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17)
Debug 2024-02-26 20:44:12Received Zigbee message from '0x385b44fffe1b3d45', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
Debug 2024-02-26 20:44:12Received Zigbee message from '0x385b44fffe1b3d45', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":254}' from endpoint 1 with groupID 0
Info 2024-02-26 20:44:12MQTT publish: topic 'zigbee2mqtt/0x385b44fffe1b3d45', payload '{"brightness":1,"elapsed":23103,"linkquality":51,"power_on_behavior":null,"state":"ON"}'
Info 2024-02-26 20:44:12MQTT publish: topic 'zigbee2mqtt/0x385b44fffe1b3d45', payload '{"brightness":254,"elapsed":3,"linkquality":51,"power_on_behavior":null,"state":"ON"}'
```
And the last case where I also tries to toggle the light, and I end up in some kind of OTA situation, for some reason.
```
Error 2024-02-26 20:54:38Publish 'set' 'state' to 'lightsolutions_dim_1' failed: 'Error: Command 0x385b44fffe1b3d45/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 34084 - 1 - 165 - 6 - 11 after 10000ms)'
Debug 2024-02-26 20:54:38Error: Command 0x385b44fffe1b3d45/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 34084 - 1 - 165 - 6 - 11 after 10000ms) at Object.start (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:63:23) at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:502:47) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20) at Request.send (/app/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:79:20) at Endpoint.command (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:746:28) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:46:17) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:1116:32) at Publish.onMQTTMessage (/app/lib/extension/publish.ts:249:36) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17)
Debug 2024-02-26 20:54:38Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
Debug 2024-02-26 20:54:38Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":254}' from endpoint 1 with groupID 0
Info 2024-02-26 20:54:38MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":1,"elapsed":23076,"linkquality":51,"power_on_behavior":null,"state":"ON"}'
Info 2024-02-26 20:54:38MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":254,"elapsed":2,"linkquality":51,"power_on_behavior":null,"state":"ON"}'
Debug 2024-02-26 20:54:42Received Zigbee message from 'lightsolutions_dim_1', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":2,"imageType":1000,"manufacturerCode":4107}' from endpoint 1 with groupID 0
Debug 2024-02-26 20:54:42Device 'lightsolutions_dim_1' requested OTA
Debug 2024-02-26 20:54:45Received Zigbee message from 'lightsolutions_dim_1', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":2,"imageType":1000,"manufacturerCode":4107}' from endpoint 1 with groupID 0
Debug 2024-02-26 20:54:45Device 'lightsolutions_dim_1' requested OTA
Debug 2024-02-26 20:54:48Received Zigbee message from 'lightsolutions_dim_1', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":2,"imageType":1000,"manufacturerCode":4107}' from endpoint 1 with groupID 0
Debug 2024-02-26 20:54:48Device 'lightsolutions_dim_1' requested OTA
Debug 2024-02-26 20:54:50Received Zigbee message from 'lightsolutions_dim_1', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":2,"imageType":1000,"manufacturerCode":4107}' from endpoint 1 with groupID 0
Debug 2024-02-26 20:54:50Device 'lightsolutions_dim_1' requested OTA
Debug 2024-02-26 20:54:54Received Zigbee message from 'lightsolutions_dim_1', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":2,"imageType":1000,"manufacturerCode":4107}' from endpoint 1 with groupID 0
Debug 2024-02-26 20:54:54Device 'lightsolutions_dim_1' requested OTA
Error 2024-02-26 20:55:01Publish 'set' 'state' to 'lightsolutions_dim_1' failed: 'Error: Command 0x385b44fffe1b3d45/1 genOnOff.on({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 34084 - 1 - 168 - 6 - 11 after 10000ms)'
Debug 2024-02-26 20:55:01Error: Command 0x385b44fffe1b3d45/1 genOnOff.on({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 34084 - 1 - 168 - 6 - 11 after 10000ms) at Object.start (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:63:23) at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:502:47) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20) at Request.send (/app/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:79:20) at Endpoint.command (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:746:28) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:46:17) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:1116:32) at Publish.onMQTTMessage (/app/lib/extension/publish.ts:249:36) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17)
Debug 2024-02-26 20:55:01Responded to OTA request of 'lightsolutions_dim_1' with 'NO_IMAGE_AVAILABLE'
Debug 2024-02-26 20:55:01Responded to OTA request of 'lightsolutions_dim_1' with 'NO_IMAGE_AVAILABLE'
Debug 2024-02-26 20:55:01Responded to OTA request of 'lightsolutions_dim_1' with 'NO_IMAGE_AVAILABLE'
Debug 2024-02-26 20:55:01Responded to OTA request of 'lightsolutions_dim_1' with 'NO_IMAGE_AVAILABLE'
Debug 2024-02-26 20:55:02Responded to OTA request of 'lightsolutions_dim_1' with 'NO_IMAGE_AVAILABLE'
```
I think it's something related to the device mapping, maybe it's not really the right device.
```
Info 2024-02-26 21:32:49MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":86,"elapsed":1124517,"linkquality":91,"state":"ON"}'
Error 2024-02-26 21:32:49Publish 'get' 'power_on_behavior' to 'lightsolutions_dim_1' failed: 'Error: Read 0x385b44fffe1b3d45/1 genOnOff(["startUpOnOff"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')'
Debug 2024-02-26 21:34:21Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"power_on_behavior":"previous"}'
Debug 2024-02-26 21:34:21Publishing 'set' 'power_on_behavior' to 'lightsolutions_dim_1'
Error 2024-02-26 21:34:21Publish 'set' 'power_on_behavior' to 'lightsolutions_dim_1' failed: 'Error: Write 0x385b44fffe1b3d45/1 genOnOff({"startUpOnOff":255}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')'
Debug 2024-02-26 21:34:32Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"effect":"okay"}'
Debug 2024-02-26 21:34:32Publishing 'set' 'effect' to 'lightsolutions_dim_1'
Debug 2024-02-26 21:34:46Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"state":"OFF"}'
Debug 2024-02-26 21:34:46Publishing 'set' 'state' to 'lightsolutions_dim_1'
Debug 2024-02-26 21:34:46Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Debug 2024-02-26 21:34:46Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":1}' from endpoint 1 with groupID 0
Info 2024-02-26 21:34:46MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":86,"elapsed":116900,"linkquality":51,"state":"OFF"}'
Info 2024-02-26 21:34:46MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":1,"elapsed":3,"linkquality":51,"state":"OFF"}'
Debug 2024-02-26 21:34:50Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"state":"ON"}'
Debug 2024-02-26 21:34:50Publishing 'set' 'state' to 'lightsolutions_dim_1'
Debug 2024-02-26 21:34:54Received Zigbee message from 'lightsolutions_dim_1', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":2,"imageType":1000,"manufacturerCode":4107}' from endpoint 1 with groupID 0
Debug 2024-02-26 21:34:54Device 'lightsolutions_dim_1' requested OTA
Debug 2024-02-26 21:34:57Received Zigbee message from 'lightsolutions_dim_1', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":2,"imageType":1000,"manufacturerCode":4107}' from endpoint 1 with groupID 0
Debug 2024-02-26 21:34:57Device 'lightsolutions_dim_1' requested OTA
Debug 2024-02-26 21:35:00Received Zigbee message from 'lightsolutions_dim_1', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":2,"imageType":1000,"manufacturerCode":4107}' from endpoint 1 with groupID 0
Debug 2024-02-26 21:35:00Device 'lightsolutions_dim_1' requested OTA
Debug 2024-02-26 21:35:03Received Zigbee message from 'lightsolutions_dim_1', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":2,"imageType":1000,"manufacturerCode":4107}' from endpoint 1 with groupID 0
Debug 2024-02-26 21:35:03Device 'lightsolutions_dim_1' requested OTA
Debug 2024-02-26 21:35:06Received Zigbee message from 'lightsolutions_dim_1', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":2,"imageType":1000,"manufacturerCode":4107}' from endpoint 1 with groupID 0
Debug 2024-02-26 21:35:06Device 'lightsolutions_dim_1' requested OTA
Error 2024-02-26 21:35:09Publish 'set' 'state' to 'lightsolutions_dim_1' failed: 'Error: Command 0x385b44fffe1b3d45/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 34084 - 1 - 185 - 6 - 11 after 10000ms)'
Debug 2024-02-26 21:35:09Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
Debug 2024-02-26 21:35:09Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":86}' from endpoint 1 with groupID 0
Info 2024-02-26 21:35:09MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":1,"elapsed":23092,"linkquality":54,"state":"ON"}'
Info 2024-02-26 21:35:09MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":86,"elapsed":3,"linkquality":54,"state":"ON"}'
Debug 2024-02-26 21:35:16Received Zigbee message from 'nordtronic_dim_1', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":1,"fileVersion":56,"imageType":2067,"manufacturerCode":4107}' from endpoint 1 with groupID 0
Debug 2024-02-26 21:35:16Device 'nordtronic_dim_1' requested OTA
Debug 2024-02-26 21:35:16Responded to OTA request of 'nordtronic_dim_1
```
Some times I also end in a situation with OTA related messages:
```
Debug 2024-02-26 21:39:51Error: Command 0x385b44fffe1b3d45/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 34084 - 1 - 7 - 6 - 11 after 10000ms) at Object.start (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:63:23) at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:502:47) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20) at Request.send (/app/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:79:20) at Endpoint.command (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:746:28) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:46:17) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:1116:32) at Publish.onMQTTMessage (/app/lib/extension/publish.ts:249:36) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17)
Debug 2024-02-26 21:39:51Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":101}' from endpoint 1 with groupID 0
Info 2024-02-26 21:39:51MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":101,"elapsed":23059,"linkquality":51,"state":"OFF"}'
Debug 2024-02-26 21:39:51Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
Info 2024-02-26 21:39:51MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":101,"elapsed":27,"linkquality":54,"state":"ON"}
Error 2024-02-26 21:40:14Publish 'set' 'state' to 'lightsolutions_dim_1' failed: 'Error: Command 0x385b44fffe1b3d45/1 genOnOff.on({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 34084 - 1 - 11 - 6 - 11 after 10000ms)'
Debug 2024-02-26 21:40:14Error: Command 0x385b44fffe1b3d45/1 genOnOff.on({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 34084 - 1 - 11 - 6 - 11 after 10000ms) at Object.start (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:63:23) at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:502:47) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20) at Request.send (/app/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:79:20) at Endpoint.command (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:746:28) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:46:17) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:1116:32) at Publish.onMQTTMessage (/app/lib/extension/publish.ts:249:36) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17)
Debug 2024-02-26 21:40:14Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Debug 2024-02-26 21:40:14Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":1}' from endpoint 1 with groupID 0
Info 2024-02-26 21:40:14MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":101,"elapsed":23082,"linkquality":54,"state":"OFF"}'
Info 2024-02-26 21:40:14MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":1,"elapsed":2,"linkquality":54,"state":"OFF"}'
Debug 2024-02-26 21:40:14Received Zigbee message from 'nordtronic_dim_1', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":1,"fileVersion":56,"imageType":2067,"manufacturerCode":4107}' from endpoint 1 with groupID 0
Debug 2024-02-26 21:40:14Device 'nordtronic_dim_1' requested OTA
Debug 2024-02-26 21:40:14Responded to OTA request of 'nordtronic_dim_1' with 'NO_IMAGE_AVAILABLE'
Error 2024-02-26 21:40:37Publish 'set' 'state' to 'lightsolutions_dim_1' failed: 'Error: Command 0x385b44fffe1b3d45/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 34084 - 1 - 13 - 6 - 11 after 10000ms)'
Debug 2024-02-26 21:40:37Error: Command 0x385b44fffe1b3d45/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 34084 - 1 - 13 - 6 - 11 after 10000ms) at Object.start (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:63:23) at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:502:47) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20) at Request.send (/app/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:79:20) at Endpoint.command (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:746:28) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:46:17) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:1116:32) at Publish.onMQTTMessage (/app/lib/extension/publish.ts:249:36) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17)
Debug 2024-02-26 21:40:37Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
Debug 2024-02-26 21:40:37Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":101}' from endpoint 1 with groupID 0
Info 2024-02-26 21:40:37MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":1,"elapsed":23062,"linkquality":51,"state":"ON"}'
Info 2024-02-26 21:40:37MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":101,"elapsed":3,"linkquality":51,"state":"ON"}'
```
Playing with brightness brought one thing to the table. If I set the brightness to 0, it does looks like it's handling the "turn off". And every time I use the "turn on" toggle (not by setting brightness), it turns on, without throwing a error.
But every time I use "turn off", I get the error.
I also noticed that it's not every time the frontend toggles the "switch", if I set brightness to 0. It looks like that's also reflected in the logs.
```
Info 2024-02-26 21:53:25MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":158,"linkquality":54,"state":"ON"}
Debug 2024-02-26 21:53:27Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":0}'
Debug 2024-02-26 21:53:27Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Debug 2024-02-26 21:53:27Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Info 2024-02-26 21:53:27MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":158,"elapsed":1940,"linkquality":51,"state":"OFF"}'
Info 2024-02-26 21:53:27MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":0,"linkquality":51,"state":"OFF"}'
Debug 2024-02-26 21:53:28Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":184}'
Debug 2024-02-26 21:53:28Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Debug 2024-02-26 21:53:29Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
Info 2024-02-26 21:53:29MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":0,"elapsed":1377,"linkquality":51,"state":"ON"}'
Info 2024-02-26 21:53:29MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":184,"linkquality":51,"state":"ON"}'
Debug 2024-02-26 21:53:31Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":0}'
Debug 2024-02-26 21:53:31Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Debug 2024-02-26 21:53:31Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Info 2024-02-26 21:53:31MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":184,"elapsed":2108,"linkquality":51,"state":"OFF"}'
Info 2024-02-26 21:53:31MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":0,"linkquality":51,"state":"OFF"}'
Debug 2024-02-26 21:53:32Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":194}'
Debug 2024-02-26 21:53:32Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Debug 2024-02-26 21:53:32Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
Info 2024-02-26 21:53:32MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":0,"elapsed":1376,"linkquality":54,"state":"ON"}'
Info 2024-02-26 21:53:32MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":194,"linkquality":54,"state":"ON"}'
Debug 2024-02-26 21:53:34Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":194}' from endpoint 1 with groupID 0
Info 2024-02-26 21:53:34MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":194,"elapsed":1494,"linkquality":51,"state":"ON"}'
Debug 2024-02-26 21:53:34Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":0}'
Debug 2024-02-26 21:53:34Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Debug 2024-02-26 21:53:34Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Info 2024-02-26 21:53:34MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":194,"elapsed":333,"linkquality":51,"state":"OFF"}'
Info 2024-02-26 21:53:34MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":0,"linkquality":51,"state":"OFF"}'
Debug 2024-02-26 21:53:35Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":154}'
Debug 2024-02-26 21:53:35Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Debug 2024-02-26 21:53:35Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
Info 2024-02-26 21:53:35MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":0,"elapsed":1315,"linkquality":58,"state":"ON"}'
Info 2024-02-26 21:53:35MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":154,"linkquality":58,"state":"ON"}'
Debug 2024-02-26 21:53:37Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":0}'
Debug 2024-02-26 21:53:37Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Debug 2024-02-26 21:53:37Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Info 2024-02-26 21:53:37MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":154,"elapsed":2072,"linkquality":54,"state":"OFF"}'
Info 2024-02-26 21:53:37MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":0,"linkquality":54,"state":"OFF"}'
Debug 2024-02-26 21:53:39Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"state":"ON"}'
Debug 2024-02-26 21:53:39Publishing 'set' 'state' to 'lightsolutions_dim_1'
Debug 2024-02-26 21:53:39Received Zigbee message from 'lightsolutions_dim_1', type 'readResponse', cluster 'genLevelCtrl', data '{"onLevel":154}' from endpoint 1 with groupID 0
Info 2024-02-26 21:53:39MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":0,"elapsed":1465,"level_config":{"on_level":154},"linkquality":51,"state":"OFF"}'
Debug 2024-02-26 21:53:39Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
Info 2024-02-26 21:53:39MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":0,"elapsed":98,"level_config":{"on_level":154},"linkquality":51,"state":"ON"}'
Info 2024-02-26 21:53:39MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":154,"level_config":{"on_level":154},"linkquality":51,"state":"ON"}'
Debug 2024-02-26 21:53:42Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":189}'
Debug 2024-02-26 21:53:42Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Info 2024-02-26 21:53:42MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":189,"level_config":{"on_level":154},"linkquality":54,"state":"ON"}'
Debug 2024-02-26 21:53:43Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":189}' from endpoint 1 with groupID 0
Info 2024-02-26 21:53:43MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":189,"elapsed":4657,"level_config":{"on_level":154},"linkquality":54,"state":"ON"}'
Debug 2024-02-26 21:53:44Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":70}'
Debug 2024-02-26 21:53:44Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Info 2024-02-26 21:53:44MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":70,"level_config":{"on_level":154},"linkquality":51,"state":"ON"}'
Debug 2024-02-26 21:53:46Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":216}'
Debug 2024-02-26 21:53:46Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Info 2024-02-26 21:53:46MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":216,"level_config":{"on_level":154},"linkquality":54,"state":"ON"}'
Debug 2024-02-26 21:53:47Received Zigbee message from 'mijia_sensor1', type 'attributeReport', cluster 'genBasic', data '{"65282":[{"elmType":16,"elmVal":0},{"elmType":33,"elmVal":3025},{"elmType":33,"elmVal":17320},{"elmType":36,"elmVal":[0,1]},{"elmType":33,"elmVal":133},{"elmType":32,"elmVal":94}]}' from endpoint 1 with groupID 0
Debug 2024-02-26 21:53:47MCCGQ01LM: Processed data into payload {"contact":true,"voltage":3025,"battery":100,"power_outage_count":132}
Info 2024-02-26 21:53:47MQTT publish: topic 'zigbee2mqtt/mijia_sensor1', payload '{"battery":100,"contact":true,"elapsed":3635661,"linkquality":120,"power_outage_count":132,"voltage":3025}'
Debug 2024-02-26 21:53:47Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":0}'
Debug 2024-02-26 21:53:47Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Debug 2024-02-26 21:53:47Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Info 2024-02-26 21:53:47MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":216,"elapsed":3729,"level_config":{"on_level":154},"linkquality":51,"state":"OFF"}'
Info 2024-02-26 21:53:47MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":0,"level_config":{"on_level":154},"linkquality":51,"state":"OFF"}'
Debug 2024-02-26 21:53:52Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":142}'
Debug 2024-02-26 21:53:52Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Debug 2024-02-26 21:53:52Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
Info 2024-02-26 21:53:52MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":0,"elapsed":4679,"level_config":{"on_level":154},"linkquality":51,"state":"ON"}'
Info 2024-02-26 21:53:52MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":142,"level_config":{"on_level":154},"linkquality":51,"state":"ON"}'
Debug 2024-02-26 21:53:54Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":142}' from endpoint 1 with groupID 0
Info 2024-02-26 21:53:54MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":142,"elapsed":1576,"level_config":{"on_level":154},"linkquality":54,"state":"ON"}'
Debug 2024-02-26 21:53:54Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":0}'
Debug 2024-02-26 21:53:54Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Debug 2024-02-26 21:53:54Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Info 2024-02-26 21:53:54MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":142,"elapsed":691,"level_config":{"on_level":154},"linkquality":51,"state":"OFF"}'
Info 2024-02-26 21:53:54MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":0,"level_config":{"on_level":154},"linkquality":51,"state":"OFF"}'
Debug 2024-02-26 21:53:55Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":187}'
Debug 2024-02-26 21:53:55Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Debug 2024-02-26 21:53:55Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
Info 2024-02-26 21:53:55MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":0,"elapsed":1257,"level_config":{"on_level":154},"linkquality":54,"state":"ON"}'
Info 2024-02-26 21:53:55MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":187,"level_config":{"on_level":154},"linkquality":54,"state":"ON"}'
```
If I play even more with the brightness and toggles the light off here after, it's also clear that something works, and the device does wierd things, if I use the "turn off" option in ZigBee2MQTT:
```
Info 2024-02-26 21:59:53MQTT publish: topic 'zigbee2mqtt/lightbee_btn_3', payload '{"action":"release_1","elapsed":334,"linkquality":94}'
Info 2024-02-26 21:59:53MQTT publish: topic 'zigbee2mqtt/lightbee_btn_3/action', payload 'release_1'
Debug 2024-02-26 21:59:53Received MQTT message on 'zigbee2mqtt/bedroom_ceiling/set' with data '{"state":"ON"}'
Debug 2024-02-26 21:59:53Publishing 'set' 'state' to 'bedroom_ceiling'
Info 2024-02-26 21:59:53MQTT publish: topic 'zigbee2mqtt/hue9', payload '{"brightness":254,"color":{"h":30,"hue":30,"s":86,"saturation":86,"x":0.477,"y":0.4137},"color_mode":"color_temp","color_temp":400,"linkquality":76,"power_on_behavior":null,"state":"ON","update":{"installed_version":16785162,"latest_version":16785162,"state":"idle"},"update_available":false}'
Info 2024-02-26 21:59:53MQTT publish: topic 'zigbee2mqtt/bedroom_ceiling', payload '{"brightness":254,"color":{"h":30,"hue":30,"s":86,"saturation":86,"x":0.477,"y":0.4137},"color_mode":"color_temp","color_temp":400,"state":"ON"}'
Info 2024-02-26 21:59:53MQTT publish: topic 'zigbee2mqtt/hue10', payload '{"brightness":254,"color":{"h":30,"hue":30,"s":86,"saturation":86,"x":0.477,"y":0.4137},"color_mode":"color_temp","color_temp":400,"linkquality":72,"power_on_behavior":null,"state":"ON","update":{"installed_version":16785162,"latest_version":16785162,"state":"idle"},"update_available":false}'
Info 2024-02-26 21:59:53MQTT publish: topic 'zigbee2mqtt/hue11', payload '{"brightness":254,"color":{"h":30,"hue":30,"s":86,"saturation":86,"x":0.477,"y":0.4137},"color_mode":"color_temp","color_temp":400,"linkquality":61,"power_on_behavior":null,"state":"ON","update":{"installed_version":16785162,"latest_version":16785162,"state":"idle"},"update_available":true}'
Debug 2024-02-26 21:59:54Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":0}'
Debug 2024-02-26 21:59:54Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Debug 2024-02-26 21:59:54Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Debug 2024-02-26 21:59:54Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":175}' from endpoint 1 with groupID 0
Info 2024-02-26 21:59:54MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":175,"elapsed":100762,"level_config":{"on_level":154},"linkquality":61,"state":"OFF"}'
Info 2024-02-26 21:59:54MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":175,"elapsed":2,"level_config":{"on_level":154},"linkquality":61,"state":"OFF"}'
Info 2024-02-26 21:59:54MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":0,"level_config":{"on_level":154},"linkquality":61,"state":"OFF"}'
Debug 2024-02-26 21:59:55Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":200}'
Debug 2024-02-26 21:59:55Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Debug 2024-02-26 21:59:56Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
Info 2024-02-26 21:59:56MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":0,"elapsed":1628,"level_config":{"on_level":154},"linkquality":47,"state":"ON"}'
Info 2024-02-26 21:59:56MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":200,"level_config":{"on_level":154},"linkquality":47,"state":"ON"}'
Debug 2024-02-26 22:00:03Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":106}'
Debug 2024-02-26 22:00:03Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Info 2024-02-26 22:00:03MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":106,"level_config":{"on_level":154},"linkquality":61,"state":"ON"}'
Debug 2024-02-26 22:00:04Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":195}'
Debug 2024-02-26 22:00:04Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Debug 2024-02-26 22:00:04Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":106}' from endpoint 1 with groupID 0
Info 2024-02-26 22:00:04MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":106,"elapsed":8306,"level_config":{"on_level":154},"linkquality":61,"state":"ON"}'
Info 2024-02-26 22:00:04MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":195,"level_config":{"on_level":154},"linkquality":58,"state":"ON"}'
Debug 2024-02-26 22:00:05Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":55}'
Debug 2024-02-26 22:00:05Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Info 2024-02-26 22:00:05MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":55,"level_config":{"on_level":154},"linkquality":58,"state":"ON"}'
Debug 2024-02-26 22:00:07Received Zigbee message from 'nordtronic_dim_1', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":1,"fileVersion":56,"imageType":2067,"manufacturerCode":4107}' from endpoint 1 with groupID 0
Debug 2024-02-26 22:00:07Device 'nordtronic_dim_1' requested OTA
Debug 2024-02-26 22:00:07Responded to OTA request of 'nordtronic_dim_1' with 'NO_IMAGE_AVAILABLE'
Debug 2024-02-26 22:00:07Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":17}'
Debug 2024-02-26 22:00:07Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Info 2024-02-26 22:00:07MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":17,"level_config":{"on_level":154},"linkquality":61,"state":"ON"}'
Debug 2024-02-26 22:00:10Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":0}'
Debug 2024-02-26 22:00:10Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Debug 2024-02-26 22:00:10Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Info 2024-02-26 22:00:10MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":17,"elapsed":5967,"level_config":{"on_level":154},"linkquality":58,"state":"OFF"}'
Info 2024-02-26 22:00:10MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":0,"level_config":{"on_level":154},"linkquality":58,"state":"OFF"}'
Debug 2024-02-26 22:00:11Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":169}'
Debug 2024-02-26 22:00:11Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Debug 2024-02-26 22:00:11Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
Info 2024-02-26 22:00:11MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":0,"elapsed":1335,"level_config":{"on_level":154},"linkquality":58,"state":"ON"}'
Info 2024-02-26 22:00:11MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":169,"level_config":{"on_level":154},"linkquality":58,"state":"ON"}'
Debug 2024-02-26 22:00:12Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":77}'
Debug 2024-02-26 22:00:12Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Info 2024-02-26 22:00:12MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":77,"level_config":{"on_level":154},"linkquality":43,"state":"ON"}'
Debug 2024-02-26 22:00:14Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":77}' from endpoint 1 with groupID 0
Info 2024-02-26 22:00:14MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":77,"elapsed":2685,"level_config":{"on_level":154},"linkquality":36,"state":"ON"}'
Debug 2024-02-26 22:00:15Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"state":"OFF"}'
Debug 2024-02-26 22:00:15Publishing 'set' 'state' to 'lightsolutions_dim_1'
Debug 2024-02-26 22:00:16Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Info 2024-02-26 22:00:16MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":77,"elapsed":1668,"level_config":{"on_level":154},"linkquality":43,"state":"OFF"}'
Debug 2024-02-26 22:00:18Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":185}'
Debug 2024-02-26 22:00:18Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Debug 2024-02-26 22:00:19Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":54}'
Debug 2024-02-26 22:00:19Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Debug 2024-02-26 22:00:20Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":135}'
Debug 2024-02-26 22:00:20Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Debug 2024-02-26 22:00:22Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":202}'
Debug 2024-02-26 22:00:22Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Debug 2024-02-26 22:00:23Received MQTT message on 'zigbee2mqtt/lightsolutions_dim_1/set' with data '{"brightness":55}'
Debug 2024-02-26 22:00:23Publishing 'set' 'brightness' to 'lightsolutions_dim_1'
Debug 2024-02-26 22:00:24Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":1}' from endpoint 1 with groupID 0
Info 2024-02-26 22:00:24MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":1,"elapsed":8302,"level_config":{"on_level":154},"linkquality":47,"state":"OFF"}'
Error 2024-02-26 22:00:39Publish 'set' 'state' to 'lightsolutions_dim_1' failed: 'Error: Command 0x385b44fffe1b3d45/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 34084 - 1 - 175 - 6 - 11 after 10000ms)'
Debug 2024-02-26 22:00:39Error: Command 0x385b44fffe1b3d45/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 34084 - 1 - 175 - 6 - 11 after 10000ms) at Object.start (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:63:23) at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:502:47) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20) at Request.send (/app/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:79:20) at Endpoint.command (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:746:28) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:46:17) at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:1116:32) at Publish.onMQTTMessage (/app/lib/extension/publish.ts:249:36) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17)
Debug 2024-02-26 22:00:39Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
Debug 2024-02-26 22:00:39Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":185}' from endpoint 1 with groupID 0
Info 2024-02-26 22:00:39MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":1,"elapsed":14806,"level_config":{"on_level":154},"linkquality":54,"state":"ON"}'
Info 2024-02-26 22:00:39MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":185,"elapsed":2,"level_config":{"on_level":154},"linkquality":54,"state":"ON"}'
Info 2024-02-26 22:00:39MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":185,"level_config":{"on_level":154},"linkquality":54,"state":"ON"}'
Info 2024-02-26 22:00:39MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":54,"level_config":{"on_level":154},"linkquality":54,"state":"ON"}'
Info 2024-02-26 22:00:39MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":135,"level_config":{"on_level":154},"linkquality":54,"state":"ON"}'
Info 2024-02-26 22:00:39MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":202,"level_config":{"on_level":154},"linkquality":54,"state":"ON"}'
Info 2024-02-26 22:00:39MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":55,"level_config":{"on_level":154},"linkquality":51,"state":"ON"}'
```
The **last one** are logs where I control the device, by using it's wheel, and it's "on/off" toggle button (pressing in the middel of the large dimmer-wheel), including adjusting brightness.
```
Debug 2024-02-26 22:03:56Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Info 2024-02-26 22:03:56MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":55,"elapsed":187231,"level_config":{"on_level":154},"linkquality":54,"state":"OFF"}'
Debug 2024-02-26 22:03:56Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":0}' from endpoint 1 with groupID 0
Info 2024-02-26 22:03:56MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":0,"elapsed":145,"level_config":{"on_level":154},"linkquality":51,"state":"OFF"}'
Debug 2024-02-26 22:04:00Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
Info 2024-02-26 22:04:00MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":0,"elapsed":4089,"level_config":{"on_level":154},"linkquality":54,"state":"ON"}'
Debug 2024-02-26 22:04:03Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Info 2024-02-26 22:04:03MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":0,"elapsed":3099,"level_config":{"on_level":154},"linkquality":47,"state":"OFF"}'
Debug 2024-02-26 22:04:05Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
Info 2024-02-26 22:04:05MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":0,"elapsed":2008,"level_config":{"on_level":154},"linkquality":47,"state":"ON"}'
Debug 2024-02-26 22:04:06Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":53}' from endpoint 1 with groupID 0
Info 2024-02-26 22:04:06MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":53,"elapsed":784,"level_config":{"on_level":154},"linkquality":47,"state":"ON"}'
Debug 2024-02-26 22:04:14Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Info 2024-02-26 22:04:14MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":53,"elapsed":7595,"level_config":{"on_level":154},"linkquality":58,"state":"OFF"}'
Debug 2024-02-26 22:04:16Received Zigbee message from 'lightsolutions_dim_1', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":0}' from endpoint 1 with groupID 0
Info 2024-02-26 22:04:16MQTT publish: topic 'zigbee2mqtt/lightsolutions_dim_1', payload '{"brightness":0,"elapsed":2389,"level_config":{"on_level":154},"linkquality":47,"state":"OFF"}'
```