-
Notifications
You must be signed in to change notification settings - Fork 584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RGBW Control #143
Comments
Hi @buzurk26 there is already an issue open about scenes: #131 If you have this configurations options, can you describe the behavior of the white value slider in conjunction of the brightness one ? Are they linked in any manner ? What are the way to go from color to white and the opposite ? |
I'd like to add onto this. I have a RGBCW bulb which isn't functioning just right either. It seems as if I'm missing an option, and I believe the white value might help out with this. For reference, these are the bulbs I have. Edit: I had a misconfiguration where I assigned the max brightness as |
Hi @FeikoJoosten, i assume you are using master. Some questions:
Now, to help in debugging, I need to first know the boundaries of the light. Using the tuya app, set the brightness/color_temp/white_value to max and min and each time, using How to get a DP dump write down the values and report here. Thanks. |
@postlund question for you, when you edit the entity-configuration, the values are not synced, aren't they ? |
@ultratoto14 Currently no, they have values from when the device was initially added. Would be great to fix that... |
@postlund just thinking of a way to easily have DP dumps for users, maybe a configuration option that can add full DPs as an extra attribute, or even as an automatically added text sensor ? |
@ultratoto14 I was working on a debug menu for the config flow to do this a while back, but it got messy and didn't fit in so I abandoned it. My intention is to add it as an attribute to a status sensor, once I get the going. I think I have some base code laying around for it, will se when I can fix and push it. |
Hi @ultratoto14, thanks for your response!
Yes, I'm indeed using the master version.
The bulb does change it's color temperature properly.
I switch the switch on using HomeAssistant. And I set the color to white using the color wheel. I have 2 bulbs of this model/type. 1 of which is still synced through Tuya and the other bulb is now synced through LocalTuya. When I do the same with the Tuya bulb it is set properly to a color of white. With the LocalTuya one, it's set to a blue ish white.
Yeah my screenshot was a bit outdated, as I had now set the scene value to value 6 which properly assigned the scene value.
I'd love to do a datadumb, but for some reason the lamp doesn't want me to do this. (Yes it's disconnected from the Tuya app, no other devices are interacting with it, etc).
|
@ultratoto14 Okay, I managed to do a DP of the Tuya device. Here are the DPs Max:
Min:
|
@FeikoJoosten Sorry to bother you, the two dumps are exactly the same, something went wrong. |
@ultratoto14 Whoops my bad. That was a copy paste mistake haha. Anyway, I've fixed the original post. I'd also like to point out that the info in TuyaCloud is pretty convenient as well as it gives a bit more context what each value stands for. |
Also figured out that I had a min brightness value assigned of |
@FeikoJoosten Ahhh, its clearer now 😄. On the tuya devices the white and colors are separated. When you use the color picker to change to white, it still use the color leds to display your choice, it explains why you have this behavior. To switch to white, try to change the color_temp slider instead. |
@ultratoto14 that does seem to make sense, but I'd say this is a bug then though. As the regular Tuya integration does support this properly. The lamp switches to white mode whenever I select the white color 😉 |
@FeikoJoosten can you check the PR #182 ? |
how do you get the DPs, I got some mirabella genio bulbs https://www.kmart.com.au/product/mirabella-genio-smart-home-wi-fi-dimmable-5w-led-light/3188305, i got them into localtuya, i can get power on/off but thats about it |
@ultratoto14 What exactly do you want me to check? 😅 The code or the functionality? @buzurk26 I added the lamp using Tuya/Smart Life and then followed the instructions from HOWTO get a DPs dump. Be sure to close the Tuya/Smart Life app as it can interfere with the connection. The LocalTuya approach never worked for me. |
@FeikoJoosten the functionality as it should be a fix to your issue 😄 (but to do so you need to test the code on your install) |
@FeikoJoosten how you got the info from your screenshot of the cloud? Maybe it would help to figure out, how we can find a better way to set our devices. I put my idea at #659 |
@ThomasCr loging to iot.tuya.com. On the side --> Cloud --> Development --> Ensure the correct data center (top right) --> click on the devices tab --> select a list of your devices under the |
@FeikoJoosten How did you get DPs after that error? I'm stuck on that error for the device that does not have function set in tuya cloud |
Sorry, it’s been way over a year since I’ve looked at that. I don’t recall on how you should do this. |
as for the error message - tuya app on phone and other means of connecting to the device can't be used at the same time as for the missing instruction set in iot.tuya.com - no idea |
Hi, Great plugin, got my bulbs into HA finally which is great!
Couple of things i am missing and hope to be able to add are
When adding my lights, there appears to be a dropdown for it, but it does not seem to do anything
The text was updated successfully, but these errors were encountered: