Overview

Skill Level: Beginner

This recipe shows how you can quickly start sending data from an Eniscope energy monitoring system to the IBM Quickstart sandbox using MQTT.

Ingredients

  1. An Eniscope that has already been activated and set up with one or more meters and which is connected to the internet.
    To find out more about Eniscope and how to order one, visit: http://www.bestenergysaving.com
  2. A computer with a web browser that is connected to the same local area network as the Eniscope

Step-by-step

  1. Connect to your Eniscope

    Find the IP address of the Eniscope, if you don’t know it you can visit http://discovery.bestsupportdesk.comand scan your local network to show you the IP addresses of any Eniscopes on your network.

    Once you know the IP address of the Eniscope, connect to it via a web browser by visiting: http://<insert_your_ip_address>/Admin
    (e.g http://192.168.0.123/Admin)

    Enter the Administration username and password that you used when setting up the device.

    You should now see the home screen of the Eniscope, with a list of the currently configured meters.

    Screen-Shot-2018-01-17-at-16.54.33 

     

    If you do not have any meters configured then please refer to the setup information that came with your Eniscope to start monitoring at least one meter.

  2. Configuring MQTT settings

    From the menu on the right hand side select ‘MQTT settings’.

    If you do not see the MQTT menu item you will need to update your Eniscope to the latest software version. 

    Click the ‘Add MQTT Instance’ button.

    This will show a form where you can set up which data you want to send to the IoT platform, and how frequently you want to send it.

    • Give the setup a title so that you can refer to it later.
    • Check the boxes alongside any of the meters that you want to send to the platform
    • Choose an interval, this is the number of seconds between each message sent to the platform. If you want a reading every 10 seconds then input 10
    • In the host field enter the hostname for IBM Quickstart Sandbox:
      quickstart.messaging.internetofthings.ibmcloud.com
    • The port should be set to 1883
      Username should be blank, so insert a space 
    • Password should also be blank, so insert a space
    • For the topic enter: iot-2/evt/readings/fmt/json
    • The ID field should contain the unque identifier for your device in the format
      d:quickstart:eniscope:EniscopeExample01
      You can change EniscopeExample01 to something else if you like

    Be sure to click the “Save All’ button.

    Once this is done the Eniscope should start sending your data to your IBM Quickstart Sandbox.

     

  3. View your data in the IBM Quickstart Sandbox

    Visit the IBM quickstart sandbox: https://quickstart.internetofthings.ibmcloud.com

    Screen-Shot-2018-02-15-at-16.26.19

    Tick the box to confirm that you agree to the Terms and Conditions

    In the Device ID box enter the device ID we used from the previous step, e.g EniscopeExample01

    Then press the ‘Go’ button

    You should start to see the data coming in from your Eniscope, if you set your Eniscope to send with an interval of 10 then the data should update every 10 seconds.

    Click on one of the parameters listed below the graph, such as P for power, to see that value displayed over time:

    Screen-Shot-2018-02-15-at-16.31.42

     

Join The Discussion