Just an FYI for you all looking for Lightning output from WeatherFlow as 
it's shown on the tempestwx site. I checked both https://pwsdashboard.com/ 
and https://github.com/steepleian/weewx-Weather34/
and from there succeeded in creating a 'live' jsondata/wf.txt file (using 
API Data token from the tempestwx site), and its content looks like this;

{"station_id":XXXXX,"station_name":"XXXXXX","public_name":"XXXXXXX","latitude":XXX,"longitude":XXX,"timezone":"Europe/","elevation":18,"is_public":true,"status":{"status_code":0,"status_message":"SUCCESS"},"station_units":{"units_temp":"c","units_wind":"kph","units_precip":"mm","units_pressure":"hpa","units_distance":"km","units_direction":"cardinal","units_other":"metric"},"outdoor_keys":["timestamp","air_temperature","barometric_pressure","station_pressure","pressure_trend","sea_level_pressure","relative_humidity","precip","precip_accum_last_1hr","precip_accum_local_day","precip_accum_local_yesterday","precip_minutes_local_day","precip_minutes_local_yesterday","wind_avg","wind_direction","wind_gust","wind_lull","solar_radiation","uv","brightness","lightning_strike_last_epoch","lightning_strike_last_distance","lightning_strike_count","lightning_strike_count_last_1hr","lightning_strike_count_last_3hr","feels_like","heat_index","wind_chill","dew_point","wet_bulb_temperature","delta_t","air_density"],"obs":[{"timestamp":1629929484,"air_temperature":15.7,"barometric_pressure":1017.1,"station_pressure":1017.1,"sea_level_pressure":1018.0,"relative_humidity":95,"precip":0.0,"precip_accum_last_1hr":0.0,"precip_accum_local_day":0.0,"precip_accum_local_yesterday":0.0,"precip_minutes_local_day":0,"precip_minutes_local_yesterday":0,"wind_avg":2.7,"wind_direction":335,"wind_gust":4.0,"wind_lull":0.9,"solar_radiation":0,"uv":0.0,"brightness":0,"lightning_strike_last_epoch":1629633834,"lightning_strike_last_distance":41,"lightning_strike_count":0,"lightning_strike_count_last_1hr":0,"lightning_strike_count_last_3hr":0,"feels_like":15.7,"heat_index":15.7,"wind_chill":15.7,"dew_point":14.9,"wet_bulb_temperature":15.2,"delta_t":0.5,"air_density":1.22665,"pressure_trend":"falling"}]}

Now all we need to do is have WeeWX grab its lightning data from this 
wf.txt file, which then will be identical to what you'd see in the tempest 
app/site.

Anyone here that has done this before that could show us the way?
On Tuesday, August 17, 2021 at 6:04:46 PM UTC+2 vince wrote:

> Please post your weewx.conf sensor map section so we can take a look at 
> what you have.
>
> Also, what driver are you using ?  There are at least two out there for 
> WeatherFlow that I'm aware of.
>
> On Tuesday, August 17, 2021 at 5:29:27 AM UTC-7 [email protected] 
> wrote:
>
>> Actually no, I had done extensive searching beforehand, but none of the 
>> "many threads" show any actual progress in this area. And furthermore, none 
>> show an example working weewx.conf for the tempest. The only example one 
>> can find out there is the one I have in use, and as I stated in my 
>> question: It disregards a bunch of values the tempest hub broadcasts over 
>> UDP.
>>
>> On Monday, August 16, 2021 at 7:47:52 PM UTC+2 vince wrote:
>>
>>> There are many threads here and in the WeatherFlow forums for how to do 
>>> this.  Please do a little searching there.
>>>
>>> WF has never published any units for energy that I've ever seen in their 
>>> API documentation for UDP (link) 
>>> <https://weatherflow.github.io/Tempest/api/udp/v170/> and their example 
>>> REST query doesn't even report an energy value for lightning.
>>>
>>> On Monday, August 16, 2021 at 3:43:30 AM UTC-7 [email protected] 
>>> wrote:
>>>
>>>> Have weewx running showing most data from the tempest, except for
>>>> - Illuminance/Brightness (in lux, which I would like to include as a 
>>>> plaintext and graph, just like UV)
>>>>
>>>> - Lightning, for which it seems they do it as follows in the UDP load 
>>>> (example nrs):
>>>>
>>>> Lightning Strike Event [type = evt_strike]
>>>> { "serial_number": "AR-00004049",
>>>> type":"evt_strike",
>>>> "hub_sn": "HB-00000001",
>>>> "evt":[1493322445,27,3848] } 
>>>>
>>>> Index Field Units
>>>> 0 | Time Epoch | Seconds
>>>> 1 | Distance | km
>>>> 2 | Energy |
>>>>
>>>> What is the Energy unit here? Anyone from Weatherflow who can chime in ?
>>>>
>>>> And, most importantly, anyone has these values properly showing in 
>>>> weewx yet?
>>>> If so, what does it look like in your weewx.conf ? Could anyone be so 
>>>> kind as to copy paste their weewx.conf sensor data, without the hub and 
>>>> station nrs if needed).
>>>>
>>>> https://weatherflow.github.io/Tempest/api/udp/v170/
>>>>
>>>> Thanks in advance for any and all help here.
>>>>
>>>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/651ed60f-f4d6-4ccc-afdb-1a2e5c2e7ef8n%40googlegroups.com.

Reply via email to