Test and Install

Now that the Android client is transmitting the URL request via the toggle button interface, we are nearly finished with this project. Test the lock and photo capture mechanism by powering up the Android phone server, making sure all the connections between the phone, IOIO board, and PowerSwitch Tail are connected. Send a request to the Android phone server from the other Android device running the Android Door Lock client. Note that in order to test this request successfully, the client Android device needs to be connected to the same Wi-Fi access point as the Android phone server. Your test rig may look like mine (Figure 43, Testing the Android Door Lock).

Figure 43. Testing the Android Door Lock

The final task is to actually ...

Get Programming Your Home now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.