view web/config.py @ 362:8fea6144951b

improve graphs
author Matt Johnston <matt@ucc.asn.au>
date Sun, 24 Jun 2012 23:48:11 +0800
parents ea1779d27641
children 62112fc2af21
line wrap: on
line source


DATA_PATH = '/home/matt/templog/web/data'

HMAC_KEY = 'a hmac key'

UPDATE_URL = 'https://evil.ucc.asn.au/~matt/templog/update'

GRAPH_WIDTH = 800
GRAPH_HEIGHT = 400

LINE_WIDTH = 2

SENSOR_NAMES = {'sensor_28 CE B2 1A 03 00 00 99': "Wort",
    'sensor_28 CC C1 1A 03 00 00 D4': "Board"}

SENSOR_COLOURS = {'Wort': 'e49222', 'Board': '028b3d'}

GRAPH_FONT = "Courier"