successful update to weewx 5.0.1 for driver WH23xx

142 views
Skip to first unread message

Michael Waldor

unread,
Feb 8, 2024, 11:37:54 AM2/8/24
to weewx-user
Today I could successfully update my weewx 4.x installation to the new weewx version  5.0.1 on a raspberry pi 4 running OSMC 2024-02 (kodi 20.3).

Don't know why but I had to manually update the weewx gpg key. Otherwise apt update failed.

There was one major flaw in using the driver WH23xx - the access onto USB connection was refused (to be expected due to the permission changes). Sadly WH23xx is no longer officially supported, but the driver from weewx-4.x works fine. One has to add one udev rule to grant weewx access. I added the file /etc/udev/rules.d/900-weewx-wh23xx.rules containing the single line:

SUBSYSTEM=="usb",ATTRS{idVendor}=="10c4",ATTRS{idProduct}=="8468",MODE="0664",GROUP="weewx"

BTW, I've seen "private" udev rules wihin /etc/weewx/udev. I assume that those rules are only for reference, but not used directly. Of course I've used them as a pattern for my solution.

Regarding installation: Before running the update on my target raspberry pi4 I tried a "vanilla" installation on another platform -  Suse tumbleweed. That, too, failed first. This time the URL of the weewx repository was not accessible. I manipulated it to point onto .../suse15. As a consequence the validation failed, but I simply ignored that and could finally install weewx under tumbleweed. I only wanted to get some files in advance before doing the real raspberry installation. I do NOT use weewx under tumbleweed.

Regards, Michael

kostas costas

unread,
Feb 20, 2024, 10:05:14 AM2/20/24
to weewx-user
Hi Michael,

Is it possible to give more information about gpg key update and further on? Up to now, i run wh2310 meteo station only with 3.9.2 version. I tried 5.0, it worked for  few minutes and after crashed.

Thank you in advance.
Kostas

vince

unread,
Feb 20, 2024, 1:17:56 PM2/20/24
to weewx-user
Kostas - if you post your logs when 5.0 crashed it is likely somebody can help you.   Make sure to set debug=1 in weewx.conf 
Reply all
Reply to author
Forward
0 new messages