During upload to openweathermap the following MxDiag log appears:
2021-03-22 06:50:00.607 AWEKAS: Data PARIALLY stored
2021-03-22 06:50:00.822 Windy Response: OK: SUCCESS (valid measurements count: 9, valid station info count: 0)
2021-03-22 06:50:01.035 OpenWeatherMap: Response code = Error - BadRequest
Internet settings are as follows:
OpenWeatherMap
Enabled = yes
Interval = 5 Interval between updates in minutes
API key = 6ef53c4b642*******52b5d93426e5 Enter the API key you want to use for these uploads
Station Id has been left blank ( Enter your station id if known. If not leave blank and Cumulus will find an existing station or generate a new station for you )
Catch up When Cumulus starts, send each entry read from the station logger
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 4019) - 03 April 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 V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
CR 3_10_3 OPENWEATHERMAP bad request
Moderator: mcrossley
-
- Posts: 5
- Joined: Sat 09 Jan 2021 8:47 am
- Weather Station: WH1080
- Operating System: Windows 7
- Location: Bologna
- Contact:
CR 3_10_3 OPENWEATHERMAP bad request
You do not have the required permissions to view the files attached to this post.
- mcrossley
- Posts: 12767
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: CR 3_10_3 OPENWEATHERMAP bad request
Please start CumulusMX.exe using the -debug command line option, then after 10 minutes post the MXdiags log file.
-
- Posts: 5
- Joined: Sat 09 Jan 2021 8:47 am
- Weather Station: WH1080
- Operating System: Windows 7
- Location: Bologna
- Contact:
Re: CR 3_10_3 OPENWEATHERMAP bad request
below 10 minutes debug file. I've checked again API key in my openweathermap profile and look fine.
You do not have the required permissions to view the files attached to this post.
- mcrossley
- Posts: 12767
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: CR 3_10_3 OPENWEATHERMAP bad request
Thanks - I see the problem, Cumulus is sending comma decimal values and should be sending dot decimal. It will require a fix in the next release.
-
- Posts: 5
- Joined: Sat 09 Jan 2021 8:47 am
- Weather Station: WH1080
- Operating System: Windows 7
- Location: Bologna
- Contact:
Re: CR 3_10_3 OPENWEATHERMAP bad request
thanks so much. I'll wait your next release. have a nice day. stefano.
-
- Posts: 5
- Joined: Sat 09 Jan 2021 8:47 am
- Weather Station: WH1080
- Operating System: Windows 7
- Location: Bologna
- Contact:
Re: CR 3_10_3 OPENWEATHERMAP bad request
Mark,
I've tested latest release CR 3_10_5.
I think that the OpenWeatherMap problem is still live.
Test1: Settings, Internet Options, OpenWeatherMap, Station ID = null ( see log UsingStationId_null.txt )
Test2: Settings, Internet Options, OpenWeatherMap, Station ID = "IBOLOG37" ( see log UsingStationId_Filled.txt )
In both Test1 and Test2 error is the same: "Failed to create new station. Error - BadRequest, text - {"code":400001,"message":"syntax error: offset=65, error=invalid character '8' looking for beginning of object key string"}
I've tested latest release CR 3_10_5.
I think that the OpenWeatherMap problem is still live.
Test1: Settings, Internet Options, OpenWeatherMap, Station ID = null ( see log UsingStationId_null.txt )
Test2: Settings, Internet Options, OpenWeatherMap, Station ID = "IBOLOG37" ( see log UsingStationId_Filled.txt )
In both Test1 and Test2 error is the same: "Failed to create new station. Error - BadRequest, text - {"code":400001,"message":"syntax error: offset=65, error=invalid character '8' looking for beginning of object key string"}
You do not have the required permissions to view the files attached to this post.
- mcrossley
- Posts: 12767
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: CR 3_10_3 OPENWEATHERMAP bad request
I see using the Station Name - "IBOLOG37" - just returned an "Station id is invalid" message.
Leaving it blank and letting CMX create a new station failed because I missed forcing the Latitude and Longitude to use dot decimals, I'll fix that for the next release.
Leaving it blank and letting CMX create a new station failed because I missed forcing the Latitude and Longitude to use dot decimals, I'll fix that for the next release.
-
- Posts: 5
- Joined: Sat 09 Jan 2021 8:47 am
- Weather Station: WH1080
- Operating System: Windows 7
- Location: Bologna
- Contact:
Re: CR 3_10_3 OPENWEATHERMAP bad request
as always .. thanks and most of all congrats for your great job. s