Koenkk / zigbee2mqtt

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

Device toggles light, but Zigbee2MQTT cannot handle the response (if any) and throws error after timeout - Device ID 3004482/3137308/3137309 #21586

Open exetico opened 9 months ago

exetico commented 9 months ago

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:

image

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.

SCR-20240226-qwzy

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)

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:

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:

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"}'
codedesperate commented 9 months ago

I would like to add that this exact thing is happening to me as well, and I have 6 of these devices all having this behaviour.

I'm on latest zigbee2mqtt, having it installed as a home assistant add-on. I'm using Sonoff ZBDongle-E on firmware 7.4.1.0

I also tried following the guide for adding support, but because zigbee2mqtt already identifies it as a (wrong) device, I can't get it to use my external converter. It seems it is recognized as an in-line cable dimmer/switch, whereas it is actually an in-wall dimmer/switch.

And this is the error I see on turn_off: error 2024-03-02 21:48:04Publish 'set' 'state' to 'Entrelyset' failed: 'Error: Command 0x385b44fffe1b38e2/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 - 62049 - 1 - 23 - 6 - 11 after 10000ms)'

debug 2024-03-02 21:48:04Error: Command 0x385b44fffe1b38e2/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 - 62049 - 1 - 23 - 6 - 11 after 10000ms) at Object.start (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:63:23) at EZSPAdapter.sendZclFrameToEndpointInternal (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/adapter/ezspAdapter.ts:492:47) 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:1119:32) at Publish.onMQTTMessage (/app/lib/extension/publish.ts:259:36) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17)

exetico commented 9 months ago

Yes, same error as me 👍. There must be a way to enforce the custom definition for the device. To be honest, I've not found the proper amount of time to fiddle with it, after I submitted the issue.

Could you share your work in a gist, and add the reference here, too?

If you join the official Discord chat, you'll find my nickname by searching for the issue (use the issue link). Fell free to add me 👍, and send a PM.

codedesperate commented 9 months ago

I was just playing around a bit actually, as I haven't tried adding an external converter before. I wanted to get it to load the initial converter, and then expand from there.

I took this as a reference. (The "Zigbee smart in-wall switch") https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/src/devices/livingwise.ts

And then did what the guide zigbee2mqtt guide states: https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html

This is what I was trying to make it load: https://gist.github.com/codedesperate/2347e499ecbb86c02d623f14d78e9fba

But even after including it in zigbee2mqtt, it would still match it with the "wrong" device after re-pairing.

skurki112 commented 8 months ago

Same problem, behaviour and error code

exetico commented 8 months ago

@codedesperate Did you get any closer? I'm sorry that I didn't follow up. I've not found time to fiddle with it.

exetico commented 8 months ago

So, I'm trying to update the firmware.

But I keep ending in a situation like this:

Debug 2024-03-26 19:01:08Received 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-03-26 19:01:08Device 'lightsolutions_dim_1' requested OTA
Debug 2024-03-26 19:01:08Responded to OTA request of 'lightsolutions_dim_1' with 'NO_IMAGE_AVAILABLE'

...

Debug 2024-03-26 20:11:17Received 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-03-26 20:11:17Device 'lightsolutions_dim_1' requested OTA
Debug 2024-03-26 20:11:17Responded to OTA request of 'lightsolutions_dim_1' with 'NO_IMAGE_AVAILABLE'

...

Debug 2024-03-26 20:41:14Device 'lightsolutions_dim_1' requested OTA
Debug 2024-03-26 20:41:14Responded to OTA request of 'lightsolutions_dim_1' with 'NO_IMAGE_AVAILABLE'
Debug 2024-03-26 20:41:18Received Zigbee message from 'blitzwolf_switch1', type 'readResponse', cluster 'haElectricalMeasurement', data

But, why can that be?

I've added this to my local ota index file (generated with zigbee-OTA.

[
    {
        "fileVersion": 4,
        "fileSize": 286646,
        "manufacturerCode": 4107,
        "imageType": 1000,
        "sha512": "2bc2678b5b990a5996ac55a58c81aa9510ecfdc1725d7bed00b6f84d20cd99f2ce5a143910ab6416a340a9326df61241289c834308e7025488fd380acbb87363",
        "url": "local_ota_firmwares/z3_dimmer_in_1_level_out_1_level_hzc_FW4.ota",
        "force": true
    }
]

Both manufacturerCode and imageType matches, and the fileVersion are higher, too. The file are located in the folder called local_ota_firmwares, with the name z3_dimmer_in_1_level_out_1_level_hzc_FW4.ota. The folder is located next to the configuration-file, and it's read by Zigbee2MQTT for other devices 🤔.

Here's a example for another device:

