Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
USB stop responding
Moderator: mcrossley
-
- Posts: 43
- Joined: Mon 19 Oct 2009 8:17 pm
- Weather Station: WMR200
- Operating System: raspi3
- Location: France-oise
USB stop responding
Hi,
My WMR200 stops sending data to my pi3 several times every day or the pi doesnt received data from the station i dont know but i have to reboot it 2.3.4 times a day. what can i do to find the problem?
thanks for your help
My WMR200 stops sending data to my pi3 several times every day or the pi doesnt received data from the station i dont know but i have to reboot it 2.3.4 times a day. what can i do to find the problem?
thanks for your help
My weather station at Ver sur Launette - France (live) : http://stef942.free.fr/CMX
- ConligWX
- Posts: 1673
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04 LTS
- Location: Bangor, NI
- Contact:
Re: USB stop responding
I'm not sure if the same thing applies to the WMR200 but I know fine Offset devices lock up from time to time. some fixes are to either add Ferrite cores to the ends of the USB console cable, or to plug in a Powered USB Hub between the Rasbpi and your Weather Station Console. Also using a shielded USB cable can help too.
are you sharing the USB port on the Rasbpi with anything else?
are you sharing the USB port on the Rasbpi with anything else?
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
-
- Posts: 43
- Joined: Mon 19 Oct 2009 8:17 pm
- Weather Station: WMR200
- Operating System: raspi3
- Location: France-oise
Re: USB stop responding
thanks for your reply, there is nothing else connected to the pi only the station, the usb cable has ferrite cores on both ends, i will try an usb hub to see if it change something .
My weather station at Ver sur Launette - France (live) : http://stef942.free.fr/CMX
-
- Posts: 386
- Joined: Sun 14 Oct 2012 4:23 pm
- Weather Station: HP2553 (WS80) and HP2564 (WS90)
- Operating System: Raspbian Bullseye and Bookworm
- Location: Rjoanddalen and Kronstad, Norway
- Contact:
Re: USB stop responding
I had problems with the USBconnection between my WMR100 and the Raspberry3.
After I installed a powered hub between them last year, I have had no problems.
After I installed a powered hub between them last year, I have had no problems.
-
- Posts: 43
- Joined: Mon 19 Oct 2009 8:17 pm
- Weather Station: WMR200
- Operating System: raspi3
- Location: France-oise
Re: USB stop responding
hi, so 1 week later, i use now this hub :
and it's really better but not perfect as i still have some cut around once a day.
and it's really better but not perfect as i still have some cut around once a day.
My weather station at Ver sur Launette - France (live) : http://stef942.free.fr/CMX
- ConligWX
- Posts: 1673
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04 LTS
- Location: Bangor, NI
- Contact:
Re: USB stop responding
and is it powered by mains electric?stef942 wrote:hi, so 1 week later, i use now this hub :
and it's really better but not perfect as i still have some cut around once a day.
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
-
- Posts: 43
- Joined: Mon 19 Oct 2009 8:17 pm
- Weather Station: WMR200
- Operating System: raspi3
- Location: France-oise
Re: USB stop responding
despite hub, i still have random cuts several times a day
i have this error in mxdiag report :
i have this error in mxdiag report :
Code: Select all
2018-08-20 09:11:08.359 09:11:08 Calling Read
2018-08-20 09:11:08.359 09:11:08 numBytes = 9
2018-08-20 09:11:08.359 09:11:08 01 0B 60 01 00 00 00 00
2018-08-20 09:11:08.359 Data read loop: Array index is out of range.
2018-08-20 09:11:08.359 09:11:08 Calling Read
2018-08-20 09:11:08.359 09:11:08 numBytes = 9
2018-08-20 09:11:08.359 09:11:08 01 09 60 01 00 00 00 00
2018-08-20 09:11:08.360 Data read loop: Array index is out of range.
2018-08-20 09:11:08.360 09:11:08 Calling Read
2018-08-20 09:11:08.360 09:11:08 numBytes = 9
2018-08-20 09:11:08.360 09:11:08 01 14 60 01 00 00 00 00
2018-08-20 09:11:08.360 Data read loop: Array index is out of range.
2018-08-20 09:11:08.361 09:11:08 Calling Read
2018-08-20 09:11:08.361 09:11:08 numBytes = 9
2018-08-20 09:11:08.361 09:11:08 01 08 60 01 00 00 00 00
2018-08-20 09:11:08.361 Data read loop: Array index is out of range.
2018-08-20 09:11:08.361 09:11:08 Calling Read
2018-08-20 09:11:08.361 09:11:08 numBytes = 9
2018-08-20 09:11:08.361 09:11:08 01 12 60 01 00 00 00 00
2018-08-20 09:11:08.362 Data read loop: Array index is out of range.
2018-08-20 09:11:08.362 09:11:08 Calling Read
2018-08-20 09:11:08.362 09:11:08 numBytes = 9
2018-08-20 09:11:08.362 09:11:08 01 00 60 01 00 00 00 00
2018-08-20 09:11:08.362 Data read loop: Array index is out of range.
2018-08-20 09:11:08.362 09:11:08 Calling Read
2018-08-20 09:11:08.362 09:11:08 numBytes = 9
2018-08-20 09:11:08.363 09:11:08 01 E8 60 01 00 00 00 00
2018-08-20 09:11:08.363 Data read loop: Array index is out of range.
2018-08-20 09:11:08.363 09:11:08 Calling Read
2018-08-20 09:11:08.363 09:11:08 numBytes = 9
2018-08-20 09:11:08.363 09:11:08 01 00 60 01 00 00 00 00
2018-08-20 09:11:08.363 Data read loop: Array index is out of range.
2018-08-20 09:11:08.364 09:11:08 Calling Read
2018-08-20 09:11:08.364 09:11:08 numBytes = 9
2018-08-20 09:11:08.364 09:11:08 01 3B 60 01 00 00 00 00
2018-08-20 09:11:08.364 Data read loop: Array index is out of range.
2018-08-20 09:11:08.364 09:11:08 Calling Read
2018-08-20 09:11:08.364 09:11:08 numBytes = 9
2018-08-20 09:11:08.365 09:11:08 01 96 60 01 00 00 00 00
2018-08-20 09:11:08.365 Data read loop: Array index is out of range.
2018-08-20 09:11:08.365 09:11:08 Calling Read
2018-08-20 09:11:08.365 09:11:08 numBytes = 9
2018-08-20 09:11:08.365 09:11:08 01 00 60 01 00 00 00 00
2018-08-20 09:11:08.365 Data read loop: Array index is out of range.
2018-08-20 09:11:08.365 09:11:08 Calling Read
2018-08-20 09:11:08.366 09:11:08 numBytes = 9
2018-08-20 09:11:08.366 09:11:08 01 00 60 01 00 00 00 00
2018-08-20 09:11:08.366 Data read loop: Array index is out of range.
2018-08-20 09:11:08.366 09:11:08 Calling Read
2018-08-20 09:11:08.366 09:11:08 numBytes = 9
2018-08-20 09:11:08.366 09:11:08 01 E2 60 01 00 00 00 00
2018-08-20 09:11:08.366 Data read loop: Array index is out of range.
2018-08-20 09:11:08.367 09:11:08 Calling Read
2018-08-20 09:11:08.367 09:11:08 numBytes = 9
2018-08-20 09:11:08.367 09:11:08 01 02 60 01 00 00 00 00
2018-08-20 09:11:08.367 Data read loop: Array index is out of range.
2018-08-20 09:11:08.367 09:11:08 Calling Read
2018-08-20 09:11:11.367 Data read loop: The operation has timed-out.
etc....
My weather station at Ver sur Launette - France (live) : http://stef942.free.fr/CMX
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: USB stop responding
You'll always get lots of messages of that kind while reading data from this type of station because of the way MX reads the data; they are not indications of a problem and don't help with diagnosing the problem, unfortunately.
Steve
-
- Posts: 214
- Joined: Tue 24 Nov 2015 11:30 pm
- Weather Station: Fine Offset & Davis Vantage Vue
- Operating System: Windows 10; Raspbian Buster
- Location: Switzerland
Re: USB stop responding
I don't have the same equipment, but here are some thoughts.
Can you tell if either the Pi or Weather Station is 'crashing' & rebooting? or do both stay running with failed data collection?
There are suggestions that adding USB hub helps some people. The hub should not do much except ensure that the weather station receives sufficient power all the time (certainly Fine Offset stations take power from the USB port [ie Raspberry Pi] once plugged in, rather than using their internal batteries. And Raspberry Pi's are known to need a sturdy power supply especially if you have powered devices attached to their USB hub. So make sure the Pi's PSU is a good one, especially if you are using a Pi3 or 2 rather than a Pi Zero W.
While on subject of power, have you checked that your weather station has good batteries?
And I see you live in France. Is it rural? Do you suffer the typical French momentary power glitches? You could try adding a USB power pack between the Pi's PSU and the Pi (to act as a UPS - uninterruptible power supply - power pack permanently on charge and available to power the Pi during any glitches).
At least those are the kinds of things I'd be checking up on ...
Can you tell if either the Pi or Weather Station is 'crashing' & rebooting? or do both stay running with failed data collection?
There are suggestions that adding USB hub helps some people. The hub should not do much except ensure that the weather station receives sufficient power all the time (certainly Fine Offset stations take power from the USB port [ie Raspberry Pi] once plugged in, rather than using their internal batteries. And Raspberry Pi's are known to need a sturdy power supply especially if you have powered devices attached to their USB hub. So make sure the Pi's PSU is a good one, especially if you are using a Pi3 or 2 rather than a Pi Zero W.
While on subject of power, have you checked that your weather station has good batteries?
And I see you live in France. Is it rural? Do you suffer the typical French momentary power glitches? You could try adding a USB power pack between the Pi's PSU and the Pi (to act as a UPS - uninterruptible power supply - power pack permanently on charge and available to power the Pi during any glitches).
At least those are the kinds of things I'd be checking up on ...
-
- Posts: 43
- Joined: Mon 19 Oct 2009 8:17 pm
- Weather Station: WMR200
- Operating System: raspi3
- Location: France-oise
Re: USB stop responding
Hello, thanks for your help
1/ station and pi keep running but data are not send/received, i don't know
2/ the station is powered with adequate power supply and batteries are fine, usb hub is powered too.
3/ typical French momentary power glitches ?
1/ station and pi keep running but data are not send/received, i don't know
2/ the station is powered with adequate power supply and batteries are fine, usb hub is powered too.
3/ typical French momentary power glitches ?
My weather station at Ver sur Launette - France (live) : http://stef942.free.fr/CMX
-
- Posts: 29
- Joined: Sun 23 Apr 2017 2:42 pm
- Weather Station: Davis Vantage Vue
- Operating System: Linux
Re: USB stop responding
I've been having a similar problem with increasing frequency. CumulusMX locks up and I get this error in the diagnostics file:
System.IO.IOException: Input/output error
at System.IO.Ports.SerialPortStream.ThrowIOException () [0x00000] in <filename unknown>:0
at System.IO.Ports.SerialPortStream.DiscardInBuffer () [0x00000] in <filename unknown>:0
at System.IO.Ports.SerialPort.DiscardInBuffer () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.Ports.SerialPort:DiscardInBuffer ()
at CumulusMX.DavisStation.SendLoopCommand (System.IO.Ports.SerialPort serialPort, System.String commandString) [0x00000] in <filename unknown>:0
at CumulusMX.DavisStation.Start () [0x00000] in <filename unknown>:0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
Press Enter to terminate
Any ideas?
r/
Jim
System.IO.IOException: Input/output error
at System.IO.Ports.SerialPortStream.ThrowIOException () [0x00000] in <filename unknown>:0
at System.IO.Ports.SerialPortStream.DiscardInBuffer () [0x00000] in <filename unknown>:0
at System.IO.Ports.SerialPort.DiscardInBuffer () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.Ports.SerialPort:DiscardInBuffer ()
at CumulusMX.DavisStation.SendLoopCommand (System.IO.Ports.SerialPort serialPort, System.String commandString) [0x00000] in <filename unknown>:0
at CumulusMX.DavisStation.Start () [0x00000] in <filename unknown>:0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
Press Enter to terminate
Any ideas?
r/
Jim
-
- Posts: 29
- Joined: Sun 23 Apr 2017 2:42 pm
- Weather Station: Davis Vantage Vue
- Operating System: Linux
Re: USB stop responding
One other thing I should mention. When Cumulus hangs up and I get the error and I hit "Enter" to terminate the program, it will not restart. When I type in the commands, I get a "Cannot connect to station" error. I must reboot the system entirely to get it to work again. Not sure it's related, but it's a feature.
r/
Jim
r/
Jim
- ConligWX
- Posts: 1673
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04 LTS
- Location: Bangor, NI
- Contact:
Re: USB stop responding
Did you attach the MXDiags folder to your post? Sorry but I don't see it.hillyjd wrote:**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
Press Enter to terminate
Any ideas?
r/
Jim
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
-
- Posts: 29
- Joined: Sun 23 Apr 2017 2:42 pm
- Weather Station: Davis Vantage Vue
- Operating System: Linux
Re: USB stop responding
No, I just posted the error text from the diagnostics. Here's the entire file. This is actually the diagnostic file from latest lockup from yesterday.
r/
Jim
r/
Jim
You do not have the required permissions to view the files attached to this post.