A customizable Raspberry Pi Zero W nightlight
I needed a nightlight that could be scheduled and color-synced to a particular sleep/wake hour pattern, for a young restless child, you know? If you're in the same boat, feel free to use this, modify it, and share any improvements.
- Grab a Raspberry Pi Zero W
- Plug in a NeoPixel strip to 5V (pin 2), GND (pin 6), and MOSI (pin 19). For reference: Raspberry Pi Zero W Pinout
- Clone this repo to the Pi
- Run the following commands:
poetry install
poetry add RPi.GPIO
ENVIRONMENT=prod poetry run python -m app.main
- Peter Gebhard - github.com/pg