Mercurial > templog
comparison web/log.py @ 200:1d8a8bd2ea78
Fridge setpoint as a float value
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 24 Mar 2014 20:48:28 +0800 |
parents | 4fa8cbf31065 |
children | 9c2de3f977e4 |
comparison
equal
deleted
inserted
replaced
196:e27075b1e088 | 200:1d8a8bd2ea78 |
---|---|
269 timedelta = time.time() - start_time | 269 timedelta = time.time() - start_time |
270 debugf.write("Updated sensors in %.2f secs\n" % timedelta) | 270 debugf.write("Updated sensors in %.2f secs\n" % timedelta) |
271 debugf.flush() | 271 debugf.flush() |
272 | 272 |
273 _FIELD_DEFAULTS = { | 273 _FIELD_DEFAULTS = { |
274 'fridge_setpoint': 16, | 274 'fridge_setpoint': 16.0, |
275 'fridge_difference': 0.2, | 275 'fridge_difference': 0.2, |
276 'overshoot_delay': 720, # 12 minutes | 276 'overshoot_delay': 720, # 12 minutes |
277 'overshoot_factor': 1, # ºC | 277 'overshoot_factor': 1, # ºC |
278 'disabled': False, | 278 'disabled': False, |
279 'nowort': True, | 279 'nowort': True, |