Difference between revisions of "ESPEasy System Variables"
Jump to navigation
Jump to search
Grovkillen (talk | contribs) |
Grovkillen (talk | contribs) |
||
Line 16: | Line 16: | ||
%sysweekday_s% - Weekday (verbose) - Sun, Mon, Tue... | %sysweekday_s% - Weekday (verbose) - Sun, Mon, Tue... | ||
%uptime% - Uptime in minutes | %uptime% - Uptime in minutes | ||
+ | %rssi% - Wifi signal strength | ||
%ip% - Current IP address | %ip% - Current IP address | ||
%vcc% - VCC value, this needs a custom compiled firmware! (#define FEATURE_ADC_VCC true) | %vcc% - VCC value, this needs a custom compiled firmware! (#define FEATURE_ADC_VCC true) |
Revision as of 21:48, 1 March 2018
ESP Easy system variables:
Generic: These can be used in templates for HTTP, MQTT, OLED and LCD displays and within rules:
%sysname% - Name as configured through the webgui %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 %sysweekday% - Weekday (integer) - 1, 2, 3... (1=Sunday, 2=Monday etc.) %sysweekday_s% - Weekday (verbose) - Sun, Mon, Tue... %uptime% - Uptime in minutes %rssi% - Wifi signal strength %ip% - Current IP address %vcc% - VCC value, this needs a custom compiled firmware! (#define FEATURE_ADC_VCC true) %mac% - MAC address %mac_int% - MAC address in integer to be used in rules (only the last 24 bit)
More uses of these system variables can be seen in the rules section and formula section.