added option to reboot ahoy every 24 hours

This commit is contained in:
tastendruecker123 2023-04-17 16:56:24 +02:00
parent 492cc5a8aa
commit d7eb4a0b98
5 changed files with 19 additions and 0 deletions

View file

@ -207,6 +207,7 @@ class RestApi {
obj[F("ssid")] = mConfig->sys.stationSsid;
obj[F("device_name")] = mConfig->sys.deviceName;
obj[F("dark_mode")] = (bool)mConfig->sys.darkMode;
obj[F("sched_reboot")] = (bool)mConfig->sys.schedReboot;
obj[F("mac")] = WiFi.macAddress();
obj[F("hostname")] = mConfig->sys.deviceName;