diff --git a/source/_posts/2017-11-10-ttn-with-mqtt.markdown b/source/_posts/2017-11-10-ttn-with-mqtt.markdown index 1300f7cd8f7..d619623c020 100644 --- a/source/_posts/2017-11-10-ttn-with-mqtt.markdown +++ b/source/_posts/2017-11-10-ttn-with-mqtt.markdown @@ -21,7 +21,7 @@ At the moment Home Assistant only supports one [MQTT broker](/docs/mqtt/). This To check what your devices are sending, subscribe to the topic `+/devices/+/up` with a command-line tool like `mosquitto_sub`. The `` is the postfix of the **Handler** entry in your **Application overview**. `` is the **Application ID** and `` is your access key. -``bash +```bash $ mosquitto_sub -v -h .thethings.network -t '+/devices/+/up' -u '' -P '' { "app_id": "ha-demo",