Build a remote light control system using SAMI, LED, Raspberry Pi, and an Android application. The system contains the following components:
- An IoT device that acts on received commands, turn on/off the LED, and finally sends back the latest state.
- An Android application that sends commands to the device and displays the latest state of the device.
The tutorial Your first IoT remote control system at http://developer.samsungsami.io/ describes what the system does and how it is implemented.
This repository contains the following software:
- A Node.js script running on the Raspberry Pi
- An Android application running on the Android phone
The root directory of the application is sample-android-SAMIIoTSimpleController
.
Consult set up the Android project in the tutorial to learn the prerequisites and installation steps.
The code is located in raspberrypi
directory. Consult Set up the Raspberry Pi in the tutorial to install the packages and to run the program on the Pi.
If you are not familiar with SAMI, we have extensive documentation at http://developer.samsungsami.io
The full SAMI API specification with examples can be found at http://developer.samsungsami.io/sami/api-spec.html
Peek into advanced sample applications at https://developer.samsungsami.io/sami/samples/
To create and manage your services and devices on SAMI, visit developer portal at http://devportal.samsungsami.io
Licensed under the Apache License. See LICENSE.
Copyright (c) 2016 Samsung Electronics Co., Ltd.