Skip to content

chabad-source/esphometimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 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.

Instructions

  • Copy the code and edit to your ESPs specifications.
  • Be sure to include your location and the correct time zone for your area.

Timer Configuration

Configure your timer settings with ease using the following guidelines. Each setting group is separated by a comma ,. The name of the setting must be written exactly as listed below, followed by a semicolon ; and the corresponding value.

  • Live: Indicates whether the action is live or not. 0 for disabled, 1 for enabled.
  • Mode: Specifies the mode of operation. 0 for time, 1 for sunrise, 2 for sunset.
  • Time: Represents the time at which the action occurs in a 24-hour format (HH:MM). Not needed if the mode isn't set to time (0).
  • Repeat: Determines if the action should repeat. 0 for disabled, 1 for enabled.
  • Days: Specifies the days on which the action occurs. Use - or 0 to disable, any other character will enable that day of the week. Days are determined by their position in the string; for example, to repeat on Sunday, it looks like this: S------. For Sunday and Monday, use SM-----, and so on.
  • Output: Indicates the output of the action. (To Be Determined)
  • Action: Specifies the type of action. 0 for off, 1 for on, 2 for toggle.
  • Offset: Represents any time offset applied to the action in the same format as time. Prefix with a + or - for positive or negative offset.

Example:

Live;1,Mode;0,Time;9:41,Repeat;1,Days;-MTWTF-,Output;1,Action;2,Offset;-00:01

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