update
This commit is contained in:
parent
e82d7d17db
commit
8d45809094
|
@ -192,7 +192,7 @@ def get_data():
|
||||||
'wind_direction': winddirection_data,
|
'wind_direction': winddirection_data,
|
||||||
'create_time': int(time.time())
|
'create_time': int(time.time())
|
||||||
}
|
}
|
||||||
if sun_data < 6:
|
if sun_data < 2000:
|
||||||
subprocess.Popen(['sudo python /home/pi/lot_manager/close_led.py'], shell=True)
|
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)
|
subprocess.Popen(['/bin/bash /home/pi/lot_manager/bash/stop_push_stream.sh'],shell=True)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue