forked from mileperhour/localtuya-homeassistant
-
Notifications
You must be signed in to change notification settings - Fork 579
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
LOHAS devices (and Tuya stack) driving me crazy #1890
Labels
bug
Something isn't working
Comments
And now even the 2 strips I thought i configured stopped working:
These are the logs I found. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem
Hello,
I have 4 spotlights and a bulb from Lohas:
I can control them using the Tuya app, and they appear in my Tuya developer portal. However, when I try to add the to localtuya I keep getting the following error:
Connection to device succeeded but no datapoints found, please try again. Create a new issue and include debug logs if problem persists.
I briefly managed to add 3 of the RGBW spotlights and the bulb using protocol 3.1, but they stopped responding briefly afterward.
During the brief moment they worked with localtuya they didn't seem to really match the the control pannel in HA.
Brightness, for example:
I set them all to full bright, and I saw them in full bright, yet the slider in HA sprang back to 23%.
The colors and white temperature were off too.
Despite this, they all continue to work fine in the Tuya mobile app.
During the short time I was able to control them with this module, I set a warmer white point on one of the spotlights. Now, I can’t return it to match the same white color as the others. Even if I set it back to 5000K using Home Assistant and the Tuya integration, it still appears orangish, closer to 4000K.
Environment
https://github.com/TuyaAPI/
and they give weird and confusing results with that too: mostly connection reset, but yet Nmap finds port 6668 open on all of them. I was able to list the datapoints for one of them once (protocol 3.1), and then nothingI only opened the app after the spotlights stopped responding to LocalTuya. At that point, I tried to fix the one stuck on off-white and return it to white. I can control all the devices just fine from the Tuya app, although the “broken white one” is still “broken.”
Steps to reproduce
I'm a bit confused by this whole thing, I'll do what I can but really I'm just:
3.Click on CONFUGURE
That time I was able to move to the next screen I sed the following datapoints:
Brightness (only for white color) --> 3
Color Temperature --> 4
Color Mode --> 2
Color --> 5
As I found them on the Tuya Developer portal:
DP dump
As mentioned I'd rather not mess with python stuff and the shell, and they don't "answer me" despite nmap showing open ports.
I did screenshot the dropdown that time it worked from the UI:
Additional information
I've been trying to set this integration up for months as I wasn't able to find clear documentation about the protocols and the data points. Today I was finally able to setup 2 LED strips, and I got stuck on these devices.
I'm still quite confused by the whole Tuya stack :(.
The text was updated successfully, but these errors were encountered: