Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.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

Problems with station communication: USB locks up completely

Discussion specific to Fine Offset and similar rebadged weather stations
Locked
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Problems with station communication: USB locks up completely

Post by steve »

I thought it might be useful to start a thread where people could report the problem where the station stops responding to requests for data and requires a reset. Perhaps we can see a pattern. It's quite possible that it's an issue with Cumulus, but the same problem does occur with other software. The problem does seem to have become more common recently, but I haven't changed the code which interfaces with the station for a very long time. It appears that Fine Offset have done some kind of change to their stations in the last year or two which causes this problem.

So, if you find you have to reset your station to get it talking again, please post here. Give all relevant information - the 'brand' and model of your Fine Offset station, which build of Cumulus you're using, how long it was since the last time you had to reset, your station's logger interval, whether or not you were seeing 'sensor contact lost' shortly before the lockup, and whether you run Cumulus 24 hours a day or stop and start it from time to time. And any other information you think might be useful.

Note that this is NOT the same problem as the 'Station not initialised' problem. Click on the Cumulus error light, and if the error message says 'Station not initialised', that is a different problem and you need to read this FAQ: http://wiki.sandaysoft.com/a/FAQ#When_I ... ialised.22

For a solution to THIS problem which has worked for many people, see the "Synchronise Fine Offset Reads" setting on the station settings screen.

Please don't post about other problems in this thread.
Steve
User avatar
mcrossley
Posts: 12689
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Problems with station communication

Post by mcrossley »

From 'other' software anecdotally the problem seems to have started with more recent examples of the stations, older stations do not seem to showing the problem. So maybe if people could say when the station was bought it may be interesting.

It would also be interesting to hear from anyone who is using Easy Weather - are you getting lockups? Apparently EW does use an unusual memory read sequence.
jim-easterbrook
Posts: 111
Joined: Thu 09 Jul 2009 10:47 am
Weather Station: WH1081, Elecsa AstroTouch 6975
Operating System: openSUSE 13.1, Raspbian, OpenWrt
Location: Epsom, UK
Contact:

Re: Problems with station communication

Post by jim-easterbrook »

mcrossley wrote:From 'other' software anecdotally the problem seems to have started with more recent examples of the stations, older stations do not seem to showing the problem. So maybe if people could say when the station was bought it may be interesting.
That's the first point I was going to make. I have two stations. One locks up, the other doesn't. The one that locks up was bought in August 2011.
mcrossley wrote:It would also be interesting to hear from anyone who is using Easy Weather - are you getting lockups? Apparently EW does use an unusual memory read sequence.
That would be someone using EasyWeather who leaves it running continuously, 24 hours a day, for weeks at a time.

The 'unusual' pattern I've observed is that EasyWeather finishes its read sequence (15 second intervals) by getting the data from 32 bytes lower than the current pointer. This appears to be pointless, unless it's to leave the USB 'access address' (if there is such a thing) pointing at 'inactive' memory. I changed pywws to follow this example, but still had a lock up. Another theory bites the dust.

I'm in contact with someone at Fine Offset, but he doesn't (yet) accept there's a problem. I'm hoping I can get some more info from him about the USB interface, but I'm not sure if there is any. (I'll PM Steve with the useful info I've got so far, although it's irrelevant to this problem.)
Jim
DrMD
Posts: 21
Joined: Sun 01 Nov 2009 1:40 pm
Weather Station: NC265
Operating System: XP
Location: Goshen Nova Scotia Canada
Contact:

Re: Problems with station communication

Post by DrMD »

Without checking other unit that have stopped working I could not say if the problem is software or hardware related. My unit has stopped working many times. Until last year most of the tricks to getting it going worked, unplug it, resetting and even letting it just sit for a few days(unplugged) and trying again worked. But last year just nothing worked, its a Fine Offset (Branded National Geographic NG265) which ever model that works out to be purchased in 2009.
I got it going 2 weeks ago and would have to say it is a hardware problem with mine at least, see attached.
Hopefully some that have this problem would be able to take a voltage reading as discribe in the attached file.
One thing that I found that would caused it to stop communicating was restarting the laptop with the unit attached.
You do not have the required permissions to view the files attached to this post.
water01
Posts: 3215
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Problems with station communication

