Skip to content

catybento/Mail-Led

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mail-Led

A small python IoT project that sends an email saying the Raspberry Pi LED status

For this project you need:

  • Raspberry Pi 2 (Raspberry Pi OS with desktop)
  • LED
  • 270Ω Resistor

To connect the LED, use Raspberry Pi's row of GPIO (General-Purpose Input/Output) like shown in the following picture:

  • Ground (14)
  • GPIO 14 (8)

To run this program, first configure mail_config.json:

  • "from" - Email address that will send the email
  • "smtp" - SMTP address
  • "port" - SMTP port

After that, run the program in the terminal with the command below:

    python3 MailLed.py

The terminal should look like this if the program runs properly:

You will receive the following email:

About

A small python IoT project that sends an email saying the Raspberry Pi LED status

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages