Communicating via a smart phone
Unfortunately, creating an app for this purpose is too complicated to be within the scope of this book. However, we will be using apps that are already out there to communicate with our so far mini home automation system. The following subsections will deal with Android and iOS devices, not necessarily just smart phones. Yes, that means you can even use your tablet to control the appliances.
Android devices
Open the Google Play Store on your Android device, and look for UDP TCP Server:
Download and install it. On opening it, you will see the following page:
Go to UDPSettings. This is reached by first selecting the three vertical squares icon on the top-right. Change the settings to reflect the following image:
Do not forget to use your IP address, which may differ from the one in the preceding image. Go back to the main page and select + New Template. Call it something like Home Automation
.
Just as you did for accessing settings, access the Button Settings. We are...