Adds dynamic timer functionality to your esphome project. Set and adjust timers on the fly!
This project is using ESPHome.
- 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.
- 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.