OpenBK7231T_App icon indicating copy to clipboard operation
OpenBK7231T_App copied to clipboard

Pulse Mode

Open booroondook-eng opened this issue 1 year ago • 4 comments

How to implement pulse mode? After turning on, I need my relay automatically turn off after a while (for example, 5 seconds). Tasmota has a special command for this mode: PulseTime<x> <value> But here I did not find anything like this in the configuration and documentation.

booroondook-eng avatar Jun 11 '24 20:06 booroondook-eng

You can use scripting to do that (located under webapp/filesistem/create file and name it autoexec.bat, and enter:

delas_s 5 ToggleChannel 1

it will execute on every startup assuming your relay is on channel 1 (ToggleChannel channel number)

You can also use this as a startup command from your index page, under Config/Change startup command and enter:

addRepeatingEvent 5 1 ToggleChannel 1

It will also execute on every startup where addRepeatingEvenet time in seconds number of repeats command to execute

If you need more info let us know.

DeDaMrAzR avatar Jun 11 '24 22:06 DeDaMrAzR

Perhaps I expressed myself incorrectly and that is why you misunderstood me. I don't need the relay to switch at startup. I need the relay to automatically turn off after N seconds after each turn on. For example, N= 5 or 10 seconds etc.

booroondook-eng avatar Jun 12 '24 08:06 booroondook-eng

image ?__? https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/autoexecExamples.md

openshwprojects avatar Jun 12 '24 09:06 openshwprojects

Many Thanks!!!

booroondook-eng avatar Jun 12 '24 09:06 booroondook-eng