In this chapter you learned how to use WiFiManager to set up Wi-Fi and add parameters to the configuration file, saved the received values to the SPIFFS, read the values at startup time, and used them to connect to a MQTT broker. Finally, you sent infrared commands to control additional devices such as an air conditioner, TV, and so on.