view web/config.py @ 59:d5b269352ba0

- add some atomic guards - get rid of avrtemp
author Matt Johnston <matt@ucc.asn.au>
date Mon, 25 Jun 2012 22:06:03 +0800
parents 79761ee67134
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"