I’m trying to control a water boiler electrical heating from OpenHAB (3.4.2 openhabian) according to my actual photovoltaic output.
Since I did not find a smart power dimmer, I use a Sonoff D1 (equipped with a more powerful triac) running Tasmota. The controlling uses a mosquitto broker on my raspi.
Probably, my problem is not in the Tasmota device but within OpenHAB, because it also happens, when the thing is offline.
When I step the dimmer up, everything works fine, as long as I don’t reach values with a 5 as last digit. Then the actor suddenly jumps up to the next decade.
So I start with 1,2,3,4 and the dimmer steps up normally. Entering the “5” causes him to jump immediately to 10. In the Tasmota console, I see the 5, immediately followed by the 10. At 15, the jump goes to 20. The similar problem happens at 25, 35, 45 etc.
Stepping down, the jumping occurs at 4 as last digit (from 25 to 20 instead of 24).
Resending the desired value (with delay) helps to overcome the problem, but I believe that a good bugfix is the better solution.
Here is the Dimmer channel code:
- id: Dimmer1
- id: DimmerSw1