Overview
• Motivation• Block Diagram• Prepare and Test the Circuit• Installing DeviceHive on RaspPi and Run Program• Access a device from Devicehive Admin UI and Create Client App• Conclusion• Future Work
Motivation
This project can be a very good starting ground, which it can be taken further to allow a home owner to control, monitor and co-ordinate home appliances remotely using the internet or remote device such as mobile phone.
Prepare and Test the Circuit
• Load Kernel module for auto load• Access The Sensor• Check whether the senor is working
Installing DeviceHive on Raspberry Pi
• Get the Sensor’s Serial number• Change Devicehive Playground
URL
Access your device from Devicehive Admin UIand Create Client App
See the device and the readings from the sensor in Admin UI http://nn5761.pg.devicehive.com/admin Send on/off messages to the LED: Name: UpdateStateParameter: {"equipment":"LED","state":"1"}Create client App to switch on/off the LED and get temperature readings
Conclusion
Our internet-enabled temperature sensor and LED are now talking to our JavaScript page using DeviceHive. We just saved ourselves a bunch of time designing the protocol, implementing libraries, troubleshooting and deploying.