Still no further forward with this problem, but by setting loop_on_it=1 as 
Tom K suggested, I do at least have a working weather station website, 
albeit with repeated periods where it is not "live" and where graphs etc 
are always an hour or so out of date.

I have put the most recent log below, in case anyone has any more 
brainwaves that might solve this.

In the meantime, I am having trouble stopping weewx - not sure if this is 
related to my ongoing pipe errors or not.  When I type 

ps -aux|grep weewx

I get

root       535  5.6  6.1 117524 58128 ?        Sl   10:16   2:42 python2 
/usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid 
/etc/weewx/weewx.conf
pi        2130  0.0  0.0   4368   564 pts/0    S+   11:04   0:00 grep 
--color=auto weewx

And, then typing 

sudo /etc/init.d/weewx stop

produces

 Stopping weewx (via systemctl): weewx.service.

but then repeating the grep command, still shows the 535 process still 
running?

How do I stop weewx - do I have to use kill 535 perhaps?

Thanks

David.


Log of weewx from syslog

Dec 16 10:57:10 raspberrypi weewx[535] INFO __main__: Starting up weewx 
version 4.10.2
Dec 16 10:57:10 raspberrypi weewx[535] DEBUG weewx.manager: Daily summary 
version is 4.0
Dec 16 10:57:10 raspberrypi weewx[535] DEBUG weewx.manager: Daily summary 
version is 4.0
Dec 16 10:57:10 raspberrypi weewx[535] DEBUG weewx.manager: Daily summary 
version is 4.0
Dec 16 10:57:10 raspberrypi weewx[535] DEBUG weewx.manager: Daily summary 
version is 4.0
Dec 16 10:57:12 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: 
Successfully woke up Vantage console
Dec 16 10:57:13 raspberrypi weewx[535] INFO weewx.engine: Clock error is 
1.42 seconds (positive is fast)
Dec 16 10:57:13 raspberrypi weewx[535] INFO weewx.engine: Using binding 
'wx_binding' to database 'weewx.sdb'
Dec 16 10:57:13 raspberrypi weewx[535] INFO weewx.manager: Starting 
backfill of daily summaries
Dec 16 10:57:13 raspberrypi weewx[535] INFO weewx.manager: Daily summaries 
up to date
Dec 16 10:57:13 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: Getting 
archive packets since 2023-12-16 10:55:00 GMT (1702724100)
Dec 16 10:57:16 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: 
Successfully woke up Vantage console
Dec 16 10:57:18 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: 
Retrieving 0 page(s); starting index= 0
Dec 16 10:57:18 raspberrypi weewx[535] INFO weewx.engine: Starting main 
packet loop.
Dec 16 10:57:20 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: 
Successfully woke up Vantage console
Dec 16 10:57:21 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: 
Requesting 200 LOOP packets.
Dec 16 10:57:24 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: 
Successfully woke up Vantage console
Dec 16 10:57:25 raspberrypi weewx[535] ERROR weewx.drivers.vantage: 
send_data: no <ACK> received from Vantage console
Dec 16 10:57:25 raspberrypi weewx[535] ERROR weewx.drivers.vantage: LOOP 
batch try #1; error: No <ACK> received from Vantage console
Dec 16 10:57:32 raspberrypi weewx[535] ERROR weewx.drivers.vantage: ip-read 
error: timed out
Dec 16 10:57:32 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: Wake up 
try 1 failed. Exception: timed out
Dec 16 10:57:32 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: Retry 
#1 unable to wake up console... sleeping
Dec 16 10:57:41 raspberrypi weewx[535] ERROR weewx.drivers.vantage: ip-read 
error: timed out
Dec 16 10:57:41 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: Wake up 
try 2 failed. Exception: timed out
Dec 16 10:57:41 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: Retry 
#2 unable to wake up console... sleeping
Dec 16 10:57:50 raspberrypi weewx[535] ERROR weewx.drivers.vantage: ip-read 
error: timed out
Dec 16 10:57:50 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: Wake up 
try 3 failed. Exception: timed out
Dec 16 10:57:50 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: Retry 
#3 unable to wake up console... sleeping
Dec 16 10:57:58 raspberrypi weewx[535] ERROR weewx.drivers.vantage: ip-read 
error: timed out
Dec 16 10:57:58 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: Wake up 
try 4 failed. Exception: timed out
Dec 16 10:57:58 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: Retry 
#4 unable to wake up console... sleeping
Dec 16 10:57:59 raspberrypi weewx[535] ERROR weewx.drivers.vantage: Unable 
to wake up Vantage console
Dec 16 10:57:59 raspberrypi weewx[535] ERROR weewx.drivers.vantage: LOOP 
batch try #2; error: Unable to wake up Vantage console
Dec 16 10:58:01 raspberrypi weewx[535] ERROR weewx.drivers.vantage: 
ip-write error: [Errno 32] Broken pipe
Dec 16 10:58:01 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: Wake up 
try 1 failed. Exception: [Errno 32] Broken pipe
Dec 16 10:58:01 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: Retry 
#1 unable to wake up console... sleeping
Dec 16 10:58:02 raspberrypi weewx[535] ERROR weewx.drivers.vantage: 
ip-write error: [Errno 32] Broken pipe
Dec 16 10:58:02 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: Wake up 
try 2 failed. Exception: [Errno 32] Broken pipe
Dec 16 10:58:02 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: Retry 
#2 unable to wake up console... sleeping
Dec 16 10:58:03 raspberrypi weewx[535] ERROR weewx.drivers.vantage: 
ip-write error: [Errno 32] Broken pipe
Dec 16 10:58:03 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: Wake up 
try 3 failed. Exception: [Errno 32] Broken pipe
Dec 16 10:58:03 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: Retry 
#3 unable to wake up console... sleeping
Dec 16 10:58:05 raspberrypi weewx[535] ERROR weewx.drivers.vantage: 
ip-write error: [Errno 32] Broken pipe
Dec 16 10:58:05 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: Wake up 
try 4 failed. Exception: [Errno 32] Broken pipe
Dec 16 10:58:05 raspberrypi weewx[535] DEBUG weewx.drivers.vantage: Retry 
#4 unable to wake up console... sleeping
Dec 16 10:58:06 raspberrypi weewx[535] ERROR weewx.drivers.vantage: Unable 
to wake up Vantage console
Dec 16 10:58:06 raspberrypi weewx[535] ERROR weewx.drivers.vantage: LOOP 
batch try #3; error: Unable to wake up Vantage console
Dec 16 10:58:06 raspberrypi weewx[535] ERROR weewx.drivers.vantage: LOOP 
max batch errors (3) exceeded.
Dec 16 10:58:06 raspberrypi weewx[535] INFO weewx.engine: Main loop 
exiting. Shutting engine down.
Dec 16 10:58:06 raspberrypi weewx[535] DEBUG weewx.restx: Shut down MQTT 
thread.
Dec 16 10:58:06 raspberrypi weewx[535] DEBUG weewx.restx: Shut down WOW 
thread.
Dec 16 10:58:06 raspberrypi weewx[535] DEBUG weewx.restx: Shut down 
PWSWeather thread.
Dec 16 10:58:06 raspberrypi weewx[535] DEBUG weewx.restx: Shut down 
Wunderground-PWS thread.
Dec 16 10:58:06 raspberrypi weewx[535] DEBUG weewx.restx: Shut down 
StationRegistry thread.
Dec 16 10:58:06 raspberrypi weewx[535] ERROR weewx.drivers.vantage: 
ip-write error: [Errno 32] Broken pipe
Dec 16 10:58:06 raspberrypi weewx[535] CRITICAL __main__: Caught 
WeeWxIOError: LOOP max batch errors (3) exceeded.
Dec 16 10:58:06 raspberrypi weewx[535] CRITICAL __main__:     ****  Waiting 
60 seconds then retrying...

On Friday 8 December 2023 at 13:40:15 UTC David Hindley wrote:

> Perfect.  Thanks. 
>
> On Fri, 8 Dec 2023 at 12:12, Jacques Terrettaz <jterr...@gmail.com> wrote:
>
>> Yes, you should !
>>
>> The Meteo-Pi HAT card is providing an internal serial port t which weewx 
>> will connect to capture the data.
>>
>> Le 8 déc. 2023 à 12:45, David Hindley <hind...@gmail.com> a écrit :
>>
>> Many thanks. Can I have weewx running on the same RPi that the Meteo-Pi 
>> is connected to?
>>
>> David. 
>>
>> On Fri, 8 Dec 2023 at 11:12, Jacques Terrettaz <jterr...@gmail.com> 
>> wrote:
>>
>>> Since you have a RaspberryPi, you may also consider buying a "Meteo-pi" 
>>>  instead of a WifiLogger2 - see https://wifilogger.net/meteopi.html
>>>
>>> The datalogger card is plugged to the console and the HAT card is 
>>> plugged to the 40-pin header of the RPI and both are linked with a RJ11 
>>> cable : no more network problems !
>>>
>>> I am using a Meteo-Pi since several years and I never had a single 
>>> problem of communication between the console and weewx
>>>
>>>
>>>
>>> Le 8 déc. 2023 à 11:04, hind...@gmail.com <hind...@gmail.com> a écrit :
>>>
>>>  the only thing I can think of doing next is to replace the davis 
>>> Ethernet datalogger with the WifiLogger2, but that is quite expensive so 
>>> I'd rather not do that unless I really have to.  I have also seen some 
>>> users having pipe errors with this wiflogger, so am a bit nervous about 
>>> buying it.
>>>
>>>
>>>
>>> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "weewx-user" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/weewx-user/q67cvEsXtjQ/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> weewx-user+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/C8184E3C-8E77-4F14-9B2B-DCDDBA6108C8%40gmail.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/C8184E3C-8E77-4F14-9B2B-DCDDBA6108C8%40gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/weewx-user/q67cvEsXtjQ/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx-user+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/CAHtYHVKJZtOFy1dQ-GpVoUOaNXqbxT-%2Bb3bw03VtBOAq16%2BSrQ%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/CAHtYHVKJZtOFy1dQ-GpVoUOaNXqbxT-%2Bb3bw03VtBOAq16%2BSrQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/weewx-user/q67cvEsXtjQ/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx-user+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/53C447C0-D2EF-44B1-9E9A-09A998A7D070%40gmail.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/53C447C0-D2EF-44B1-9E9A-09A998A7D070%40gmail.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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b6dcef7f-445c-45d9-b132-812f5b10e3bdn%40googlegroups.com.

Reply via email to