comparison web/log.py @ 496:88204c0db5fa

Fridge setpoint as a float value
author Matt Johnston <matt@ucc.asn.au>
date Mon, 24 Mar 2014 20:48:28 +0800
parents 23c6cf01d237
children 9c2de3f977e4
comparison
equal deleted inserted replaced
495:905bbab632f7 496:88204c0db5fa
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,