Hi.
I just so happen to have a comma (,) in my Wunderground password.
Or I had. Because I got INVALIDPASSWORDID twice in a row in my debug.log. It had sent the password with a dot rather than a comma. On inspecting the cumulus.ini file, I saw that in there, the password was correct (with a comma rather than a dot).
I've changed my Wunderground password to a password not containing interpunction... and now it works.
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
Wunderground configuration password is not sent correctly
-
peterh
- Posts: 150
- Joined: Fri 21 Dec 2012 1:08 pm
- Weather Station: Alecto WS-5000 rebadged FO 3081
- Operating System: Windows server 2008R2
- Location: Nederland
Wunderground configuration password is not sent correctly
An opinion should be the result of a thought process, not a substitution.
http://www.dnl-core.net/CothenWeather/
http://www.dnl-core.net/CothenWeather/
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Wunderground configuration password is not sent correctl
How do you know it was sending a dot rather than a comma? There's nothing in Cumulus that would do that conversion. I'm not surprised to hear that a comma caused a problem, though.
Steve
-
peterh
- Posts: 150
- Joined: Fri 21 Dec 2012 1:08 pm
- Weather Station: Alecto WS-5000 rebadged FO 3081
- Operating System: Windows server 2008R2
- Location: Nederland
Re: Wunderground configuration password is not sent correctl
Because even though, in the Cumulus.ini, the password was correct (with a comma):steve wrote:How do you know it was sending a dot rather than a comma?
Code: Select all
[Wunderground]
ID=IUTRECHT58
Password=**,*****
Enabled=1
RapidFire=0
Interval=10
SendUV=1
SendSR=1
SendAverage=1
CatchUp=1
Code: Select all
7979.4745 : http://weatherstation.wunderground.com/weatherstation/updateweatherstation.php?ID=IUTRECHT58&PASSWORD=**.*****&dateutc=2013-01-
01+13%3A30%3A01&winddir=270&windspeedmph=11.4&windgustmph=15.2&windspdmph_avg2m=8.3&winddir_avg2m=303&humidity=74&tempf=47.1&rainin=0.00
&dailyrainin=0.38&baromin=29.705&dewptf=39.3&UV=1.0&solarradiation=230&softwaretype=Cumulus%20v1.9.2&action=updateraw
7979.5385 : 14:30:02 WU Response Code: 200 Response = INVALIDPASSWORDID|Password and/or id are incorrect
And I *am* surprised that a comma caused a problem. :-p
On second thought: I am guessing that you have code somewhere that replaces a decimal comma with a decimal period... probably because that's what Wunderground wants. It *must* be something like that... probably in the code where you compile the web request to be sent to Wunderground... amirite?
An opinion should be the result of a thought process, not a substitution.
http://www.dnl-core.net/CothenWeather/
http://www.dnl-core.net/CothenWeather/
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Wunderground configuration password is not sent correctl
Yes, you're absolutely correct and I'd forgotten that it works that way rather than modifying the individual itemspeterh wrote:On second thought: I am guessing that you have code somewhere that replaces a decimal comma with a decimal period... probably because that's what Wunderground wants. It *must* be something like that... probably in the code where you compile the web request to be sent to Wunderground... amirite?
So, yes, it needs to be changed at some point.
In 1.9.3, the password is 'asterisked' in the debug.log, so you wouldn't have been able to see what was being sent. I thought that 1.9.2 was the same, but clearly not.
Steve
-
peterh
- Posts: 150
- Joined: Fri 21 Dec 2012 1:08 pm
- Weather Station: Alecto WS-5000 rebadged FO 3081
- Operating System: Windows server 2008R2
- Location: Nederland
Re: Wunderground configuration password is not sent correctl
I've been coding too long to not spot these thingssteve wrote:Yes, you're absolutely correct and I'd forgotten that it works that way rather than modifying the individual itemspeterh wrote:On second thought: I am guessing that you have code somewhere that replaces a decimal comma with a decimal period... probably because that's what Wunderground wants. It *must* be something like that... probably in the code where you compile the web request to be sent to Wunderground... amirite?![]()
An observation:steve wrote:In 1.9.3, the password is 'asterisked' in the debug.log, so you wouldn't have been able to see what was being sent. I thought that 1.9.2 was the same, but clearly not.
If it WOULD have been the same, it would've taken me a *lot* longer to figure out. So, please do not asterisk this out!
An opinion should be the result of a thought process, not a substitution.
http://www.dnl-core.net/CothenWeather/
http://www.dnl-core.net/CothenWeather/
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Wunderground configuration password is not sent correctl
Well, yes, but unfortunately I can't expect people to upload debug.log files with passwords in, so in 1.9.3 they're not visible.peterh wrote:If it WOULD have been the same, it would've taken me a *lot* longer to figure out. So, please do not asterisk this out!
Steve
-
peterh
- Posts: 150
- Joined: Fri 21 Dec 2012 1:08 pm
- Weather Station: Alecto WS-5000 rebadged FO 3081
- Operating System: Windows server 2008R2
- Location: Nederland
Re: Wunderground configuration password is not sent correctl
In that case, we would want to be absolutely, positively sure we do not change the password string in any way.steve wrote:Well, yes, but unfortunately I can't expect people to upload debug.log files with passwords in, so in 1.9.3 they're not visible.peterh wrote:If it WOULD have been the same, it would've taken me a *lot* longer to figure out. So, please do not asterisk this out!
Or we create an extra debugging option, something like "Include account information in debug file (including passwords)".
Let me think about this for awhile and get back to you.
An opinion should be the result of a thought process, not a substitution.
http://www.dnl-core.net/CothenWeather/
http://www.dnl-core.net/CothenWeather/