Skip to content
Snippets Groups Projects
Commit 6753186b authored by Pascal Engeler's avatar Pascal Engeler
Browse files

Added one more temperature

parent cdd7744b
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ try: ...@@ -38,7 +38,7 @@ try:
clientDB.write_points(measure) clientDB.write_points(measure)
#logging for supervisor #logging for supervisor
now = time.time() now = time.time()
logstring = f"{now},{temps[0]},{temps[1]},{temps[2]},{temps[3]}" logstring = f"{now},{temps[0]},{temps[1]},{temps[2]},{temps[3]},{temps[4]}"
with open("templog.dat",'w') as logfile: with open("templog.dat",'w') as logfile:
logfile.write(logstring) logfile.write(logstring)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment