mirror of https://github.com/arendst/Tasmota.git
Updated PowerOnState Configuration (markdown)
parent
17089ac5f8
commit
264907e921
|
@ -26,6 +26,7 @@ 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 (recommended [MQTT.fx](https://mqttfx.jensd.de/) for Windows or [Eclipse Mosquitto](https://mosquitto.org/) in linux).
|
||||
|
||||
Using mosquitto:
|
||||
|
||||
`mosquitto_sub -p 1883 -u <username> -P <password> -t cmnd/+/power`
|
||||
|
||||
If there are retained messages there should be an output similar to: (the "r1" shows that this message was retained)
|
||||
|
@ -45,9 +46,8 @@ on
|
|||
|
||||
Now you can see, if there are messages stored that Power ON/OFF and need to be deleted. To delete send empty message to topic `cmnd/%topic%/power`.
|
||||
|
||||
>Using mosquitto:
|
||||
>
|
||||
>`mosquitto_pub -p 1883 -u <username> -P <password> -d -n -r -t cmnd/sonoff/power`
|
||||
>
|
||||
>The -n sends an empty key and the -r sets the retain flag to store this change permanently
|
||||
Using mosquitto:
|
||||
|
||||
`mosquitto_pub -p 1883 -u <username> -P <password> -d -n -r -t cmnd/sonoff/power`
|
||||
The -n sends an empty key and the -r sets the retain flag to store this change permanently
|
||||
|
||||
|
|
Loading…
Reference in New Issue