Search code examples
ibm-cloudiotwatson-iot

IBM/BlueMix iOT dashboard line graph not using database (only works in realtime)?


(See picture)

  1. I have successfully connected my iOT device to the BlueMix IoT platform
  2. I can see all the events nicely flowing into the dashboard
  3. I now enabled the extension in BlueMix IoT to store all data in "Historical Data Storage" (refer to https://developer.ibm.com/recipes/tutorials/cloudant-nosql-db-as-historian-data-storage-for-ibm-watson-iot-parti/#r_step3)
  4. I can see the data correctly being written in the database
  5. When I put a line graph on the dashboard in BlueMix IoT it does show a graph but only for the realtime data, it seams its not using the historical data now stored in the database. (refer to https://developer.ibm.com/recipes/tutorials/cloudant-nosql-db-as-historian-data-storage-for-ibm-watson-iot-partiii/)

enter image description here

enter image description here


Solution

  • After being in contact with IBM using Skype with screen sharing we found the solution.

    Turns out that I did not enter an event in the cards config; I only entered a property and for some reason this is ok for realtime data but not for fetching the historical data out of the DB!

    As soon as I entered my event (In my case it was 'status' but this should match your MQTT event name specifically) al worked ok!