- moves transistion time and app time setting into onscreen-menu
- Text starts to scroll on the left side instead from right
- allows to switch to a page by name via mqtt
- custompages doesnt need to have integers as an id anymore, you can also use strings now.

closes #7
closes #4
This commit is contained in:
Stephan Mühl
2023-03-23 14:06:11 +01:00
parent ec613ec43e
commit 7b5a4d3aba
14 changed files with 324 additions and 190 deletions

View File

@@ -94,8 +94,6 @@ void ServerManager_::setup()
mws.addCSS(custom_css);
mws.addJavascript(custom_script);
mws.addOptionBox("General");
mws.addOption("Duration per Page", TIME_PER_FRAME);
mws.addOption("Transistion duration", TIME_PER_TRANSITION);
mws.addOption("Uppercase letters", UPPERCASE_LETTERS);
mws.addOption("Show date", SHOW_DATE);
mws.addOption("Show temperature", SHOW_TEMP);
@@ -193,8 +191,6 @@ void ServerManager_::loadSettings()
MQTT_USER = doc["Username"].as<String>();
MQTT_PASS = doc["Password"].as<String>();
MQTT_PREFIX = doc["Prefix"].as<String>();
TIME_PER_FRAME = doc["Duration per Page"].as<int>();
TIME_PER_TRANSITION = doc["Transistion duration"].as<int>();
NET_STATIC = doc["Static IP"];
HA_DISCOVERY = doc["Homeassistant Discovery"];
NET_IP = doc["Local IP"].as<String>();