Android App and Android Wear App

This is an extension of the Raspberry Pi Controlling Mains Power Project. The Android and Android Wear apps allow you to control any number of devices from an outlet. I setup port forwarding on my router so the devices can be controlled from anywhere in the world with Internet. There is an Apache server running on the Raspberry Pi with a REST API available to the applications. There are two endpoints on the REST API which are “get-state” (gets a list and current state of devices) and “set-state” (set the state of a particular device).

Project Photos

Demonstration