Re: WH2900 und WeeWX auf RaspberryPi
Verfasst: 17 Sep 2022, 16:19

Hast du noch eine Idee für den Batteriestatus?
Der Platz für alle wetterbegeisterten Hobbymeteorologen
https://www.wetterstationsforum.info/
Code: Alles auswählen
last line in detail:
PASSKEY 11223344556677889900AABBCCDDEEFF
stationtype EasyWeatherPro_V5.0.9
runtime 3
dateutc 2022-09-26 14:19:54
tempinf 75.9
humidityin 45
baromrelin 29.622
baromabsin 28.240
tempf 57.2
humidity 57
winddir 241
windspeedmph 2.24
windgustmph 2.24
maxdailygust 12.53
solarradiation 110.35
uv 1
rainratein 0.000
eventrainin 0.571
hourlyrainin 0.000
dailyrainin 0.220
weeklyrainin 0.571
monthlyrainin 5.051
yearlyrainin 6.232
totalrainin 6.232
wh65batt 0
freq 868M
model WS2900_V2.01.18
Code: Alles auswählen
Oct 23 09:22:33 raspberrypi weewx[391]: Starting weewx weather system: weewx
Oct 23 09:22:33 raspberrypi weewx[451]: Traceback (most recent call last):
Oct 23 09:22:33 raspberrypi weewx[451]: File "/usr/share/weewx/weewxd", line 29, in <module>
Oct 23 09:22:33 raspberrypi weewx[451]: import user.extensions
Oct 23 09:22:33 raspberrypi weewx[451]: ValueError: source code string cannot contain null bytes
Oct 23 09:22:33 raspberrypi weewx[554]: failed!
Oct 23 09:22:33 raspberrypi systemd[1]: weewx.service: Control process exited, code=exited, status=1/FAILURE
Oct 23 09:22:33 raspberrypi systemd[1]: weewx.service: Failed with result 'exit-code'.
Oct 23 09:22:33 raspberrypi systemd[1]: Failed to start LSB: weewx weather system.
Code: Alles auswählen
pi@raspberrypi:~ $ journalctl -xe
Oct 23 10:21:22 raspberrypi systemd[1]: Started Session 4 of user pi.
░░ Subject: A start job for unit session-4.scope has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit session-4.scope has finished successfully.
░░
░░ The job identifier is 706.
Oct 23 10:33:19 raspberrypi sudo[962]: pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/usr/sbin/service weewx stop
Oct 23 10:33:19 raspberrypi sudo[962]: pam_unix(sudo:session): session opened for user root(uid=0) by pi(uid=1000)
Oct 23 10:33:21 raspberrypi sudo[962]: pam_unix(sudo:session): session closed for user root
Oct 23 10:33:29 raspberrypi sudo[970]: pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/usr/sbin/service weewx start
Oct 23 10:33:29 raspberrypi sudo[970]: pam_unix(sudo:session): session opened for user root(uid=0) by pi(uid=1000)
Oct 23 10:33:31 raspberrypi systemd[1]: Starting LSB: weewx weather system...
░░ Subject: A start job for unit weewx.service has begun execution
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit weewx.service has begun execution.
░░
░░ The job identifier is 776.
Oct 23 10:33:31 raspberrypi weewx[978]: Starting weewx weather system: weewx
Oct 23 10:33:31 raspberrypi weewx[988]: Traceback (most recent call last):
Oct 23 10:33:31 raspberrypi weewx[988]: File "/usr/share/weewx/weewxd", line 29, in <module>
Oct 23 10:33:31 raspberrypi weewx[988]: import user.extensions
Oct 23 10:33:31 raspberrypi weewx[988]: ValueError: source code string cannot contain null bytes
Oct 23 10:33:31 raspberrypi weewx[989]: failed!
Oct 23 10:33:31 raspberrypi systemd[1]: weewx.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit weewx.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Oct 23 10:33:31 raspberrypi systemd[1]: weewx.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit weewx.service has entered the 'failed' state with result 'exit-code'.
Oct 23 10:33:31 raspberrypi systemd[1]: Failed to start LSB: weewx weather system.
░░ Subject: A start job for unit weewx.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit weewx.service has finished with a failure.
░░
░░ The job identifier is 776 and the job result is failed.
Oct 23 10:33:31 raspberrypi sudo[970]: pam_unix(sudo:session): session closed for user root
Oct 23 10:38:49 raspberrypi rngd[455]: stats: bits received from HRNG source: 80064
Oct 23 10:38:49 raspberrypi rngd[455]: stats: bits sent to kernel pool: 30240
Oct 23 10:38:49 raspberrypi rngd[455]: stats: entropy added to kernel pool: 30240
Oct 23 10:38:49 raspberrypi rngd[455]: stats: FIPS 140-2 successes: 4
Oct 23 10:38:49 raspberrypi rngd[455]: stats: FIPS 140-2 failures: 0
Oct 23 10:38:49 raspberrypi rngd[455]: stats: FIPS 140-2(2001-10-10) Monobit: 0
Oct 23 10:38:49 raspberrypi rngd[455]: stats: FIPS 140-2(2001-10-10) Poker: 0
Oct 23 10:38:49 raspberrypi rngd[455]: stats: FIPS 140-2(2001-10-10) Runs: 0
Oct 23 10:38:49 raspberrypi rngd[455]: stats: FIPS 140-2(2001-10-10) Long run: 0
Oct 23 10:38:49 raspberrypi rngd[455]: stats: FIPS 140-2(2001-10-10) Continuous run: 0
Oct 23 10:38:49 raspberrypi rngd[455]: stats: HRNG source speed: (min=685.981; avg=732.777; max=782.816)Kibits/s
Oct 23 10:38:49 raspberrypi rngd[455]: stats: FIPS tests speed: (min=22.842; avg=24.430; max=25.915)Mibits/s
Oct 23 10:38:49 raspberrypi rngd[455]: stats: Lowest ready-buffers level: 2
Oct 23 10:38:49 raspberrypi rngd[455]: stats: Entropy starvations: 0
Oct 23 10:38:49 raspberrypi rngd[455]: stats: Time spent starving for entropy: (min=0; avg=0.000; max=0)us
pi@raspberrypi:~ $