Mercurial > templog
comparison web/config.py @ 526:1f25c9d97111
Only print interesting legend labels
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 28 Feb 2015 00:14:21 +0800 |
parents | 236e5d131b3e |
children | 2071d939e4ff |
comparison
equal
deleted
inserted
replaced
525:8559078a82ff | 526:1f25c9d97111 |
---|---|
32 'sensor_28-0000042cccc4': "Fridge", | 32 'sensor_28-0000042cccc4': "Fridge", |
33 'sensor_28-0000042c6dbb': "Ambient", | 33 'sensor_28-0000042c6dbb': "Ambient", |
34 'sensor_internal': "Processor", | 34 'sensor_internal': "Processor", |
35 } | 35 } |
36 | 36 |
37 # print legend for these ones | |
38 LEGEND_NAMES = set(("Wort", "Fridge", "Ambient", "Setpoint")) | |
39 | |
37 SENSOR_COLOURS = {'Wort': 'e49222', | 40 SENSOR_COLOURS = {'Wort': 'e49222', |
38 'Ambient': '028b3d', | 41 'Ambient': '028b3d', |
39 'Voltage': '7db5d3aa', | 42 'Voltage': '7db5d3aa', |
40 'Fridge': '93c8ff', | 43 'Fridge': '93c8ff', |
41 'Setpoint': '39c662', | 44 'Setpoint': '39c662', |