I seem to be having a problem uploading CWOP data since recently upgrading to Cumulus MX. Weather Underground data is uploading successfully with MX and the CWOP data was uploading from Cumulus 1.
This is the error:
2016-10-17 18:03:26.895 CWOP error: Value was either too large or too small for an Int32.
I attached the MXDiag file.
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
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
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
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
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
CWOP Error
Moderator: mcrossley
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: CWOP Error
You don't have debug logging turned on. You will need to turn that on so that the string being sent to CWOP is logged to the diags file.
Steve
- mike_b
- Posts: 14
- Joined: Tue 27 Dec 2011 4:32 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Georgetown, Kentucky, USA
Re: CWOP Error
I attached the diags file with logging turned on.
You do not have the required permissions to view the files attached to this post.
Mike
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: CWOP Error
It's not getting as far as sending the data to CWOP; the error message is from an exception while constructing the string. It means that one of your readings has an unexpected value - unfortunately I can't easily say which, or why - it may be a bug in one of my conversion routines which for some reason only affects you. Do any of your readings displayed by MX look wrong? Do you have a solar sensor and are hence sending the reading to CWOP?
Steve
- mike_b
- Posts: 14
- Joined: Tue 27 Dec 2011 4:32 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Georgetown, Kentucky, USA
Re: CWOP Error
I haven't noticed any unusual readings.
I don't have a solar sensor.
I attached a screenshot of my current readings.
I don't have a solar sensor.
I attached a screenshot of my current readings.
You do not have the required permissions to view the files attached to this post.
Mike
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: CWOP Error
The problem appears to be in the altimeter pressure calculation. CWOP requires altimeter rather than sea-level pressure, and for Davis stations Cumulus uses the absolute pressure read from the LOOP2 packet and converts it to altimeter pressure using the altitude that you have set in Cumulus. Unless my arithmetic and byte counting is wrong, your LOOP2 packet contains zero for absolute pressure, which results in a negative value when converted to altimeter pressure. Perhaps this is a bug in firmware 1.90.
To check that this is correct, and as a work around, you could turn off the use of LOOP2 packets in MX. Stop MX and edit Cumulus.ini, and add a line to the [Station] section:
UseDavisLoop2=0
Note that this will cause MX to use sea-level pressure fro altimeter pressure - CWOP might notice this and get upset, depending on your altitude. But it will prove that the problem is as I suspect.
To check that this is correct, and as a work around, you could turn off the use of LOOP2 packets in MX. Stop MX and edit Cumulus.ini, and add a line to the [Station] section:
UseDavisLoop2=0
Note that this will cause MX to use sea-level pressure fro altimeter pressure - CWOP might notice this and get upset, depending on your altitude. But it will prove that the problem is as I suspect.
Steve
- mike_b
- Posts: 14
- Joined: Tue 27 Dec 2011 4:32 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Georgetown, Kentucky, USA
Re: CWOP Error
UseDavisLoop2=0 appears to have fixed the problem. Data is now successfully uploading to CWOP. CWOP shows pressure of 1018.7 mb.
Mike