Compare commits
	
		
			3 Commits
		
	
	
		
			056c0b545e
			...
			6848570758
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 6848570758 | |||
| ab6ca7fac6 | |||
| 96b7f4cbc0 | 
| @@ -20,7 +20,8 @@ infdbuser = os.environ["INFLUX_USER"] | ||||
| infdbpass = os.environ["INFLUX_PASSWORD"] | ||||
| influxuri = os.environ["INFLUX_URI"] | ||||
| while(True): | ||||
|     response = sp.getstatusoutput(f"speedtest --format=json")[1] | ||||
|     response = sp.getstatusoutput(f"speedtest --accept-license --format=json")[1] | ||||
|     print(response) | ||||
|     respjson = json.loads(response.split("\n")[1]) | ||||
|     print(response) | ||||
|     downspeed = respjson['download']['bandwidth'] * 8 / 1024 / 1024 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user