Implementing a Zeroconf service for your home automation Android app

The concept of Home Automation has been around for years. From sprinkler systems that run on their own schedule to lights and windows operated by voice commands, people have always been inventing ways to make our lives easier and our home more “automatic”. Now that smartphones are serving us in countless ways, it’s obvious that they will eventually take part in helping us control our homes as well.
Zeroconf is a set of technologies dedicated to easily creating TCP/IP networks from interconnected devices, without having to call your computer genius brother-in-law to help you set it up.
I am going to show you how you can use your Android device to discover and gather data from services and devices within your home network, by implementing a Zeroconf service with no more than a few lines of code. From there, the things you can do will be limited only by your imagination…

Continue reading