Sonoff T2 US Series Gang3 with dimmer on 1 button live wire?

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 :smiley:

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.

Works well bar the flickering when on dimmer value 1.

Since it flickers at 1%.
You can set minimum level using dimmerrange

Yes, thought i would do that. thank you