From 96dbf9ca3b8a2304f6c98ed59d223860bcd01899 Mon Sep 17 00:00:00 2001 From: gn0st1c Date: Sun, 25 Mar 2018 12:07:39 +0300 Subject: [PATCH] web updated sensor names and types --- code/html/custom.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/html/custom.js b/code/html/custom.js index 2da0b102..5209021f 100644 --- a/code/html/custom.js +++ b/code/html/custom.js @@ -37,7 +37,7 @@ function sensorName(id) { "DHT", "Dallas", "Emon Analog", "Emon ADC121", "Emon ADS1X15", "HLW8012", "V9261F", "ECH1560", "Analog", "Digital", "Events", "PMSX003", "BMX280", "MHZ19", "SI7021", - "SHT3X I2C", "BH1750" + "SHT3X I2C", "BH1750", "PZEM004T", "AM2320 I2C", "GUVAS12SD" ]; if (1 <= id && id <= names.length) { return names[id - 1]; @@ -51,7 +51,7 @@ function magnitudeType(type) { "Current", "Voltage", "Active Power", "Apparent Power", "Reactive Power", "Power Factor", "Energy", "Energy (delta)", "Analog", "Digital", "Events", - "PM1.0", "PM2.5", "PM10", "CO2", "Lux" + "PM1.0", "PM2.5", "PM10", "CO2", "Lux", "UV" ]; if (1 <= type && type <= types.length) { return types[type - 1];