Self lighting menorah for Chanukah. An Arduino/Python project.
My bot Tweets to @MitzvahBot
- Determines Chanukah dates and lighting times.
- Says candle lighting prayers via Twitter.
- Lights candles on a properly configured Arduino.
- Extinguishes candles after a few hours.
- Configure arduino as shown in diagram. Resistors are 330ohm.
- Load chanukiah.ino to your arduino.
- Install Python libraries. Use pip on Ubuntu or OSX. Required libraries are pyserial, nap, python-dateutil, and python-twitter.
- Set appropriate variables in controller.py. You'll need an account on apps.twitter.com.
- Connect Arduino to host computer via USB. Run controller.py. (Needs to be run as sudo in Ubuntu for serial access to work.)
- Wait for Chanukah, or enable debug flag in controller.py before running.
Some APIs changed since last year; updated code accordingly.
- Removed Geonames integration. No longer necessary to to enhancements to hebcal.org API.
- Pull candle lighting times directly from hebcal.org instead of using sunset times.
- Removed sunset offset setting.