-
Notifications
You must be signed in to change notification settings - Fork 0
Test
Drasko DRASKOVIC edited this page May 7, 2016
·
1 revision
- Run the Mosquitto (or some other) MQTT broker on localhost, on the port 1883 (default)
- Open new terminal and subscribe to the topic
/test
:
mosquitto_sub -h localhost -t '/test'
- From another terminal run the Python test:
python test.py
- A JSON message should be received in the terminal with MQTT subscription