-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
RGB controller with Nuvoton chip changes color on its own (Sonoff L1) #9545
Comments
Hi, please update to latest Tasmota version and try again. Thanks |
I'm now on version 9.0.0.2, but the issue stays exactly the same. edit: I tried my second RGB controller and I did no change other than choosing module 70-sonoff L1. It has the same issue |
Currently I cannot reproduce. I've tried both 8.5.1 and 9.0.0.2 and both perform as before. I also disabled MQTT as you did. My console output with weblog 4 reports a lot more information when a color is changed. Are you sure your reported console output is all you receive? Mine look at least like this:
|
I’m sorry, didn’t pay enough attention there. Was the normal Output, Not Weblog 4 20:19:24 CMD: Group 0, Index 1, Command "HSBCOLOR", Data "56" |
From your logging I have to conclude the color changes are coming from your Nuvotron chip. The way the L1 works is that IR remote detection and light control is all done by the Nuvotron chip. The ESP8266 chip running Tasmota is just a kind of slave following the nuvotron chip. Tasmota uses serial comms between the ESP8266 chip and the nuvotron chip. What you experience is color control initiated by the nuvotron chip communicated to Tasmota over serial hence the line Another, dark reason could be that the current nuvotron firmware (not under control of Tasmota) performs this task for some reason. |
It looks like it's only doing this on Green (color RRGGBB) and just counting down to zero. Wierd. |
You are right it is counting down to zero, but its not only green. That is depending on the color I choose. Can be red and blue as well. The funny thing is: It also happens, when I choose the color by IR. And I can definitely rule out the IR remote, because I haven`t had one anywhere near sometimes. I'm almost sure it has to do with the Nuvoton firmware (unfortunately). For me it seems like the firmware wants to have some bi-directional communication with esp, otherwise it doesn`t accept the color. |
I'm revisiting the L1 code. I see anomalies related to scaling up the color values needed for the L1. In addition I think your Nuvotron microcode is newer than mine and it responds to every color change with it's current color slightly different from what I calculated by scaling. This triggers a loop where the colors decrease to zero. Nice issue. |
Possible fix for auto color change Sonoff L1 (#9545)
Pls try the latest dev version and report back. |
Change Sonoff L1 color up scaling and color margin detection (#9545)
PROBLEM DESCRIPTION
My RGB controller with esp 8285 and novoton chip is changing color on its own to red, blue, green
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Backlog Rule1; Rule2; Rule3
:Status 0
:(Please use
weblog 4
for more debug information)TO REPRODUCE
Steps to reproduce the behavior:
I use the slider in main menu to switch color to e.g. orange, which is working and can be seen on the LED strip, but after seconds it goes step by step to red
If I switch to teal it goes to blue ...
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen.
color stays at the choosen color
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
I already reset everything, because I thought this issues was related to mqtt, which it wasnt
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: