added Hostname to WebUI-Info

This commit is contained in:
2023-03-20 23:38:13 +01:00
parent e9567602d3
commit 744f8c431c
2 changed files with 19 additions and 0 deletions

View File

@@ -72,6 +72,8 @@ void Webserver_Process()
String processor(const String &var)
{
if (var == "HOSTNAME")
return String(globals.DeviceName);
if (var == "TANK_REMAIN_CAPACITY")
return String((PersistenceData.tankRemain_microL / 10) / LubeConfig.tankCapacity_ml);
if (var == "LUBE_DISTANCE_NORMAL")