Giter Site home page Giter Site logo

mitzvahbot's Introduction

MitzvahBot

Self lighting menorah for Chanukah. An Arduino/Python project.

My bot Tweets to @MitzvahBot

MitzvahBot:

  1. Determines Chanukah dates and lighting times.
  2. Says candle lighting prayers via Twitter.
  3. Lights candles on a properly configured Arduino.
  4. Extinguishes candles after a few hours.

More Images

To Use:

  1. Configure arduino as shown in diagram. Resistors are 330ohm.
  2. Load chanukiah.ino to your arduino.
  3. Install Python libraries. Use pip on Ubuntu or OSX. Required libraries are pyserial, nap, python-dateutil, and python-twitter.
  4. Set appropriate variables in controller.py. You'll need an account on apps.twitter.com.
  5. Connect Arduino to host computer via USB. Run controller.py. (Needs to be run as sudo in Ubuntu for serial access to work.)
  6. Wait for Chanukah, or enable debug flag in controller.py before running.

Changelog

v1.1 2015-12-06

Some APIs changed since last year; updated code accordingly.

  1. Removed Geonames integration. No longer necessary to to enhancements to hebcal.org API.
  2. Pull candle lighting times directly from hebcal.org instead of using sunset times.
  3. Removed sunset offset setting.

mitzvahbot's People

Contributors

elahd avatar guitarbeard avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.