From 59643f84494aaf65c6c4c8cdf5b6e5a8f88d8f4a Mon Sep 17 00:00:00 2001 From: Nikolay <83143316+nikvostro@users.noreply.github.com> Date: Tue, 24 Dec 2024 22:58:32 +0300 Subject: [PATCH] TimedPower command description As per introduced in release 13.3.0.3 https://github.com/arendst/Tasmota/blob/02ae53cec5c1b25b05a38e4c554664ffd9a07a0c/CHANGELOG.md?plain=1#L797 --- docs/Commands.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/Commands.md b/docs/Commands.md index fa771e989f..4c90776748 100644 --- a/docs/Commands.md +++ b/docs/Commands.md @@ -151,6 +151,7 @@ LedState|Manage LED state
`0` = disable us NoDelay|Delay defined by `SetOption34` is omitted for any command in a backlog sequence following immediately after `NoDelay`
_This must be used with care, and only for simple commands._ [Example](https://github.com/arendst/Tasmota/pull/9544) Power0|Control the power state simultaneously for all power outputs on the device
`0` / `off` = turn OFF
`1` / `on` = turn ON
`2` / `toggle` = if relay is `ON` switch to `OFF` and vice versa Power|Control the corresponding power state (also restarts PulseTime)
`0` / `off` / `false` = turn OFF
`1` / `on` / `true` = turn ON
`2` / `toggle` = if power state is `ON` switch to `OFF` and vice versa
`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)
`4` / `blinkoff` = stop blink sequence and return power state to pre-blink state +TimedPower|Executes `Power [ON\|1\|OFF\|0\|TOGGLE\|2\|BLINK\|3]` and after `` milliseconds executes inverted action `Power [OFF\|ON\|TOGGLE\|BLINK_OFF]`
`` should stick to 50ms granularity
`TimedPower` to show remaining timers
`TimedPower` to clear timer for corresponding `` relay PowerLock|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)
'1' = locked. Setting 'PowerLock0' locks/unlocks ALL devices PowerOnState|Control power state when the device is _**powered up**_. [More information](PowerOnState)
`0` / `OFF` = keep power(s) OFF after power up
`1` / `ON` = turn power(s) ON after power up
`2` / `TOGGLE` = toggle power(s) from last saved state
`3` = switch power(s) to their last saved state *(default)*
`4` = turn power(s) ON and disable further power control
`5` = after a `PulseTime` period turn power(s) ON (acts as inverted [`PulseTime`](Commands.md#pulsetime) mode) PulseTime|Display the amount of `PulseTime` remaining on the corresponding Relay(x = `1..32`)
`` Set the duration to keep Relay `ON` when `Power ON` command is issued. After this amount of time, the power will be turned `OFF`.
`0` / `OFF` = disable use of PulseTime for Relay
`1..111` = set PulseTime for Relay in 0.1 second increments
`112..64900` = set PulseTime for Relay, 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)