Skip to content

Raspberry Pi basic temperature alert mechanism using bash

Notifications You must be signed in to change notification settings

Dude29/temp-alert-pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Temperature alerts for Raspberry Pi via email

Bash script to send an email when your Raspberry Pi's temperature surpasses the safe documented limits.

Configuring

This script depends on the command msmtp. To understand how to configure and install this command on your Raspberry refer to this guide.

If you intend to use a gmail account as the sender email then you must configure that account to allow unsafe apps.

Usage

./checktemp.sh

The script will send an email with the account you configure when setting up msmtp if the Raspberry Pi's temperature is currently above the safe documented limits.

To change the recipient of the alert email edit the alert.mail file and change the To: field accordingly.

You can also edit the contents of alert.mail to your liking.

About

Raspberry Pi basic temperature alert mechanism using bash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages