- Moved non-default value for GEIGER_SUPPORT from feature to sensor.
- Integrated Geiger Counter
- Adapted sensor.ino to read and publish values.
- Modified html to add local dose rate into web page.
- Tested with influxDB.
- Tested with MQTT.
sensor->setCPM2SievertFactor(GEIGER_CPM2SIEVERT);// Conversion factor from counts per minute to µSv/h
_sensors.push_back(sensor);
}
#endif
#if GUVAS12SD_SUPPORT
{
GUVAS12SDSensor*sensor=newGUVAS12SDSensor();
@ -592,7 +605,7 @@ void _sensorInit() {
new_magnitude.min_change=0;
if(type==MAGNITUDE_DIGITAL){
new_magnitude.filter=newMaxFilter();
}elseif(type==MAGNITUDE_EVENTS){
}elseif(type==MAGNITUDE_EVENTS||type==MAGNITUDE_GEIGER_CPM||type==MAGNITUDE_GEIGER_SIEVERT){// For geiger counting moving average filter is the most appropriate if needed at all.