Server to sync the time with. Only one ntp server is allowed.
"
buf = buf .."
Offset to UTC time
Define the offset to UTC time in hours. For example +1 hour for Germany
"
buf = buf .. "
"
+ buf = buf .. "
"
buf = buf ..""
if answertype==2 then
buf = buf .. "
New configuration saved
"
diff --git a/webserver.lua b/webserver.lua
index 20cc558..b6d3bde 100644
--- a/webserver.lua
+++ b/webserver.lua
@@ -39,6 +39,10 @@ function startWebServer()
end
postRequestData=nil
+ --- Do the magic!
+ if (_POST.action ~= nil and _POST.action == "Reboot") then
+ node.restart()
+ end
print("Inform user via Web")
if (sendWebPage == nil) then