There are three separate programs to accompany our IoTree, each taking a slightly different approach to work with our lights and servo. The programs are as follows:
- The Tree API service (found in the chapter14/tree_api_service folder): This program provides a RESTful API created with Flask-RESTful to control the lights and servo. It also includes a basic HTML and JavaScript web app that uses the API. We will discuss the Tree API service further in the section titled Configuring, running, and using the Tree API service.
- The Tree MQTT service (found in the chapter14/tree_mqtt_service folder): This program will allow us to control the lights and servo by publishing MQTT messages. We will discuss the Tree MQTT service further in the section titled Configuring, running, and using the Tree MQTT service.
- The dweet integration service (found in the chapter14/dweet_integration_service folder): This program receives dweets and...