kopia lustrzana https://github.com/jbruce12000/kiln-controller
pull/140/head
rodzic
2d69fcb80a
commit
8487df7216
|
@ -46,7 +46,7 @@ class OvenDisplay(threading.Thread):
|
|||
log.info(oven_state_json)
|
||||
state = json.loads(oven_state_json)
|
||||
log.info(state)
|
||||
self.text("Temp: {0:2.1f} °C".format(state['temperature']), (25, 25), fnt75, (255, 255, 255))
|
||||
self.text("{0:2.1f} °C".format(state['temperature']), (25, 25), fnt75, (255, 255, 255))
|
||||
self.text("Target: {0:2.1f} °C".format(state['target']), (25, 100), fnt25, (255, 255, 255))
|
||||
if (state['profile'] is not None):
|
||||
self.text(state['profile'], (25, 175), fnt25, (255, 255, 255))
|
||||
|
|
Ładowanie…
Reference in New Issue