changeset 2157:94b58da02abc

switch to udmx
author drewp@bigasterisk.com
date Thu, 18 May 2023 10:25:23 -0700
parents c5974a6bbc28
children 9d3e6bfe30aa
files light9/collector/service.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/light9/collector/service.py	Thu May 18 10:13:55 2023 -0700
+++ b/light9/collector/service.py	Thu May 18 10:25:23 2023 -0700
@@ -13,7 +13,7 @@
 
 from light9 import networking
 from light9.collector.collector import Collector
-from light9.collector.output import ArtnetDmx, DummyOutput, Output  # noqa
+from light9.collector.output import ArtnetDmx, DummyOutput, Output, Udmx  # noqa
 from light9.collector.weblisteners import UiListener, WebListeners
 from light9.namespaces import L9
 from light9.run_local import log
@@ -76,7 +76,7 @@
             #           host='127.0.0.1',
             #           port=6445,
             #           rate=rate),
-            DummyOutput(L9['output/dmxA/']),
+            Udmx(L9['output/dmxA/'], bus=3, address=21, lastDmxChannel=100),
         ]
     except Exception:
         log.error("setting up outputs:")