Koenkk / zigbee2mqtt

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

Skydance Tuya WZ5 LED 5 in 1 - No converter available for 'get' 'color' () #12837

Closed jmbinette closed 2 years ago

jmbinette commented 2 years ago

What happened?

When trying to get the color status, we get the error : No converter available for 'get' 'color' ()

I have no experience in writing converters. @kirovilya could you help ?

What did you expect to happen?

Get the actual color status of the controller (Could be changed via a RF Remote)

How to reproduce it (minimal and precise)

In the EXPOSE section of the device, click the refresh button on the left of colors

Zigbee2MQTT version

1.25.2-1

Adapter firmware version

20220219

Adapter

Sonoff Zigbee 3.0

Debug log

No response

jmbinette commented 2 years ago

bump anyone ?

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

Sangoku commented 1 year ago

bumpt again?

pLavrenov commented 4 months ago

TS0601

Debug 2024-04-24 23:37:25Received MQTT message on 'zigbee2mqtt/0x2c1165fffe63e0f7/get' with data '{"color":""}' Debug 2024-04-24 23:37:25Skipping state because of Home Assistant Error 2024-04-24 23:37:25No converter available for 'get' 'color' ()

Koenkk commented 4 months ago

TuYa device don't support reading attributes, that's why you get the error.

pLavrenov commented 4 months ago

TuYa device don't support reading attributes, that's why you get the error.

What needs to be done to send parameters “h” and “s” to the mqtt /set channel. Now "hex" is sent and it doesn't work on the device. I rewrote the converter but it seems to me that this is not a very universal approach

Now the color change command looks like this {"color": {"hex": "#FF0018"}}

I wonder how to make it like this {"color": {"hex": "#FF0018", "h": 100, "s": 100}}

https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/src/devices/skydance.ts