Skip to content

A plug which auto turns off when it's Shabbos or Yom Tov.

License

Notifications You must be signed in to change notification settings

RebbePod/melachaplug

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Melacha Plug Banner

PRs Welcome Codacy Badge Donate

Melacha Plug

A Melacha aware plug which knows when it's Shabbos or Yom Tov.

This project is using ESPHome.

Looking to disable a smart doorbell for Shabbos? Worried about Google or Alexa listening to you on Shabbos or Yom Tov? The solution is here!

Features

  • Smart: A full Jewish Calendar onboard, it knows when Yom Tov is.
  • Failsafe: Buttons will be disabled on Shabbos.
  • Intelligent: Auto detects your location with the option to customize.
  • Aware: LED flash lets you know when Shabbos mode is enabled.
  • Local: All logic is done on-board.
  • Adaptable: All code is open source, tweak, correct and expand.
  • Easy: Simply plug and play, your all set!

Getting Started

What You'll Need

  • A plug with ESPHome or Tasmota software installed.
  • Pre-flashed plugs can be bought from the Athom or Cloud Free shop. There is also some sonoff s31 preflashed to be found on Ebay, and Amazon.

Installation

Pre-configured

Limitations

  • Timezone won't be set to your specific location.
  • Your location won't be 100% accurate (you can update it in web UI to be your exact location).

Instructions

  • Download the melachaplug.bin file from above.
  • If your device is using Tasmota, follow instructions on how to upgrade from the ESPHome docs or Tasmota docs.
  • If your device is using ESPHome, use the web UI to install the firmware.

Custom Configuration

  • Set up your own ESPhome instance. If you have Home Assistant then use the ESPHome Dashboard, otherwise use their Command Line Interface guide.
  • Find the YAML file for your device from the esphome folder above.
  • Configure the YAML settings to your liking, and flash device (more details on the ESPHome site).

Advanced

Using Relays

You can customize this project for any sort of relays, includung the sonoff basic.

Shabbos Mode

Shabbos from this project can be reused to be helpful in all types of projects.

Potential Use Cases

  • Those with motion based lights, can have the motion disabled on Shabbos and Yom Tov.
  • Preserve energy usage during Shabbos and Yom Tov, for example of water heaters.
  • Turn off security cameras.
  • Disbale occidental light switch triggers (advanced).

Contribute

paypal

About

A plug which auto turns off when it's Shabbos or Yom Tov.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 76.9%
  • C++ 23.1%