Page 1 of 1

VP2 ISS data stalls... **solved**

Posted: Mon Jan 06, 2025 4:02 pm
by wsnoordbergum
I use a Nano SD with 3 stations connected
Station 0 is a Davis Vantage Pro 2 with soil leaf Station also connected
Besides the Nano SD I use a Pi with CumulusMX 4 to read data through tcp/ip port 22222
Every now and then the ISS data stalls so everything of the ISS data is not logged anymore
I use an email alert so I get notified if data is older than 20 minutes
The soil data is still good and data from station 1 (luftdaten), 2 (Ecowitt GW 2000) and 3 (Davis airlink) is ok
It only affects the ISS data and it is not a reception issue because on the console data is received

I think it has to do with the connection made by CumulusMX
I've set the tcp response times a bit longer in CumulusMX
But it seems to me that the logging issue is now more often after updating to the latest versions of meteobridge
In the past it worked fine and had no data stalls

Any idea of that is the real cause of the logger stalling?
Also the logger will not restart after a data stall is detected though I have selected it to do so in the station setup tab
Is there a command line for restarting datalogger so I can make a rule, that in case data of my primary temperature station is older than 20 minutes the logger restarts?

Re: VP2 ISS data stalls...

Posted: Thu Jan 09, 2025 12:58 am
by wsnoordbergum
Downgraded to 5.9 and now running fine again
Looks like newer versions are not to stable with tcp ip connections

Re: VP2 ISS data stalls...

Posted: Thu Jan 09, 2025 11:26 pm
by admin
The ISS readout is rather old code and also the slave mode when the PC takes over to control the Davis data logger read out. Do the problems persist, when cumulus is not connected and, therefore, Meteobridge not being forced into slave mode?

Re: VP2 ISS data stalls...

Posted: Fri Jan 10, 2025 4:42 pm
by wsnoordbergum
The logger stalls when a second connection is detected
So the closure of the connection has not been established when a new connection is made
This only happens when a second connection is detected in a serie
Now I'm using 5.9 and no problems sofar with logger
I do get some second connection declined in the log but not sequential
Screenshot_2025-01-10-15-40-47-81_3aea4af51f236e4932235fdada7d1643.jpg
Screenshot_2025-01-10-15-40-47-81_3aea4af51f236e4932235fdada7d1643.jpg (899.37 KiB) Viewed 10873 times

Re: VP2 ISS data stalls...

Posted: Fri Jan 10, 2025 4:46 pm
by admin
Thanks. Is the screen dump from 5.9 or 6.1?

Re: VP2 ISS data stalls...

Posted: Fri Jan 10, 2025 5:18 pm
by wsnoordbergum
5.9

On the newest version I got the connection declined
Message repeats 2000+ times, I do not remember the exact number
Then message that station connection cannot be established timed out I think
As a result of this the data is not collected
And a restart of the meteobridge logger is needed

Re: VP2 ISS data stalls...

Posted: Tue Jan 28, 2025 10:56 pm
by wsnoordbergum
In CumulusMX I changed the response time settings in Davis advanced settings to 250ms and I use a initilisation time of 50ms
I have had no logger stalls eversince
Also still runnig version 5.9
I haven't tried the latest version yet

Re: VP2 ISS data stalls...

Posted: Tue Feb 04, 2025 11:10 am
by admin
I reverted some code with newest 6.1.

I would be interested, if that makes the newest version to behave like 5.9 in that regard.

Re: VP2 ISS data stalls...

Posted: Tue Feb 04, 2025 12:11 pm
by wsnoordbergum
Ok I will try the latest version
See if it is better in handling TCP/IP requests
I'll post again with my findings

Re: VP2 ISS data stalls...

Posted: Fri Feb 07, 2025 6:14 pm
by wsnoordbergum
Now running 6.1 version for three days now
No data stalls sofar, so I think it is much better now
Still get the second connection declined message in the logging sometimes but that was also the case with 5.9
Guess the problem is solved

Thanks for the support!

Re: VP2 ISS data stalls...

Posted: Sat Feb 08, 2025 2:46 pm
by admin
Thanks for letting me know!