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

TimedPower command description #1441

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/Commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ LedState<a class="cmnd" id="ledstate"></a>|Manage LED state<BR> `0` = disable us
NoDelay<a class="cmnd" id="nodelay"></a>|Delay defined by `SetOption34` is omitted for any command in a backlog sequence following immediately after `NoDelay`<BR>_This must be used with care, and only for simple commands._ [Example](https://github.com/arendst/Tasmota/pull/9544)
Power0<a class="cmnd" id="power0"></a>|Control the power state simultaneously for all power outputs on the device<BR> `0` / `off` = turn OFF <BR> `1` / `on` = turn ON <BR> `2` / `toggle` = if relay is `ON` switch to `OFF` and vice versa
Power<x\><a class="cmnd" id="power"></a>|Control the corresponding power state (also restarts PulseTime)<x\><BR> `0` / `off` / `false` = turn OFF <BR> `1` / `on` / `true` = turn ON <BR> `2` / `toggle` = if power state is `ON` switch to `OFF` and vice versa<BR> `3` / `blink` = toggle power for [BlinkCount](#blinkcount) times each [BlinkTime](#blinktime) duration (at the end of `blink`, power state is returned to pre-blink state)<BR> `4` / `blinkoff` = stop blink sequence and return power state to pre-blink state
TimedPower<x\><a class="cmnd" id="timedpower"></a>|Executes `Power<x> [ON\|1\|OFF\|0\|TOGGLE\|2\|BLINK\|3]` and after `<value>` milliseconds executes inverted action `Power<x> [OFF\|ON\|TOGGLE\|BLINK_OFF]`<BR>`<value>` should stick to 50ms granularity<BR>`TimedPower` to show remaining timers<BR>`TimedPower<x>` to clear timer for corresponding `<x>` relay
PowerLock<x\><a class="cmnd" id="powerlock"></a>|Control to lock the current power state of a device and prevent further changes. Only `PowerOnState` and `Interlock` may change a device in locked state. '0' = unlocked (default) <BR> '1' = locked. Setting 'PowerLock0' locks/unlocks ALL devices
PowerOnState<a class="cmnd" id="poweronstate"></a>|Control power state when the device is _**powered up**_. [More information](PowerOnState)<BR> `0` / `OFF` = keep power(s) OFF after power up <BR> `1` / `ON` = turn power(s) ON after power up <BR> `2` / `TOGGLE` = toggle power(s) from last saved state <BR> `3` = switch power(s) to their last saved state *(default)* <BR> `4` = turn power(s) ON and disable further power control <BR> `5` = after a `PulseTime` period turn power(s) ON (acts as inverted [`PulseTime`](Commands.md#pulsetime) mode)
PulseTime<x\><a class="cmnd" id="pulsetime"></a>|Display the amount of `PulseTime` remaining on the corresponding Relay<x\>(x = `1..32`)<BR>`<value>` Set the duration to keep Relay<x\> `ON` when `Power<x> ON` command is issued. After this amount of time, the power will be turned `OFF`.<BR>`0` / `OFF` = disable use of PulseTime for Relay<x\><BR>`1..111` = set PulseTime for Relay<x\> in 0.1 second increments<BR>`112..64900` = set PulseTime for Relay<x\>, offset by 100, in 1 second increments. Add 100 to desired interval in seconds, e.g., `PulseTime 113` = 13 seconds and `PulseTime 460` = 6 minutes (i.e., 360 seconds)
Expand Down
Loading