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 accidentally triggering on Shabbos or Yom Tov? The solution is here!
- Smart: It features a full Jewish calendar on board, not just for Shabbos, but also for Yom Tov!
- Failsafe: Buttons are disabled on Shabbos and Yom Tov for added security.
- Intelligent: It automatically detects your location and provides the option to further customize.
- Aware: A LED flash lets you know when Shabbos mode is enabled.
- Local: All logic is processed on board.
- Adaptable: All code is open source, allowing for easy tweaking, correction, and expansion.
- Easy: Simply plug and play, and you're all set!
- 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 preflashed plugs to be found on Ebay, and Amazon.
Limitations
- Timezone is locked to EST unless you flash it yourself.
- Your location won't be 100% accurate (you can update it via the web UI).
Instructions
- Download the melachaplug.bin file from above. (currently none are compiled)
- 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.
- Once the firmware is installed it will create a WiFi access point called "Melacha Plug Fallback", connect to it using any phone or computer.
- On the devices webpage enter in your WiFi details (it should pop up, if it doesn't then it can be accessed via it's IP).
- The device will restart, and should appear on your WiFi network.
- Set up your own ESPhome instance. If you have Home Assistant then use the ESPHome Dashboard, otherwise follow the 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).
You can customize this project for any sort of relays, including the sonoff basic.
Shabbos from this project can be reused to be helpful in all types of projects.
- 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 (temperature should be kept above °120F to prevent Legionnaires’ disease).
- Turn off security cameras.
- Disable accidental light switch triggers on Shabbos and Yom Tov (advanced).
- Turn on a hot water urn before Shabbos and have it auto turn off after.
- Disable a dishwasher so it won't accidentally get turned on.