Post by water01 »

I will throw this one into the mix just in case its relevant. I worked with USB a lot when working as a software engineer on the UK/US chipped passports. The devices that read the chips on the production lines were USB attached and we had problems with the readers loosing connections to the PC running the software checking the chips.
Two things we found were as follows:
1) Quite a few machines (laptops especially) were incapable of providing the correct power to keep the device running and the only way to guarantee a smooth, non fluctuating power feed was to use powered hubs. That in itself caused a problem as you had to make sure the powered hubs were fully 2.0 USB compliant, a lot of them are 1.0 hubs cheaply modified to support 2.0 that did not fully match the spec nor the required power levels.
2) Windows has settings in the Power Management functions to turn off what it considers idle hubs. If you look in Device Manager and right click on Generic USB Hub or USB Root Hub (anything that has Hub on the end, there are some strange ones!!), and select Properties, you will see a tab labelled Power Management. Click on this and you may find that "Allow the computer to turn of this device to save power" has a tick against it. Untick it and Windows will not arbitarily turn of your USB device when it enters the Power Management functions.
I made sure I did both of these when I attached my Weather Station last April, and to date (crossed fingers, touch wood) I have not had one single disconnection or lockup.
David
Image
Spider-Vice
Posts: 207
Joined: Sat 24 Sep 2011 2:46 pm
Weather Station: Davis Vantage Vue
Operating System: Raspbian

Re: Problems with station communication

Post by Spider-Vice »

My unit is pretty much... intermittent. I don't like the very irregular update times so I tried to move it like, what, one centimeter and it immediately stopped working after around 5 minutes. I let it search for signal once, nothing. Disconnected USB cable and the signal came back... Odd.
jwtower
Posts: 3
Joined: Sun 12 Feb 2012 1:01 pm
Weather Station: WS-1080
Operating System: Windows 7
Location: United States

Re: Problems with station communication

Post by jwtower »

I had mine connected to an Ubuntu box running wview for a while and ran into the same issue on the that machine. I usually end up disconnecting my WS-2080 bought this year every couple of days. It does seem I have a large number of Sensor contact lost errors a 1/2 to full day before hand.
AllyCat
Posts: 1124
Joined: Sat 26 Feb 2011 1:58 pm
Weather Station: Fine Offset 1080/1 & 3080
Operating System: Windows XP SP3
Location: SE London

Re: Problems with station communication

Post by AllyCat »

Spider-Vice wrote: ... move it ... one centimeter .... stopped working after around 5 minutes. .......... Disconnected USB cable and the signal came back... Odd.
Hi,

No, not Odd, this is well-known behaviour of the FO units, it appears that the USB cable can radiate interference. If the Console displays and logs properly when the USB is disconnected then a better/screened cable may help (note that these are "USB Male A to Male A" which is rather non-standard). Also, at the frequency used by the radio link, multipath "standing waves" (due to signal reflections) can cause the signal strength to change dramatically with a movement of just a few centimetres.

The Console only reports "Lost contact" (and "--" on the display) after about 6 - 8 consecutive transmissions are "lost", so about 5 minutes can elapse if communications fail completely. This makes "testing" the wireless link quite difficult because the comms can be "struggling" (say > 50% of messages lost) without any obvious "errors". You need to see if the data is updating regularly every 48 seconds (on the Console LCD) and thus require continuously changing data - the rather "lively" (undamped) wind vane can be of some help here. :)

Sorry this is rather Off-Topic for the Console-USB lockups which Steve is trying to identify in this thread (but it is quite possible that poor radio comms could be a cause of these lockups).

Cheers, Alan.
Spider-Vice
Posts: 207
Joined: Sat 24 Sep 2011 2:46 pm
Weather Station: Davis Vantage Vue
Operating System: Raspbian

