Mercurial > templog
annotate web/config.py @ 76:6e47a61edc47
don't store sensors in eeprom, scan at startup instead
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 03 Jul 2012 23:12:06 +0800 |
parents | 0a8639039453 |
children | 959e88c0bdfa |
rev | line source |
---|---|
28 | 1 |
37
8da0fdadc8d7
- Getting there, update has problems
Matt Johnston <matt@ucc.asn.au>
parents:
33
diff
changeset
|
2 DATA_PATH = '/home/matt/templog/web/data' |
28 | 3 |
4 HMAC_KEY = 'a hmac key' | |
5 | |
33 | 6 UPDATE_URL = 'https://evil.ucc.asn.au/~matt/templog/update' |
7 | |
29 | 8 GRAPH_WIDTH = 800 |
31
5e75e08d20ac
- Various fixes for web server, kind of works
Matt Johnston <matt@ucc.asn.au>
parents:
29
diff
changeset
|
9 GRAPH_HEIGHT = 400 |
29 | 10 |
11 LINE_WIDTH = 2 | |
12 | |
56 | 13 SENSOR_NAMES = {'sensor_28 CE B2 1A 03 00 00 99': "Wort", |
61 | 14 'sensor_28 CC C1 1A 03 00 00 D4': "Board", |
15 'sensor_voltage': 'Voltage', | |
16 } | |
29 | 17 |
61 | 18 SENSOR_COLOURS = {'Wort': 'e49222', |
19 'Board': '028b3d', | |
20 'Voltage': '7db5d3aa', | |
21 } | |
22 | |
31
5e75e08d20ac
- Various fixes for web server, kind of works
Matt Johnston <matt@ucc.asn.au>
parents:
29
diff
changeset
|
23 |
67 | 24 GRAPH_FONT = "Prociono" |
25 #GRAPH_FONT = "URW Gothic L" | |
69 | 26 |
27 # determine by zooming in an image viewer | |
73
0a8639039453
Get rid of axes labels, tidy html
Matt Johnston <matt@ucc.asn.au>
parents:
69
diff
changeset
|
28 GRAPH_LEFT_MARGIN = 63 |