The goal of this lab is to build several control loops: heating up a mote causes the LED of another mote to switch on, over the Internet

Create sensors/actuator pairs

note

Answer 1:

Answer 1:

Your instructor will coordinate that activity so everyone can see the entire list

note

Answer 2:

Answer 2:

Flow 1: subscribe to everything

In MQTT, # is the wildcard: subscribing to dustacademy/# means you receive all messages published to dustacademy/foo and dustacademy/bar (and to dustacademy itself)

Flow 2: send mote data to broker

note

Answer 3:

Answer 3:

note

Answer 4:

Answer 4:

Flow 3: trigger actuator

note

Answer 5:

Answer 5:

note

Answer 6:

Answer 6:

Challenge!

note

Answer 7:

Answer 7: