A few things to try: Be sure to follow the instructions for the SDR driver <https://github.com/matthewwall/weewx-sdr> carefully.
Did you install rtl_433? Are you sure it's in your PATH? See the section "Environment" in the instructions. Did you install rtl-sdr? Are you sure it's in the LD_LIBRARY_PATH? See the section "Environment" in the instructions. Try running rtl_433 directly. The instructions tell you how. Try running the driver directly. The instructions tell you how. -tk On Fri, May 19, 2017 at 3:19 PM, Craig Kimble <[email protected]> wrote: > sorry for the delay, I had to figure out how to get more of the log. Like > I said, "i'm a noob". > I think this is the section of the log that will help. > > Dec 31 17:00:32 raspberrypi ntpd_intres[544]: DNS 3.debian.pool.ntp.org > -> 96.244.96.19 > Dec 31 17:00:35 raspberrypi dhcpcd[373]: eth0: no IPv6 Routers available > May 19 15:12:03 raspberrypi systemd[590]: Time has been changed > May 19 15:12:03 raspberrypi systemd[1]: Time has been changed > May 19 15:12:04 raspberrypi weewx[579]: engine: Using configuration file > /etc/weewx/weewx.conf > May 19 15:12:04 raspberrypi weewx[579]: engine: debug is 1 > May 19 15:12:04 raspberrypi weewx[579]: engine: Initializing engine > May 19 15:12:04 raspberrypi weewx[579]: engine: Loading station type SDR > (user.sdr) > May 19 15:12:04 raspberrypi dbus[370]: [system] Activating via systemd: > service name='org.freedesktop.PolicyKit1' unit='polkitd.service' > May 19 15:12:04 raspberrypi systemd[1]: Starting Authenticate and > Authorize Users to Run Privileged Tasks... > May 19 15:12:05 raspberrypi weewx[579]: sdr: MainThread: driver version is > 0.28 > May 19 15:12:05 raspberrypi weewx[579]: sdr: MainThread: sensor map is > {'windDir': 'wind_dir.052B.Acurite5n1Packet', 'windSpeed': > 'wind_speed.052B.Acurite5n1Packet', 'outTemp': > 'temperature.052B.Acurite5n1Packet', > 'outHumidity': 'humidity.052B.Acurite5n1Packet', 'rain_total': > 'rain_total.052B.Acurite5n1Packet'} > May 19 15:12:05 raspberrypi weewx[579]: sdr: MainThread: deltas is > {'strikes': 'strikes_total', 'rain': 'rain_total'} > May 19 15:12:05 raspberrypi weewx[579]: sdr: MainThread: startup process > 'rtl_433 -q -U -F json -R 40' > May 19 15:12:05 raspberrypi weewx[579]: import of driver failed: failed to > start process: [Errno 2] No such file or directory (<class > 'weewx.WeeWxIOError'>) > May 19 15:12:05 raspberrypi weewx[579]: engine: Unable to load driver: > failed to start process: [Errno 2] No such file or directory > May 19 15:12:05 raspberrypi weewx[579]: **** Exiting... > May 19 15:12:05 raspberrypi polkitd[817]: started daemon version 0.105 > using authority implementation `local' version `0.105' > May 19 15:12:05 raspberrypi dbus[370]: [system] Successfully activated > service 'org.freedesktop.PolicyKit1' > May 19 15:12:05 raspberrypi systemd[1]: Started Authenticate and Authorize > Users to Run Privileged Tasks. > > Thank you so much for your help > craig > > > On Friday, May 19, 2017 at 1:53:29 PM UTC-6, Craig Kimble wrote: > >> I am a noob and need some help getting weewx to run at startup. weewx >> will run fine if I start it manually. I believe I have tracked the problem >> down to the ntp time server. I installed weewx on a pi using the >> documentation in the user guide. >> >> pi@raspberrypi:~ $ /etc/init.d/weewx status >> ● weewx.service - LSB: weewx weather system >> Loaded: loaded (/etc/init.d/weewx) >> Active: active (exited) since Wed 1969-12-31 17:00:23 MST; 47 years 4 >> months ago >> Process: 347 ExecStart=/etc/init.d/weewx start (code=exited, >> status=0/SUCCESS) >> >> >> pi@raspberrypi:~ $ ntpq -pn >> remote refid st t when poll reach delay offset >> jitter >> ============================================================ >> ================== >> +198.206.133.14 115.21.111.66 3 u 18 64 377 46.059 0.672 >> 0.412 >> -148.167.132.200 LOCAL(0) 2 u 53 64 147 49.062 -7.131 >> 16.491 >> +154.16.245.246 152.2.253.126 2 u 28 64 377 57.598 4.819 >> 0.290 >> *67.40.5.51 127.67.113.92 2 u 57 64 377 49.765 2.080 >> 0.496 >> >> >> pi@raspberrypi:~ $ systemctl list-unit-files | grep enabled >> [email protected] enabled >> avahi-daemon.service enabled >> bluetooth.service enabled >> cron.service enabled >> dbus-org.bluez.service enabled >> dbus-org.freedesktop.Avahi.service enabled >> dhcpcd.service enabled >> display-manager.service enabled >> hciuart.service enabled >> hwclock-save.service enabled >> lightdm.service enabled >> rpi-display-backlight.service enabled >> rsyslog.service enabled >> ssh.service enabled >> sshswitch.service enabled >> syslog.service enabled >> vncserver-x11-serviced.service enabled >> avahi-daemon.socket enabled >> remote-fs.target enabled >> >> >> I hope I supplied enough info >> Craig >> > -- > 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]. > For more options, visit https://groups.google.com/d/optout. > -- 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]. For more options, visit https://groups.google.com/d/optout.
