@Tom - I think the main problem is that the documentation does not appear 
to say anything, anywhere, about loop_on_init = True - neither the user 
guide nor the hardware guide - or if it is somewhere it is not easy to 
find!!

.

On Thursday, 6 July 2017 14:56:02 UTC+3, Mike wrote:

> Hi Gary,
>
> I did some more tests today. I think it is working now and I found out the 
> reason. At the moment I don´t know what the entry
>
> *loop_on_init = True*
>
> is doing. My guess it is shooting down the driver and reload it.
>
> For days ago my google search was: weewx vantage: ip-read error: timed out
>
> I saw a lot of Germans are facing this issue. In Germany we are getting up 
> to 99% a dynamic IP adress from our Internet Service Provider (ISP). I know 
> in England are most ISP´s
> providing a static IP, such as BT, Virgin or Sky. I am pretty sure weewx 
> users with a static IP from the ISP are not facing this issue.
>
> Weewx users with a dynamic WAN IP need to use a dynIP like from 
> www.noip.com - This are no new news. For example, my Dyndns client is 
> checking every 5
> minutes for the current IP. 
>
> First my idea was to solve the problem, changed the weewx.conf
>
> timeout = 120
>
> and
>
> max_tries = 6
>
> Weewx will try 12 minutes to reconnect to the new WAN IP address. It did* 
> not* work without a
>
> *loop_on_init = True*
>
> I did a TCP dump on port 22222
>
> *tcpdump -ni em1 port 22222*
>
> Weewx was not able to send the requests to the "new WAN IP" without 
> *loop_on_init 
> = True* Thats why Weewx or the driver gave up and ends up with an Exit in 
> the log file.
>
> I try to help to improve Weewx because I like the project.
>
> @@ tk
>
> During the Weewx setup, enter "station name"........choose your "PWS" I 
> would add in the next Weewx version, something like: "Does your ISP provide 
> a static or dynamic IP?" If dynamic add
>
> *loop_on_init = True*
>
> into the conf file.
>
> If you guys like I can write a how to in English and German.
>
> Thanks again
> Michael
>
> Am Donnerstag, 6. Juli 2017 03:05:47 UTC+7 schrieb gjr80:
>>
>> Hi,
>>
>> To use loop_on_init edit weewx.conf and put the line:
>>
>> loop_on_init = True
>>
>> on a line at the top or root level (ie not in any [] stanzas). You could 
>> put it just under debug = 0. You will need to stop then start weeWX for the 
>> new setting to take effect.
>>
>> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to