Re: Problems with station communication

Post by Spider-Vice »

Well I added an antenna to my other receiver with the wind direction fixed. It seemed to start working very well where it is now, consecutive readings and everything, even when connected to USB, but after a few hours it's not constant anymore even though it never loses signal, it's a little irritating losing wind gusts. It pauses for around 2 minutes, then updates, sometimes even more on the average wind value. Happens the most in weak wind but I've been observing it with winds around 20 km/h too. So at the start it was all fine, now I haven't moved it and it updates unconstant again. :?
apple8
Posts: 129
Joined: Sun 21 Aug 2011 2:26 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Sydney. Australia
Contact:

Re: Problems with station communication

Post by apple8 »

I have had intermittent "lost contact" problem when using two transmitters/receivers. All will work well for a few days then one will lose contact for anything up to 4 hours then return to normal. Turning off the second system and the one feeding into the PC and Cumulus become rock solid again 24/7.
Worf
Posts: 17
Joined: Mon 06 Feb 2012 1:06 pm
Weather Station: N96GY
Operating System: Windows 8.1
Location: Pwllheli, Gwynedd
Contact:

Re: Problems with station communication

Post by Worf »

I experienced lockups and "lost contact" problems from virtually when the unit was new (Dec2011). This only happened when the console unit was connected via USB cable. After replacing the USB cable I have experienced no further problems, so it would appear that that was the cause.
Image
41south
Posts: 70
Joined: Mon 04 Apr 2011 11:35 pm
Weather Station: 1-wire Windblown solution
Operating System: Win XP
Location: Wellington, NZ
Contact:

Re: Problems with station communication

Post by 41south »

The pattern I noticed with mine was that the barometer value would no longer change whenever it locked. Everything else seemed to record fine, just the baro.It didn't seem to matter how full the little memory indicator was either.

Good thread, thanks Steve :)
Image
jim-easterbrook
Posts: 111
Joined: Thu 09 Jul 2009 10:47 am
Weather Station: WH1081, Elecsa AstroTouch 6975
Operating System: openSUSE 13.1, Raspbian, OpenWrt
Location: Epsom, UK
Contact:

Re: Problems with station communication

Post by jim-easterbrook »

water01 wrote:I will throw this one into the mix just in case its relevant. I worked with USB a lot when working as a software engineer on the UK/US chipped passports. The devices that read the chips on the production lines were USB attached and we had problems with the readers loosing connections to the PC running the software checking the chips.
Interesting. I have to confess that my USB connection goes via two extension leads, which is not ideal. It may be that my old station was less sensitive to USB signal quality than the new station is.

My 'pywws' software has always read data from the station twice, and only uses data when the two readings agree. I did this to prevent taking readings during 'mid update', but it might also be masking USB problems. I'm now logging any cases where the two readings differ, and am seeing some when reading memory that should not be changing (logged data 32 bytes below the current data).
Jim
41south
Posts: 70
Joined: Mon 04 Apr 2011 11:35 pm
Weather Station: 1-wire Windblown solution
Operating System: Win XP
Location: Wellington, NZ
Contact:

Re: Problems with station communication

Post by 41south »

Just changed USB leads on mine - locked up again within a few hours. Same symptoms, no change of pressure reading, everything else appears to be reading ok (discounting the solar which is yet again broken!!)

This time I have done a complete station reset (up button held in for x seconds until the screen shows the reset in progress).

This has cleared the memory so I'll see how long it lasts. I have a theory that the more memory is used the more often these lockups occur :roll: Time will tell.

Ordering a Davis 6162 today :evil:

Edit: Easyweather also locks up so I don't think it's anything to do with Cumulus - unless you can empty that memory buffer Steve?
Image
41south
Posts: 70
Joined: Mon 04 Apr 2011 11:35 pm
Weather Station: 1-wire Windblown solution
Operating System: Win XP
Location: Wellington, NZ
Contact:

Re: Problems with station communication

Post by 41south »

All good for the last 12 hrs or so with the memory empty :roll:
Image
Locked