Program, allows pi to detect unread emails and turns led on accordingly
Installation:
- Download Files And Place In Document Folder (/home/pi/Documents)
- Update Email Details
- Go to https://myaccount.google.com/lesssecureapps?utm_source=google-account&utm_medium=web&hl=en_GB and enable less secure apps.
- Update Crontab (Below)
- Install Hardware (Images Below)
- Let It Run!
Hardware Image
https://cdn.shopify.com/s/files/1/0176/3274/files/LEDs-BB400-1LED_bb_grande.png?6398700510979146820
Crontab
- run command $ sudo crontab -e
- add line (* * * * * python /home/pi/Documents/gmail_python/check_messages.py)
- save and exit
Any errors message me