Advertisement
chillichump

Beginners Guide to Automation Episode 12

May 12th, 2020
873
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. Commands for the example in the video. Open up two PuTTY instances, both connecting to your Raspberry Pi server:
  2. In one instance use this command:
  3. mosquitto_sub -v -t 'iot1/sensor1'
  4.  
  5. In the other instance use this command:
  6. mosquitto_pub -t 'iot1/sensor1' -m 'MQTT is cool!'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement