HA with Tasmota flashed Sonoff s20 - no local switch

Hi,

i got 2 Sonoff s20, flashed with tasmota firmware an added as “light” to the HASSio.

I can swicth them over the web in hass.io.

What i cant do is switch the state directly at the power-outlet with the button.

It switches instantly back to the “web.state”.

Whats wrong and how can i fixe this?

I already tryed the “retain” option with no change.

Thanks

Take a look at the Switch Modes of Tasmota.

1 Like

thanks, that should do what i want, but i cant see HOW i get these commands to my sonoff s20

in konsole SwitchMode 2 or siwtchmode=2 “command not known”

Note sure about the numbers, but according to the docs, it should be SwitchMode1 2.
I used SwitchMode2 3 for a external button on a sonoff basic.

thanks, but i see it that it should work in console, command seeams ok,
but when i press my local button, is isntalty switched back :-/

do you have maybe retain: true set in your config? Maybe this has something to do with it?

i tryed with retain true and retain false

with retain false, i cant switch it on the website. however ^^

did you set the Module_Type to 08 S20 Socket in the sonoff webinterface?

yes, is there any other config i oversee?