Updated PowerOnState Configuration (markdown)

Michael Ingraham 2019-03-01 16:05:12 -05:00
parent e16624d316
commit 4115c13fd9
1 changed files with 8 additions and 6 deletions

@ -31,12 +31,14 @@ To check, if there is a retain value set for the power switch monitor topic `cmn
If there are retained messages there should be an output similar to: (the "r1" shows that this message was retained)
`Client mosqsub/3795-raspberryp received PUBLISH (d0, q0, r1, m0, 'cmnd/sonoff/power', ... (1 bytes))`
`on`
`Client mosqsub/3795-raspberryp received PUBLISH (d0, q0, r1, m0, 'cmnd/sonoff/power', ... (1 bytes))`
`off`
`Client mosqsub/3795-raspberryp received PUBLISH (d0, q0, r1, m0, 'cmnd/sonoff/power', ... (1 bytes))`
`on`
```
Client mosqsub/3795-raspberryp received PUBLISH (d0, q0, r1, m0, 'cmnd/sonoff/power', ... (1 bytes))
on
Client mosqsub/3795-raspberryp received PUBLISH (d0, q0, r1, m0, 'cmnd/sonoff/power', ... (1 bytes))
off
Client mosqsub/3795-raspberryp received PUBLISH (d0, q0, r1, m0, 'cmnd/sonoff/power', ... (1 bytes))
on
```
`cmnd/+/power` could also show something different depending what you have defined as IN folder for commands. If you have more relays "power" needs to be replaced by power1, power2 and so on respectively, or use "cmnd/#". Be aware that MQTT does **NOT SUPPORT** wildcards such as "cmnd/+/Power?"