-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Sonoff LED #16
Comments
Still waiting for mine to arrive... |
Hi, just received my Sonoff LED. Not tested to much yet (loaded with Theo's latest), but power on/off works, as well as Dimmer 0-100. But I have noticed that the leds blink shortly (quick power off on) when I change the dimmer value. |
Hi again! Did some more simple testing after uploading 3.9.11. The "Dimmer" command only works for the "cold" led, in my case, the "warm" led is always at about 50%, but both can be turned on or off. The led-strip contains two different leds, which has its own output, one "cold" white and one "warm" white. Best regards, |
Does a dimmer2 command do anything to the warm led? |
Hi! Yes, Dimmer2 handles the warm led, thanks - I missed that one! :) |
For those interested: I received my Sonoff Led and fixed the low dimmer values; it appears the default analogWrite range is from 0 to 1023. I fixed that so the full range of light is available. Currently working on:
The flickering is caused by the config save routine which disables interrupts while updating the flash. Temporary workaround is changing the config save time from the default 1 second to say 60 seconds with command To be continued... |
Sounds great - thanks for your findings! |
3.9.18 20170218 * Fix ledstate 0 to turn off led * Fix Sonoff Led dimmer range (#16) * Change Sonoff Led command Dimmer to act on both cold and warm color * Add Sonoff Led command Color CCWW where CCWW are hexadecimal values fro 00 - FF * Reduce Sonoff Led flickering by disabling interrupts during flash save and disabling * Led during OTA upgrade and Web upload (#16)
A quick look shows that GPIO 4, 5 and 15 are easily accessible (reserved for RGB?). So with some small modifications these should be available for other use. I will try to add an external push-button switch to be able to turn the leds on/off with a smooth transition. I already have the wirings for an old lamp in the kitchen which I want to replace, but still use the physical switch to turn them on/off. |
3.9.18 20170218 * Fix ledstate 0 to turn off led * Fix Sonoff Led dimmer range (arendst#16) * Change Sonoff Led command Dimmer to act on both cold and warm color * Add Sonoff Led command Color CCWW where CCWW are hexadecimal values fro 00 - FF * Reduce Sonoff Led flickering by disabling interrupts during flash save and disabling * Led during OTA upgrade and Web upload (arendst#16)
I don't seem to be able to adjust the brightness of the LED's.
Currently, they are not as bright as a sonoff LED with the default firmware
The text was updated successfully, but these errors were encountered: