Open poldim opened 2 years ago
@edge90 @rnauber - since you added this component, i was wondering if you have any thoughts here or have experienced this on your shelly's?
@poldim I had a similar issue with my recently flashed dimmer 2. Mine would turn on successfully, but when turned off the shelly would shoot to 100% and complete ignore any lighting commands until a restart.
In my case, adding a minimum brightness has prevented the issue from reoccurring so far. I gave the minimum brightness a go since my issue was only happened when the light running at a very low brightness during the turn on phase.
Not sure if it will help you, but mentioning here just in case!
I will have a look as soon as I get some sparetime.
For me, the problem was partially solved by rolling back the fw to version: "51.5"
Now I still get a "brightness pop" when turning the light off. For example, if the light is dimmed to 50% and I send a turn off command in HA, it uses the esphome's transition setting to dim the light from 50% to 0%, but once it reaches at or near 0% it appears to have a momentary burst to something very bright (50-100%) and then immediately cuts to full off.
What kind of light are you using, led? If so, try to change leading_edge to false.
I've had a very similar experience with my LED light from IKEA that says it's non-dimmable. (It can be dimmed, though with a quiet buzzing sound when between ~10% and ~90% brightness). When I set leading_edge: true
and turned it on, I couldn't control my shelly until I flipped the breaker. With trailing edge and 51.5 it works fine though :)
All led lights should be trailing edge.
Had a similar issue for me it was two config settings. The Gramma value = 0 and the min brightness level = 470, both of which were in the example code.
These two settings combined caused the dimming curve to be so far up to effectively prevent dimming. Setting min to 0 and gamma to 2.8 allowed the lights to be usable long enough to figure out the appropriate minimum brightness threshold.
The problem
The dimmer connects to wifi and shows up in the dashboard as expected. I can connect and see logs. But if I turn it on, it goes to 100% brightness and then does not respond to any lighting changes. IE trying to dim it, turn it off, etc. The only thing I can do is reboot the ESP via a soft restart switch.
Which version of ESPHome has the issue?
v2022.7.0-dev
What type of installation are you using?
Docker
Which version of Home Assistant has the issue?
2022.7.5
What platform are you using?
ESP8266
Board
shelly
Component causing the issue
shelly_dimmer
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
I previously had a shelly dimmer v1 installed on this circuit running original mgOS and it had been dimming the circuit without issues. This eliminates any concern about installation wiring/bulbs.