Just got CumulusMX uploading to Weather Underground from my Raspberry Pi - excellent!
Decided to add a Twitter feed - worked fine to my existing Twitter account once I realised I had to add a twitter.txt file [suggestion: include a 'default' file in the distribution, so users can edit it if they want, rather than 'nothing happens' until the file is created].
Then I decided to set up a new Twitter account instead of mixing Weather with other things. I cannot get this to work! Is should just need me to change the Username and Password in 'Internet Settings', Save, and maybe reboot. But if I do that, it keeps sending to the OLD Twitter account even though 'Internet Settings' shows the new account.
I even tried disabling Twitter, deleting all the settings, Save, Reboot. OK so far - no Tweets sent.
Then re-enable, enter new account details, Save - and it STILL TWEETS to the OLD account.
Any suggestions?
Ian
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
Bug: Cannot change Twitter account
Moderator: mcrossley
-
ExperiMentor
- Posts: 223
- Joined: Tue 24 Nov 2015 11:30 pm
- Weather Station: Fine Offset & Davis Vantage Vue
- Operating System: Windows 10; Raspbian Bookworm
- Location: Glasgow, UK
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Bug: Cannot change Twitter account
You don't need a twitter.txt file, Cumulus uses a default update if one doesn't exist. If you weren't getting updates without one, there is another explanation - e.g. Twitter doesn't immediately start accepting updates from a newly-authenticated user, it takes a couple of updates for it to start working.ExperiMentor wrote:Decided to add a Twitter feed - worked fine to my existing Twitter account once I realised I had to add a twitter.txt file [suggestion: include a 'default' file in the distribution, so users can edit it if they want, rather than 'nothing happens' until the file is created].
If you change your password (or user) you need to edit Cumulus.ini to remove the old authentication tokens, as described in this FAQ - http://wiki.sandaysoft.com/a/FAQ#I.27ve ... te_TwitterThen I decided to set up a new Twitter account instead of mixing Weather with other things. I cannot get this to work! Is should just need me to change the Username and Password in 'Internet Settings', Save, and maybe reboot. But if I do that, it keeps sending to the OLD Twitter account even though 'Internet Settings' shows the new account.
Edit: In trying to fix a problem with the wiki caused by a PHP upgrade, I've broken it completely (just now). Until I can fix it, here is the information from the FAQ: Stop Cumulus and edit Cumulus.ini. Delete the lines starting "OauthToken" and "OauthTokenSecret" in the [Twitter] section. Start MX again.
Steve
-
ExperiMentor
- Posts: 223
- Joined: Tue 24 Nov 2015 11:30 pm
- Weather Station: Fine Offset & Davis Vantage Vue
- Operating System: Windows 10; Raspbian Bookworm
- Location: Glasgow, UK
Re: Bug: Cannot change Twitter account
Many thanks for your immediate helpful reply.
It's all now working properly as you can see on Twitter @LiesbergDorf - I included an advertisement for SandaySoft!
Also at http://www.wunderground.com/personal-we ... =IBLLIESB3
The slowest part was trying to get CumulusMX to NOT run to allow me to successfully edit Cumulus.ini - I have it auto-running as a background task on boot-up of a 'headless' Raspberry Pi, and I don't know how to stop it from an SSH console session! I see someone has posted a method to have it 'running in a screen' so I will investigate that in due course. Meanwhile, in case of interest to anyone else, I renamed CumulusMX.exe and rebooted, edited Cumulus.ini, renamed the .exe back and rebooted again:
mv CumulusMX.exe CumulusMX.NOTexe
sudo reboot
...
nano Cumulus.ini
mv CumulusMX.NOTexe CumulusMX.exe
sudo reboot
It's all now working properly as you can see on Twitter @LiesbergDorf - I included an advertisement for SandaySoft!
Also at http://www.wunderground.com/personal-we ... =IBLLIESB3
The slowest part was trying to get CumulusMX to NOT run to allow me to successfully edit Cumulus.ini - I have it auto-running as a background task on boot-up of a 'headless' Raspberry Pi, and I don't know how to stop it from an SSH console session! I see someone has posted a method to have it 'running in a screen' so I will investigate that in due course. Meanwhile, in case of interest to anyone else, I renamed CumulusMX.exe and rebooted, edited Cumulus.ini, renamed the .exe back and rebooted again:
mv CumulusMX.exe CumulusMX.NOTexe
sudo reboot
...
nano Cumulus.ini
mv CumulusMX.NOTexe CumulusMX.exe
sudo reboot