update
This commit is contained in:
parent
cc970c891c
commit
e82d7d17db
|
@ -194,6 +194,7 @@ def get_data():
|
|||
}
|
||||
if sun_data < 6:
|
||||
subprocess.Popen(['sudo python /home/pi/lot_manager/close_led.py'], shell=True)
|
||||
subprocess.Popen(['/bin/bash /home/pi/lot_manager/bash/stop_push_stream.sh'],shell=True)
|
||||
else:
|
||||
subprocess.Popen(['sudo python /home/pi/lot_manager/open_led.py'], shell=True)
|
||||
t2 = LOT_DATA(**data)
|
||||
|
|
Loading…
Reference in New Issue