Not seeing Tempest Weatherflow UDP data

100 views
Skip to first unread message

Patrick Mendiuk

unread,
Feb 22, 2023, 4:53:05 PM2/22/23
to weewx-user
Has there been a change to the Weatherflow UDP format?  I have a WeeWX 3.9.1 installation that has been running without issue with Weatherflow Sky and Air Sensors.  The Weatherflow Sky sensor partially failed and I wanted to replace the Sky data with Tempest data but I am not seeing any updates for those fields after editing weewx.conf and restarting WeeWX.  When I look at syslog I see this for the Sky sensor:

Feb 22 13:08:39 MITX-6930 weewx[31934]: weatherflowudp: MainThread: raw packet: {'serial_number': 'SK-00015052', 'type': 'rapid_wind', 'ob': [1677100117, 0.52, 170], 'hub_sn': 'HB-00011764'}
Feb 22 13:08:39 MITX-6930 weewx[31934]: weatherflowudp: MainThread: parsed packet: {'serial_number.SK_00015052.rapid_wind': 'SK-00015052', 'type.SK_00015052.rapid_wind': 'rapid_wind', 'hub_sn.SK_00015052.rapid_wind': 'HB-00011764', 'time_epoch.SK_00015052.rapid_wind': 1677100117, 'ob.SK_00015052.rapid_wind': [1677100117, 0.52, 170], 'wind_speed.SK_00015052.rapid_wind': 0.52, 'wind_direction.SK_00015052.rapid_wind': 170, 'time_epoch': 1677100117}

For the Tempest Sensor I see this:

Feb 22 13:08:39 MITX-6930 weewx[31934]: weatherflowudp: MainThread: Loop packet: {'windDir': 170, 'windSpeed': 0.52, 'usUnits': 17, 'dateTime': 1677100117}
Feb 22 13:08:47 MITX-6930 weewx[31934]: weatherflowudp: MainThread: raw packet: {'firmware_revision': 172, 'serial_number': 'ST-00060370', 'type': 'obs_st', 'obs': [[1677100124, 1.36, 1.81, 2.31, 34, 20, 992.97, 0.13, 90.52, 55199, 2.28, 460, 0.0, 0, 0, 0, 2.713, 1]], 'hub_sn': 'HB-00016474'}
Feb 22 13:08:47 MITX-6930 weewx[31934]: weatherflowudp: MainThread: parsed packet: {'serial_number.ST_00060370.obs_st': 'ST-00060370', 'obs.ST_00060370.obs_st': [[1677100124, 1.36, 1.81, 2.31, 34, 20, 992.97, 0.13, 90.52, 55199, 2.28, 460, 0.0, 0, 0, 0, 2.713, 1]], 'type.ST_00060370.obs_st': 'obs_st', 'hub_sn.ST_00060370.obs_st': 'HB-00016474', 'firmware_revision.ST_00060370.obs_st': 172}
Feb 22 13:08:47 MITX-6930 weewx[31934]: weatherflowudp: MainThread: Loop packet: {}


I don't see any updates for the Weatherflow UDP driver since 2020 so I am wondering if the Weatherflow UDP format for the Tempest sensor changed since then.

vince

unread,
Feb 22, 2023, 5:16:21 PM2/22/23
to weewx-user
Nope. I think you have typos in there.  You have ST_nnnnn as well as ST-nnnnn. 
Message has been deleted

Patrick Mendiuk

unread,
Feb 22, 2023, 11:23:37 PM2/22/23
to weewx-user
There are ST-nnnnnn in the raw packets and ST_nnnnnn in the parsed packets.  I previously had added a couple more loginf() statements to print raw, parsed and loop. 

From parseUDPPacket.py (line 211):

def parseUDPPacket(pkt):
    packet = dict()
    if 'serial_number' in pkt:
        if 'type' in pkt:
            serial_number = pkt['serial_number'].replace("-","_")

Patrick Mendiuk

unread,
Feb 23, 2023, 12:20:10 AM2/23/23
to weewx-user
After looking at weatherflowudp.py I realized that version 1.03 did not have the tempest packet parser.  I added it then looked at github and saw it was already added in Ver 1.10.

Reply all
Reply to author
Forward
0 new messages