[weewx-user] weewx fails with weatherlink IP

2019-06-09 Thread gjr80
Hi,

Try using the loop_on_init config option. 
http://weewx.com/docs/usersguide.htm#General

Gary

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e61fa625-82ea-4b2d-bfbf-252bb5a8ac53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] weewx fails with weatherlink IP

2019-06-09 Thread Andrea Cecilia
Hi guys,
I have a Davis Vantage station with weatherlink IP and running with weewx. 
Sometimes this happens:

Jun  9 16:55:17 raspberrypi-fontelaurentina weewx[507]: engine: Initializing 
weewx version 3.9.1
Jun  9 16:55:17 raspberrypi-fontelaurentina weewx[507]: engine: Using Python 
2.7.13 (default, Sep 26 2018, 18:42:22) #012[GCC 6.3.0 20170516]
Jun  9 16:55:17 raspberrypi-fontelaurentina weewx[507]: engine: Platform 
Linux-4.19.42-v7+-armv7l-with-debian-9.9
Jun  9 16:55:17 raspberrypi-fontelaurentina weewx[507]: engine: Locale is 
'it_IT.UTF-8'
Jun  9 16:55:17 raspberrypi-fontelaurentina weewx[507]: engine: pid file is 
/var/run/weewx.pid
Jun  9 16:55:18 raspberrypi-fontelaurentina weewx[556]: engine: Using 
configuration file /home/weewx/weewx.conf
Jun  9 16:55:18 raspberrypi-fontelaurentina weewx[556]: engine: Debug is 1
Jun  9 16:55:18 raspberrypi-fontelaurentina weewx[556]: engine: Initializing 
engine
Jun  9 16:55:18 raspberrypi-fontelaurentina weewx[556]: engine: Loading 
station type Vantage (weewx.drivers.vantage)
Jun  9 16:55:18 raspberrypi-fontelaurentina weewx[336]: Starting weewx 
weather system: weewx.
Jun  9 16:55:18 raspberrypi-fontelaurentina systemd[1]: Started LSB: weewx 
weather system.
Jun  9 16:55:18 raspberrypi-fontelaurentina weewx[556]: vantage: Driver 
version is 3.1.1
Jun  9 16:55:18 raspberrypi-fontelaurentina weewx[556]: vantage: Socket 
error while opening port 2 to ethernet host 192.168.178.26.
Jun  9 16:55:18 raspberrypi-fontelaurentina weewx[556]: import of driver 
failed: [Errno 101] La rete non è raggiungibile ()
Jun  9 16:55:18 raspberrypi-fontelaurentina weewx[556]: engine: Unable to 
load driver: [Errno 101] La rete non è raggiungibile
Jun  9 16:55:18 raspberrypi-fontelaurentina weewx[556]:   Exiting...


id est, it can't find the station inside the network, and exits. Is there a 
way to make it retry instead of exiting at the first try?
This way, it is sufficient that for one minute for some reason the station 
is unreachable on the network, that weewx stops and needs to be manually 
restaryed!

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/a22f84f1-2e4b-4df6-b02a-bd46a6909ddb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.