ValerieLampkin
ValerieLampkin

Reputation: 2636

Can't visualize sensor data using Bluemix IoT Foundation

When trying to use the recipe to visualize data from my device which is registered to the IoT Foundation I am not seeing any data on the graph.

When I try and publish the following:

myData={'name' : 'RPi', 'temp' : temp, 'relh' : relh}

... I get a blank visualization enter image description here

Upvotes: 1

Views: 155

Answers (1)

ValerieLampkin
ValerieLampkin

Reputation: 2636

Send the data in JSON format (the visualization displays numerical data):

myData={'d': {'size': 54, 'temp': 34}}

Documentation on this format can be found here: https://docs.internetofthings.ibmcloud.com/messaging/payload.html

Upvotes: 1

Related Questions