Skip to content
Snippets Groups Projects
Commit 0884ffb4 authored by am0ebe's avatar am0ebe
Browse files

rm tmp py dir and update gitignore

parent 8e11c79a
No related branches found
No related tags found
No related merge requests found
skyglow.log
moon?*
README.html
__pycache__
\ No newline at end of file
......@@ -60,8 +60,7 @@ skyglow = [ 15, # one 0.08
NUM_ECO_UNITS = len(skyglow)
sunrise = 0
sunset = 0
#datetime.now(timezone.utc) #create aware!
#utcnow() / utcfromtimestamp()
#UTC: utcfromtimestamp() / datetime.now(timezone.utc)
now = dt.utcnow().replace(second=0, microsecond=0) # ignore seconds and microseconds
#mlx (idx is also dmx-byte value)
......@@ -306,7 +305,7 @@ def main(args=""):
client = wrapper.Client()
# send 1 dmx frame with values for channels 1-3 for all ecounits
client.SendDmx(UNIVERSE, data, dmxSent)
client.RegisterUniverse(UNIVERSE, client.REGISTER, dmxReceive)
client.RegisterUniverse(UNIVERSE, client.REGISTER, dmxReceive)
wrapper.Run()
except Exception as e:
error(FAIL_DMX,e)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment