Mercurial > templog
annotate web/config.py @ 56:79761ee67134
improve graphs
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 24 Jun 2012 23:48:11 +0800 |
parents | 8da0fdadc8d7 |
children | 62112fc2af21 |
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", |
14 'sensor_28 CC C1 1A 03 00 00 D4': "Board"} | |
29 | 15 |
56 | 16 SENSOR_COLOURS = {'Wort': 'e49222', 'Board': '028b3d'} |
31
5e75e08d20ac
- Various fixes for web server, kind of works
Matt Johnston <matt@ucc.asn.au>
parents:
29
diff
changeset
|
17 |
5e75e08d20ac
- Various fixes for web server, kind of works
Matt Johnston <matt@ucc.asn.au>
parents:
29
diff
changeset
|
18 GRAPH_FONT = "Courier" |