This commit is contained in:
Stefan Bethke 2022-07-22 17:56:53 +02:00
commit d4166db9ab
2 changed files with 3 additions and 2 deletions

View file

@ -34,12 +34,13 @@ def update(state):
dmx.start()
return {'result': 'ok'}
def main(args):
global dmx
parser = argparse.ArgumentParser(prog='foobazdmx', description='Make the lights flicker.')
parser.add_argument('-a', '--artnet', type=str, required=True, help="Art-Net server")
parser.add_argument('-r', '--room', type=str, required=True, help="light setup for room")
parser.add_argument('-r', '--room', type=str, required=True, help="light setup for room: shop or big")
args = parser.parse_args(args)
artnet = args.artnet