Overview

Skill Level: Any Skill Level

Ingredients

  • NIO100/NIO100Y device (Here)
  • You need to have a Bluemix account and create a node-red service in Bluemix

Step-by-step

  1. Prepare

     

    1. Get a NIO100/NIO100Y unit.
    2. Plug Ethernet cable to the Ethernet 1 port and power up NIO100/NIO100Y so NIO100/NIO100Y can access to Internet.
  2. Connect

    1. Type http:// ip_address :1880 (which is the IP address of NIO100) in your browser, you’ll enter the IoT Studio Gateway Builder.
    2. Creating test flow:
      [{"id":"707c65c0.8f839c","type":"mqtt-broker","broker":"quickstart.messaging.internetofthings.ibmcloud.com","port":"1883","clientid":"d:quickstart:iotsample-gateway:ibmiottest"},{"id":"4d95eb59.b26a14","type":"mqtt out","name":"","topic":"iot-2/evt/status/fmt/json","qos":"0","retain":"false","broker":"707c65c0.8f839c","x":651,"y":358,"z":"600a1275.9ff5ec","wires":[]},{"id":"2bfeb94e.d40146","type":"inject","name":"","topic":"","payload":"adsadsadas","payloadType":"date","repeat":"","crontab":"","once":false,"x":421,"y":355,"z":"600a1275.9ff5ec","wires":[["4d95eb59.b26a14"]]}]

    This is an example to create test flow which is represented by the following json. It can be directly imported into the editor by pasting the json into the Import dialog (Ctrl + I or via the dropdown menu) 

    1. When you create the test flow and click inject, it’ll send the timestamp to IBM broker through MQTT.
    2. If you have a Bluemix account and create a node-red service in the cloud, then you can receive the timestamp by using the [ibmiot] node from the palette and [debug] node displayed in the Debug sidebar.
  3. Product Highlight

    NEXCOM IoT gateway is an intelligent IoT gateway. Designed to connect to sensor networks, NEXCOM IoT gateway emphasizes on providing flexible connections between sensor nodes and customer’s cloud for enabling intelligent big data analysis and data-driven decision making. With the powerful and low power Quark solution, NEXCOM IoT gateway series is rugged by design and intended for critical industrial environments where sensor nodes with RS232/RS485, Zigbee or I/O devices are deployed. NEXCOM IoT gateway can also connect to IBM Bluemix through wireless 3G/Wi-Fi, wired LAN networks.

Expected Outcome

You can receive the timestamp by using the [ibmiot] node from the palette and [debug] node displayed in the Debug sidebar.

 

Join The Discussion