Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Sonoff Mini External Switch Reversing Function

views
     
TSjianwei87
post Jul 26 2025, 12:42 PM, updated 4 months ago

Casual
***
Junior Member
481 posts

Joined: Jan 2007
I’m using Sonoff Mini with external switch and followed this wire diagram to install it. I also have a Sonoff wireless button, SNZB-01P.

However, I’m facing an issue. When I turn on my Sonoff Mini’s external switch (which is supposed to turn off the water pump), the water pump doesn’t run. The function is reversed. I need to ensure that I turn off my external switch and use the Sonoff wireless button SNZB-01P to turn it off only works normally.

How can I resolve this issue? I need the external switch function to work normally regardless of whether the water pump is on or off. When I turn on or off the external switch, it should follow the state of the water pump.

This post has been edited by jianwei87: Jul 26 2025, 12:42 PM
aroyo
post Jul 26 2025, 12:57 PM

New Member
*
Junior Member
13 posts

Joined: Nov 2004
QUOTE(jianwei87 @ Jul 26 2025, 12:42 PM)
I’m using Sonoff Mini with external switch and followed this wire diagram to install it. I also have a Sonoff wireless button, SNZB-01P.

However, I’m facing an issue. When I turn on my Sonoff Mini’s external switch (which is supposed to turn off the water pump), the water pump doesn’t run. The function is reversed. I need to ensure that I turn off my external switch and use the Sonoff wireless button SNZB-01P to turn it off only works normally.

How can I resolve this issue? I need the external switch function to work normally regardless of whether the water pump is on or off. When I turn on or off the external switch, it should follow the state of the water pump.
*
where is the diagram?
TSjianwei87
post Jul 26 2025, 03:52 PM

Casual
***
Junior Member
481 posts

Joined: Jan 2007
QUOTE(aroyo @ Jul 26 2025, 12:57 PM)
where is the diagram?
*
I do similar like this

user posted image
aroyo
post Jul 26 2025, 07:52 PM

New Member
*
Junior Member
13 posts

Joined: Nov 2004
QUOTE(jianwei87 @ Jul 26 2025, 03:52 PM)
I do similar like this

user posted image
*
the external switch can only function as a toggle. if the sonoff is on, it will toggle to off when you flip the switch. and vice versa, if sonoff is off flipping the switch will turn it on.
TSjianwei87
post Jul 26 2025, 10:38 PM

Casual
***
Junior Member
481 posts

Joined: Jan 2007
QUOTE(aroyo @ Jul 26 2025, 07:52 PM)
the external switch can only function as a toggle. if the sonoff is on, it will toggle to off when you flip the switch. and vice versa, if sonoff is off flipping the switch will turn it on.
*
Is it possible to toggle the switch without flipping the switch function?
aroyo
post Jul 26 2025, 10:42 PM

New Member
*
Junior Member
13 posts

Joined: Nov 2004
QUOTE(jianwei87 @ Jul 26 2025, 10:38 PM)
Is it possible to toggle the switch without flipping the switch function?
*
you can use sonoff app to toggle the switch. additionally since you have the wireless button, you could also create automation in sonoff app to toggle the switch upon click of the wireless button
TSjianwei87
post Jul 27 2025, 08:57 AM

Casual
***
Junior Member
481 posts

Joined: Jan 2007
QUOTE(aroyo @ Jul 26 2025, 10:42 PM)
you can use sonoff app to toggle the switch. additionally since you have the wireless button, you could also create automation in sonoff app to toggle the switch upon click of the wireless button
*
This is the only way to do it without rewiring the Sonoff Mini?
aroyo
post Jul 27 2025, 10:05 AM

New Member
*
Junior Member
13 posts

Joined: Nov 2004
QUOTE(jianwei87 @ Jul 27 2025, 08:57 AM)
This is the only way to do it without rewiring the Sonoff Mini?
*
rewiring the switch will not solve anything. the hard switch will always act as toggle switch.
TSjianwei87
post Jul 27 2025, 01:09 PM

Casual
***
Junior Member
481 posts

Joined: Jan 2007
QUOTE(aroyo @ Jul 27 2025, 10:05 AM)
rewiring the switch will not solve anything. the hard switch will always act as toggle switch.
*
But how can i toggle with external switch in app?
aroyo
post Jul 27 2025, 07:58 PM

New Member
*
Junior Member
13 posts

Joined: Nov 2004
QUOTE(jianwei87 @ Jul 27 2025, 01:09 PM)
But how can i toggle with external switch in app?
*
I'm assuming you have successfully configured both your sonoff mini and wireless button in ewelink apss.
1. Go to ewelink app, go to scene tab, click on the + button at upper right corner.
2. Add new trigger, select smart device , then select your wireless button, and select single click, click save multiple times until you arrive back to adding actions.
3. Add new actions, select smart device and select your sonoff mini, then select reverse(toggle) , then click save multiple times until you save the automation.

Now when you single click the wireless button, it will toggle your sonoff mini switch.
As always, the physical switch on the sonoff mini will also toggle your sonoff mini switch.


TSjianwei87
post Jul 28 2025, 02:51 PM

Casual
***
Junior Member
481 posts

Joined: Jan 2007
QUOTE(aroyo @ Jul 27 2025, 07:58 PM)
I'm assuming you have successfully configured both your sonoff mini and wireless button in ewelink apss.
1. Go to ewelink app, go to scene tab, click on the + button at upper right corner.
2. Add  new trigger, select smart device , then select your wireless button, and select single click, click save multiple times until you arrive back to adding actions.
3. Add new actions, select smart device and select your sonoff mini, then select reverse(toggle) , then click save multiple times until you save the automation.

Now when you single click the wireless button, it will toggle your sonoff mini switch.
As always, the physical switch on the sonoff mini will also toggle your sonoff mini switch.
*
What do you think I’m going to change in SONOFF MINIR4M MINI Extreme? I saw that it has a detach relay mode. Will this solve my problem?

This post has been edited by jianwei87: Jul 28 2025, 03:52 PM
aroyo
post Jul 28 2025, 03:34 PM

New Member
*
Junior Member
13 posts

Joined: Nov 2004
QUOTE(jianwei87 @ Jul 28 2025, 02:51 PM)
What do you think I’m going to change in SONOFF MINIR4M MINI Extreme? I saw that it has a detach reply mode. Will this solve my problem?
*
sorry i have no experience with that model of sonoff
louyeh
post Jul 28 2025, 05:13 PM

Look at all my stars!!
*******
Senior Member
3,032 posts

Joined: Jan 2003
In ewelink app:
Switch Mode = Following Mode. Enable Reverse option if needed.
Power-on State = Depends on your needs.

 

Change to:
| Lo-Fi Version
0.0273sec    0.43    5 queries    GZIP Disabled
Time is now: 25th November 2025 - 03:32 AM