On Tuesday, February 6, 2024 at 4:02:18 AM UTC-5 michael.k...@gmx.at wrote:

So this is a package install? Did you do try restating already? A friend 
had the same error with a package install update 5.0.0 =>  5.0.1 on 
Raspberry Pi OS, but with the ws23xx driver. He restarted the OS, then it 
worked. Maybe restarting udev or another daemon is sufficient also, I don't 
know.


reboot is not necessary.  however, it might be the easiest thing to do.  on 
most recent operating systems, the udev rules will take effect 
immediately.  if they do not, then unplug-then-replug the device will make 
them take effect, even on older operating systems.  the other part is 
ensuring that the owner of the daemon user is in the right group.  
restarting the daemon process is sufficient to make that happen.

this should explain the ws23xx case, since the udev rule for that device is 
included in a weewx install.

in the case of klimalogg, the udev rule is also included with weewx, even 
though the kl.py driver is not.

if you install weewx using deb/rpm, it should just work.  check the udev 
file at /usr/lib/udev/rules.d/60-weewx.rules.

if you install weewx using pip, then you must install the udev rules that 
came with weewx (the setup-daemon.sh script will do this for you).  check 
for the udev rules at /etc/udev/rules.d/60-weewx.rules

NB: klimalogg uses the same usb transceiver used by the lacrosse ws28xx 
stations.  that transceiver uses product/vendor identifiers of 5555/6666.  
those identifiers are the equivalent of using 'example.com' - ok for 
testing, but not what you should ship in your product.  but they did.

m 

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/16eadc62-cf94-4171-81ed-dc4225a8db1an%40googlegroups.com.

Reply via email to