Koenkk / zigbee2mqtt

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

QS-Zigbee-D02-TRIAC-2C-L Dimmer switching works, but dimming not #14628

Closed FizykPSX closed 1 year ago

FizykPSX commented 2 years ago

What happened?

I have added [QS-Zigbee-D02-TRIAC-2C-L] dimmer to zigbee2mqtt without any issues, but it appears that dimming function doesn't work, either from zigbee2mqtt web interface nor Home Assistant. It does work from physical interface though. I do not intend to use it with physical switch (I use scene switcher) and dim function should be triggered by automations.

Issue was tested on both stable and dev branches of docker image.

What did you expect to happen?

I would expect to be able to adjust brightness from Home Assistant/Zigbee2mqtt web interface

How to reproduce it (minimal and precise)

Add dimmer to zigbee2mqtt and try to dim or brighten bulbs

Zigbee2MQTT version

1.28.0-dev commit: 08ceae2

Adapter firmware version

20220219

Adapter

Sonof Zigbee USB 3.0 Dongle

Debug log

No errors are produced, logs shows normal operation:

2022-10-24 13:49:21LQI succeeded for 'Ściemniacz Kuchnia' 2022-10-24 13:50:47Received MQTT message on 'zigbee2mqtt/Ściemniacz Kuchnia/set' with data '{"brightness_l1":65}' 2022-10-24 13:50:47Publishing 'set' 'brightness' to 'Ściemniacz Kuchnia'

gdbd commented 1 year ago

@gdbd does it work correctly from the z2m frontend?

yes, correctly change brightness

in HA it also can control brightness manually but the is no actions to set it directly to the value by automation

only increase and decrease brightness posssible

Koenkk commented 1 year ago

in HA it also can control brightness manually but the is no actions to set it directly to the value by automation

I don't understand what you mean with this, can you explain it further?

gdbd commented 1 year ago

Sorry, In a simple words: there is no way to create automation from external software which can get/set brightness value.

device does not privide controls to change brightness:

2023-05-15_20-27

but via this widget it can be changed manually and work as expected:

2023-05-15_20-39

so, because if this, available automation actions not contain something like 'set brightness to value', only these:

2023-05-15_20-28

not sure this is responsibility of z2m, sorry if this true

Koenkk commented 1 year ago

None of my lights in HA provide this, you can set the brightness with "call a service" -> "brightness value".

not sure this is responsibility of z2m, sorry if this true

Indeed out of scope for Z2M, for further help use the HA support channels.

gdbd commented 1 year ago

None of my lights in HA provide this, you can set the brightness with "call a service" -> "brightness value".

not sure this is responsibility of z2m, sorry if this true

Indeed out of scope for Z2M, for further help use the HA support channels.

thank you, this solve the problem!

AndreasMaverick commented 1 year ago

Hello Koenkk, I'm using your dev branch and figured out that "TOGGLE" is not functional with my QS-Zigbee-D02-TRIAC-2C-L. Is this expected from you? Thank you in advance for your assistance.

adekloet commented 1 year ago

Hi,

Has anybody tried the above converter for the TS110F _TZ3000_ktuoyvt5? it looks like this Loshono dimmer has the same issue with the Brightness not responding to the light turn on service call in HA.

Thanks