NULL data from some values with WeatherFlow

103 views
Skip to first unread message

Mauro De Lauretis

unread,
Nov 8, 2021, 11:07:22 AM11/8/21
to weewx-user
Hi All

I was wondering If somebody could help me by finding out why I get NULL daa from some values from my WeatherFlow. Wind Data is the only I get without problems. This is my weewx.conf:

[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.ST-0048481.obs_air

        outHumidity = relative_humidity.ST-00048481.obs_air

        pressure =  station_pressure.ST-00048481.obs_air

        lightning_strikes =  lightning_strike_count.ST-00048481.obs_air

        avg_distance =  lightning_strike_avg_distance.ST-00048481.obs_air

        outTempBatteryStatus =  battery.ST-00048481.obs_air

        windSpeed = wind_speed.ST-00048481.rapid_wind

        windDir = wind_direction.ST-00048481.rapid_wind

        lux = illuminance.ST-00048481.obs_sky

        UV = uv.ST-00048481.obs_sky

        rain = rain_accumulated.ST-00048481.obs_sky

        windBatteryStatus = battery.ST-00048481.obs_sky

        radiation = solar_radiation.ST-00048481.obs_sky

        lightningYYY = distance.ST-00048481.evt_strike

        lightningZZZ = energy.ST-00048481.evt_strike



Greetings

vince

unread,
Nov 8, 2021, 12:15:18 PM11/8/21
to weewx-user
You're going to have to tell us 'which' items have null values, but the WF gear does back off on which sensors it reports on (and how often) as the battery voltage gets low.  Perhaps your gear is in a degrading state.   Check your WF app for the voltage and perhaps open a support call via their forums.

Mauro De Lauretis

unread,
Nov 8, 2021, 12:38:19 PM11/8/21
to weewx-user

Hi Vince

Thank you for your answer.
The only values I get are the following:

- maxSolarRad
- windDir
- windGust
- windGustDir
- windrun
- windSpeed

I don't think my gear is in a degrading state because the WF was bought in December 2020 and the unit itself has been exchanged on warranty just once month ago.
The Battery Voltage is 2.56 volts at the moment.

Greetings

vince

unread,
Nov 8, 2021, 1:49:48 PM11/8/21
to weewx-user
maxSolarRad is calculated by weewx, so it sounds like only your wind sensor is working unless you typo'd something in weewx.conf.

Voltage looks good. You might have temp+hum sensors that failed but before contacting WF again you could check yourself pretty easily.
  • run weewx interactively to see its loop packets (users guide link)
  • or alternately stop weewx and run my UDP listener (github link) with the --raw option to see what the Hub is broadcasting without weewx in the game at least temporarily.   You can run my listener with weewx running if you have share_socket=true in weewx for the UDP driver.
Doing a little diagnosis before contacting WF support will probably help them out either way.

Mauro De Lauretis

unread,
Nov 8, 2021, 2:38:54 PM11/8/21
to weewx-user
Yes, I was thinking the same.

These are the loop packets by running interactively:

LOOP:   2021-11-08 20:15:12 CET (1636398912) dateTime: 1636398912, maxSolarRad: 0.0, rainRate: 0.0, usUnits: 16, windDir: 245, windSpeed: 5.292

LOOP:   2021-11-08 20:15:15 CET (1636398915) dateTime: 1636398915, maxSolarRad: 0.0, rainRate: 0.0, usUnits: 16, windDir: 247, windSpeed: 5.076

LOOP:   2021-11-08 20:15:18 CET (1636398918) dateTime: 1636398918, maxSolarRad: 0.0, rainRate: 0.0, usUnits: 16, windDir: 247, windSpeed: 5.04

LOOP:   2021-11-08 20:15:21 CET (1636398921) dateTime: 1636398921, maxSolarRad: 0.0, rainRate: 0.0, usUnits: 16, windDir: 252, windSpeed: 4.068


By using your tool:

hub_status     =>  ts  = 1636400075 firmware_revision  = 171 uptime  = 195702 rssi  = -52

rapid_wind     =>  ts  = 1636400077 mps = 1.35 dir = 252

rapid_wind     =>  ts  = 1636400080 mps = 1.34 dir = 251

rapid_wind     =>rapid_wind     =>  ts  = 1636400083 mps = 1.47 dir = 251

device_status  =>  serial_number  = ST-00048481 device_type = tempest ts  = 1636400085 uptime  = 280025 voltage  = 2.561 firmware_revision  = 160 rssi  = -52 hub_rssi  = -50 sensor_status  = 131076 debug  = 0

obs_st        =>  timestamp  = 1636400084 wind_lull  = 1.16 wind_avg  = 1.41 wind_gust  = 1.68 wind_direction  = 248 wind_sample_interval  = 3 station_pressure  = 1010.11 temperature  = 13.78 relative_humidity  = 95.59 illuminance  = 0 uv  = 0.0 solar_radiation  = 0 rain_accumulated  = 0.031985 precipitation_type  = 1 lightning_strike_avg_distance  = 0 lightning_strike_count  = 0 battery = 2.561 report_interval = 1 firmware_revision = 160

---------

raw data:  {"hub_sn": "HB-00034777", "ob": [1636400278, 1.88, 233], "serial_number": "ST-00048481", "type": "rapid_wind"}

    raw data:  {"hub_sn": "HB-00034777", "ob": [1636400281, 2.2, 233], "serial_number": "ST-00048481", "type": "rapid_wind"}

    raw data:  {"hub_sn": "HB-00034777", "ob": [1636400284, 1.93, 235], "serial_number": "ST-00048481", "type": "rapid_wind"}

    raw data:  {"firmware_revision": "171", "fs": [1, 0, 15675411, 524288], "mqtt_stats": [119, 4], "radio_stats": [25, 1, 0, 3, 16961], "reset_flags": "BOR,PIN,POR", "rssi": -57, "seq": 19573, "serial_number": "HB-00034777", "timestamp": 1636400285, "type": "hub_status", "uptime": 195912}



vince

unread,
Nov 8, 2021, 3:26:35 PM11/8/21
to weewx-user
Hmmm - your obs_st shows wind,temperature, humidity, pressure but no UV or radiation but the sensor status looks like the uv/light sensor is failed.   Definitely contact WF support.

sensor_status  = 131076 = binary 100000000000000100 - the leading '1' means light sensor failed according to sensor_status on https://weatherflow.github.io/Tempest/api/udp/v171/ 



Mauro De Lauretis

unread,
Nov 8, 2021, 4:06:24 PM11/8/21
to weewx-user
Vince, I got the problem.

I needed to change the sensor map from Air to Tempest by replacing the obs_air to obs_st :-)
If I take a look into my database now I have following values:

- altimeter
- appTemp
- barometer
- cloudbase
- dewpoint
- humidex
- outHumidity
- outTemp
- outTempBatteryStatus
- pressure
- radiation
- rain
- rainRate
- UV 
- Wind (inl. Gust and Wind Run)


The only lightning is showing "NULL"

vince

unread,
Nov 8, 2021, 4:32:14 PM11/8/21
to weewx-user
That's funny.  I totally missed seeing that when I was looking to see if you typo'd the serial number :-)

Mauro De Lauretis

unread,
Nov 8, 2021, 4:41:30 PM11/8/21
to weewx-user
No problem! Thank you anyway for your help :-)
Reply all
Reply to author
Forward
0 new messages