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

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Post Reply
User avatar
wsnoordbergum
Expert Boarder
Expert Boarder
Posts: 156
Joined: Wed Jan 14, 2015 12:33 pm
Location: Friesland/Netherlands
Contact:

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

Post 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?
User avatar
wsnoordbergum
Expert Boarder
Expert Boarder
Posts: 156
Joined: Wed Jan 14, 2015 12:33 pm
Location: Friesland/Netherlands
Contact:

Re: VP2 ISS data stalls...

Post by wsnoordbergum »

Downgraded to 5.9 and now running fine again
Looks like newer versions are not to stable with tcp ip connections
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: VP2 ISS data stalls...

Post 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?
User avatar
wsnoordbergum
Expert Boarder
Expert Boarder
Posts: 156
Joined: Wed Jan 14, 2015 12:33 pm
Location: Friesland/Netherlands
Contact:

Re: VP2 ISS data stalls...

Post 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 10878 times
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: VP2 ISS data stalls...

Post by admin »

Thanks. Is the screen dump from 5.9 or 6.1?
User avatar
wsnoordbergum
Expert Boarder
Expert Boarder
Posts: 156
Joined: Wed Jan 14, 2015 12:33 pm
Location: Friesland/Netherlands
Contact:

Re: VP2 ISS data stalls...

Post 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
User avatar
wsnoordbergum
Expert Boarder
Expert Boarder
Posts: 156
Joined: Wed Jan 14, 2015 12:33 pm
Location: Friesland/Netherlands
Contact:

Re: VP2 ISS data stalls...

Post 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
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: VP2 ISS data stalls...

Post 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.
User avatar
wsnoordbergum
Expert Boarder
Expert Boarder
Posts: 156
Joined: Wed Jan 14, 2015 12:33 pm
Location: Friesland/Netherlands
Contact:

Re: VP2 ISS data stalls...

Post 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
User avatar
wsnoordbergum
Expert Boarder
Expert Boarder
Posts: 156
Joined: Wed Jan 14, 2015 12:33 pm
Location: Friesland/Netherlands
Contact:

Re: VP2 ISS data stalls...

Post 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!
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: VP2 ISS data stalls...

Post by admin »

Thanks for letting me know!
Post Reply