Probleme bei Weewx mit La Crosse (Technoline) WS2816 unter Debian auf RPi

Für allgemeine Software
Antworten
HomAlix99
Offline
Beiträge: 1
Registriert: 31 Mai 2024, 22:45

Probleme bei Weewx mit La Crosse (Technoline) WS2816 unter Debian auf RPi

#1

Beitrag von HomAlix99 »

Hallo,

habe seit kurzem die o.g. Wetterstation. Es wurde ein USB-Stick (TRX10-S) mitgeliefert, welcher am Raspberry Pi hängt.
Der Stick erscheint unter lsusb als:
Bus 001 Device 004: ID 6666:5555 Prototype product Vendor ID Weather Direct Light Wireless Device

Nach der Weewx Installation (auf neustem Bookworm Release) startet das Programm nicht wegen folgendem Fehler:
sudo systemctl status weewx
× weewx.service - WeeWX
Loaded: loaded (/lib/systemd/system/weewx.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Fri 2024-05-31 20:14:17 CEST; 20min ago
Duration: 7.841s
Docs: https://weewx.com/docs
Process: 2493 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited, status=4)
Main PID: 2493 (code=exited, status=4)
CPU: 3.640s

Mai 31 20:14:16 raspberrypi weewxd[2493]: CRITICAL weewx.engine: **** return util.get_string(self.dev, index, langid).encode('ascii')
Mai 31 20:14:16 raspberrypi weewxd[2493]: CRITICAL weewx.engine: **** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mai 31 20:14:16 raspberrypi weewxd[2493]: CRITICAL weewx.engine: **** File "/usr/lib/python3/dist-packages/usb/util.py", line 313, in get_string
Mai 31 20:14:16 raspberrypi weewxd[2493]: CRITICAL weewx.engine: **** raise ValueError("The device has no langid"
Mai 31 20:14:16 raspberrypi weewxd[2493]: CRITICAL weewx.engine: **** ValueError: The device has no langid (permission issue, no string descriptors supported or device error)
Mai 31 20:14:16 raspberrypi weewxd[2493]: CRITICAL __main__: Unable to load driver: The device has no langid (permission issue, no string descriptors supported or device error)
Mai 31 20:14:16 raspberrypi weewxd[2493]: CRITICAL __main__: **** Exiting...
Mai 31 20:14:17 raspberrypi systemd[1]: weewx.service: Main process exited, code=exited, status=4/NOPERMISSION
Mai 31 20:14:17 raspberrypi systemd[1]: weewx.service: Failed with result 'exit-code'.
Mai 31 20:14:17 raspberrypi systemd[1]: weewx.service: Consumed 3.640s CPU time.
pi@raspberrypi:/var/www/html/weewx $ lsusb
Bus 001 Device 004: ID 6666:5555 Prototype product Vendor ID Weather Direct Light Wireless Device
Bus 001 Device 005: ID 1c4f:0034 SiGma Micro XM102K Optical Wheel Mouse
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Das Problem hängt irgendwie mit dem Stick zusammen, und dazu bräuchte ich Hilfe.

Meine weewx.conf: (Auszug)
##############################################################################

[WS28xx]
# This section is for the La Crosse WS-2800 series of weather stations.

# Radio frequency to use between USB transceiver and console: US or EU
# US uses 915 MHz, EU uses 868.3 MHz. Default is US.
transceiver_frequency = EU

# The station model, e.g., 'LaCrosse C86234' or 'TFA Primus'
model = LaCrosse WS-2816

# The driver to use:
driver = weewx.drivers.ws28xx
Für Lösungshinweise wäre ich sehr dankbar.

VG

Alex
Antworten