Changeset - 22c1b5c60a64
[Not reviewed]
default
0 2 0
drewp@bigasterisk.com - 8 months ago 2024-05-13 22:47:41
drewp@bigasterisk.com
turn on udmx output of collector
2 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/light9/collector/output.py
Show inline comments
 
@@ -80,7 +80,7 @@ class BackgroundLoopOutput(Output):
 

	
 
    rate: float
 

	
 
    def __init__(self, uri, rate=22):
 
    def __init__(self, uri, rate=22.0):
 
        super().__init__(uri)
 
        self.rate = rate
 
        self._currentBuffer = b''
src/light9/collector/service.py
Show inline comments
 
@@ -108,7 +108,7 @@ def main():
 

	
 
    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 @@ def main():
 
            #           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:")
0 comments (0 inline, 0 general)