I've installed the WF UDP driver and am getting data into weewx OK. For the start, I have 3 questions:
- My plots (temperature, humidity, barometer, etc.) do not show any labels nor axis labels. I've installed the Robo fonts which are neowx default. Same thing was with a Seasons skin.
- How to properly log the lightning data (counts, timestamps, distance) from the WeatherFlow station? I'm confused whether the data should be logged into existing 'weewx.sdb' database or a new one. I also don't know how to set up a new database and how to plot the lightning data.
- How can I plot the solar radiation (as an example)? I only see the UV plot by default.
[WeatherFlowUDP]
driver = user.weatherflowudp
log_raw_packets = False
udp_address = <broadcast>
# udp_address = 0.0.0.0
# udp_address = 255.255.255.255
udp_port = 50222
udp_timeout = 90
share_socket = True
[[sensor_map]]
outTemp = air_temperature.AR-00004197.obs_air
outHumidity = relative_humidity.AR-00004197.obs_air
pressure = station_pressure.AR-00004197.obs_air
outTempBatteryStatus = battery.AR-00004197.obs_air
windSpeed = wind_speed.SK-00006737.rapid_wind
windDir = wind_direction.SK-00006737.rapid_wind
lux = illuminance.SK-00006737.obs_sky
UV = uv.SK-00006737.obs_sky
rain = rain_accumulated.SK-00006737.obs_sky
windBatteryStatus = battery.SK-00006737.obs_sky
radiation = solar_radiation.SK-00006737.obs_sky
#soilMoist1 = lightning_strike_count.AR-00004197.obs_air
#soilMoist1 = lightning_strike_count.AR-00004197.obs_air
lightning_strikes = lightning_strike_count.AR-00004197.obs_air
avg_distance = lightning_strike_avg_distance.AR-00004197.obs_air
lightningYYY = distance.AR-00004197.evt_strike
lightningZZZ = energy.AR-00004197.evt_strikeThank you for your answer again. I will have to get used to weewx to full understand what I need to do. Right now, my weewx.conf uses the patches from the AS3935 configuration and should generate (right?) a new lightning.sdb database.
I'll go and read documentation about how to generate plots. Would you know what is the format of lightning log? Is it counts/minute or?
Thank you for your answer again. I will have to get used to weewx to full understand what I need to do. Right now, my weewx.conf uses the patches from the AS3935 configuration and should generate (right?) a new lightning.sdb database.I don't know what the driver does, sorry.
I'll go and read documentation about how to generate plots. Would you know what is the format of lightning log? Is it counts/minute or?It's an observation, so it would be counts and distance for that (one minute) time period. Not quite sure how you'd aggregate the counts and average distance over the time period (I'd think the average distance would be absurdly low for a day unless you're sitting in the middle of a cloud of lightning :-)I personally ignore lightning as the measure is very inaccurate and prone to false positives, but your mileage may vary.
Here I'd need advice. I do get false positives where I have it installed now but my final installation will be "quiet" unless there's a storm. I get few counts occasionally now and have 2 questions:
It is only question 1 remaining.
- When there's a real storm, I expect LOTS of counts per minute. How will the WF UDP driver actually log these counts (over minute) into the weewx.sdb database? Will it make a SUM over a minute and log it in the database? I don't really care about the distance
My question 2 resolved:
sudo nano /etc/weewx/skins/neowx/skin.conf [[[daylightning]]]
plot_type = bar
[[[[SoilMoist1]]]]
label = Strikes (10 min interval)
aggregate_type = sum
aggregate_interval = 600
width = 5
I'd like to follow up on this topic. After 3 months in operation, I gladly report the weewx works great with the WeatherFlow station. I managed to set the configuration to store all data, including the lightning.I'm using the SoilMoist1 field and adjusted the plots to show the counts in 10-minute intervals. Very nice!Uptime is over 80 days.