changeset 2384:ffa2f340ffdf

revive effectSequencer
author drewp@bigasterisk.com
date Mon, 13 May 2024 17:21:31 -0700
parents 22c1b5c60a64
children 39110a37e5ac
files bin/attic/effectSequencer bin/effectSequencer web/collector/Light9CollectorUi.ts
diffstat 3 files changed, 5 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/bin/attic/effectSequencer	Mon May 13 15:47:41 2024 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-#!/bin/zsh
-pnpm exec vite -c light9/effect/sequencer/web/vite.config.ts &
-pdm run uvicorn light9.effect.sequencer.service:app --host 0.0.0.0 --port 8213 --no-access-log 
-wait
-
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/effectSequencer	Mon May 13 17:21:31 2024 -0700
@@ -0,0 +1,4 @@
+#!/bin/zsh
+exec pdm run uvicorn light9.effect.sequencer.service:app --port 8213 --no-access-log 
+
+
--- a/web/collector/Light9CollectorUi.ts	Mon May 13 15:47:41 2024 -0700
+++ b/web/collector/Light9CollectorUi.ts	Mon May 13 17:21:31 2024 -0700
@@ -34,7 +34,7 @@
       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) {