annotate web/config.py @ 358:71d2cc90354a

try a few more power saving measures, untested
author Matt Johnston <matt@ucc.asn.au>
date Sun, 24 Jun 2012 14:18:35 +0800
parents ea1779d27641
children 79761ee67134
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
334
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1
344
ea1779d27641 - Getting there, update has problems
Matt Johnston <matt@ucc.asn.au>
parents: 339
diff changeset
2 DATA_PATH = '/home/matt/templog/web/data'
334
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
3
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
4 HMAC_KEY = 'a hmac key'
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
5
339
449272fc63a3 - Debug log file for server
Matt Johnston <matt@ucc.asn.au>
parents: 337
diff changeset
6 UPDATE_URL = 'https://evil.ucc.asn.au/~matt/templog/update'
449272fc63a3 - Debug log file for server
Matt Johnston <matt@ucc.asn.au>
parents: 337
diff changeset
7
335
1e22eaf93620 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents: 334
diff changeset
8 GRAPH_WIDTH = 800
337
f575ef538f5d - Various fixes for web server, kind of works
Matt Johnston <matt@ucc.asn.au>
parents: 335
diff changeset
9 GRAPH_HEIGHT = 400
335
1e22eaf93620 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents: 334
diff changeset
10
1e22eaf93620 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents: 334
diff changeset
11 LINE_WIDTH = 2
1e22eaf93620 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents: 334
diff changeset
12
337
f575ef538f5d - Various fixes for web server, kind of works
Matt Johnston <matt@ucc.asn.au>
parents: 335
diff changeset
13 SENSOR_NAMES = {'sensor_test1': "First Test"}
335
1e22eaf93620 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents: 334
diff changeset
14
1e22eaf93620 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents: 334
diff changeset
15 SENSOR_COLOURS = {}
337
f575ef538f5d - Various fixes for web server, kind of works
Matt Johnston <matt@ucc.asn.au>
parents: 335
diff changeset
16
f575ef538f5d - Various fixes for web server, kind of works
Matt Johnston <matt@ucc.asn.au>
parents: 335
diff changeset
17 GRAPH_FONT = "Courier"