martin-ger / esp_mqtt

MQTT Broker/Bridge on the ESP8266
MIT License
297 stars 70 forks source link

Alarms per day #45

Closed b-fork closed 6 years ago

b-fork commented 6 years ago

Awesome project!

Is there any way to set alarms per day in the script? Something like: setalarm 1 "Fri 20:45" setalarm 2 "Mon 21:45" ...

And/or to get the current day programmatically in the script? So as to make the choice there.

Thanks

martin-ger commented 6 years ago

You can check the $weekday variable in a script.

Am 7. September 2018 13:53:40 schrieb Bruno notifications@github.com:

Awesome project! Is there any way to set alarms per day in the script? Something like: setalarm 1 "Fri 20:45" setalarm 2 "Mon 21:45" ...And/or to get the current day programmatically in the script? So as to make the choice there. Thanks — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

b-fork commented 6 years ago

Great! Thanks!