view 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
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"