|
|
@ -223,6 +223,9 @@ PROGMEM const char espurna_sensors[] = |
|
|
|
#if V9261F_SUPPORT |
|
|
|
"V9261F " |
|
|
|
#endif |
|
|
|
#if VEML6075_SUPPORT |
|
|
|
"VEML6075 " |
|
|
|
#endif |
|
|
|
#if VL53L1X_SUPPORT |
|
|
|
"VL53L1X " |
|
|
|
#endif |
|
|
@ -235,7 +238,9 @@ PROGMEM const unsigned char magnitude_decimals[] = { |
|
|
|
3, 0, 0, 0, 0, 0, 0, 0, // Power decimals |
|
|
|
0, 0, 0, // analog, digital, event |
|
|
|
0, 0, 0, // PM |
|
|
|
0, 0, 3, 3, 0, |
|
|
|
0, 0, |
|
|
|
0, 0, 3, // UVA, UVB, UVI |
|
|
|
3, 0, |
|
|
|
4, 4, // Geiger Counter decimals |
|
|
|
0, |
|
|
|
0, 0, 0 // NO2, CO, Ohms |
|
|
@ -261,7 +266,9 @@ PROGMEM const char magnitude_pm2dot5_topic[] = "pm2dot5"; |
|
|
|
PROGMEM const char magnitude_pm10_topic[] = "pm10"; |
|
|
|
PROGMEM const char magnitude_co2_topic[] = "co2"; |
|
|
|
PROGMEM const char magnitude_lux_topic[] = "lux"; |
|
|
|
PROGMEM const char magnitude_uv_topic[] = "uv"; |
|
|
|
PROGMEM const char magnitude_uva_topic[] = "uva"; |
|
|
|
PROGMEM const char magnitude_uvb_topic[] = "uvb"; |
|
|
|
PROGMEM const char magnitude_uvi_topic[] = "uvi"; |
|
|
|
PROGMEM const char magnitude_distance_topic[] = "distance"; |
|
|
|
PROGMEM const char magnitude_hcho_topic[] = "hcho"; |
|
|
|
PROGMEM const char magnitude_geiger_cpm_topic[] = "ldr_cpm"; // local dose rate [Counts per minute] |
|
|
@ -278,7 +285,8 @@ PROGMEM const char* const magnitude_topics[] = { |
|
|
|
magnitude_power_factor_topic, magnitude_energy_topic, magnitude_energy_delta_topic, |
|
|
|
magnitude_analog_topic, magnitude_digital_topic, magnitude_event_topic, |
|
|
|
magnitude_pm1dot0_topic, magnitude_pm2dot5_topic, magnitude_pm10_topic, |
|
|
|
magnitude_co2_topic, magnitude_lux_topic, magnitude_uv_topic, |
|
|
|
magnitude_co2_topic, magnitude_lux_topic, |
|
|
|
magnitude_uva_topic, magnitude_uvb_topic, magnitude_uvi_topic, |
|
|
|
magnitude_distance_topic, magnitude_hcho_topic, |
|
|
|
magnitude_geiger_cpm_topic, magnitude_geiger_sv_topic, |
|
|
|
magnitude_count_topic, |
|
|
@ -299,7 +307,6 @@ PROGMEM const char magnitude_kwh[] = "kWh"; |
|
|
|
PROGMEM const char magnitude_ugm3[] = "µg/m³"; |
|
|
|
PROGMEM const char magnitude_ppm[] = "ppm"; |
|
|
|
PROGMEM const char magnitude_lux[] = "lux"; |
|
|
|
PROGMEM const char magnitude_uv[] = "uv"; |
|
|
|
PROGMEM const char magnitude_distance[] = "m"; |
|
|
|
PROGMEM const char magnitude_mgm3[] = "mg/m³"; |
|
|
|
PROGMEM const char magnitude_geiger_cpm[] = "cpm"; // Counts per Minute: Unit of local dose rate (Geiger counting) |
|
|
@ -314,7 +321,8 @@ PROGMEM const char* const magnitude_units[] = { |
|
|
|
magnitude_percentage, magnitude_joules, magnitude_joules, |
|
|
|
magnitude_empty, magnitude_empty, magnitude_empty, |
|
|
|
magnitude_ugm3, magnitude_ugm3, magnitude_ugm3, |
|
|
|
magnitude_ppm, magnitude_lux, magnitude_uv, |
|
|
|
magnitude_ppm, magnitude_lux, |
|
|
|
magnitude_empty, magnitude_empty, magnitude_empty, |
|
|
|
magnitude_distance, magnitude_mgm3, |
|
|
|
magnitude_geiger_cpm, magnitude_geiger_sv, // Geiger counter units |
|
|
|
magnitude_empty, // |
|
|
|