comparison web/config.py @ 464:c3926e7cfb0c

LHS axis scaling easily changeable
author Matt Johnston <matt@ucc.asn.au>
date Mon, 21 Jan 2013 07:25:29 +0800
parents 2607e4f322cf
children adbf70d1449f
comparison
equal deleted inserted replaced
458:94932e7051e5 464:c3926e7cfb0c
14 GRAPH_HEIGHT = 600 14 GRAPH_HEIGHT = 600
15 ZOOM = 1 15 ZOOM = 1
16 16
17 LINE_WIDTH = 2 17 LINE_WIDTH = 2
18 18
19 SENSOR_NAMES = {'sensor_28 CE B2 1A 03 00 00 99': "Fridge", 19 SENSOR_NAMES = {'sensor_28 CE B2 1A 03 00 00 99': "Old Fridge",
20 'sensor_28 CC C1 1A 03 00 00 D4': "Ambient", 20 'sensor_28 CC C1 1A 03 00 00 D4': "Old Ambient",
21 'sensor_28 49 BC 1A 03 00 00 54': "Wort", 21 'sensor_28 49 BC 1A 03 00 00 54': "Old Wort",
22 'sensor_voltage': 'Voltage', 22 'sensor_voltage': 'Voltage',
23 'sensor_fridge_setpoint': 'Setpoint', 23 'sensor_fridge_setpoint': 'Setpoint',
24 'sensor_fridge_on': 'Cool', 24 'sensor_fridge_on': 'Cool',
25 'sensor_28-0000042cf4dd': "Wort",
26 'sensor_28-0000042cccc4': "Fridge",
27 'sensor_28-0000042c6dbb': "Ambient",
28 'sensor_internal': "Processor",
25 } 29 }
26 30
27 SENSOR_COLOURS = {'Wort': 'e49222', 31 SENSOR_COLOURS = {'Wort': 'e49222',
28 'Ambient': '028b3d', 32 'Ambient': '028b3d',
29 'Voltage': '7db5d3aa', 33 'Voltage': '7db5d3aa',
30 'Fridge': '4c40c8', 34 'Fridge': '4c40c8',
31 'Setpoint': '39c662', 35 'Setpoint': '39c662',
32 'Cool': 'd7cedd', 36 'Cool': 'd7cedd',
37 'Processor': 'bf7a69',
33 } 38 }
34 39
35 40
36 GRAPH_FONT = "Prociono" 41 GRAPH_FONT = "Prociono"
37 #GRAPH_FONT = "URW Gothic L" 42 #GRAPH_FONT = "URW Gothic L"