[weewx-user] Re: AcuRite 06045M lightning detector shows constant 12 miles distance when no detected lightning

2021-08-11 Thread Gene LeSage
Bingo, fixed by installing v2.1.0-RC MQTTSubscribeDriver. Adding collect_observations = True and single_queue = True to [[topics], I get desired behavior. Null lightning distance is recorded in absence of strikes and with an test simulated lightning strike by battery charger shorting, I get

Re: [weewx-user] Complex calibration formula for pm2.5 sensor

2021-08-11 Thread Alan Stankevitz
Thanks for the info. Regarding your slightly off-topic question, purpleair and ecowitt use similar light-scattering detectors made by plantower. The purpleair has two sensors that average out the readings and I believe are doing some internal coding to rectify the humidity problem. The

[weewx-user] Re: AcuRite 06045M lightning detector shows constant 12 miles distance when no detected lightning

2021-08-11 Thread bell...@gmail.com
I fear the root cause is that MQTTSubscribeDriver takes each MQTT message and creates a loop packet. This works ok for 'aggregated' messages like json or keyword (the original implementations). But for 'individual' payloads that are dependent on each other, it is problematic.I've already had

Re: [weewx-user] Complex calibration formula for pm2.5 sensor

2021-08-11 Thread Graham Eddy
in [[Corrections]] section of weewx.conf you can do something like pm2_5 = 0.52*pm2_5 - 0.085*outHumidity + 5.71 slightly off-topic, does anyone know if the purpleair correction applies to other sensors, or just the purpleair? > On 11 Aug 2021, at 10:25 pm, Alan Stankevitz wrote: > > I am

[weewx-user] Re: AcuRite 06045M lightning detector shows constant 12 miles distance when no detected lightning

2021-08-11 Thread Gene LeSage
I am using weewx-MQTTSubscribe to bring data into Weewx from sensors, so i don't use SDR sensor map, see config for mqttsubscribe here https://github.com/bellrichm/WeeWX-MQTTSubscribe/wiki/Configuring A number of unsuccessful tries to modify mqttsubscribe are commented out.

[weewx-user] Re: AcuRite 06045M lightning detector shows constant 12 miles distance when no detected lightning

2021-08-11 Thread Gene LeSage
I am using weewx-MQTTSubscribe to bring data into Weewx from sensors, so i don't use SDR sensor map, see config for mqttsubscribe here https://github.com/bellrichm/WeeWX-MQTTSubscribe/wiki/Configuring A number of unsuccessful tries to modify mqttsubscribe are commented out.

[weewx-user] Complex calibration formula for pm2.5 sensor

2021-08-11 Thread Alan Stankevitz
Newbie here... I am using the G1000 driver for Ecowitt sensors. Works fine but need to apply a complex calculation to correct the pm2.5 sensor data. The equation would be something like: Cpm2.5 = (pm2.5/(1+((.25*RH)*(.25*RH))/(1-RH))) RH = Relative Humidity pm2.5 is raw pm2.5 data Cpm2.5 is

[weewx-user] Re: AcuRite 06045M lightning detector shows constant 12 miles distance when no detected lightning

2021-08-11 Thread tarob...@gmail.com
I think going back to your original issue something seems to be off. Can you post you weewx.conf for lightning data? If you're using sdr, should contain the following in each section: [SDR] [[sensor_map]] .. lightning_distance = distance..AcuriteLightningPacket