Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

    Tip
    titleA little help

    The function contains something very similar to:

    Code Block
    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?

     Make sure the dashboard only shows the temperature of your mote
    Info
    iconfalse
    titleAnswer 1:



  • Add a dashboard "switch" node:
    Image Added
  • Make sure you can actuate your mote's LED from your phone
Tip
iconfalse
titleExtra points!

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