Mercurial > code > home > repos > light9
changeset 2383:22c1b5c60a64
turn on udmx output of collector
author | drewp@bigasterisk.com |
---|---|
date | Mon, 13 May 2024 15:47:41 -0700 |
parents | 40d5a54dec99 |
children | ffa2f340ffdf |
files | src/light9/collector/output.py src/light9/collector/service.py |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/light9/collector/output.py Sun May 12 20:07:32 2024 -0700 +++ b/src/light9/collector/output.py Mon May 13 15:47:41 2024 -0700 @@ -80,7 +80,7 @@ rate: float - def __init__(self, uri, rate=22): + def __init__(self, uri, rate=22.0): super().__init__(uri) self.rate = rate self._currentBuffer = b''
--- a/src/light9/collector/service.py Sun May 12 20:07:32 2024 -0700 +++ b/src/light9/collector/service.py Mon May 13 15:47:41 2024 -0700 @@ -108,7 +108,7 @@ graph = SyncedGraph(networking.rdfdb.url, "collector") - #devPath, usbAddress = findDevice() + devPath, usbAddress = findDevice() # if user doesn't have r/w, fail now try: # todo: drive outputs with config files @@ -118,7 +118,7 @@ # port=6445, # rate=rate), #sudo chmod a+rw /dev/bus/usb/003/021 -# Udmx(L9['output/dmxA/'], bus=1, address=usbAddress, lastDmxChannel=200, rate=RATE), + Udmx(L9['output/dmxA/'], bus=3, address=usbAddress, lastDmxChannel=200, rate=RATE), ] except Exception: log.error("setting up outputs:")