From e82d7d17db44088e10e2f1c45113d38078c37b1b Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Tue, 26 Dec 2023 17:50:01 +0800 Subject: [PATCH] update --- sensor_to_server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sensor_to_server.py b/sensor_to_server.py index db947f9..bd7e831 100755 --- a/sensor_to_server.py +++ b/sensor_to_server.py @@ -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)