Compare commits
No commits in common. "6848570758d3fd3ae0681e3468ccf4faa060731f" and "056c0b545eb253dc28755a1c20f4efef492cb3d6" have entirely different histories.
6848570758
...
056c0b545e
@ -20,8 +20,7 @@ infdbuser = os.environ["INFLUX_USER"]
|
||||
infdbpass = os.environ["INFLUX_PASSWORD"]
|
||||
influxuri = os.environ["INFLUX_URI"]
|
||||
while(True):
|
||||
response = sp.getstatusoutput(f"speedtest --accept-license --format=json")[1]
|
||||
print(response)
|
||||
response = sp.getstatusoutput(f"speedtest --format=json")[1]
|
||||
respjson = json.loads(response.split("\n")[1])
|
||||
print(response)
|
||||
downspeed = respjson['download']['bandwidth'] * 8 / 1024 / 1024
|
||||
|
Loading…
x
Reference in New Issue
Block a user