commit 1565979b6f85d14a76ba6acde59898fdb2653e57
parent 2d52204f308065cfc722aedfc09073044162910e
Author: rbckman <rob@tarina.org>
Date: Fri, 8 Dec 2023 18:18:48 +0000
brabro
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ugnen.py b/ugnen.py
@@ -32,7 +32,7 @@ except:
apikey = 'none'
heating = False
-baseurl = 'https://reikaleipa.fi/owenapi?apikey='+apikey+'&'
+baseurl = 'https://brabro.fi/owenapi?apikey='+apikey+'&'
relaypin = 21
start_time = time.time()
get_code_time = time.time()
@@ -89,7 +89,7 @@ def get_set_temp(old_temp):
resp = requests.get(url=url)
set_temp = resp.json()
except:
- print('cant access reikaleipa.fi')
+ print('cant access brabro.fi')
try:
set_temp = float(set_temp)
except:
@@ -105,12 +105,12 @@ def get_set_temp(old_temp):
def send_temp_interweb(temp):
global apikey, baseurl
url = baseurl + 'temp=' + str(temp)
- #print('sending debug info to reikaleipa.fi api')
+ #print('sending debug info to brabro.fi api')
try:
resp = requests.get(url=url)
#print(resp)
except:
- print('cant send debug info to reikaleipa.fi')
+ print('cant send debug info to brabro.fi')
return
def failbeep():