Hello!
I got my dimmer today. Ive done all the config. The on and off works well but i cant seem to get the dimmer to log in console. I set SwitchMode1 11
but i dont see it log when i hold the button. Are these rules i should add?
Thanks
Hello!
I got my dimmer today. Ive done all the config. The on and off works well but i cant seem to get the dimmer to log in console. I set SwitchMode1 11
but i dont see it log when i hold the button. Are these rules i should add?
Thanks
Right, you still need to add the rules
https://tasmota.github.io/docs/Rules/#control-a-dimmer-with-one-switch
Yes,
I added as is but still not working. The only thing that happens right now is the on and off.
With group share it should send the commands straight to the dimmer as if they were one unit.
Backlog SwitchMode 11; SetOption32 10; Rule1 1;
Rule1
on system#boot do var1 + ENDON
on switch1#state=2 do POWER TOGGLE ENDON
on switch1#state=4 do DIMMER %var1% ENDON
on switch1#state=7 do event upordown=%var1% ENDON
on event#upordown=+ do var1 - ENDON
on event#upordown=- do var1 + ENDON
If i do this it works but its very slow and delayed.
Rule1
ON switch1#state=2 DO publish cmnd/bedroom_dimmer/POWER TOGGLE ENDON
ON switch1#state=4 DO publish cmnd/bedroom_dimmer/DIMMER %mem1% ENDON
ON switch1#state=5 DO mem1 - ENDON
ON switch1#state=6 DO mem1 + ENDON
Try increasing DimmerStep,
The default is 10.
Do you think it will solve the DIMMER command unknown? The command works on the dimmer D1. Not on the T2
I’d prefer not to do the publish route.
About that, dimmer command requires light or dimmer device.
So you’d need to emulate light on your switch by assigning fake pwm 1 to any pin (for brightness)
I’ve done this for a single switch, so you’d need to test this with multi gang
Ok, that works but adds another state and POWER3 which has another attribute for dimmer (0-100)
Its almost like i need to assign the values of POWER 3 to POWER 1.
19:18:12.766 MQT: stat/main_bedroom/RESULT = {"POWER3":"ON","Dimmer":21}
19:19:48.265 MQT: stat/main_bedroom/RESULT = {"POWER1":"OFF"}
19:19:48.268 MQT: stat/main_bedroom/POWER1 = OFF (retained)
19:19:50.976 MQT: stat/main_bedroom/RESULT = {"POWER1":"ON"}
19:19:50.979 MQT: stat/main_bedroom/POWER1 = ON (retained)
Which relay is for the dimmer? Relay 1?
Are you using devgroupname1 as well?
Both share bedroom_dimmer
11:44:45.334 MQT: stat/bedroom_dimmer/RESULT = {"DevGroupName1":"bedroom_dimmer","DevGroupName2":"","DevGroupName3":"","DevGroupName4":""}
Ive done this now:
Rule1:
On Switch1#State=2 Do POWER3 TOGGLE ENDON
Rule2: I cant get this right for Dimmer + and Dimmer -. It seems to hold and buffer if i release and it just carries on dimming or making bright after i have released.
Rule2 On Switch2#State=1 Do Dimmer + ENDON On Switch1#State=7 Do Dimmer - ENDON
Change to switchmode 12
That seems to have helped and is working i guess
Rule1
ON switch1#state=2 DO POWER3 TOGGLE ENDON
Rule2
on system#boot do var1 + ENDON
on switch1#state=4 do DIMMER %var1% ENDON
on switch1#state=7 do event upordown=%var1% ENDON
on event#upordown=+ do var1 - ENDON
on event#upordown=- do var1 + ENDON
Hmmm, maybe not.
It seems to just carry on dimming or increasing well after ive released.
12:37:02.714 MQT: stat/main_bedroom/RESULT = {“POWER3”:“ON”,“Dimmer”:11}
12:37:03.149 RUL: SWITCH1#STATE=4 performs “DIMMER +”
12:37:03.157 MQT: stat/main_bedroom/RESULT = {“POWER3”:“ON”,“Dimmer”:21}
12:37:03.650 RUL: SWITCH1#STATE=4 performs “DIMMER +”
12:37:03.658 MQT: stat/main_bedroom/RESULT = {“POWER3”:“ON”,“Dimmer”:31}
12:37:04.109 RUL: SWITCH1#STATE=4 performs “DIMMER +”
12:37:04.117 MQT: stat/main_bedroom/RESULT = {“POWER3”:“ON”,“Dimmer”:41}
12:37:04.606 RUL: SWITCH1#STATE=4 performs “DIMMER +”
12:37:04.616 MQT: stat/main_bedroom/RESULT = {“POWER3”:“ON”,“Dimmer”:51}
12:37:05.058 RUL: SWITCH1#STATE=4 performs “DIMMER +”
12:37:05.066 MQT: stat/main_bedroom/RESULT = {“POWER3”:“ON”,“Dimmer”:61}
12:37:05.557 RUL: SWITCH1#STATE=4 performs “DIMMER +”
12:37:05.565 MQT: stat/main_bedroom/RESULT = {“POWER3”:“ON”,“Dimmer”:71}
12:37:05.005 RUL: SWITCH1#STATE=4 performs “DIMMER +”
12:37:06.001 MQT: stat/main_bedroom/RESULT = {“POWER3”:“ON”,“Dimmer”:81}
12:37:06.492 RUL: SWITCH1#STATE=4 performs “DIMMER +”
12:37:06.500 MQT: stat/main_bedroom/RESULT = {“POWER3”:“ON”,“Dimmer”:91}
Can you verify it’s on switchmode 12?
switchmode1
Somehow you just knew. It wasnt it didnt register when i typed it in.
Was still on 11.
Its on 12 now and seems to be working. not buffering…
Thanks for your help, youve been great.
Since it flickers at 1%.
You can set minimum level using dimmerrange
Yes, thought i would do that. thank you