How-To - Build Cisco Kinetic Data Control Module Demo

Follow

Comments

2 comments

  • Avatar
    viral

    Hi , I followed this documentation , But from the log it, I am getting sample data.

    I am assuming sample app is feeding the data from the file.

    https://github.com/CiscoDevNet/iotsp-device-sdk-java/blob/master/examples/iotsp-edge-rule-engine/IOxPackage/package.tar.gz

    How do I modify the app so I can get the data from the PI. Also how do I visualize the data ?

    Sincerely

    Viral patel

     

     

    0
    Comment actions Permalink
  • Avatar
    Deepak

    Hi Viral,

    Yes, currently the data is being fed from a data file. To receive data from PI, the app will have to use one of the serial or ethernet ports to which the PI is connected. For that you will need the yaml file to be updated and should support/enable the serial port access from the GW.

    From the yaml file of an app, the 'LABEL' given to the port can be used to fetch data from that port.

    For visualization, we can use freeboard plugin. Freeboard plugin can be downloaded from, https://github.com/CiscoDevNet/iot-freeboard-plugin

    And hosted locally or on a server, as per the instructions given on the github page.

    Deepak

    0
    Comment actions Permalink

Please sign in to leave a comment.