1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

added web socket node to example config

This commit is contained in:
Steffen Vogel 2017-04-24 19:58:23 +02:00
parent 6da1070e56
commit fe8a6750f4
2 changed files with 7 additions and 0 deletions

View file

@ -127,6 +127,11 @@ nodes = {
"PTotalLosses(MW)",
"QTotalLosses(Mvar)"
]
},
websocket_node = {
type = "websocket"
destinations = [ "http://example.com/node-name1", "https://example.com/another-node" ]
}
};

View file

@ -39,6 +39,8 @@ log = {
};
http = {
enabled = true, # Do not listen on port if true
htdocs = "/villas/web/socket/", # Root directory of internal webserver
port = 80 # Port for HTTP connections
}