This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Would like to add to the exosite IoT dashboard with Connected Launchpad

Other Parts Discussed in Thread: EK-TM4C1294XL

Hi,

looking for a primer to add, say (1) status of a pin, and a toggle button to my own exosite IoT dashboard. Is there a primer for this. I would think I need:

1. Buildable source for the demo that came with the Launchpad. Where can I find that.

2. Protocol for data transfer between exosite and Launchpad. Maybe this is wrapped up in nice API calls?

3. Tutorial on using exosite. Any limits on building dashboard with the exocite licence given through TI?

  • http://processors.wiki.ti.com/index.php/CLP_Exosite_Data_Sources

    the link above should cover adding new stuff to the data sources and embedded code. This gets the code off of the CLP and on the cloud.

    However adding widgets and GUI elements to the dashboard is not covered.  I'll try to fwd this thread to exosite and see if they can help on that end.

  • Hi Viking,

    Viking said:
    1. Buildable source for the demo that came with the Launchpad. Where can I find that.

    The Tiva C Series firmware install includes the code that came on the LaunchPad (qs_iot is name of project).  There is also another project called 'senshub_iot' I believe that also works with Exosite.  I've posted instructions on how to use that one here:  https://github.com/exosite-garage/clp_sensorhub_support

    Viking said:
    2. Protocol for data transfer between exosite and Launchpad. Maybe this is wrapped up in nice API calls?

    The Connected LaunchPad uses the Exosite API, specifically the HTTP DATA API which uses standard HTTP POST and GET methods to read and write data.  In the qs_iot project, you'll see an 'exosite' library in 'third_party' folder.  There, the functions put together the proper strings to send the HTTP packet of the socket.

    https://github.com/exosite/docs/tree/master/data

    For example, a get request ends up looking like this, although there is a function all that does this for you, you just call 'Exosite_Read' with your parameters.

    // This is an example read GET
    //  s.send('GET /onep:v1/stack/alias?temp HTTP/1.1\r\n')
    //  s.send('Host: m2.exosite.com\r\n')
    //  s.send('X-Exosite-CIK: 5046454a9a1666c3acfae63bc854ec1367167815\r\n')
    //  s.send('Accept: application/x-www-form-urlencoded; charset=utf-8\r\n\r\n')

    The POST and GET methods support sending/receiving multiple dataports at a time.  You'll see in the code where 'Exosite_Read' is called and how it passes multiple parameters to be read.  Note that the Exosite library also includes the activation calls, to the Exosite provision API.  

    Viking said:
    3. Tutorial on using exosite. Any limits on building dashboard with the exocite licence given through TI?

    There are not many limits on the Exosite TI portal (ti.exosite.com).  You can build a few custom dashboards which includes adding your own custom widgets if you want.  You can add more dataports to each device (client in Exosite platform), there is a soft limit of 50 included with each added device for a total of 100 to use with the two included devices in the free account.  You can add cloud scripts (written in Lua) to each device, again there is no hard limit on this.

    You may want to start here for using Exosite Portals: https://support.exosite.com/hc/en-us/sections/200072708-User-Guide

    Scripts are covered here: https://support.exosite.com/hc/en-us/articles/200513440-Scripting

    All of the Exosite APIs (device, provisioning, cloud scripting, custom widgets, etc) can be found here:  https://github.com/exosite/docs

    Example Scripts: https://github.com/exosite-garage/PlatformScripts

    Example Widgets: https://github.com/exosite-garage/custom_widget_scripts 

    I hope this helps! 

    
    

  • Thanks for the detailed and good answer.

    Please clarify:

    The exosite userguide says you can add and customize dashboards (i.e. "On the ‘Dashboard’ management page, click ‘ADD DASHBOARD’ button", and "Creating Custom Dashboard Widgets" etc)

    Can I do this with the EK-TM4C1294XL dashboard? I can not find any of the tools described in the user guide.....

  • Viking said:
    Can I do this with the EK-TM4C1294XL dashboard? I can not find any of the tools described in the user guide.....

    You can't change the one EK-TM4C1294-XL dashboard, that is hard coded.  You can create your own custom dashboards though by clicking on the Dashboard menu item and then click 'Add Dashboard'.  

  • @Mike,

    Our small tech group finds your earlier post far above/beyond, "detailed & good."  (bloody spectacular, anyone?)

    Care, effort & thought you've expended sure to guide/assist many - thank you - very much appreciated...

    Your helpful/caring post well exemplifies the best use/value of this forum...  (hopefully serves as neat model for others)

  • Where can i find a programmers guide?

    I see the datasheet for the device, and I find calls like 'ROM_GPIOPadConfigSet(), and need documentation.

    In particular, I need to overdrive output source to 18mA for a port. Is that limited to certain ports? How can I find out? What is the API call for that?

    Thanks again