Remote control is currently one of the most popular IoT patterns. Examples of this pattern can be found in IoT applications that let you remotely control things such as lights, thermostats, and garage doors using handheld devices or computers. It has mainly been used for home automation applications so far.
In this chapter, you are going to build a lighting control system. Figure 6-1 shows components of a lighting control system. The first component is an Android app that lets users control lights. It publishes messages to an MQTT broker whenever the user taps on ...