-
Notifications
You must be signed in to change notification settings - Fork 562
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
Protocol 3.4 #1222
Protocol 3.4 #1222
Conversation
I was able to add an energy meter and it got the initial values but then it is not updating. I tried scan interval to 10 and still no update Correction: It does update sometimes but sporadically and definitely doesn't respect scan interval |
Well, sorry to read this. Can you enable debugging and post some interesting snippet of output so maybe I can understand the reason? The device I've been testing does not provide energy meter values... |
Will this be merged in with the Master at some point once tested? So that HomeAssistant recognized |LocalTuya has been updated? |
Of course, that is the plan. But I'd need to have some feedback to make sure everything is working properly before I merge it. |
Mine ended up being a v3.2 firmware but this did fix it. All DPs were discovered and I can fully control the lights. It's this one btw: https://monsterilluminessence.com/product/smart-led-light-strip/ Thanks so much for your work on this integration. I sent you a few euros :) |
Turns out debugging was already enabled. Here are some errors:
|
Just added a Ledvance RGB bulb with v3.4 and it works like a charm. Couldn't find the Color Temp dps but that does not matter. Great, thanks! |
Excellent news
…On Mon, 9 Jan 2023, 15:12 rospogrigio, ***@***.***> wrote:
Of course, that is the plan. But I'd need to have some feedback to make
sure everything is working properly before I merge it.
—
Reply to this email directly, view it on GitHub
<#1222 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2FHAFQXOJNMWXZW5Q7ZJE3WRQTFRANCNFSM6AAAAAATVJLQPM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@rospogrigio ignore the errors above. They were caused by another energy meter that is not supported and on 3.3 . I removed it and there are no errors now but the updates are still random. Checking the full log for anything relevant |
Opened the energy meter in the tuya app and it started updating according to scan interval. Closed the app and it continued. Hope it holds. |
966c3ec
to
f990e84
Compare
Had a attributeError 2023-01-10 11:14:21.388 ERROR (MainThread) [custom_components.localtuya.config_flow] Unexpected exception |
@bentessel yeah, that was reported also by another user, I have just pushed a fix, can you update and retry? |
@rospogrigio That seems to do the trick, i was able to add the device. 👍 |
Hello |
No, can't use HACS for this, you should download the files and overwrite them. Actually only |
3.4 Working perfectly for a light, an external switch and a wall switch! Love it, also tested 3.3 devices and work perfectly |
OK looks like I only got positive feedbacks, I'll publish a release shortly. |
Introduced support for 3.4 protocol (and incidentally, 3.2), merging code from tinytuya project.