14th Apr 2015

IoT experiments – IBM’s IoTF and Rapberry Pi

April 13, 2015

I did some experimental setup for playing with sensor data streaming to the cloud – Internet Of Things.

One that seems quite interesting is IBM’s IoT Foundation - A fully managed, cloud-hosted service that is designed to simplify and derive the value from your IoT devices.

https://internetofthings.ibmcloud.com/

IBM offers a 30 day trial and it offers Device registration, Device and application connective, Secure receiving of data, secure sending of commands to devices and Storage and access to historic data.   The 30 day trial is for their IBM Bluemix cloud services.

It is possible to validate their backend with some simple experiments using their Quickstart - https://quickstart.internetofthings.ibmcloud.com/#/

Here is what I tried with Raspberry Pi (B+) - https://developer.ibm.com/iot/recipes/raspberry-pi/

Step 1: Install the software
curl -LO https://github.com/ibm-messaging/iot-raspberrypi/releases/download/1.0.2/iot_1.0-1_armhf.deb

sudo dpkg -i iot_1.0-1_armhf.deb

make sure the service is running – service iot status

to stop the service – sudo service iot stop

to uninstall the package – sudo dpkg -P iot

Step 2:  To visualize the data

Find the MAC address of Raspberry Pi
service iot getdeviceid

This will return something like this:

pi@SensorTag ~ $ service iot getdeviceid
The device ID is b827eba5b0aa
For Real-time visualization of the data, visit http://quickstart.internetofthings.ibmcloud.com/?deviceId=b827eba5b0aa

By going to the quickstart.internetofthings.ibmcloud.com you can see the data send from the raspberry pi.  This works nice.

——–

 

The data is sent from raspberry pi using MQTT PROTOCOL.

More information is available at the above web site on how to register to IBM’s IoTF organization and register various devices.  It states that once we follow this path, we can send commands to a registered device  (reboot raspberry pi)

Leave a Reply

grupa LGBT