-
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
Dimmed LEDs flicker occasionally #3587
Comments
Hi, You have set sleep to 1. That is a known restriction. Please read wiki at: https://github.com/arendst/Sonoff-Tasmota/wiki/Energy-Saving. For that application of Tasmota you need sleep set to 0 |
Sorry, but that's not it. I disabled Sleep now (must have been a leftover from a reset to default values) and it still flickers. And please read my description, it's not that it's a little unsteady, it goes crazy over the whole brightness range. |
If |
Thanks. Also, with the H801, sleep is actually not a problem because the LED control is done externally. At least I can set sleep to 250 (for testing) and the LEDs are steady as ever, even when dimmed down very much - until the crazy flickering sets in, which is, it seems, independent of the actual brightness. |
sleep is set to 0 by the lights driver so that explains why you see no difference when sleep is configured as 250. If you enable more logging and monitor the webconsole you might get more info. |
I had the same once using WS2812 going mad suddenly. After flash erase and restore firmware it was gone. Unexplainable. |
Have you tried last development version? |
I haven't, but I have a suspicion that it might have something to do with WiFi connectivity issues, as in: bad WiFi reception, bad MQTT connectivity, waiting for MQTT and then PWM fails. To verify that I have applied the patch for the Tasmota MQTT library and flashed one of the problematic devices with it. I'll see how it behaves. If it continues, I'll try the dev version, but this dimmer is hidden behind a dry wall on the ceiling and mounted close to the dry wall is the LED panel, so if anything goes wrong with the firmware it means almost an hour work for me to get it down, flashed and up again. |
I think I'll need to explain a bit better: I was using PubSub MQTT because of the reconnection bug with the Tasmota library. Now that the fix for this bug is available, I am trying Tasmota MQTT again because it is non-blocking (and thus maybe less prone to network issues). |
Hi, If your issue is solved, please, remember to close this issue. Thanks |
Describe the bug
I have two applications where I dim lights with Tasmota: H801 LED controller and a custom circuit where I use D7 to PWM drive a small MOSFET to control the 10V dim control line of a dimmable LED ballast (of course with appropriate resistors).
Both worked absolutely fine (bar some minor flickering on low PWM values, which is explainable) with 5.12.0. I have flashed everything with 6.1.1 (built myself with 2.3.0) and also for testing with 5.14.0.
The problem with these newer versions is that from time to time (a couple of times per hour), the lights flicker like crazy, going though 0-100% states randomly. This lasts somewhere between 0.5 and 5 seconds. The ESP does NOT reboot, uptime continues. Log show nothing.
status 0
:Additional context
I can try to make a video, but the brightness flashes are hard to catch on my auto-exposure phone camera.
The text was updated successfully, but these errors were encountered: