ESPEasy System Variables

From Let's Control It
Revision as of 07:56, 24 October 2017 by Grovkillen (talk | contribs)
Jump to navigation Jump to search

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
%uptime%	- Uptime in minutes
%ip%		- Current IP address
%vcc% 		- VCC value, this needs a custom compiled firmware! (#define FEATURE_ADC_VCC true)

More uses of these system variables can be seen in the rules section and formula section.