mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Update mqtt.markdown (#35284)
This commit is contained in:
parent
4cce052beb
commit
3dd3f5daf6
@ -215,7 +215,7 @@ MQTT Birth and Last Will messages can be customized or disabled from the UI. To
|
||||
|
||||
## Testing your setup
|
||||
|
||||
The `mosquitto` broker package ships command line tools (often as `*-clients` package) to send and receive MQTT messages. For sending test messages to a broker running on `localhost`, to can use [`mosquitto_pub`](https://mosquitto.org/man/mosquitto_pub-1.html), check the example below:
|
||||
The `mosquitto` broker package ships command line tools (often as `*-clients` package) to send and receive MQTT messages. For sending test messages to a broker running on `localhost`, you can use [`mosquitto_pub`](https://mosquitto.org/man/mosquitto_pub-1.html), check the example below:
|
||||
|
||||
```bash
|
||||
mosquitto_pub -h 127.0.0.1 -t homeassistant/switch/1/on -m "Switch is ON"
|
||||
|
Loading…
x
Reference in New Issue
Block a user