Update switch.mqtt.markdown (#1923)
Fix `mosquitto_pub` example to work with example code.
This commit is contained in:
parent
35a6b3d7ed
commit
ba09360ce4
1 changed files with 1 additions and 1 deletions
|
@ -71,5 +71,5 @@ switch:
|
|||
For a check you can use the command line tools `mosquitto_pub` shipped with `mosquitto` to send MQTT messages. This allows you to operate your switch manually:
|
||||
|
||||
```bash
|
||||
$ mosquitto_pub -h 127.0.0.1 -t home/bedroom/switch1set -m "ON"
|
||||
$ mosquitto_pub -h 127.0.0.1 -t home/bedroom/switch1 -m "ON"
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue