Skip to content

unixweb/rpi-cpu-alarm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rpi-cpu-alarm

App for notify the CPU Temperature on Raspberry Pi via Mail

Install:

git clone https://github.com/unixweb/rpi-cpu-alarm

Define your Variables:

mailserver = "XXXX.de" Add your SMTP-Mailserver

smtpport = 25 Add your SMTP-Mailserver Port mostly Port :25

smtpuser = "XXXX" Add your Username example : [email protected]

smtpasswd = "XXXXX" Add your Password for SMTP-Mail Delivery

recipient = "[email protected]" Add your Mailaddresss example : [email protected]

smtpsender = "[email protected]" Add your Mailaddress whatever you like

alarmtemp = 55 Change for testing to 20 only

Create Crontab Entry:

sudo vi /etc/cron.d/pi-alarm

*/15 * * * * pi /usr/bin/python /home/pi/rpi-cpu-alarm/alarm.py

*/15 * * * * pi /usr/bin/python /home/pi/rpi-cpu-alarm/pushover.py

About

Raspberry Pi - CPU Temperature Alarm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages