Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  • Create a Node-RED flow which controls one of the LED motes listed in Lab 33. MQTT Control Loop

  • Add a dashboard "switch" node:

    Image RemovedImage Added
  • Describe what your flow

Answer 1:

Challenge

  • If you have an LED mote, add a flow to your Node-RED instance such that publishing to topic dustacademy/all_leds with body {"status": 1} or {"status": 0} turns your LED on or off

  • describe your flow

Answer 2:

  • make sure you can switch on all LEDs of all motes