Pushbutton function needed

Needed
It’ll be awesome if you can configure your smart module (like Mini R2 PRO) to work with a pushbutton, instead of switch…

Actual Problem
If you use a pushbutton instead of normal switch, when you long press the button (1-1,5 seconds) it turns on/off instead of turning on or turning off… In short, it changes the state 2 times with 1 press.

Solution
That can be reached if there’s an option like “Rest Time after Switch”, where you can set 1 sec, 2 sec… So, after the eWeLink receive the command, it’ll ignore all commands for the next 1 sec or 2 sec…

I’d like to loop @Daniel_Zhan from SONOFF to evaluate this request.

The MINIR4 supports the eWeLink Remote so you can use the R5 as a push button.
Please refer to this product.

But I think you can solve the push button problem in Mini R2 PRO with a software solution… It’s not viable for who have brought Mini R2 PRO to buy a new MINIR4 only because of that…

There is an external switch mode option in the device setting, you can configure it as “pulse mode” which is designed for the push button. In general use, the press is less than 1 second.

Would you please share with us the scenario that needs long-press the button up to 1-1.5s, thanks

But if I configure it as pulse mode, it’ll turn off immediately after realeasing the button, I want it to keep on…

The scenario:

I’ve a control box which controls all motors from my pool, filter, heater, led and whirlpool…

They’re all controlled by Mini’s R3

I’ve to use a push button because sometimes I turn it on by app and turn it off by pressing it

If I had a normal button, it wouldn’t “sync” the press state with actual state, that’s why I used a push button, because it’ll be always depressed.

Please use such push button switch

image

It won’t fit in my command box… Take a look in the picture that I posted above

Hi Daniel, I noticed that you are from Sonoff and I have a question regarding Sonoff push button switches. My Home Automation setup is based around the Sonoff iHost, Sonoff Zigbee sensors/ etc and Google Home.

I am very happy with my setup, but the one thing that is frustrating is that you cannot initiate a Scene on Google Home with the Sonoff Push Button Switch.

Is this a Google or Sonoff issue? and is it possible for Sonoff to engage Google Home to enable this functionality?

It would help with wifi/ IR devices that are not linked to the iHost.

Thanks, Matt

you could bypass eWeLink by linking Google to Node Red on the iHost. Then use Node Red to control the Sonoff device. I do it to control local devices on the iHost that appear on the iHost only because my google home devices are too old to have matter.

Thanks Eerke, I will investigate “linking Google to Node Red” and “use Node Red to control the Sonoff device”
There might be a few questions if you don’t mind.

No problems but it’s very simple to do. Just install Node Red docker on the iHost, the eWeLink palette and then search for Google in the palette manager. From memory the one I use has something like “hard” in the name. Pretty sure they all work the same though. Google Home connects to it and it connects to Node Red on the iHost. The one I use has a limited number of types of device. For example, I don’t think it does smoke detectors.

This is the one I used to use before I figured out a better way of doing it using my own bridge.

I had one minir2 and one minir4 installed for the lights, both in pulse mode. I found that the minir2 needed a longer press than the r4 and because they were controlled by a double button, I had to replace the R2. It was annoying to press the buttons at different speeds.

Hi there, thank you, I am planning to learn more about this as soon as we have a long weekend. It should be a reasonable challenge and it looks quite versatile.