diff --git a/web/collector/Light9CollectorUi.ts b/web/collector/Light9CollectorUi.ts --- a/web/collector/Light9CollectorUi.ts +++ b/web/collector/Light9CollectorUi.ts @@ -34,7 +34,7 @@ export class Light9CollectorUi extends L this.graph.runHandler(this.findDevices.bind(this), "findDevices"); }); - const ws = new ReconnectingWebSocket(location.href.replace("http", "ws") + "../service/collector/updates"); + const ws = new ReconnectingWebSocket("ws://localhost:8200/service/collector/updates"); ws.addEventListener("message", (ev: any) => { const outputAttrsSet = JSON.parse(ev.data).outputAttrsSet; if (outputAttrsSet) {