make web client work

This commit is contained in:
2020-12-10 16:58:59 +01:00
parent 9e1d3b4e07
commit 1de819cd26
7 changed files with 380 additions and 209 deletions

View File

@ -166,18 +166,25 @@ All other connections are to be closed (getJSON):
*********************************************************************************************************************************
/updategraph?id=<id>
/updategraph?id=<id>[&variables=<variable list>]
if <variables list> is given, the given variables will be updated with the graph-update-message
response: <accept-graph-message>
<accept-graph-message> = = {
"type": "accept-graph"
"type": "accept-graph",
"live": true/false
}
the "live" flag is true when the last /graph query was including the actual time
*********************************************************************************************************************************
/graph?time=<start>,<end>&variables=<variable list>&id=<id>
the given variables are added to the list of variables being updated with the graph-update-message
response: <graph-draw-message>
<graph-draw-message> = = {