Debug 2024-03-26 18:51:57Device 'gledopto_light1' requested OTA
Debug 2024-03-26 18:51:57OTA: Checking if an update is available for '0x84fd27fffe97fab4' (GL-B-008P)
Debug 2024-03-26 18:51:57OTA: Is new image available for '0x84fd27fffe97fab4' (GL-B-008P), current '{"fieldControl":1,"manufacturerCode":4687,"imageType":0,"fileVersion":17}'
Debug 2024-03-26 18:51:57ZigbeeOTA: Getting image metadata for 'GL-B-008P'
Debug 2024-03-26 18:51:57ZigbeeOTA: Downloaded main index
Debug 2024-03-26 18:51:57ZigbeeOTA: Loading override index '/app/data/local_ota_index_file.json'
Debug 2024-03-26 18:51:57OTA: Is new image available for '0x84fd27fffe97fab4' (GL-B-008P), latest meta '{"fileVersion":7,"fileSize":291726,"url":"https://github.com/Koenkk/zigbee-OTA/raw/master/images/Gledopto/GL-B-008P_V17A1_OTAV7.ota","sha512":"788341b48089076a6d1c6f020f34699428adc5103ba18d54fe3b0b00bbee2212bef13ba853fe3f1c1fb247f6d17d29608a937ed897fdd9e5b5294b4ceee13ebe"}'
Debug 2024-03-26 18:51:57OTA: Update available for '0x84fd27fffe97fab4' (GL-B-008P): NO
Warning 2024-03-26 18:51:57OTA: Firmware on '0x84fd27fffe97fab4' (GL-B-008P) is newer than latest firmware online.

I just spotted this, just as a extra information 😄... https://www.alibaba.com/product-detail/DK-220V-240V-250W-Fuga-Standard_1600183409775.html

Resources, just to have them here: /src/devices/lightsolutions.ts, 18171#issuecomment-1616416833, Manual

codedesperate commented 7 months ago

@exetico I tried making a converter, but it kept recognizing it as the Light Solutions wire dimmer, and I couldn't get it to work.

Anyways.. I have no idea idea if my issue is due to this specific device, but I just wanted to report the following:

Updating to zigbee2mqtt 1.36.1 makes the devices unresponsive. Going back to 1.36.0 fixes this issues. I did read there was an issue with external converters, but this isn't a external converter right? https://github.com/Koenkk/zigbee2mqtt/discussions/22023#discussioncomment-8983175

@exetico do you have any issues on 1.36.1?

exetico commented 7 months ago

@codedesperate Fair. It's annoying that it doesn't work that well... I didn't manage to get it to firmware update. Even though I spend hours on that part. Personally I'm thinking about trying to see if it's possible to update it with a Hue Gateway, just to see if it acts better here, on the newer firmware.

What firmware are reported from your device?


Regarding Zigbee2MQTT, and the question about 1.36.x.

Before update:

