Page 1 of 1
Data input appears to have stopped
Posted: Wed 17 Feb 2021 9:16 am
by MeteoBallino
Hello everybody,
my name is Luca and I use CumulusMX for several stations.
Yesterday I got to install CumulusMX also on a Raspberry PiZero. To this raspberry I connected a usb hub, connected to the console of a Fine Offset station and to a 3g key to transmit data online.
I realized that after a few minutes of correct operation, the reading of data from the console stops.
I thought there could be two problems:
1) the raspberry confuses with the external hub (unlikely)
2) there is not enough current to the peripherals due to the external hub for which I am forced to supply additional power
What do you think? now I do a test without a 3g key to see what happens.
Thanks to all the forum!
Good day
File MXdiags (error at 09:58:00)
Code: Select all
2021-02-17 09:54:00.391 New all-time record: New time = 2021-02-17 09:54, new value = 28,083 "High daily windrun" prev time = 2021-02-17 09:53, prev value = 28,037
2021-02-17 09:54:00.549 New monthly record: month = 02: New time = 2021-02-17 09:54, new value = 28,083 "High daily windrun" prev time = 2021-02-17 09:53, prev value = 28,037
2021-02-17 09:55:00.158 New all-time record: New time = 2021-02-17 09:55, new value = 28,127 "High daily windrun" prev time = 2021-02-17 09:54, prev value = 28,083
2021-02-17 09:55:00.325 New monthly record: month = 02: New time = 2021-02-17 09:55, new value = 28,127 "High daily windrun" prev time = 2021-02-17 09:54, prev value = 28,083
2021-02-17 09:55:00.336 DoLogFile: Writing log entry for 17/02/2021 09:55:00
2021-02-17 09:55:00.339 DoLogFile: Written log entry for 17/02/2021 09:55:00
2021-02-17 09:55:00.354 Writing today.ini, LastUpdateTime = 17/02/2021 09:55:00 raindaystart = 126,3 rain counter = 126,3
2021-02-17 09:55:00.355 Latest reading: 0D10: 01 2A 4E 00 47 04 00 7B 24 03 07 00 0A A5 01 00
2021-02-17 09:55:08.282 FTP[Int]: Process complete
2021-02-17 09:55:33.700 Realtime[5]: Uploading - realtime.txt
2021-02-17 09:55:39.459 Realtime[5]: Uploading extra web file[0] MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt
2021-02-17 09:56:00.492 New all-time record: New time = 2021-02-17 09:56, new value = 28,170 "High daily windrun" prev time = 2021-02-17 09:55, prev value = 28,127
2021-02-17 09:56:00.673 New monthly record: month = 02: New time = 2021-02-17 09:56, new value = 28,170 "High daily windrun" prev time = 2021-02-17 09:55, prev value = 28,127
2021-02-17 09:57:00.289 New all-time record: New time = 2021-02-17 09:57, new value = 28,214 "High daily windrun" prev time = 2021-02-17 09:56, prev value = 28,170
2021-02-17 09:57:00.458 New monthly record: month = 02: New time = 2021-02-17 09:57, new value = 28,214 "High daily windrun" prev time = 2021-02-17 09:56, prev value = 28,170
2021-02-17 09:57:34.832 Realtime[6]: Uploading - realtime.txt
2021-02-17 09:57:40.199 Realtime[6]: Uploading extra web file[0] MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt
2021-02-17 09:58:00.007 *** Data input appears to have stopped
2021-02-17 09:59:00.258 *** Data input appears to have stopped
2021-02-17 09:59:33.588 Realtime[7]: Uploading - realtime.txt
2021-02-17 09:59:39.090 Realtime[7]: Uploading extra web file[0] MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt
2021-02-17 10:00:00.052 Hour changed: 10
2021-02-17 10:00:00.052 Calculating sunrise and sunset times
2021-02-17 10:00:00.055 Sunrise: 07:15:55
2021-02-17 10:00:00.056 Sunset : 17:46:12
2021-02-17 10:00:00.061 Tomorrow sunrise: 07:14:17
2021-02-17 10:00:00.062 Tomorrow sunset : 17:47:39
2021-02-17 10:00:00.069 *** Data input appears to have stopped
2021-02-17 10:01:00.309 *** Data input appears to have stopped
2021-02-17 10:01:33.746 Realtime[8]: Uploading - realtime.txt
2021-02-17 10:01:42.063 Realtime[8]: Uploading extra web file[0] MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt
Re: Data input appears to have stopped
Posted: Wed 17 Feb 2021 9:22 am
by sutne
2) there is not enough current to the peripherals due to the external hub for which I am forced to supply additional power
The Raspberry is known to have problem with the USB port so a Hub with external power is recommended.
Re: Data input appears to have stopped
Posted: Wed 17 Feb 2021 9:51 am
by MeteoBallino
Thanks for the reply.
Meanwhile I tried to just connect the station to the hub (without 3G key), so it should get enough current.
In the meantime I order a cable like this to power the hub.
Re: Data input appears to have stopped
Posted: Wed 17 Feb 2021 10:11 am
by sutne
You will also need a power supply.
Re: Data input appears to have stopped
Posted: Wed 17 Feb 2021 10:20 am
by MeteoBallino
Yes, of course. I will use a normal power supply for phones with USB output (500mA is enough).
Re: Data input appears to have stopped
Posted: Wed 17 Feb 2021 11:34 am
by MeteoBallino
I connected the power supply of the Vantage pro2 console to the hub (it's the same 1.7mm connector).
Unfortunately the problem persists, what could be the problem?
The error message appears every 1 minute (from 11:59).
Since the error occurs, CumulusMX no longer updates the data and does not store them.
Code: Select all
2021-02-17 11:55:00.623 DoLogFile: Writing log entry for 17/02/2021 11:55:00
2021-02-17 11:55:00.626 DoLogFile: Written log entry for 17/02/2021 11:55:00
2021-02-17 11:55:00.641 Writing today.ini, LastUpdateTime = 17/02/2021 11:55:00 raindaystart = 126,3 rain counter = 126,3
2021-02-17 11:55:00.642 Latest reading: 0E90: 01 25 7F 00 3C 45 00 73 24 07 07 00 05 A5 01 00
2021-02-17 11:55:06.636 FTP[Int]: Error connecting ftp - Could not resolve host 'ftp.garda-meteo.com'
2021-02-17 11:55:09.772 New all-time record: New time = 2021-02-17 11:55, new value = -0,244 "High dew point" prev time = 2021-02-17 11:54, prev value = -0,338
2021-02-17 11:55:09.934 New monthly record: month = 02: New time = 2021-02-17 11:55, new value = -0,244 "High dew point" prev time = 2021-02-17 11:53, prev value = -0,432
2021-02-17 11:55:49.797 New all-time record: New time = 2021-02-17 11:55, new value = -0,149 "High dew point" prev time = 2021-02-17 11:55, prev value = -0,244
2021-02-17 11:55:56.292 Realtime[5]: Uploading - realtime.txt
2021-02-17 11:56:00.265 New all-time record: New time = 2021-02-17 11:56, new value = 35,071 "High daily windrun" prev time = 2021-02-17 11:55, prev value = 35,033
2021-02-17 11:56:00.428 New monthly record: month = 02: New time = 2021-02-17 11:56, new value = 35,071 "High daily windrun" prev time = 2021-02-17 11:55, prev value = 35,033
2021-02-17 11:56:02.236 Realtime[5]: Uploading extra web file[0] MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt
2021-02-17 11:56:17.823 FTP[5]: Error uploading MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt : Timed out trying to read data from the socket stream!
2021-02-17 11:56:49.823 New all-time record: New time = 2021-02-17 11:56, new value = 0,268 "High dew point" prev time = 2021-02-17 11:55, prev value = -0,149
2021-02-17 11:56:49.985 New monthly record: month = 02: New time = 2021-02-17 11:56, new value = 0,268 "High dew point" prev time = 2021-02-17 11:55, prev value = -0,244
2021-02-17 11:57:00.194 New all-time record: New time = 2021-02-17 11:57, new value = 35,107 "High daily windrun" prev time = 2021-02-17 11:56, prev value = 35,071
2021-02-17 11:57:00.357 New monthly record: month = 02: New time = 2021-02-17 11:57, new value = 35,107 "High daily windrun" prev time = 2021-02-17 11:56, prev value = 35,071
2021-02-17 11:57:33.264 FTP[6]: Attempting realtime FTP connect to host ftp.garda-meteo.com on port 21
2021-02-17 11:58:00.472 New all-time record: New time = 2021-02-17 11:58, new value = 35,144 "High daily windrun" prev time = 2021-02-17 11:57, prev value = 35,107
2021-02-17 11:58:00.645 New monthly record: month = 02: New time = 2021-02-17 11:58, new value = 35,144 "High daily windrun" prev time = 2021-02-17 11:57, prev value = 35,107
2021-02-17 11:58:14.012 FTP[6]: Realtime FTP connected
2021-02-17 11:58:15.069 Realtime[6]: Uploading - realtime.txt
2021-02-17 11:58:21.783 Realtime[6]: Uploading extra web file[0] MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt
2021-02-17 11:59:00.193 *** Data input appears to have stopped
2021-02-17 11:59:34.229 Realtime[7]: Uploading - realtime.txt
2021-02-17 11:59:38.472 Realtime[7]: Uploading extra web file[0] MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt
2021-02-17 12:00:00.027 Hour changed: 12
2021-02-17 12:00:00.028 Calculating sunrise and sunset times
2021-02-17 12:00:00.031 Sunrise: 07:15:55
2021-02-17 12:00:00.034 Sunset : 17:46:12
2021-02-17 12:00:00.036 Tomorrow sunrise: 07:14:17
2021-02-17 12:00:00.037 Tomorrow sunset : 17:47:39
2021-02-17 12:00:00.048 *** Data input appears to have stopped
2021-02-17 12:01:00.293 *** Data input appears to have stopped
2021-02-17 12:01:35.467 Realtime[8]: Uploading - realtime.txt
2021-02-17 12:01:39.949 Realtime[8]: Uploading extra web file[0] MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt
2021-02-17 12:02:00.064 *** Data input appears to have stopped
2021-02-17 12:03:00.000 *** Data input appears to have stopped
2021-02-17 12:03:55.331 Realtime[9]: Uploading - realtime.txt
2021-02-17 12:04:00.380 *** Data input appears to have stopped
2021-02-17 12:04:00.847 Realtime[9]: Uploading extra web file[0] MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt
2021-02-17 12:05:00.202 *** Data input appears to have stopped
2021-02-17 12:05:34.260 Realtime[10]: Uploading - realtime.txt
2021-02-17 12:05:38.858 Realtime[10]: Uploading extra web file[0] MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt
2021-02-17 12:06:00.463 *** Data input appears to have stopped
2021-02-17 12:07:00.232 *** Data input appears to have stopped
2021-02-17 12:07:34.850 Realtime[11]: Uploading - realtime.txt
2021-02-17 12:07:39.428 Realtime[11]: Uploading extra web file[0] MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt
2021-02-17 12:08:00.001 *** Data input appears to have stopped
2021-02-17 12:09:00.262 *** Data input appears to have stopped
2021-02-17 12:09:34.587 Realtime[12]: Uploading - realtime.txt
2021-02-17 12:09:38.765 Realtime[12]: Uploading extra web file[0] MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt
2021-02-17 12:10:00.122 *** Data input appears to have stopped
2021-02-17 12:11:00.012 *** Data input appears to have stopped
2021-02-17 12:11:55.528 Realtime[13]: Uploading - realtime.txt
2021-02-17 12:12:00.300 *** Data input appears to have stopped
2021-02-17 12:12:01.119 Realtime[13]: Uploading extra web file[0] MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt
2021-02-17 12:13:00.082 *** Data input appears to have stopped
2021-02-17 12:13:34.102 Realtime[14]: Uploading - realtime.txt
2021-02-17 12:13:38.270 Realtime[14]: Uploading extra web file[0] MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt
2021-02-17 12:13:53.551 FTP[14]: Error uploading MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt : Timed out trying to read data from the socket stream!
2021-02-17 12:14:00.472 *** Data input appears to have stopped
2021-02-17 12:15:00.289 *** Data input appears to have stopped
2021-02-17 12:15:32.842 FTP[15]: Attempting realtime FTP connect to host ftp.garda-meteo.com on port 21
2021-02-17 12:15:38.980 FTP[15]: Realtime FTP connected
2021-02-17 12:15:39.619 Realtime[15]: Uploading - realtime.txt
2021-02-17 12:15:45.015 Realtime[15]: Uploading extra web file[0] MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt
2021-02-17 12:16:00.070 *** Data input appears to have stopped
2021-02-17 12:17:00.359 *** Data input appears to have stopped
2021-02-17 12:17:34.014 Realtime[16]: Uploading - realtime.txt
2021-02-17 12:17:38.442 Realtime[16]: Uploading extra web file[0] MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt
2021-02-17 12:18:00.158 *** Data input appears to have stopped
2021-02-17 12:19:00.439 *** Data input appears to have stopped
2021-02-17 12:19:33.883 Realtime[17]: Uploading - realtime.txt
2021-02-17 12:19:38.359 Realtime[17]: Uploading extra web file[0] MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt
2021-02-17 12:20:00.242 *** Data input appears to have stopped
2021-02-17 12:21:00.020 *** Data input appears to have stopped
2021-02-17 12:21:34.949 Realtime[18]: Uploading - realtime.txt
2021-02-17 12:21:38.789 Realtime[18]: Uploading extra web file[0] MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt
2021-02-17 12:22:00.279 *** Data input appears to have stopped
2021-02-17 12:23:00.119 *** Data input appears to have stopped
2021-02-17 12:23:33.887 Realtime[19]: Uploading - realtime.txt
2021-02-17 12:23:38.496 Realtime[19]: Uploading extra web file[0] MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt
2021-02-17 12:24:00.399 *** Data input appears to have stopped
2021-02-17 12:25:00.224 *** Data input appears to have stopped
2021-02-17 12:25:53.383 Realtime[20]: Uploading - realtime.txt
2021-02-17 12:25:58.695 Realtime[20]: Uploading extra web file[0] MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt
2021-02-17 12:26:00.137 *** Data input appears to have stopped
2021-02-17 12:27:00.409 *** Data input appears to have stopped
2021-02-17 12:27:48.509 Realtime[21]: Error reconnecting ftp server - Could not resolve host 'ftp.garda-meteo.com'
2021-02-17 12:27:48.510 FTP[21]: Attempting realtime FTP connect to host ftp.garda-meteo.com on port 21
2021-02-17 12:27:48.542 FTP[21]: Error connecting ftp - Could not resolve host 'ftp.garda-meteo.com'
2021-02-17 12:27:48.543 Realtime[21]: Uploading - realtime.txt
2021-02-17 12:27:48.588 FTP[21]: Error uploading realtime.txt to www.garda-meteo.com/matteo/dati/fangolino//realtime.txt : Could not resolve host 'ftp.garda-meteo.com'
2021-02-17 12:27:48.589 Realtime[21]: Uploading extra web file[0] MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt
2021-02-17 12:27:48.624 FTP[21]: Error uploading MTAA.txttmp to www.garda-meteo.com/matteo/dati/fangolino/MTAA.txt : Could not resolve host 'ftp.garda-meteo.com'
2021-02-17 12:28:00.319 *** Data input appears to have stopped
2021-02-17 12:29:00.098 *** Data input appears to have stopped
Re: Data input appears to have stopped
Posted: Wed 17 Feb 2021 12:35 pm
by water01
Obvious thing is to check the transmitter batteries. Next is to disconnect the Weatherstation from USB and take the batteries out wait 20 seconds or more and then put the batteries in and reconnect it to the USB. This should reset the sync to the transmitter and could solve the problem. Lastly, have you got "Synchronise Fine Offset reads" ticked in Settings / Station Settings / Options as this can also solve this.
If none of these work it is problem that the transmitter has a fault. FineOffsets have a history of dry/oxidised solder joints that gradually fail.
Re: Data input appears to have stopped
Posted: Wed 17 Feb 2021 1:53 pm
by MeteoBallino
Thanks for the reply.
The transmitter batteries are charged. i have already tried to reset the console. I have already activated "Synchronize Fine Offset reads". I have always used this station with Pi3 and it has never given me problems (in fact this morning I tried to attach it to the Pi3 and it did not crash), instead with Pizero the reading is interrupted.
Maybe the problem is the usb hub? I also tried with a different one but the problem persists...
Re: Data input appears to have stopped
Posted: Wed 17 Feb 2021 4:05 pm
by water01
It is always advisable to use a powered hub with any Pi as they are notorious for not supplying the correct current. Are you using an official Pi power supply as some of the cheap versions also do not supply the correct voltage to run all the things that can be attached to a Pi.
Re: Data input appears to have stopped
Posted: Wed 17 Feb 2021 7:28 pm
by mcrossley
Can you switch on debug and data logging and we will see what that shows.
Re: Data input appears to have stopped
Posted: Thu 18 Feb 2021 7:44 pm
by MeteoBallino
The problem was precisely the external hub of Pi Zero.
So I am using another Pi3 I already had at home and everything works correctly.
Thanks!