Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Expected completion time of this lab: 20 min.

  • Create the following Node-RED flow. Clicking on 0 and 1 should switch the LED on/off

    A little help

    The function contains something very similar to:

    msg.payload            = {
        "method" :  "PUT",
        "url" :     "/digital_out/INDICATOR_0",
        "body":     {
            'value': msg.payload,
        },
        "token":    "myToken",
    }
    return msg;
  • How did you configure the ibmiot output node?

    Answer 1:


  • Add a dashboard "switch" node:
  • Make sure you can actuate your mote's LED from your phone

Extra points!

configure the switch so it shows a lightbulb which is "on" or "off".

  • No labels