Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 1.01 KB

README.MD

File metadata and controls

25 lines (13 loc) · 1.01 KB

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.