Zigbee2MQTT version
[1.36.0](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.36.0) commit: [86ed71c](https://github.com/Koenkk/zigbee2mqtt/commit/86ed71c)
Coordinator type
zStack3x0
Coordinator revision
20230507
Coordinator IEEE Address
-REMOVED-
Frontend version
0.6.159
zigbee_herdsman_converters_version
18.42.0
zigbee_herdsman_version
0.35.1

After update:

Zigbee2MQTT version
[1.36.1](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.36.1) commit: [ffc2ff1](https://github.com/Koenkk/zigbee2mqtt/commit/ffc2ff1)
Coordinator type
zStack3x0
Coordinator revision
20230507
Coordinator IEEE Address
-REMOVED-
Frontend version
0.6.161
zigbee_herdsman_converters_version
19.11.2
zigbee_herdsman_version
0.40.3

Ater I updated, I turned off the light in Home Assistant. It responded as it would normally do. Same thing with dimming and so on. Just very delayed, with the same issues as normally in zigbee2mqtt:

image

I'd really like to get this product supported, as it's installed in my wall... But I guess someone, or I, need to find the proper amount of time, to get this working as expected.

codedesperate commented 7 months ago

@exetico Yeah i know what you mean, i have 6 installed in my walls. Would love it to be fully supported.

I have firmware version 1.00 Builddate: 20220523

I don't see OTA ability for these devices in Zigbee2mqtt. Did you find newer firmware versions somewhere?

Okay, my issue with 1.36.1 must lie elsewhere. Thanks for letting me know :)

exetico commented 7 months ago

Thats identical to mine, @codedesperate .

I asked the company where I ordered it from. You're more than welcome to DM me. I'm not gonna publish it here, in a public place.

Regarding 1.36.1, did you get some new issues in the logs for zigbee2mqtt, or?

codedesperate commented 7 months ago

@exetico Good News!

You know when you turn the light on, you can't turn it off straight away, but have to wait like 20 seconds?

Well today I migrated from my Sonoff ZBdongle-E to my old Conbee 2. Now the lights reacts instantly to all my commands, also when I execute them quickly. So, it behaves like it should. However, the log still gets riddled with the error messages, but at least they "work" now. This is the specific error:

Publish 'set' 'state' to 'Stuelyset' failed: 'Error: Command 0x385b44fffe1b3ab2/1 genOnOff.on({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received (108))'

Also, I flashed the latest stable firmware as be the supported adapters page, but my Aqara Roller shade drivers E1 required a new firmware to function. So I flashed latest firmware for Conbee 2, and so far it haven't given me issues, though I've only ran it for a few hours.

I'm gonna buy a Zigstar Stick of Sonoff ZBdongle-P or whatever my googeling tells me will perform the best.

I'm on Zigbee2mqtt 1.36.0. 1.36.1 breaks conbee 2 completely as well, every device unresponsive. But I can see on the issues page many conbee 2 users have problems with 1.36.1.

EDIT: Just bought this: https://www.domadoo.fr/fr/interface-domotique/7045-smlight-dongle-usb-zigbee-cc2652p7-soc-antenne-3db-zigbee2mqtt-et-zha.html

Listed as recommended, and uses the new CC2652P7. I'll report back when I get it all set up with that coordinator.

codedesperate commented 7 months ago

Okay, I switched to smlight slzb-07 cc2652p7 today, and it's back to being buggy :( I can control the lights but only with 30 second break between each command, and the log is riddled with errors.

exetico commented 6 months ago

Thanks for the update. I'd really like to see support for this in the future, but I'm not really sure how I can continue on my own.

If you end up finding a Hue Bridge, just to test it after the OTA, it would be great to hear if thinks works as expected after that.

codedesperate commented 6 months ago

I ended up buying a hue bridge, and running only these devices on a hue zigbee network, and then used the hue integration in homeassistant. This works without any issues, but I hope only temporarily until someone clever enough can get it to work with zigbee2mqtt.

The hue bridge is reporting firmware 1.00 | 100b-3e8 and showing up-to-date, no update available. So it doesn't seem like a a newer firmware has been officially launched.

garret commented 6 months ago

@codedesperate could you recap your current (hopefully temporary) solution? So I have a rpi3b+ with a zigbee sonoff adapter and zigbe22mqtt + home assistant. In order to have the light dimmers working as they are supposed to be (fast and reliable) it seems you need to connect them to a philips hue bridge. If I get one, could I connect the hue bridge to the same instance of zigbee2mqtt or I would need a separate instance just for the hue bridge or would I have to set the bridge up directly in home assistant without passing from zigbee2mqtt?

exetico commented 6 months ago

@garret I'm sure he's just adding the Hue Bridge to Home Assistant. Nothing from the Hue Bridge it looped through Zigbee2MQTT. That's my guess.

codedesperate commented 6 months ago

@garret and @exetico Yeah pretty much. I'm setting it up on the hue bridge on it's own zigbee network with the philips Hue app. Exactely as a regular Hue customer would.

Then in Homeassistant I add the Philips Hue integration, and the hue devices are added. It dosn't touch zigbee2mqtt at all.

It does result in two different zigbee networks which is really annoying. Though I run my WiFi on Channel 6, Philisp Hue channel 11, zigbee2mqtt channel 25. And everything works stable.

If these devices ever get added to zigbee2mqtt though, I would retire the Hue hub, and repair them with zigbee2mqtt.

garret commented 3 months ago

If one does not have a physical Hue bridge available, could setting up https://github.com/chrivers/bifrost be a solution? As I understand, this project tries to emulate a Philips Hue Bridge from Zigbee2mqtt

exetico commented 3 months ago

@garret If I understand the product scope the right way, its a solution to use the Hue app, and things in that eco-system. I don't ser how it should fix hos z2m talks with the device.

With that said; I'll take a look at the suggestion next week.

exetico commented 3 months ago

@codedesperate Did you spend some time trying and reverse the original commands sent from the Hue Bridge? I mean; It should be possible to get proper support in z2m by doing so, right?

Lyng308 commented 1 month ago

Hi I had the same problem, but a friend of mine had an older version of this dimmer that works. So I copied settings in Zigbee2MQTT from his dimmer and now my dimmer works perfectly. 😊

the settings i copied image image

exetico commented 1 month ago

@Lyng308 Thank you for sharing this!

I adjusted Reporting, but that ended in the same error:

z2m: Publish 'set' 'state' to 'lightsolutions_dim_1' failed: 'Error: ZCL 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 - 48863 - 1 - 63 - 6 - 11 after 10000ms)'

However, adjusting the Settings (specific) did the trick!

image

That's awesome!

For people finding this, here's the raw JSON values of above settings (as saved in database.db):

{
  "id": 41,
  "type": "Router",
  "ieeeAddr": "REMOVED",
  "nwkAddr": REMOVED,
  "manufId": 4107,
  "manufName": "Light Solutions",
  "powerSource": "Mains (single phase)",
  "modelId": "Dimmer-Switch-ZB3.0",
  "epList": [1, 242],
  "endpoints": {
    "1": {
      "profId": 260,
      "epId": 1,
      "devId": 257,
      "inClusterList": [0, 3, 4, 5, 6, 8, 2821, 4096],
      "outClusterList": [25],
      "clusters": {
        "genBasic": {
          "attributes": {
            "stackVersion": 0,
            "hwVersion": 0,
            "swBuildId": "1.00",
            "modelId": "Dimmer-Switch-ZB3.0"
          }
        },
        "genOnOff": { "attributes": { "onOff": 0 } },
        "genLevelCtrl": { "attributes": { "currentLevel": 0 } },
        "genPowerCfg": { "attributes": {} }
      },
      "binds": [
        {
          "cluster": 6,
          "type": "endpoint",
          "deviceIeeeAddress": "0x00124b001caa682e",
          "endpointID": 1
        },
        {
          "cluster": 8,
          "type": "endpoint",
          "deviceIeeeAddress": "0x00124b001caa682e",
          "endpointID": 1
        }
      ],
      "configuredReportings": [
        {
          "cluster": 8,
          "attrId": 0,
          "minRepIntval": 1,
          "maxRepIntval": 3600,
          "repChange": 1,
          "manufacturerCode": null
        },
        {
          "cluster": 6,
          "attrId": 0,
          "minRepIntval": 0,
          "maxRepIntval": 3600,
          "repChange": 10,
          "manufacturerCode": null
        }
      ],
      "meta": {}
    },
    "242": {
      "profId": 41440,
      "epId": 242,
      "devId": 97,
      "inClusterList": [],
      "outClusterList": [33],
      "clusters": {},
      "binds": [],
      "configuredReportings": [],
      "meta": {}
    }
  },
  "appVersion": 0,
  "stackVersion": 0,
  "hwVersion": 0,
  "dateCode": "20220523",
  "swBuildId": "1.00",
  "zclVersion": 8,
  "interviewCompleted": true,
  "meta": { "configured": 1324213189 },
  "lastSeen": 1728398426694
}
garret commented 1 month ago

I want to confirm that I just tried to ONLY change the "Settings (specific)" as @Lyng308 wrote above and now I can control the dimmer with home assistant without any delay. I will test in the coming days as I have many of these dimmers around my house.

Lyng308 commented 1 month ago

nice to hear it work for others to :)

