Remember the last post of IoT (Internet of Things)?. If you got the idea, then lets construct a simple application that stores our “thing” data into a Cloud Service. For that purpose I will use Xively Cloud Storage Service.
Figure 1. Xively Logo. Xively is a company that offers user friendly framework for IoT applications.
Xively as a Cloud Storage Service is used basically to store the data that we need to store. With the use of this platform we don’t need to worry about web programming, services, or hire a experienced programmer to start our application to the cloud and focus on our embedded device.
For trigger events, i will use Xively trigger commands in conjunction with Zapier.
Figure 2. Zapier Logo. Zapier is service that could interact with Xively triggers making actions with other web services.
Of course, we could do more than only “put” something into this service. For this example i will use LabVIEW transforming our PC as our “thing” device, just an example to make a demonstration how to interact with Xively and finally make hook ups that trigger other events via HTTP POST with Zapier like send an email to Gmail or a Tweet via Twitter.
For this purpose I created several accounts that you could use and are settled to this purpose
- A Xively account: IoTInternetOfThing/comm.123
- A Gmail account: firstname.lastname@example.org/comm.123
- A Twitter account: IoTInternetOfTh/comm.123
- A Zapier account: IoTInternetOfThing/comm.123
If you see the front Panel, there are two variables that looks strange. This FeedID and the API Key are uniques for this device. We created a Thermometer and a boolean indicator that waits a elapsed time of 5 seconds to update data via HTTP PUT to Xively.
The figure above shows how easy is to feed a Xively IoT device using HTTP Vis. If you run it you will se the Xively IoT Application change the window current value as shown in the figure below.
Figure 5. Xively Data Graph. Feeding every five (5) seconds to Xively random data of temperature.
I also have made a few triggers for too cold, too hot that sends an email, to the Gmail Account and and a aditional trigger to make a tweet for a tweeter account.
Finally, recapitulizing, the IoT is an very good example of what monitoring and control could be done. Information in realtime (or try to be realtime) made available to you. If you worked in a utility or industrial company it is very similar approach to the SCADA, which is a combination of hardware and software and is a scalable system.
The Internet of Things is a new horizon for those people that wants to learn, manage or make their new revolutionary application to the real world.
Finally i will post here the LabVIEW code that is allocated on Github.