Reader small image

You're reading from  Practical Python Programming for IoT

Product typeBook
Published inNov 2020
Reading LevelIntermediate
PublisherPackt
ISBN-139781838982461
Edition1st Edition
Languages
Right arrow

Three IoTree service programs

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...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Practical Python Programming for IoT
Published in: Nov 2020Publisher: PacktISBN-13: 9781838982461