Your logfile is where it gets interesting:

Jan  5 08:10:44 raspberrypi weewx[504]: engine: Loading station type 
ObserverIP (user.observerip)
Jan  5 08:10:44 raspberrypi weewx[504]: observerip: version is 0.5mw
Jan  5 08:10:44 raspberrypi weewx[504]: import of driver failed: [Errno 
101] Network is unreachable (<class 'socket.error'>)
Jan  5 08:10:44 raspberrypi weewx[504]: engine: Unable to load driver: 
[Errno 101] Network is unreachable
Jan  5 08:10:44 raspberrypi weewx[504]:     ****  Exiting...

My guess is you're trying to connect to a ip-based station before 
networking is up fully on your computer.   You are only posting a tiny 
snippet of your logfile, so we can't debug more than that really.

I brought up a vagrant VM in simulator mode and saw this interesting 
/var/log/messages stuff after a reboot:

Jan  5 16:39:46 jessie kernel: [    6.932995] EXT4-fs (sda1): re-mounted. 
Opts: errors=remount-ro
Jan  5 16:39:46 jessie kernel: [    7.131961] snd_intel8x0 0000:00:05.0: 
intel8x0_measure_ac97_clock: measured 111338 usecs (4820 samples)
Jan  5 16:39:46 jessie kernel: [    7.131968] snd_intel8x0 0000:00:05.0: 
clocking to 53221
Jan  5 16:39:46 jessie kernel: [    7.133017] piix4_smbus 0000:00:07.0: 
SMBus Host Controller at 0x4100, revision 0
Jan  5 16:39:46 jessie kernel: [    7.248703] IPv6: ADDRCONF(NETDEV_UP): 
eth1: link is not ready
Jan  5 16:39:46 jessie kernel: [    7.249703] e1000: eth1 NIC Link is Up 
1000 Mbps Full Duplex, Flow Control: RX
Jan  5 16:39:46 jessie kernel: [    7.250016] IPv6: 
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
==> Jan  5 16:39:46 jessie kernel: [    7.338384] e1000: eth0 NIC Link is 
Up 1000 Mbps Full Duplex, Flow Control: RX
Jan  5 16:39:46 jessie kernel: [    7.348248] IPv6: ADDRCONF(NETDEV_UP): 
eth0: link is not ready
Jan  5 16:39:46 jessie kernel: [    7.348267] IPv6: 
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jan  5 16:39:46 jessie kernel: [    7.690252] RPC: Registered named UNIX 
socket transport module.
Jan  5 16:39:46 jessie kernel: [    7.690255] RPC: Registered udp transport 
module.
Jan  5 16:39:46 jessie kernel: [    7.690256] RPC: Registered tcp transport 
module.
Jan  5 16:39:46 jessie kernel: [    7.690257] RPC: Registered tcp NFSv4.1 
backchannel transport module.
Jan  5 16:39:46 jessie kernel: [    7.693919] FS-Cache: Loaded
Jan  5 16:39:46 jessie kernel: [    7.700313] FS-Cache: Netfs 'nfs' 
registered for caching
Jan  5 16:39:46 jessie kernel: [    7.712848] Installing knfsd (copyright 
(C) 1996 o...@monad.swb.de).
==> Jan  5 16:39:46 jessie weewx[469]: engine: Initializing weewx version 
3.6.2
Jan  5 16:39:46 jessie weewx[469]: engine: Using Python 2.7.9 (default, Jun 
29 2016, 13:08:31) #012[GCC 4.9.2]


Notice that eth0 comes up before weewx starts, but we're talking a fraction 
of a second here......might be a timing thing on the pi since its 
usb/wifi/ethernet subsystems are so slow.....

You can always kludge it with a "systemctl start weewx" in rc.local if you 
wanted to brute-force it, 

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to