Sonoff 4CH Pro - inching

79 views
Skip to first unread message

Thomas De Groote

unread,
Mar 8, 2021, 12:35:21 PM3/8/21
to SonoffUsers
Dear group members,

I finally dared to connect a Sonoff 4CH Pro I had already bought ages
ago (and tasmotized) to the control system of my pool cover. The
relays double on the key switch that is normally in place to
open/close the cover. Relay 1 is used for open, relay 3 for close and
relay 2 (connected on the NC) for the emergency stop in serial with
the real stop button on the control panel. The relays are interlocked
using the hardware jumper settings.

The key switch normally has a built-in spring so you just have to turn
the key left/right to engage the cover engine and it immediately pops
back in “rest” position.

To simulate this, I wanted to use some kind of inching, returning the
relay to “normal/rest” state after a certain delay, for example 200ms.
To achieve this I am now using my node red setup (which I also use for
other automations), but I would prefer it to be "built-in” on the
sonoff so I do not get into trouble when the node red goes down.

Could anyone give me a hint as to how to “program” this setup? Maybe
using backlog?
So far I have several tasmotized devices in use, but always use home
assistant and/or node red for the “programming”. This means I have no
real experience with the brains of tasmota besides setOption19…


Kind regards,

Thomas De Groote

Philip Knowles

unread,
Mar 8, 2021, 12:45:07 PM3/8/21
to Thomas De Groote, SonoffUsers

You could use blink. Set the time with blinktime and blinkcount to 1. Power1 1 and Power3 1 will operate the relays normally but Power1 3 and Power3 3 will make the relay operate for the blinktime then stop.

 

Regards

 

Phil K

 

Sent from Mail for Windows 10

--

You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.

To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.

To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/CAH74K2WLMUbfraCWTHrnHXMj7_aU%3D2OYkc1pD%2Bssj2T-Ww3eUg%40mail.gmail.com.

 

Lark Box

unread,
Mar 12, 2021, 6:11:59 AM3/12/21
to TasmotaUsers
If i have understood correctly just connecting the existing key switch to gpio as switch inputs (Switch1and Switch3) should emulate the original operation.  as when the key is engaged the corresponding open or close relay will trigger and on release the relay will also disengage as switch inputs 'trigger on' only when engaged. Just ensure you have some sort of limit switching to stop when fully open or closed.
Reply all
Reply to author
Forward
0 new messages