BL available

This commit is contained in:
Maximilian Giller 2024-05-06 22:48:30 +02:00
parent fa4acda10d
commit 7736ff0397

View file

@ -140,12 +140,9 @@ async def log_bed_weights():
try: try:
tl = r.get(f"{bett_ip}/sensor/tl/").json()["value"] tl = r.get(f"{bett_ip}/sensor/tl/").json()["value"]
tr = r.get(f"{bett_ip}/sensor/tr/").json()["value"] tr = r.get(f"{bett_ip}/sensor/tr/").json()["value"]
# bl = r.get(f"{bett_ip}/sensor/bl/").json()["value"] bl = r.get(f"{bett_ip}/sensor/bl/").json()["value"]
br = r.get(f"{bett_ip}/sensor/br/").json()["value"] br = r.get(f"{bett_ip}/sensor/br/").json()["value"]
# Remove later
bl = br
add_weights_to_log(tl, tr, bl, br) add_weights_to_log(tl, tr, bl, br)
check_for_change() check_for_change()
except: except: