This commit is contained in:
2025-10-06 09:23:30 +02:00
parent 2aca817303
commit a5615c109d

View File

@@ -734,7 +734,7 @@ def on_message(client, userdata, msg):
tright = config['morefine']['tright'] tright = config['morefine']['tright']
left = config['morefine']['left'] left = config['morefine']['left']
mid = config['morefine']['mid'] mid = config['morefine']['mid']
myCmd = "bash /home/jd/test.sh" myCmd = "bash /myapps/mqtt_srv/get_monitors.sh"
status, output = subprocess.getstatusoutput(myCmd) status, output = subprocess.getstatusoutput(myCmd)
f = open( "/tmp/monitors.txt" ) f = open( "/tmp/monitors.txt" )
contents = f.read().splitlines() contents = f.read().splitlines()