IBM Bluemix provides a readily available environment for applications, infrastructure, and services. Integrated with IBM Watson, it offers possibilities of cognitive services as well.
We have developed an IoT application using IBM Bluemix, a Raspberry Pi 3, and a virtual device that sends email notifications to users if and when there is a fluctuation in temperature.
Process flow: The virtual device should be placed at the desired location. If the temperature at that location rises more than 21 degrees centigrade, the user will get a notification about it by email.
This blog is a step-by-step guide to develop a temperature sensor IoT application. It includes:
- The virtual device and Raspberry Pi integration with IBM Bluemix
- Registering the virtual device and analyzing the device data
- Registering the Raspberry Pi 3 and analyzing the device data
- Linking the Raspberry Pi with the device through IBM Bluemix
Virtual Device and Raspberry Pi Integration With IBM Bluemix
First, you register your Raspberry Pi 3 with Bluemix. Up to a certain extent, the process of registering and adding the Pi will be quite similar to registering and adding the virtual device (which we'll get to in a couple of sections).
Register the Virtual Device and Analyze Device Data
Choose the device type from a drop down list. If your device type is not specified, you can solve that via Device Type >> Provide Device ID >> and IBM will provide you the credentials for that device.
Register the Raspberry Pi 3 and Analyze Device Data
Now you register your Raspberry Pi 3 with Bluemix. Up to a certain extent, the process of registering and adding your Pi will be quite similar to registering and adding the virtual device from the first phase of this blog.
Linking Your Raspberry Pi With Your Device Through IBM Bluemix
Now that your Raspberry Pi is connected to IBM Bluemix, you can create your charts, schemas, and rules.
In fact, if cleverly utilized, IBM Bluemix can be the enabler of more than 150 different services being offered by IBM, other services, software providers, and several communities. Due to its ‘Composable Service Approach’ and support for virtual machine deployments, there are unlimited possibilities to explore its potential to develop innovative IoT products. As a programmer, I see it as a next big thing.