Open lockuser opened 1 week ago
I guess the color is raw data... Can you monitor the device using the events and then change the color using Tuya APP
Go to Home Assistant -> Developer Tools -> Events then starts to listen to this event localtuya_device_dp_triggered
then go to tuya app and change the color if it reports in homeassistant post the events here.
@xZetsubou It looks like this bulb of a kind I made PR https://github.com/xZetsubou/hass-localtuya/pull/309 for!
@lockuser This kind of bulbs have write only DPs. They can be controlled, but there is no a way to know their states. My PR, apart from other changes, adds a selector for Effects (white, color, scene, music), but without tuning mode parameters.
localtuya_device_dp_triggered
When I change the color of the lamp or change the color temperature, nothing happens. However, if I change the scene, some events occur.
event_type: localtuya_device_dp_triggered data: device_id: bf96eewnaagmcbnq dp: "73" value: AgAAAGRkAQ== origin: LOCAL time_fired: "2024-09-09T02:56:04.226768+00:00" context: id: 01J7ABBDM2AKSG2TX75JQDTAXV parent_id: null user_id: null
event_type: localtuya_device_dp_triggered data: device_id: bf96eewnaagmcbnq dp: "73" value: BAACAFRkQAE= origin: LOCAL time_fired: "2024-09-09T02:56:18.563984+00:00" context: id: 01J7ABBVM3RFNN2G6E6ZCKRKY6 parent_id: null user_id: null
This kind of bulbs have write only DPs. They can be controlled, but there is no a way to know their states.
Yes, I see it in the Tuya app. However, the ability to set a color or color temperature, even without feedback, is already a huge progress!
The color data are being sent as encoded raw data
LocalTuya Version
2024.9.0
Home Assistant Version
2024.9.0
Environment
What happened?
Hi! First of all, thank you so much for this wonderful integration, it really is the best of all.
I tried adding a sub-device, a light bulb that is classified as a "dj". The lamp has been installed successfully, however, only the on/off trigger and brightness control work. In the native application, the color temperature and RGB are also regulated.
Is it possible to add support for other properties?
Steps to reproduce.
Relevant log output
No response
Diagnostics information.
localtuya-e8d90e6643ea8025f8a4a752eecce6c2-8003 pwmRGBCW 2-e0bbe69225adb36694e6196c45f4e726.json