Python-Raspberry Pi Alarm Clock
Archived: started refactoring for better architecture, full test coverage, and improving the mechanical and electrical design. However, I can’t quite make a polished exterior that I am happy with. For now, I’ve decided to archive this project with the hope that I might revisit it in the future
Raspberry Pi Smart Alarm Clock. RGB light strip, buzzer, character LCD display, and web app
Initial Prototype
Prototype v2 with Box
FIXME: Update documentation for quick start. This is probably ~32% right
git clone https://github.com/KyleKing/pialarm.git
cd pialarm
poetry install
poetry shell
python pialarm.py
First, check the pins.ini file in the Python/ directory, then proceed the test of each hardware before booting the web application for the first time.
You will need a secret.ini file in the Python/ directory:
[IFTTT]
key = <>
[WU]
info = Weather Underground API
apikey = <>
lat = <>
lon = <>
Python packages and other libraries installed, see the script ./Python/requirements.sh
There are likely other bugs, so open an issue if you run into any trouble. This app really isn’t built for distribution and is only a personal side-project.
cd PiAlarm/Python
python .archive-python/modules/TM1637.py
# There should be a few statements printed and you can press enter to confirm each test