Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pulse Mode #1264

Open
booroondook-eng opened this issue Jun 11, 2024 · 4 comments
Open

Pulse Mode #1264

booroondook-eng opened this issue Jun 11, 2024 · 4 comments
Labels

Comments

@booroondook-eng
Copy link

booroondook-eng commented Jun 11, 2024

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.

@DeDaMrAzR
Copy link
Contributor

DeDaMrAzR commented Jun 11, 2024

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.

@booroondook-eng
Copy link
Author

booroondook-eng commented Jun 12, 2024

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
Copy link
Author

Many Thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants