Tasmoto T1 UK 3 Gang Switch 1 always switch ON. other 2 switches working fine Please help

Hi I recently added Sonoff T1 UK 3 Gand Tasmoto 5.14.0

Below is the config.yaml for all three switches

switch 01:
    platform: mqtt
    name: "Party Light"
    command_topic: "cmnd/sonoff06/power1"
    state_topic: "stat/sonoff06/POWER1"
    qos: 1
    payload_on: "ON"
    payload_off: "OFF"
    retain: false
    
switch 02:
    platform: mqtt
    name: "Bedroom Fan"
    command_topic: "cmnd/sonoff06/power2"
    state_topic: "stat/sonoff06/POWER2"
    qos: 1
    payload_on: "ON"
    payload_off: "OFF"
    retain: false
    
switch 03:
    platform: mqtt
    name: "Bedroom Tube Light"
    command_topic: "cmnd/sonoff06/power3"
    state_topic: "stat/sonoff06/POWER3"
    qos: 1
    payload_on: "ON"
    payload_off: "OFF"
    retain: false

The Issue:
2nd & 3rd Gang switch works fine.
but the 1st switch turns ON & OFF every few minutes automatically.

I happen to see this youtube tutorial https://www.youtube.com/watch?v=31IyfM1gygo

and resolution following options under Tasmoto Console:

    SwitchRetain Off
    ButtonRetain On
    ButtonRetain Off

But No resolution yet. The Swiching ON & OFF of the 1st switch keeps happening.
Need your help to resolve the same.

Please Help

Need your logs to resolve the issue.

Please help others to help you.

1 Like
07:42:09 MQT: stat/sonoff06/RESULT = {"POWER1":"OFF"}
07:42:09 MQT: stat/sonoff06/POWER1 = OFF (retained)
07:42:20 MQT: tele/sonoff06/STATE = {"Time":"2018-10-07T07:42:20","Uptime":"0T02:31:33","Vcc":3.156,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","Wifi":{"AP":2,"SSId":"Chaku_Home_Ext","RSSI":100,"APMac":"70:4F:57:78:8F:C3"}}
07:47:41 MQT: tele/sonoff06/STATE = {"Time":"2018-10-07T07:47:41","Uptime":"0T02:36:54","Vcc":3.156,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","Wifi":{"AP":2,"SSId":"Chaku_Home_Ext","RSSI":100,"APMac":"70:4F:57:78:8F:C3"}}
07:48:25 MQT: cmnd/sonoff06/POWER1 = ON
07:48:26 MQT: stat/sonoff06/RESULT = {"POWER1":"ON"}
07:48:26 MQT: stat/sonoff06/POWER1 = ON (retained)

Assuming you get the equivalent off command, something is sending MQTT messages. Do you have any automations running on HA (or any other machine for that matter)?

1 Like

I have added these switches newly. No automation set so far.

You need to establish where these messages are coming from. If you stop HA, does it continue to change state? If so, then something in HA is sending the message. If not, it is something else on your network.

If it is something in HA, then increasing the logging level should show what is being triggered to send the message.

1 Like

One more thing i observed is when i type ButtonRetain Off
In tasmoto console. Nothing happens. Which means the command is not executed?
Is that a issue?

I figured out something insane.
i have configured the RF ON/OFF using standard sonoff RF Remote for my 3Gang Sonoff T1
i also have a RF motion sensor in the same room. Loooks like the motion sensor sends the singnal wen motion is detected is grabbed by this switch1.

1 Like

Tasmota - seems like a small point, but people search the forums, and misspelling doesn’t help!

Noted thanks @nickrout