Docker is now working

This commit is contained in:
YuruC3
2025-05-10 13:44:21 +02:00
parent 964236b6b5
commit fa4153d68d
8 changed files with 235 additions and 18 deletions

View File

@@ -5,8 +5,8 @@ MD1200BAUD = 38400
SERIALADAPTER = "/dev/ttyUSB0"
GETTEMP = "_temp_rd"
SETFANPRCNT = "set_speed"
EPYSLEEPY = 300 # 5 minutes
#EPYSLEEPY = 150 # 2,5 minutes
EPPYSLEEPY = 300 # 5 minutes
#EPPYSLEEPY = 150 # 2,5 minutes
# init
MDserial = serial.Serial(
@@ -112,11 +112,11 @@ while True:
# good
if setSpeedrcode == 0:
# print("Were mint")
time.sleep(EPYSLEEPY)
time.sleep(EPPYSLEEPY)
# not good
elif setSpeedrcode == 1:
print("Ambigous temperature readings.\nFalling back to safe values.")
time.sleep(EPYSLEEPY)
time.sleep(EPPYSLEEPY)
# very not good
elif setSpeedrcode == -1:
print("o nyo")