Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Beaglebone Python Programming

You're reading from   Learning Beaglebone Python Programming Unleash the potential of BeagleBone using Python

Arrow left icon
Product type Paperback
Published in Jul 2015
Publisher
ISBN-13 9781784399702
Length 196 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Alexander C Hiam Alexander C Hiam
Author Profile Icon Alexander C Hiam
Alexander C Hiam
Arrow right icon
View More author details
Toc

Weather alerts

One great application for this sort of small, relatively low-cost, and Internet connected weather station is the ability to get alerts. For instance, if you live in a cold area, you could get an alert if your heating system has stopped working and your water pipes are at risk of freezing and bursting. We already looked at sending e-mails in Chapter 6, Program Output, so we'll use that same code for notifications.

To implement alarms, we'll also want a way to configure their thresholds and to enable and disable them. For this, we'll use BBIOServer to build a quick web UI. This will let you configure alarms while on the same local network as your BeagleBone, so you would setup your alarms before leaving your house, for example.

You can also display your ThingSpeak plots right in a BBIOServer page (or any webpage) by using their provided embed HTML.

To get the embed code, click on the button that looks like a message box at the top right of each plot you want to...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image