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. The sensor_map contains:

[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_strike

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.


Dne sreda, 13. marec 2019 22.02.46 UTC+1 je oseba vince napisala:
>
> On Wednesday, March 13, 2019 at 1:34:38 PM UTC-7, [email protected] wrote:
>
>> I've installed the WF UDP driver and am getting data into weewx OK. For 
>> the start, I have 3 questions:
>>
>>    1. 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.
>>    2. 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.
>>    3. How can I plot the solar radiation (as an example)? I only see the 
>>    UV plot by default.
>>
>>
> Asked and answered already on the WF forums the other day.
>
>    - My suggestion over there was that you just reuse unused elements in 
>    the default schema (to simplify your task), and I provided the weewx.conf 
>    block for the WF UDP driver that would do that.  You'd just need to edit 
>    the lines into your weewx.conf and restart weewx to have them take effect.
>    - Which WF sensor-reported element gets mapped to which db element is 
>    based on your weewx.conf 
>    - As I mentioned over there, I chose to (lightly) edit my Seasons skin 
>    templates to add the WF-specific stuff to the output html.  ((LINK) 
>    
> <https://www.google.com/url?q=https%3A%2F%2Fwww.skahan.net%2Fweewx_weatherflow%2F&sa=D&sntz=1&usg=AFQjCNFAjxL8d7hXCRF8AEpVlC3F2EDDag>
>   
>    - If that display works for you, let me know and I'll post a patch for 
> what 
>    minor edits I made in the default Seasons skin that makes it happen.
>    
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to