In the last chapter, we learned about different buses supported on BeagleBone. In this chapter we are going to take our physical computing exercises to the next level. In this chapter we are doing similar Internet of Things (IoT) exercises in Python that we did in Chapter 7, Internet of Things with BeagleBone. However, we will go one step further to upload and visualize our sensor data on the remote cloud. All our programs will be done using the Flask web framework. We will also implement a web app using the popular REST. The theory about the IoT is covered in Chapter 7. So, we will move to the programs directly. We will also cover security and other aspects in the last part of this chapter.
This chapter will cover:
Flask web application framework
Program to display temperature remotely
Program to control an LED through a web browser
RESTful web app to control a servo motor
Program to trigger an e-mail alert on over-temperature
Upload sensor data on cloud...