>From your logs....

  File "/etc/weewx/bin/user/aprs.py", line 80, in _handle_new_archive_record
    data.append('g%03.f' % record['wind_average'])
                           ~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'wind_average'


Aug 06 14:50:16 Pi5 weewxd[250692]: CRITICAL __main__:     ****    File 
"/etc/weewx/bin/user/aprs.py", line 80, in _handle_new_archive_record
Aug 06 14:50:16 Pi5 weewxd[250692]: CRITICAL __main__:     ****     
 data.append('g%03.f' % record['wind_average'])
Aug 06 14:50:16 Pi5 weewxd[250692]: CRITICAL __main__:     ****             
                ~~~~~~^^^^^^^^^^^^^^^^
Aug 06 14:50:16 Pi5 weewxd[250692]: CRITICAL __main__:     ****  KeyError: 
'wind_average'
Aug 06 14:50:16 Pi5 weewxd[250692]: CRITICAL __main__:     ****  Exiting.

It's a little difficult to reverse engineer this without knowing which 
aprs.py you are running and where you got it from,  and if it's Gary's old 
extension he has apparently gone dark and deleted all his github repos. I'm 
guessing you're running an old copy you had stashed somewhere perhaps.
 
See if this thread helps any......
https://groups.google.com/g/weewx-user/c/eUv7TnpDRyk/m/r2zca3dKBQAJ 
<https://groups.google.com/g/weewx-user/c/eUv7TnpDRyk/m/r2zca3dKBQAJ>

On Wednesday, August 6, 2025 at 5:08:11 PM UTC-7 Phil W7PJH wrote:

> Greetings to everyone.
>
> I am trying to get Weewx up and running on a new clean install.  I using a 
> new Raspberry Pi 5 with 8 GBs and a 512 GB Nvme drive. I installed the last 
> Raspberry Pi OS.  Also, I have updated software several times. I don't know 
> the brand of my weather station but I am capturing data on 433.923 MHz 
> (please see the attached files for examples).  I also have a Raspberry Pi 4 
> with a SATA drive where I have been running all of the software 
> successfully for 3-4 months.  This system broke and I decided to do a clean 
> install on a RPi 5. 
>
> I have installed rtl-sdr, rtl_433, weewx and weewx-aprs extension.  My 
> goal is to add Direwolf to broadcast the weather data via APRS on VHF.  
> Finally I hope to add a separate barometric sensor (BME280) and add this 
> data to the output stream on APRS.
>
> The problem is that I run Weewx, either on the command line or as a 
> service, and it crashes after 1-3 minutes.  I have attached logs and 
> weewx.conf.
>
> My Python knowledge is at beginner level and I am lost trying to decipher 
> the error message.  Please help!!
>
> Thank you!
>
> Phil  W7PJH
>

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/57719839-6030-419a-b0ab-c7939d413704n%40googlegroups.com.

Reply via email to