Setting up the local broker

Now that the setup is in place, let's discuss what we want to achieve in this chapter. Later in this chapter, we will come back to the mobile application:

You have enough knowledge now to complete the entire system from ESP8266 code to your local broker and to the mobile application. To complete this chain we can start with the ESP8266. Let's create a simple plug code and let's use the PaaS service offered by as an authorization and cloud MQTT service:

  1. Create an account and validate your email address on
  1. Get the bondar.bin binary image of a local MQTT broker and write it to a nodeMcu ...

Get ESP8266 Home Automation Projects now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.