Skip to content

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

Notifications You must be signed in to change notification settings

CloudFreeShop/melachaplug

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Melacha Plug Banner

PRs Welcome Codacy Badge

Melacha Plug

A Melacha aware plug which turns off 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 on Ebay, and this plug from Amazon.

Installation

Pre-configured

Limitations

  • Timezone won't be set to your specific location.
  • Your location won't be 100% accurate.

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 84.5%
  • C++ 15.5%