|
@@ -26,7 +26,7 @@ export const FIELDS: FieldInfo[] = [
|
|
|
key: 'temperature',
|
|
key: 'temperature',
|
|
|
label: 'Temperature',
|
|
label: 'Temperature',
|
|
|
unit: '°C',
|
|
unit: '°C',
|
|
|
- colour: 'rgb(255, 0, 0)',
|
|
|
|
|
|
|
+ colour: Colours.Red,
|
|
|
canSpike: true,
|
|
canSpike: true,
|
|
|
minValue: -10,
|
|
minValue: -10,
|
|
|
maxValue: 30,
|
|
maxValue: 30,
|
|
@@ -43,7 +43,7 @@ export const FIELDS: FieldInfo[] = [
|
|
|
key: 'humidity',
|
|
key: 'humidity',
|
|
|
label: 'Relative Humidity',
|
|
label: 'Relative Humidity',
|
|
|
unit: '%',
|
|
unit: '%',
|
|
|
- colour: 'rgb(0, 255, 255)',
|
|
|
|
|
|
|
+ colour: Colours.Blue,
|
|
|
canSpike: false, // Affected by temperature, so can spike
|
|
canSpike: false, // Affected by temperature, so can spike
|
|
|
minValue: 0,
|
|
minValue: 0,
|
|
|
maxValue: 100,
|
|
maxValue: 100,
|
|
@@ -58,9 +58,9 @@ export const FIELDS: FieldInfo[] = [
|
|
|
key: 'pressure',
|
|
key: 'pressure',
|
|
|
label: 'Air Pressure',
|
|
label: 'Air Pressure',
|
|
|
unit: 'hPa',
|
|
unit: 'hPa',
|
|
|
- colour: 'rgb(0, 255, 0)',
|
|
|
|
|
|
|
+ colour: Colours.Green,
|
|
|
canSpike: false,
|
|
canSpike: false,
|
|
|
- minValue: 975,
|
|
|
|
|
|
|
+ minValue: 960,
|
|
|
maxValue: 1030,
|
|
maxValue: 1030,
|
|
|
gaugeColours: {
|
|
gaugeColours: {
|
|
|
990: Colours.Blue,
|
|
990: Colours.Blue,
|
|
@@ -72,7 +72,7 @@ export const FIELDS: FieldInfo[] = [
|
|
|
key: 'light',
|
|
key: 'light',
|
|
|
label: 'Light',
|
|
label: 'Light',
|
|
|
unit: '',
|
|
unit: '',
|
|
|
- colour: 'rgb(255, 255, 0)',
|
|
|
|
|
|
|
+ colour: Colours.Orange,
|
|
|
canSpike: false, // Does spike, but it doesn't matter
|
|
canSpike: false, // Does spike, but it doesn't matter
|
|
|
minValue: 0,
|
|
minValue: 0,
|
|
|
maxValue: 8191,
|
|
maxValue: 8191,
|