BL available
This commit is contained in:
parent
fa4acda10d
commit
7736ff0397
1 changed files with 1 additions and 4 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue