comparison web/config.py @ 431:ae12b30352f0

extra logging
author Matt Johnston <matt@ucc.asn.au>
date Sat, 13 Oct 2012 20:22:50 +0800
parents eb685e1afcbb
children 94330d90f11f
comparison
equal deleted inserted replaced
427:7c2efec9cd51 431:ae12b30352f0
17 SENSOR_NAMES = {'sensor_28 CE B2 1A 03 00 00 99': "Fridge", 17 SENSOR_NAMES = {'sensor_28 CE B2 1A 03 00 00 99': "Fridge",
18 'sensor_28 CC C1 1A 03 00 00 D4': "Ambient", 18 'sensor_28 CC C1 1A 03 00 00 D4': "Ambient",
19 'sensor_28 49 BC 1A 03 00 00 54': "Wort", 19 'sensor_28 49 BC 1A 03 00 00 54': "Wort",
20 'sensor_voltage': 'Voltage', 20 'sensor_voltage': 'Voltage',
21 'sensor_fridge_setpoint': 'Setpoint', 21 'sensor_fridge_setpoint': 'Setpoint',
22 'sensor_fridge_on': 'On', 22 'sensor_fridge_on': 'Cool',
23 } 23 }
24 24
25 SENSOR_COLOURS = {'Wort': 'e49222', 25 SENSOR_COLOURS = {'Wort': 'e49222',
26 'Ambient': '028b3d', 26 'Ambient': '028b3d',
27 'Voltage': '7db5d3aa', 27 'Voltage': '7db5d3aa',
28 'Fridge': '4c40c8', 28 'Fridge': '4c40c8',
29 'Setpoint': '39c662', 29 'Setpoint': '39c662',
30 'On': 'd7cedd', 30 'Cool': 'd7cedd',
31 } 31 }
32 32
33 33
34 GRAPH_FONT = "Prociono" 34 GRAPH_FONT = "Prociono"
35 #GRAPH_FONT = "URW Gothic L" 35 #GRAPH_FONT = "URW Gothic L"