4 posts / 0 new
Last post
ncampbell
Milli Temperature Sensor App - Data Platform Plot Reference App does not get temp value.

I have completed the setup instructions for the milli temp sensor app but I have not been able to get a temperature read. 

Both milliNICs are on the production version of code and the complied sketch pushed to ardunio per instructions.

Using the api I am able to get the authentication token et al so that seems to work.

When I try to use "Data Platform Plot Reference App" I do not receive a temperature value. 

Also suspect is that when I connect a serial cable to the shield I dont see any activity other than the boot image text. Log level is set to default - which is think is debug.

What should I look for to determine what may be the problem?

Thanks

rchoubey
Re:- Milli Temperature Sensor App - Data Platform Plot Reference

It seems that you are facing multiple issues while using your ardunio and milli NIC's for the milli temp sensor app however you are stucked in some scenerio's which we can give a general troubleshooting steps.

Please follow below steps:-

Minimum Requirements:-

1)Chrome web browser (Starfish Studio is currently only compatible with Chrome)

2)GitHub account

3)Silver Spring Networks Developer Portal account

4)API key ClientID and Secret (retrieved from Account Settings tab in your developer portal account view)

Getting the Application and Source Code

The source code is provided as open source under the MIT license. You will find it on the Silver Spring Networks GitHub repository. Once you have created your GitHub repository, you can run the application by simply opening "index.html' provided in a web browser.

Download the reference app from GitHub URL:  

https://github.com/silverspringnetworks/developer_program/tree/master/SD...

How to use the Application:

Please go through below URL and follow the steps :-     

https://developer.ssni.com/sfdp-plot-reference-application

You can user micro USB to power up Arduino board and 3-pin UART cable for Milli. For power up Ardunio without computer or laptop, You can use AC-to-DC adapter or battery. For this, you need to use 2.1 mm barrel standard power plug with an allowed range of 5-20 volts.  

Please  update here if you are facing any type of issues so that we can help further.

ncampbell
Updates inline:

Updates inline:

 

Minimum Requirements:-

1)Chrome web browser (Starfish Studio is currently only compatible with Chrome)

> Using Chrome

2)GitHub account

>Have a github account

3)Silver Spring Networks Developer Portal account

>Have a developer portal account

4)API key ClientID and Secret (retrieved from Account Settings tab in your developer portal account view)

>Got the clientID and Secret

Getting the Application and Source Code

The source code is provided as open source under the MIT license. You will find it on the Silver Spring Networks GitHub repository. Once you have created your GitHub repository, you can run the application by simply opening "index.html' provided in a web browser.

Download the reference app from GitHub URL:  

https://github.com/silverspringnetworks/developer_program/tree/master/SD...

>Got the application code

How to use the Application:

Please go through below URL and follow the steps :-     

https://developer.ssni.com/sfdp-plot-reference-application

>Using this App

You can user micro USB to power up Arduino board and 3-pin UART cable for Milli. For power up Ardunio without computer or laptop, You can use AC-to-DC adapter or battery. For this, you need to use 2.1 mm barrel standard power plug with an allowed range of 5-20 volts.  

>Done. Using micro USB and 3-pin UART

Please  update here if you are facing any type of issues so that we can help further.

>It seems like everything is working as expected expect that the temp is never displayed in the app. How can I troublehoot further?

 

tthayer
Reply to #3

Here are some suggestions to isolate where the problem is:

  1. Use Starfish Studio (API View) or directly call with curl the data platform "Observations" to query the data platform for the device (GET by DeviceID so might first need to GET DeviceID using the "Devices" API).
  2. If there are no Observations then either
    1. There is a problem with the CoAP Server code on the Arduino
      1. I suggest setting up the Windows CoAP Client and trying to issue a "GET" of a CoAP resource from the Milli (well-known-core, time or temperature). If that is successful then the milli is communicating properly and  the issue is most likely with the Java CoAP Client.
    2. The Java CoAP Client (https://developer.ssni.com/starfish-reference-application-coap-client) is not configured properly 
  3. If there are Observations returned then the the data is making it to the data platform and the issue is with whatever end client is being used.

Executing these steps will not necessarily fix the issue but if you follow them and report the outcome the problem area can be isolated for further troubleshooting.