diff --git a/thermostat.py b/thermostat.py index 877b2d2..73fc39a 100755 --- a/thermostat.py +++ b/thermostat.py @@ -124,7 +124,7 @@ def set_relay(relay, state): return "KO" def get_metric(metric, current_time, interval): - url = "http://localhost:3000/"+metric + url = "http://10.89.0.1:3000/"+metric try: r = requests.get(url) data = json.loads(r.text)