Updated PowerOnState Configuration (markdown)

Michael Ingraham 2019-03-01 16:03:10 -05:00
parent 222661a3a7
commit e16624d316
1 changed files with 4 additions and 8 deletions

@ -8,17 +8,13 @@ By DEFAULT the relay(s) will power on with the last saved state on a reboot/rest
## Side effects with using MQTT messages
If MQTT is defined and PowerRetain is used the last state will be stored permanently in MQTT database.
If MQTT is defined and [`PowerRetain`](Commands#powerretain) is used the last state will be stored permanently in MQTT database.
| | |
|-|-|
[PowerRetain](Commands#powerretain) | Show current MQTT power retain state.<BR> `0` / `off` = disable MQTT power retain on status update *(default)* <BR> `1` / `on` = enable MQTT power retain on status update
[`PowerRetain`](Commands#powerretain) | Show current MQTT power retain state.<BR> `0` / `off` = disable MQTT power retain on status update *(default)* <BR> `1` / `on` = enable MQTT power retain on status update
`PowerRetain | | Show current MQTT power retain state`
`PowerRetain | 0 | off | (default) Disable MQTT power retain on status update`
`PowerRetain | 1 | on | Enable MQTT power retain on status update`
Stored retain message in your MQTT broker will always ***override the PowerOnState*** and is usually the cause for "ghost switching".
Stored retain message in your MQTT broker will always ***override the `PowerOnState`*** and is usually the cause for "ghost switching".
### Clearing retained messages
You can use [Tasmota Device Manager](https://github.com/jziolkowski/tdm) (TDM) to clear all retained messages for a device with a single click.
@ -27,7 +23,7 @@ You can use [Tasmota Device Manager](https://github.com/jziolkowski/tdm) (TDM) t
or do it manually.
To check, if there is a retain value set for the power switch monitor topic `cmnd/+/power` in a MQTT client (recomended [MQTT.fx](https://mqttfx.jensd.de/) for Windows or [Eclipse Mosquitto](https://mosquitto.org/) in linux).
To check, if there is a retain value set for the power switch monitor topic `cmnd/+/power` in a MQTT client (recommended [MQTT.fx](https://mqttfx.jensd.de/) for Windows or [Eclipse Mosquitto](https://mosquitto.org/) in linux).
>Using mosquitto:
>