O'Reilly logo

Programming the BeagleBone by Yogesh Chavan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A program to trigger an e-mail alert on over-temperature

This is the same exercise that we did in Chapter 7, Internet of Things with BeagleBone. The Python package flask-mail can be used to create a local mail server inside BeagleBone to send e-mails. But to match the same example we did in Chapter 5, Reading from Analog Sensors we will use Gmail. An Internet connection is essential for this exercise. It is recommended to create a new temporary Gmail account for this exercise. You will have to visit the webpage https://myaccount.google.com/security and turn on Allow less secure apps. If you have enabled two-factor authentication, you will have to generate an app password from the same webpage. An in-depth explanation about this is covered in Chapter ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required