the settings in reportning was only becuse HA was slow to display the changes in the dashboard when i adjusted on the dimmer :) @exetico @garret

garret commented 1 month ago

I can't manage to change the reporting section. I set the parameters showed in @Lyng308 image but when I go out and back again in the Reporting page, the default settings are there. I also tried by clicking "apply" to each setting but without success. Is there any special way of doing it?

Lyng308 commented 1 month ago

@garret i just typed it and use the arrows in text filed and the click apply

exetico commented 1 month ago

I still get these a lot, and I think it actually a making noise in my network.

error 2024-10-30 21:25:58z2m: EventBus error 'OTAUpdate/deviceMessage': CommandResponse 0x385b44fffe1b3d45/1 genOta.queryNextImageResponse({"status":152}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"reservedBits":0,"writeUndiv":false}) failed (Data request failed with error: 'MAC channel access failure' (225))
error 2024-10-30 21:39:15z2m: Failed to read state of 'lightsolutions_dim_1' after reconnect (ZCL command 0x385b44fffe1b3d45/1 genOnOff.read(["onOff"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Data request failed with error: 'MAC channel access failure' (225)))
error 2024-10-30 22:09:49z2m: Failed to read state of 'lightsolutions_dim_1' after reconnect (ZCL command 0x385b44fffe1b3d45/1 genOnOff.read(["onOff"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Timeout - 48863 - 1 - 144 - 6 - 1 after 10000ms))

Could some of you guys confirm if you're facing the same thing? It's hard to flag for Light Solutions, if it's just a "3rdparty problem", and if it works smoothly with a Hue Gateway (I'm unable to test that).

image

The "Light Solution" device are the only one making this kind of problem on my network with many devices. A lot have been paired since, and no other device are facing any issues...

Lyng308 commented 1 month ago

@exetico have you copyed all the settings or ?

I hade the samme issue when i pair a new dimmer

exetico commented 1 month ago

@Lyng308 Yes, same as suggested. But I'll try and re-pair it later today.