5785 shaares
37 results
tagged
internet
First i ran the mosquitto_sub with the wild card “#” for the topic name in one terminal window. This allowed me to watch every message that is being sent to my gateway. This will be very useful if i run into issues later in the project and need to debug.
mosquitto_sub -h localhost -v -t "#"
Then i opened another terminal window and ran the mosquitto_pub to send some test messages out.
mosquitto_pub -t WiFiTree/RGB -m "210,230,0"
mosquitto_pub -t WiFiTree/Sound -m "0.2"