mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-05 21:55:32 +00:00
11 lines
343 B
Batchfile
11 lines
343 B
Batchfile
// This will automatically turn off relay after about 2 seconds
|
|
// NOTE: addRepeatingEvent [RepeatTime] [RepeatCount]
|
|
addChangeHandler Channel1 != 0 addRepeatingEvent 2 1 setChannel 1 0
|
|
|
|
|
|
// here is alternative sample script, but commented out
|
|
// code above will forever toggle relay every 15 seconds
|
|
// addRepeatingEvent 15 -1 POWER TOGGLE
|
|
|
|
|