-
Notifications
You must be signed in to change notification settings - Fork 16
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
Shelly Dimmer 2 - Flickering and Brightness issues #6
Comments
Brightness Level - try these 2 commands Flickering - check the Console log and make sure you actually see version 51.5, if not then upgrade again |
Thanks for the quick response! Brightness Level Flickering
Still flickering unfortunately. |
maybe just try
|
Fixed the brightness issue after all. Just down to this flickering issue now. |
unsure why you've got 2_7_4_9 when I've got 2_7_4_7 but I doubt that's really relevant.
You could check the |
I went ahead and switched it with Still flickers a slight bit on lower brightness, but I think it isn't noticeable enough at most brightness options for it to matter. I've also been staring at these flickering lights for a while and will need to give my eyes a break to know for sure. |
@luke3butler Do you use 50Hz or 60Hz mains in your region? I haven't been able to test this firmware with 60Hz so there could be a problem there...? |
I take it these settings helped out? If you are still having problems let me know and I will re-open this issue. |
Apologies on the late response. I am on 60Hz electricity, yes. I've tried a few different LED bulbs, including some Amazon Basics dimmable bulbs. No apparent flicker when using stock Shelly firmware. There's still flickering after these changes, although not quite as badly. Flicker is most noticable under 30% brightness. |
Ok, reopening this issue as it doesn't sound resolved. |
@luke3butler just to confirm, are you using a neutral wire in your setup? |
@jamesturton yes. |
Hi again. I have made two test versions for you. Please can you try these out and let me know if either of them help with the problem? The version 'beta-2' might act a little different, but it would be good if you could tell me if it helps at all with the flicker. |
Awesome, trying these out this evening (easier to see flickering after dark). |
@jamesturton So I flashed between the original 51.5, beta1, and beta2 three times so I could be sure of the differences. Beta 1 Beta 2 If I adjusted the DimmerRange for beta 2 to compensate, it'd be good enough for me. Thanks for the time you've put into this. If you have any more builds for me to test, need any more info, or want me to try getting a video, just let me know. |
Hey, I have a similar issue: I am also happy to test if you need. |
Hi all, I have a new version to test, which (in my testing) has reduced the flickering when used in a no-neutral setup. I hope this also improves the flickering in a normal neutral setup too. Please let me know your feedback! James |
Hi |
@jamesturton Ledtable is off, dimmer range is 10,100. Leading edge is 0 but the issue also exists on 1. Setting the bulb to 40%, the dimming looks fine if looking directly at the bulb, but if you look away so the bulb is in your peripheral vision, the flickering is very clear to see. Lower brightness settings show the issue more prominently. I'm on 50Hz. Shelly dimmer 1 with neutral. Tasmota 950. |
Hi @jj-uk, you are using dimmable bulbs right? I assume you are using Tasmota on the ESP? |
I've bought new bulbs to test with. They are Philips bulbs. They still flicker at between 50 and 80%. Tasmota is rejecting "warmup_brightness" as a command in the console. |
|
OK thanks. I'll try the command at a later time. The bulbs are "Philips Master 6W LEDluster E14 SES Golf Ball DimTone" - https://www.ledbulbs.co.uk/products/philips-6w-led-e14-ses-golf-ball-very-warm-white-dimmable-45358200 I have 5 in parallel. |
Hi, I have the same flickering issues at 100% brightness and a classic halogene light bulb.
I'm at 230V / 50Hz The beta2 above removes the flickering. The flickering is still there with the 51.6 release. Not sure what's the difference between 51.6 and the beta2 from above, but the beta2 works well for me whereas the 51.6 does not (still flickering). Is there a way to make to integrate the beta2 changes into the main release branch? |
Hi I also have flickering in a similar setup like @lngr does. |
Is this what you guys are running? |
@jj-uk I am running beta2 from the archive mentioned here: #6 (comment) |
@kratz00 Do you mean when using an external switch via the SW1 or SW2 connections? I find Tasmota sometimes takes several seconds to sense the switch which is really frustrating and would love a way to fix that! |
Ah ok. I'm not that familiar with github. I can only find "Releases". What needs clicking to get to archives? |
@rbswift Exactly, I meant an external switch. |
That's the one I'm using, too. |
@lngr Beta2 has a fixed frequency at 50Hz and will not work in regions where 60Hz is used. The 51.6 release (and all other official releases so far) have used adaptive frequency, whereby the STM32 will measure the line frequency and synchronise the dimming signal to that. But maybe a better approach would be, instead of constantly measuring the line frequency and using that value, to measure the value periodically and use a fixed 50Hz or 60Hz depending on which one is closer value. I will experiment a little when I get some free time one evening.
@rbswift I've seen this behavior too, but as far as I know, SW1 and SW2 are only connected to the ESP8266, not the STM32, so changing the firmware should have no effect... unless there is something else happening that I don't yet understand! |
@lngr Just to confirm, you are using the Shelly dimmer 2? |
@jamesturton yes, with a neutral line |
@rbswift what settings do you have in Tasmota for |
SwitchDebounce 100. I was getting phantom switching at default 50 thanks for any guidance. I’m using a rocker switch, not a momentary button btw |
Hello together, My setup:
If there are further logs I can contribute just tell me the commands to get them. Thanks a lot for the awesome work so far. |
I am wondering if this is the same issue. I am seeing every 1 second, the light dims maybe 20% from set brightness. My first time using the latest firmware, as my other shelly dimmer 2 have successfully been using the version released last year. The bulb is a normal halogen style, so no issue with leds. I will try flashing the older firmware tomorrow to see if it works, but I was just curious if this is the type of flickering discussed here. Edit: On further testing, with ShdLeadingEdge set to 0, the flickering will stop, but the maximum brightness is much lower (maybe 50%) of the bulb rating. With ShdLeadingEdge = 1, I have no dimmer control, and the light will be at 100% brightness and appears to be turning off (for milliseconds) every 1 second. Edit2: For now, I have went back to using v51.5 and it works perfectly. |
I'm also getting 51.6 flickering - 51.5 is fine. 240V 50Hz in UK |
I went back to 51.5 for now, but I'd love to use the no neutral on one device so I need 51.6 for that. When I've more time I'll do further testing. |
unfortunately my dimmer only works, when im using . ShdLeadingEdge 1 and then ShdLeadingEdge 0. after a few switch tapping my Shelly Dimmer 2 isnt working anymore. i have to reenter ShdLeadingEdge 1 and 0 . The config will not be saved. savedata0 and savedata1 not working. Please help |
First I want to thank you for the work you've put into adding support for these dimmers in Tasmota.
I'm somewhat new to using Tasmota, but I'm competent with hardware/software, so if there's anything you need me to try I'm all for it.
Tried on two devices (different set of lights as well) with the same results.
I wasn't sure if this was the right place to be reporting this issue, as I'm not sure if this has to do with the STM32 or not. If I need to report over on Tasmota's repo, then just let me know.
Prior to flashing Tasmota, had everything hooked up and working on Shelly's official firmware (1.9.x) without these issues.
Brightness Level
At (or less than) 46% the lights are fully off, 47% the lights look like they're at 1%.
46%-100% is pretty much a normal 0-100% linear brightness scale.
Flickering
It's quite bad, and I'll have to keep this device on full brightness until it's fixed. The flicker is more noticeable the lower the brightness gets, but even at higher levels it's noticeable.
I noticed that you fixed some flickering issues in the latest release, so I was a bit disappointed that I ran into this one.
Steps I took
reset 5
in the consoleThe text was updated successfully, but these errors were encountered: