Page 1 of 1
How to access date (e.g. Year) in espeasy rules?
Posted: 19 Oct 2017, 08:45
by ignas
Hello,
I would like to access date(Year, month, day) in espeasy rules. Could You please provide some hints how to do that?
Ignas
Re: How to access date (e.g. Year) in espeasy rules?
Posted: 19 Oct 2017, 09:59
by grovkillen
This is implemented in the current source code but not as official dev-release. You can compile one yourself or wait for the release. These commands will be accessible:
%systime% Current time if NTP is enabled (HH:MM:SS, HH:MM prior to v2.0)
%syshour% HH
%sysmin% MM
%syssec% SS
%sysday% DD
%sysmonth% XX
%sysyear% 4 digits "2017"
%sysyears% 2 digits "17"
https://www.letscontrolit.com/wiki/inde ... _Variables
Re: How to access date (e.g. Year) in espeasy rules?
Posted: 19 Oct 2017, 10:10
by ignas
Thank You!