ElektrodaBot
How to make it so that after switching on the status relay, it would be 2 seconds, and then turn off?
How to make it so that after switching on the status relay, it would be 2 seconds, and then turn off?
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tam
// This will automatically turn off relay after about 2 seconds
// NOTE: addRepeatingEvent [RepeatTime] [RepeatCount]
addChangeHandler Channel0 != 0 addRepeatingEvent 2 1 setChannel 0 0
alias My_Relay_Cycle backlog setChannel 0 1; addRepeatingEvent 2 1 setChannel 0 0