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

[SOLVED] If Twitter stop updating (degree symbol)

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
CrasHBoneS
Posts: 96
Joined: Fri 06 Jan 2012 10:49 am
Weather Station: PCE-FWS20
Operating System: Windows XP SP3
Location: Bellaria Igea Marina (RN)
Contact:

[SOLVED] If Twitter stop updating (degree symbol)

Post by CrasHBoneS »

Running Cumulus 1.9.3 1059
Twitter was not updating and in diags log I had the error

Code: Select all

Twitter update error: HTTP/1.0 400 Bad Request
The error is caused by degree symbol in my twitter.txt file

Code: Select all

Temp.: <#temp>° C. Umid.: <#hum>%. Vento: <#wspeed> <#windunit>, dir.: <#wdir>/<#avgbearing>°, <#beaudesc>. Press.: <#press> <#pressunit>, <#presstrend>. Pioggia odierna: <#rfall> <#rainunit>.
The workaround is to include the text between "", now my twitter.txt file is like:

Code: Select all

"Temp.: <#temp>° C. Umid.: <#hum>%. Vento: <#wspeed> <#windunit>, dir.: <#wdir>/<#avgbearing>°, <#beaudesc>. Press.: <#press> <#pressunit>, <#presstrend>. Pioggia odierna: <#rfall> <#rainunit>".
Twitter is now updating with the degree symbol correctly displayed

https://twitter.com/meteobellaria
User avatar
William Grimsley
Posts: 833
Joined: Thu 22 Sep 2011 5:22 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 7 Home Premium 64-bit
Location: Latitude: 50.70189285 Longitude: -3.30849957
Contact:

Re: [SOLVED] If Twitter stop updating (degree symbol)

Post by William Grimsley »

Hi CrashBonesS,

Even though you have sorted the issue, are you aware that your tweets now have "" around them?

For example:

"Temp.: 0.2° C. Umid.: 88%. Vento: 15.3 km/h, dir.: ONO/295°, Brezza tesa. Press.: 1001.7 hPa, In lento calo. Pioggia odierna: 1.8 mm".

Hopefully, this isn't an issue that appears to you, but it would to me. :lol:

Thanks,

William
CrasHBoneS
Posts: 96
Joined: Fri 06 Jan 2012 10:49 am
Weather Station: PCE-FWS20
Operating System: Windows XP SP3
Location: Bellaria Igea Marina (RN)
Contact:

Re: [SOLVED] If Twitter stop updating (degree symbol)

Post by CrasHBoneS »

William Grimsley wrote:Hi CrashBonesS,

Even though you have sorted the issue, are you aware that your tweets now have "" around them?

For example:

"Temp.: 0.2° C. Umid.: 88%. Vento: 15.3 km/h, dir.: ONO/295°, Brezza tesa. Press.: 1001.7 hPa, In lento calo. Pioggia odierna: 1.8 mm".

Hopefully, this isn't an issue that appears to you, but it would to me. :lol:

Thanks,

William
I know that could be an issue, but the choice are 2
1)Having tweets with ""
2)removing degree symbol from tweets
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: [SOLVED] If Twitter stop updating (degree symbol)

Post by steve »

I think the quotes are a red herring, personally. I can't see how they can make any difference.
Steve
User avatar
William Grimsley
Posts: 833
Joined: Thu 22 Sep 2011 5:22 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 7 Home Premium 64-bit
Location: Latitude: 50.70189285 Longitude: -3.30849957
Contact:

Re: [SOLVED] If Twitter stop updating (degree symbol)

Post by William Grimsley »

Yes, I actually agree with Steve! I think removing degree symbol from tweets is worse than having tweets with "" around them! :D
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: [SOLVED] If Twitter stop updating (degree symbol)

Post by mcrossley »

I just did a test tweet from Cumulus with a degree symbol: https://twitter.com/mcrossley

twitter.txt = Test, please ignore <#temp>%B0 C

Special characters have to be urlencoded as I understand it.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: [SOLVED] If Twitter stop updating (degree symbol)

Post by steve »

Cumulus does the URL encoding as required. But if putting %B0 in the twitter.txt file works, that'll do for me.
Steve
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: [SOLVED] If Twitter stop updating (degree symbol)

Post by mcrossley »

Weird, I wonder why that worked then!
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: [SOLVED] If Twitter stop updating (degree symbol)

Post by steve »

The whole thing is a mystery to me. The code in Cumulus is very complicated, stuff has to be encoded and then re-encoded, and the fact that Twitter keep changing things and not telling anyone doesn't help.
Steve
CrasHBoneS
Posts: 96
Joined: Fri 06 Jan 2012 10:49 am
Weather Station: PCE-FWS20
Operating System: Windows XP SP3
Location: Bellaria Igea Marina (RN)
Contact:

Re: [SOLVED] If Twitter stop updating (degree symbol)

Post by CrasHBoneS »

steve wrote:Cumulus does the URL encoding as required. But if putting %B0 in the twitter.txt file works, that'll do for me.
I tried to replace ° with %B0 but it did not work in my tweet

twitter.com/meteobellaria
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: [SOLVED] If Twitter stop updating (degree symbol)

Post by steve »

When there were problems with Twitter and degree symbols previously, I believe I suspected that it was to do with the settings on the users PC in some way. Note that degree symbols in the built-in standard tweet appear to work OK. Twitter is a pain, basically.
Steve
Post Reply