How to access date (e.g. Year) in espeasy rules?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
ignas
New user
Posts: 2
Joined: 19 Oct 2017, 07:25

How to access date (e.g. Year) in espeasy rules?

#1 Post by ignas » 19 Oct 2017, 08:45

Hello,

I would like to access date(Year, month, day) in espeasy rules. Could You please provide some hints how to do that?

Ignas

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: How to access date (e.g. Year) in espeasy rules?

#2 Post by grovkillen » 19 Oct 2017, 09:59

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
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

ignas
New user
Posts: 2
Joined: 19 Oct 2017, 07:25

Re: How to access date (e.g. Year) in espeasy rules?

#3 Post by ignas » 19 Oct 2017, 10:10

Thank You!

Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests