Sorry for the long delay. A power outage had caused the Davis IP Data 
Logger to drop off the network. I unplugged the console from the network, 
then recycled power on the console. However, I lost several hours of data 
that way.

Today I had another power outage, the IP Data logger doesn't ping anymore, 
instead of just doing what I did before and losing data I thought I'd post 
the log.

Mar 30 19:38:40 rpi-weewx systemd[1]: Started weewx.service - WeeWX.
Mar 30 19:38:40 rpi-weewx weewxd[1334]: INFO __main__: Initializing weewxd 
version 5.1.0
Mar 30 19:38:40 rpi-weewx weewxd[1334]: INFO __main__: Command line: 
/usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
Mar 30 19:38:40 rpi-weewx weewxd[1334]: INFO __main__: Using Python: 3.11.2 
(main, Nov 30 2024, 21:22:50) [GCC 12.2.0]
Mar 30 19:38:40 rpi-weewx weewxd[1334]: INFO __main__: Located at:   
/usr/bin/python3
Mar 30 19:38:40 rpi-weewx weewxd[1334]: INFO __main__: Platform:     
Linux-6.6.28+rpt-rpi-v8-aarch64-with-glibc2.36
Mar 30 19:38:40 rpi-weewx weewxd[1334]: INFO __main__: Locale:       
'en_GB.UTF-8'
Mar 30 19:38:40 rpi-weewx weewxd[1334]: INFO __main__: Entry path:   
/usr/share/weewx/weewxd.py
Mar 30 19:38:40 rpi-weewx weewxd[1334]: INFO __main__: WEEWX_ROOT:   
/etc/weewx
Mar 30 19:38:40 rpi-weewx weewxd[1334]: INFO __main__: Config file: 
 /etc/weewx/weewx.conf
Mar 30 19:38:40 rpi-weewx weewxd[1334]: INFO __main__: User module: 
 /etc/weewx/bin/user
Mar 30 19:38:40 rpi-weewx weewxd[1334]: INFO __main__: Debug:        1
Mar 30 19:38:40 rpi-weewx weewxd[1334]: INFO __main__: User:         weewx
Mar 30 19:38:40 rpi-weewx weewxd[1334]: INFO __main__: Group:        weewx
Mar 30 19:38:40 rpi-weewx weewxd[1334]: INFO __main__: Groups:       weewx
Mar 30 19:38:40 rpi-weewx weewxd[1334]: DEBUG __main__: loop_on_init: False
Mar 30 19:38:40 rpi-weewx weewxd[1334]: DEBUG __main__: Initializing engine
Mar 30 19:38:40 rpi-weewx weewxd[1334]: INFO weewx.engine: Loading station 
type Vantage (weewx.drivers.vantage)
Mar 30 19:38:40 rpi-weewx weewxd[1334]: DEBUG weewx.drivers.vantage: Driver 
version is 3.6.2
Mar 30 19:38:40 rpi-weewx weewxd[1334]: DEBUG weewx.drivers.vantage: Option 
loop_request=1
Mar 30 19:38:43 rpi-weewx weewxd[1334]: ERROR weewx.drivers.vantage: Socket 
error while opening port 22222 to ethernet host 192.168.1.81.
Mar 30 19:38:43 rpi-weewx weewxd[1334]: ERROR weewx.engine: Import of 
driver failed: [Errno 113] No route to host (<class 'weewx.WeeWxIOError'>)
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL weewx.engine:     **** 
 Traceback (most recent call last):
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL weewx.engine:     ****   
 File "/usr/share/weewx/weewx/drivers/vantage.py", line 354, in openPort
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL weewx.engine:     ****     
 self.socket.connect((self.host, self.port))
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL weewx.engine:     **** 
 OSError: [Errno 113] No route to host
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL weewx.engine:     ****
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL weewx.engine:     **** 
 During handling of the above exception, another exception occurred:
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL weewx.engine:     ****
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL weewx.engine:     **** 
 Traceback (most recent call last):
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL weewx.engine:     ****   
 File "/usr/share/weewx/weewx/engine.py", line 115, in setupStation
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL weewx.engine:     ****     
 self.console = loader_function(config_dict, self)
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL weewx.engine:     ****     
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL weewx.engine:     ****   
 File "/usr/share/weewx/weewx/drivers/vantage.py", line 32, in loader
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL weewx.engine:     ****     
 return VantageService(engine, config_dict)
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL weewx.engine:     ****     
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL weewx.engine:     ****   
 File "/usr/share/weewx/weewx/drivers/vantage.py", line 2046, in __init__
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL weewx.engine:     ****     
 Vantage.__init__(self, **config_dict[DRIVER_NAME])
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL weewx.engine:     ****   
 File "/usr/share/weewx/weewx/drivers/vantage.py", line 536, in __init__
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL weewx.engine:     ****     
 self.port.openPort()
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL weewx.engine:     ****   
 File "/usr/share/weewx/weewx/drivers/vantage.py", line 359, in openPort
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL weewx.engine:     ****     
 raise weewx.WeeWxIOError(ex)
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL weewx.engine:     **** 
 weewx.WeeWxIOError: [Errno 113] No route to host
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL __main__: Unable to load 
driver: [Errno 113] No route to host
Mar 30 19:38:43 rpi-weewx weewxd[1334]: CRITICAL __main__:     **** 
 Exiting...
Mar 30 19:38:43 rpi-weewx systemd[1]: weewx.service: Main process exited, 
code=exited, status=4/NOPERMISSION
Mar 30 19:38:43 rpi-weewx systemd[1]: weewx.service: Failed with result 
'exit-code'.

Raspberry Pi 4, Bookworm 64-bit, Davis console connected via Davis IP data 
logger to the local network. Currently does not ping. The console is 
showing current data, but weewx attempts to read and then exits.

Any ideas would be muchly appreciated! 

Cheers - Jon
On Sunday, February 9, 2025 at 3:48:23 PM UTC-7 Tom Keffer wrote:

> What kind of logger?
>
> Does the command "weectl device info" work?
>
> Please show the log from when the program starts up. There can be 
> important configuration clues.
>
> On Sun, Feb 9, 2025 at 11:17 AM [email protected] <[email protected]> 
> wrote:
>
>> Yesterday afternoon weewx stopped functioning, it looks like there's an 
>> issue with the Vantage drivers? (See journalctl snippet below). System is 
>> Raspberry Pi 4 running Bookworm. I've tried rebooting but get the same 
>> issue with being unable to wake up the Vantage console. The console is 
>> "alive", the data is updating, and the TCPIP data logger is blinking 
>> regularly. 
>> I'd like to not lose the data from yesterday at 1708 local. Any ideas 
>> what I should try?
>> Cheers - Jon
>>
>> Feb 08 17:08:29 rpi-weewx weewxd[1338]: INFO weewx.reportengine: 
>> ftpgenerator: Ftp'd 22 files in 8.09 seconds
>> Feb 08 17:08:29 rpi-weewx weewxd[1338]: DEBUG weewx.reportengine: Report 
>> 'RSYNC' not enabled. Skipping.
>> Feb 08 17:09:01 rpi-weewx CRON[175920]: pam_unix(cron:session): session 
>> opened for user root(uid=0) by (uid=0)
>> Feb 08 17:09:01 rpi-weewx CRON[175922]: (root) CMD (  [ -x 
>> /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then 
>> /usr/lib/php/sessionclean; fi)
>> Feb 08 17:09:01 rpi-weewx CRON[175920]: pam_unix(cron:session): session 
>> closed for user root
>> Feb 08 17:09:09 rpi-weewx systemd[1]: Starting phpsessionclean.service - 
>> Clean php session files...
>> Feb 08 17:09:09 rpi-weewx systemd[1]: phpsessionclean.service: 
>> Deactivated successfully.
>> Feb 08 17:09:09 rpi-weewx systemd[1]: Finished phpsessionclean.service - 
>> Clean php session files.
>> Feb 08 17:09:13 rpi-weewx weewxd[1338]: ERROR weewx.drivers.vantage: 
>> ip-read error: timed out
>> Feb 08 17:09:13 rpi-weewx weewxd[1338]: ERROR weewx.drivers.vantage: LOOP 
>> batch try #1; error: timed out
>> Feb 08 17:09:16 rpi-weewx weewxd[1338]: DEBUG weewx.drivers.vantage: Bad 
>> wake-up response from Vantage console: b'LO'
>> Feb 08 17:09:16 rpi-weewx weewxd[1338]: DEBUG weewx.drivers.vantage: 
>> Retry #1 unable to wake up console... sleeping
>> Feb 08 17:09:29 rpi-weewx weewxd[1338]: ERROR weewx.drivers.vantage: 
>> ip-read error: timed out
>> Feb 08 17:09:29 rpi-weewx weewxd[1338]: DEBUG weewx.drivers.vantage: Wake 
>> up try 2 failed. Exception: timed out
>> Feb 08 17:09:29 rpi-weewx weewxd[1338]: DEBUG weewx.drivers.vantage: 
>> Retry #2 unable to wake up console... sleeping
>>
>> -- 
>> 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].
>> To view this discussion visit 
>> https://groups.google.com/d/msgid/weewx-user/9e60a16e-6e95-4753-8c48-34e04c7a217fn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/9e60a16e-6e95-4753-8c48-34e04c7a217fn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/1ae65aef-2e0e-421e-9823-f856c379d62dn%40googlegroups.com.

Reply via email to