diff web/config.py @ 61:62112fc2af21

sort out voltage logging
author Matt Johnston <matt@ucc.asn.au>
date Tue, 26 Jun 2012 08:08:48 +0800
parents 79761ee67134
children 43ec670f1b75
line wrap: on
line diff
--- a/web/config.py	Mon Jun 25 01:23:34 2012 +0800
+++ b/web/config.py	Tue Jun 26 08:08:48 2012 +0800
@@ -11,8 +11,14 @@
 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_28 CC C1 1A 03 00 00 D4': "Board",
+    'sensor_voltage': 'Voltage',
+    }
 
-SENSOR_COLOURS = {'Wort': 'e49222', 'Board': '028b3d'}
+SENSOR_COLOURS = {'Wort': 'e49222', 
+                'Board': '028b3d',
+                'Voltage': '7db5d3aa',
+                }
+
 
 GRAPH_FONT = "Courier"