view web/config.py @ 71:7d243ba2dd39

swap the left and right scales, kind of clunky
author Matt Johnston <matt@ucc.asn.au>
date Fri, 29 Jun 2012 22:46:59 +0800
parents a8ff20f15734
children 0a8639039453
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_voltage': 'Voltage',
    }

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


GRAPH_FONT = "Prociono"
#GRAPH_FONT = "URW Gothic L"

# determine by zooming in an image viewer
GRAPH_LEFT_MARGIN = 95