Open Yuke-hd opened 3 years ago
Is there a tutorial on HA config-flow? I'm interested in implementing this feature myself, at least give it a try
I made a little Python script to decode or create new effect set. It is interactive and hope can be added to a GUI
@brandonongzy Nice! Small suggestion: Format it with Black. Also consider uploading it as a GitHub gist/repo.
@brandonongzy Nice! Small suggestion: Format it with Black. Also consider uploading it as a GitHub gist/repo.
Thanks for the suggestion, I have published to a repo here https://github.com/brandonongzy/LocalTuyaDecoder :)
Hi,
I finally figured out the dps for my led strip that didn't match the example. Now i can go crazy colours for party time locally.
Its great but my question is...
Is transition supported in localtuya? For me it has no affect on the speed of changes.
This is still worth all the effort since the official tuya is still cloud based and is the best thing i found for HA so far imho.
@acs-lux I don't think that Tuya on its own supports transition, and localtuya doesn't add that. Effects (part of Tuya on its own) might be used to add that, though.
Ah ok thanks
I will also be Interested on this, because I also miss some scenes. https://github.com/rospogrigio/localtuya/issues/659
In
light.py
I foundAfter playing with it for a while I found:
A = No. of entry in the APP aka
"scene_num"
B ="unit_switch_duration" and "unit_gradient_duration"
C ="unit_change_mode" [“static”,“jump”,“gradient”] (01-02)
D = four bytes of hue(0-0168)
E = four bytes of saturation(0-03e8)
F = four bytes of brightness(0-03e8)
G= padding (not sure)I was able to manually add my on effect:
It's just flash red and blue
Can someone confirm if the data schema is correct and is there a way to add custom effect via config-flow?