Reputation: 11
I try to do the POC on IBM Watson IoT platform. I have followed the document in this link for creating the device simulator. https://console.ng.bluemix.net/docs/services/IoT/nodereddevice_sample.html#devices
It can connect and send the MQTT message event to IoT platform but when I try to get the historical data from REST API, it always returns empty. https://os9c6l.internetofthings.ibmcloud.com/api/v0002/historian
Not sure what when wrong.
Upvotes: 0
Views: 416
Reputation: 555
if the Time Series DB was off and the device was added, you might not be able to see it even if you set the historian on on. Try and re-add the device.
Upvotes: 0
Reputation: 6826
Go to the IoT Watson IoT Platform dashboard connected to your BlueMix app, go to settings and there is a setting for Time Series DB which defaults to Off. When you turn it on you also get to choose the storage duration.
Upvotes: 2