Simple Dashboard incl. server and multiple clients
To-Do:
- Align readme to Github markdown
- Add direct sending of a setted value for Websocket
- Add Javascript Client
- Add more clients
Start via node.js startServers.js
/getLatest/{application}/{monitor} (GET)
- application - Application identifier
- monitor - The monitor
Type: JSON If empty: {} If not empty: { "value": {someValue}, "timestamp": {timestampOfEntry} }
/set (POST)
- application - Application identifier
- monitor - The monitor
- value - Value for Monitor
Send message to 'getLatest'
JSON: { "application": "AppName", "monitor": "MonitorName" }
- application - Application identifier
- monitor - The monitor
Type: JSON If empty: {} If not empty: { "value": {someValue}, "timestamp": {timestampOfEntry} }
Send message to 'set'
JSON: { "application": "AppName", "monitor": "MonitorName", "value": "ValueToSet" }
- application - Application identifier
- monitor - The monitor
- value - Value for Monitor
Available via start client.js in examples/websockets