diff --git a/etc/example.conf b/etc/example.conf index 37ee14d74..ddb1fa172 100644 --- a/etc/example.conf +++ b/etc/example.conf @@ -127,6 +127,11 @@ nodes = { "PTotalLosses(MW)", "QTotalLosses(Mvar)" ] + }, + websocket_node = { + type = "websocket" + + destinations = [ "http://example.com/node-name1", "https://example.com/another-node" ] } }; diff --git a/etc/global.conf b/etc/global.conf index 19895c345..d165bf454 100644 --- a/etc/global.conf +++ b/etc/global.conf @@ -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 } \ No newline at end of file