Hello,
I would like to access date(Year, month, day) in espeasy rules. Could You please provide some hints how to do that?
Ignas
How to access date (e.g. Year) in espeasy rules?
Moderators: grovkillen, Stuntteam, TD-er
- 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?
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
%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

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



Who is online
Users browsing this forum: No registered users and 21 guests