bettwaage-sidequest #2

Merged
m.giller merged 38 commits from bettwaage-sidequest into master 2024-06-07 23:38:56 +02:00
Showing only changes of commit 7736ff0397 - Show all commits

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: