diff --git a/PowerOnState-Configuration.md b/PowerOnState-Configuration.md index d662889d..c9cbe65c 100644 --- a/PowerOnState-Configuration.md +++ b/PowerOnState-Configuration.md @@ -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 -P -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 -P -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 -P -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