You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Timers can fire daily or at specific days of the week
16
-
* Timers can use daily sunrise & sunset times based on the latitude/longitude coordinates
17
-
* Timers can have a fixed offset before or after a timestamp
18
-
* Timers can have a random offset before or after a timestamp
19
-
* Timers can be removed/reset
20
-
* Programmable timers can be specified by MQTT JSON Messages
21
-
* Programmable timers are repeatable
22
-
* Programmable timers can wait for a random number of seconds/minutes before being fired
23
-
* A range of programmable timers can be set with one MQTT message
12
+
A timer is one of the most important parts of a home automation system.
13
+
It tells lights, thermostats and other devices to adjust at certain times of the day or at specific days of the week.
14
+
But in addition to fixed times, a timer must also know the sunrise and sunset times, because they change every day.
15
+
This is possible by providing the longitude and latitude coordinates.
16
+
Because it is not always dark at the sunset time a timer needs to wait a certain period of time before or after sunrise/sunset.
17
+
In some situations it is desirable to wait a random number of seconds or minutes.
18
+
This can for example give the impression that someone is home switching the lights on every day at a different time.
19
+
Apart from these configurable timers, timers need to be programmable.
20
+
An example is the activation of a dimmable light if motion is detected, where the light percentages will go down in the minutes after the detected movement.
21
+
Another requirement is option to disable or cancel a timer.
22
+
MQTT-Timer aims to meet these needs.
23
+
24
+
In a MQTT based home automation environment a timer independent from home control software like node-red or Home Assistant increases the stability of the whole system.
25
+
It follows the Unix/Linux philosophy: do one thing, and do it well.
26
+
If for example node-red crashes the timers will continue to send messages at desired times.
24
27
25
28
## Installation
26
29
@@ -39,24 +42,25 @@ The `mqtt-timer.yml` file has to exist in one of the following locations:
0 commit comments