Skip to content

chabad-source/esphometimer-v1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Banner

PRs Welcome Codacy Badge Donate

ESPHome Timer

Adds dynamic timer functionality to your esphome project. Set and adjust timers on the fly!

This project is using ESPHome.

Features

  • Features 20 updatable timers.
  • Set repeatable timers based on the day of the week.
  • Auto detect missed timers and restore the latest timers value.
  • Includes quick override option.
  • All running locally, no reliance on another server.

Web Server Screenshot

Instructions

  • Copy the code and edit to your ESPs specifications.
  • Copy the ids of the relays you have and add them into the top of the timer.h file. Be sure to change the number of relays if necessary.
  • Be sure to include your location and the correct time zone for your area.

Usage Instructions

  • Mode 0 uses the time as the base. Mode 1 uses sunrise, Mode 2 uses sunset.
  • Action sets the action to do when timer runs. 0 = off 1 = on and 2 = toggle.
  • Output is the position of your relay, if you only have 1 relay use 0 (with two relays the first would be 0 and the second 1).
  • When using an offset, set "Timer Negative Offset" to on to make the offset be applied to before sunrise or sunset.
  • If "Timer Repeat" is disabled the timer will only run once no matter if todays weekday is toggled.
  • After running once the timer will automatically disable it self.

Contribute

paypal - or - "Buy Me A Coffee"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages