comparison web/config.py @ 124:24e343a3ef93

update sensors config
author Matt Johnston <matt@ucc.asn.au>
date Wed, 10 Oct 2012 22:50:02 +0800
parents b2d0887fb306
children 6a9419ac8f77
comparison
equal deleted inserted replaced
123:b2700c7e5492 124:24e343a3ef93
12 GRAPH_HEIGHT = 600 12 GRAPH_HEIGHT = 600
13 ZOOM = 1 13 ZOOM = 1
14 14
15 LINE_WIDTH = 2 15 LINE_WIDTH = 2
16 16
17 SENSOR_NAMES = {'sensor_28 CE B2 1A 03 00 00 99': "Wort", 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': "Other", 19 'sensor_28 49 BC 1A 03 00 00 54': "Wort",
20 'sensor_voltage': 'Voltage', 20 'sensor_voltage': 'Voltage',
21 } 21 }
22 22
23 SENSOR_COLOURS = {'Wort': 'e49222', 23 SENSOR_COLOURS = {'Wort': 'e49222',
24 'Ambient': '028b3d', 24 'Ambient': '028b3d',
25 'Voltage': '7db5d3aa', 25 'Voltage': '7db5d3aa',
26 'Other': '78000c', 26 'Fridge': '4c40c8',
27 } 27 }
28 28
29 29
30 GRAPH_FONT = "Prociono" 30 GRAPH_FONT = "Prociono"
31 #GRAPH_FONT = "URW Gothic L" 31 #GRAPH_FONT = "URW Gothic L"