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("-","_")
On Wednesday, February 22, 2023 at 2:16:21 PM UTC-8 vince wrote:
> Nope. I think you have typos in there. You have ST_nnnnn as well as
> ST-nnnnn.
>
> On Wednesday, February 22, 2023 at 1:53:05 PM UTC-8 Patrick Mendiuk wrote:
>
>> 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.
>>
>>
--
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/6adffc21-9948-4f5a-ab13-1d59a458898an%40googlegroups.com.