I have to make an app that collects data from Sensortag 2.0 (Texas Instruments) in the vineyards using Bluemix and display it in the application using graphs and alerts depending on different conditions of the data collected and the weather. The thing is I'm a bit lost in what applications and things from the catalog of IBM I could use to make this happen.
Also, my biggest problem is that I don't know how to develop my Java application collecting the data from Bluemix. Specifically, I need some technical support/user guides to succeed in my project as I don't know how to process all this information and put it in an app.
I am looking forward to receiving your response.
Answer by ValerieLampkin (2820) | Apr 19, 2016 at 12:32 PM
This is not a comprehensive artchitectural design, but some ideas to get you started.
You can use the sensor tag recipe to connect your devices to the Watson IoT Platform on Bluemix.
Bluemix also offers an Insights for Weather service that may be useful in your design.
The github repository for iot messaging contains many sample apps to help you get started. If you are specifically looking for java, try this repository.
The visualization recipe contains information about how to display your data via graphical visualization.
For real time alerting, try the IOT Real Time Insights service to set rules and alerts on the data that you are publishing to Watson IoT Platform in Bluemix.
Answer by amaya024 (1) | May 04, 2016 at 03:59 AM
Thank you for your answer, Valerie. ¿Do you know if it is possible to connect Node-RED directly with a web made by me so that it shows data of sensors in real-time without storing it into cloudant for example? ¿How could I make this happen?
I believe that is possible, let me check with some colleagues to see if they have examples.
We don't currently have a recipe tutorial for what you are asking.
I think you just need a client side JavaScript and then use it to get the events from the sensor tag and then use the events to visualize it. https://github.com/ibm-messaging/iot-visualization/blob/master/public/js/realtime/realtime.js is the JavaScript code written in visualization app to get the events and visualize it. You can use this as base and then build on this.
You could also try using the http in node to host the server in node-red and that can give the response with the events from the sensor tag.
Node-red on Raspberry Pi (or other physical device) - Want to IoT 1 Answer
Adding original components in NodeRED is possible? 1 Answer
How to have IoT node-red flow stream only on specific device-ids 1 Answer
MQTT JavaScript Application fails to connect to IoT service 3 Answers
iot cloud overwrite my event id hence I can not identify which even at application layer. 7 Answers