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

Posting To Twitter

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.
richardmhowell
Posts: 16
Joined: Thu 30 Aug 2012 12:35 pm
Weather Station: WH1090
Operating System: Windows XP SP3
Location: United Kingdom

Posting To Twitter

Post by richardmhowell »

Hello,

Recently i have started experiancing problems with Posting updates to twitter, about a fortnight ago i noticed the updates had stopped so i had a look through the logs and could find no errors relating to this, so i removed the authentication keys from the configuration file and also removed the username and password and disabled twitter, i rebooted Cumulus and entered my twitter details once more, i waited around 5-10 mins and checked the config file and a new set of authentication keys had been populated and updates began.

About a week later updates stopped again, i looked in the error logs nothing.

Why has this suddenly started happening, has twitter put a cap on the amount of updates you can send in a certain time frame or something? I currently post updates once every 30 minutes but right now there are no updates being posted at all as it appears to be broken.

If you could help me out i would be greatful.

Cheers
Rich
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: Posting To Twitter

Post by steve »

Presumably just restarting Cumulus doesn't get it going again? If you turn on the debug log, then additional messages will be logged to the diags file (and there may also be messages in the debug.log file itself) which may help diagnose the problem.
Steve
richardmhowell
Posts: 16
Joined: Thu 30 Aug 2012 12:35 pm
Weather Station: WH1090
Operating System: Windows XP SP3
Location: United Kingdom

Re: Posting To Twitter

Post by richardmhowell »

Restarting Cumulus does nothing.

I will turn the debug logs on and see what is what will wait for a few hours afer and post the log here.

Will speak again later today.
User avatar
jpsc
Posts: 183
Joined: Tue 23 Aug 2011 6:06 pm
Weather Station: Davis Vantage Vue, belfryboy USB
Operating System: Raspbian Bullseye
Location: Wye valley, Herefordshire, UK
Contact:

Re: Posting To Twitter

Post by jpsc »

richardmhowell wrote:
Why has this suddenly started happening, has twitter put a cap on the amount of updates you can send in a certain time frame or something? I currently post updates once every 30 minutes but right now there are no updates being posted at all as it appears to be broken.
I post every 5 minutes, no problems
John Cooper

Cumulus MX v4 on RPi3 with SSD

http://weather.mountpleasanthouse.uk

Image
richardmhowell
Posts: 16
Joined: Thu 30 Aug 2012 12:35 pm
Weather Station: WH1090
Operating System: Windows XP SP3
Location: United Kingdom

Re: Posting To Twitter

Post by richardmhowell »

Steve,

As promised attached is my debug log file i cant see anything in there but something might stand out to you.

Rich
You do not have the required permissions to view the files attached to this post.
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: Posting To Twitter

Post by steve »

I need the current diags file, please.
Steve
richardmhowell
Posts: 16
Joined: Thu 30 Aug 2012 12:35 pm
Weather Station: WH1090
Operating System: Windows XP SP3
Location: United Kingdom

Re: Posting To Twitter

Post by richardmhowell »

Is that cumulus.ini?
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: Posting To Twitter

Post by steve »

It's the latest file in the diags folder (cumulus.009).
Steve
richardmhowell
Posts: 16
Joined: Thu 30 Aug 2012 12:35 pm
Weather Station: WH1090
Operating System: Windows XP SP3
Location: United Kingdom

Re: Posting To Twitter

Post by richardmhowell »

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: Posting To Twitter

Post by steve »

Thanks, you should remove that file now, it has your tokens in it; I'd assumed you had restarted Cumulus so the request for tokens wouldn't be in the log.

From a quick scan, it doesn't look like it's doing much after getting the tokens, but I don't know why. It starts the update thread but isn't talking to Twitter (or not getting a response). I'll have a more detailed look later.
Steve
richardmhowell
Posts: 16
Joined: Thu 30 Aug 2012 12:35 pm
Weather Station: WH1090
Operating System: Windows XP SP3
Location: United Kingdom

Re: Posting To Twitter

Post by richardmhowell »

steve wrote:Thanks, you should remove that file now, it has your tokens in it; I'd assumed you had restarted Cumulus so the request for tokens wouldn't be in the log.

From a quick scan, it doesn't look like it's doing much after getting the tokens, but I don't know why. It starts the update thread but isn't talking to Twitter (or not getting a response). I'll have a more detailed look later.
That is what i don't get, i noticed that the tokens were there becuase i had searched the forums and done some troublshooting before i came to you so i knew how the system (kinda) worked, what i don't get is why Cumulus is able to request the tokens but then not pass my status updates back to Twitter, it is like it is being blocked somewhere along the line.
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: Posting To Twitter

Post by steve »

It looks like some kind of problem occurred the first time it tried to update Twitter, so before the debug log was on. From then on it 'got stuck'. I put some changes into 1.9.3 to try to cope with this situation, so you could try that: https://cumulus.hosiene.co.uk/viewtopic.php?f=2&t=7341

If you install 1.9.3 and then before you run it edit cumulus.ini, and in the [Station] section add a line

Logging=1

that will turn on the extra logging to the diags file from start up, so we should be able to see what's going on, whether or not 1.9.3 fixes the problem.
Steve
richardmhowell
Posts: 16
Joined: Thu 30 Aug 2012 12:35 pm
Weather Station: WH1090
Operating System: Windows XP SP3
Location: United Kingdom

Re: Posting To Twitter

Post by richardmhowell »

Steve,

Quick question, before i install this will it over right my current settings?

Rich
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: Posting To Twitter

Post by steve »

Quick answer: no. ;)
Steve
richardmhowell
Posts: 16
Joined: Thu 30 Aug 2012 12:35 pm
Weather Station: WH1090
Operating System: Windows XP SP3
Location: United Kingdom

Re: Posting To Twitter

Post by richardmhowell »

Okay version 1.9.3 1044 is now installed with Logging=1 active in my configuration file.

Do we just need to wait now?

Let me know what you need.

Rich
Post Reply