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

Twitter only randomly updating

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.
The PIT
Posts: 265
Joined: Thu 10 Dec 2009 6:15 pm
Weather Station: Davis VP2 Wireless
Operating System: Windows 7 32 bit
Location: England
Contact:

Twitter only randomly updating

Post by The PIT »

I've noticed that for some reason twitter is only updating at random intervals. It should upload every ten minutes but this seems to have stopped. I've enabled debug mode but there hasn't been an attempt to upload in thirty odd minutes or it's not logging the attempts.
Based in Sunny Old Sheffield South Yorkshire England

www.sheffieldweather.co.uk
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: Twitter only randomly updating

Post by steve »

When you turn on debug, Twitter uploads are logged to the diags file. Mine's been tweeting every 30 minutes as usual, so it's likely an issue somewhere between your PC and Twitter.
Steve
The PIT
Posts: 265
Joined: Thu 10 Dec 2009 6:15 pm
Weather Station: Davis VP2 Wireless
Operating System: Windows 7 32 bit
Location: England
Contact:

Re: Twitter only randomly updating

Post by The PIT »

Can't see how as nothing has changed. Weather underground is uploading that's shown in the log but nothing relating to twitter as far as I can see.
Now twitter has just updated but I can't see it the logfile. I'm wondering if I've hit the update limit as I have more than one program uploading.
Based in Sunny Old Sheffield South Yorkshire England

www.sheffieldweather.co.uk
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: Twitter only randomly updating

Post by steve »

The PIT wrote:Now twitter has just updated but I can't see it the logfile.
When you turn on debug, Twitter uploads are logged to the diags file.

How do you know that nothing has changed between you and Twitter? This is the internet, it changes all the time. Servers and routers have problems from time to time.

I think you're allowed 1000 tweets per day via the API, but there are also limits over shorter periods, and I don't know what they are. Theoretically there are limits on the number of automated tweets you can make compared to 'manual' tweets, but they don't seem to police that currently. The day they start doing that is going to be the end of tweeting from Cumulus for a lot of people.
Steve
The PIT
Posts: 265
Joined: Thu 10 Dec 2009 6:15 pm
Weather Station: Davis VP2 Wireless
Operating System: Windows 7 32 bit
Location: England
Contact:

Re: Twitter only randomly updating

Post by The PIT »

A bit more info I'm getting this error

15/09/2013 19:00:01.528 : Twitter URL: http://api.twitter.com/1.1/statuses/update.json
15/09/2013 19:00:01.528 : Param: lat=53.0666666666667&lon=-1.08333333333333&status=Wind%209.6%20mph%20W.%20Barometer%20997.40%20mb%2C%20Rising.%20Temperature%2011.8%20%C2%B0C.%20Rain%20today%202.2%20mm.%20Humidity%2074%25
15/09/2013 19:00:01.528 : Base string: POST&http%3A%2F%2Fapi.twitter.com%2F1.1%2Fstatuses%2Fupdate.json&lat%3D53.0666666666667%26lon%3D-1.08333333333333%26oauth_consumer_key%3DlQiGNdtlYUJ4wS3d7souPw%26oauth_nonce%3D2984B89B79B73785BDB4BED729247BA8%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1379268001%26oauth_token%3D1469599741-BQML8iSVN7BFWpLV3QswXGLwi1EN47mST9f7UiA%26oauth_version%3D1.0%26status%3DWind%25209.6%2520mph%2520W.%2520Barometer%2520997.40%2520mb%252C%2520Rising.%2520Temperature%252011.8%2520%25C2%25B0C.%2520Rain%2520today%25202.2%2520mm.%2520Humidity%252074%2525
15/09/2013 19:00:01.876 : Twitter update error: HTTP/1.0 403 Forbidden
15/09/2013 19:00:01.876 : Twitter Response:
15/09/2013 19:00:01.876 : Twitter thread exit
15/09/2013 19:01:00.598 : New monthly record, month = 9: 2013-09-15 19:01 225.265 "High daily windrun" 2013-09-15 19:00 225.105
Based in Sunny Old Sheffield South Yorkshire England

www.sheffieldweather.co.uk
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: Twitter only randomly updating

Post by steve »

403 can be returned for a number of reasons, but one reason is that you have exceeded a limit on number of tweets for a particular period.
Steve
The PIT
Posts: 265
Joined: Thu 10 Dec 2009 6:15 pm
Weather Station: Davis VP2 Wireless
Operating System: Windows 7 32 bit
Location: England
Contact:

Re: Twitter only randomly updating

Post by The PIT »

Yeh two probably a twitter problem more than anything.
Based in Sunny Old Sheffield South Yorkshire England

www.sheffieldweather.co.uk
The PIT
Posts: 265
Joined: Thu 10 Dec 2009 6:15 pm
Weather Station: Davis VP2 Wireless
Operating System: Windows 7 32 bit
Location: England
Contact:

Re: Twitter only randomly updating

Post by The PIT »

steve wrote:
The PIT wrote:Now twitter has just updated but I can't see it the logfile.

I think you're allowed 1000 tweets per day via the API, but there are also limits over shorter periods, and I don't know what they are. Theoretically there are limits on the number of automated tweets you can make compared to 'manual' tweets, but they don't seem to police that currently. The day they start doing that is going to be the end of tweeting from Cumulus for a lot of people.


Perhaps they have started doing that.
Based in Sunny Old Sheffield South Yorkshire England

www.sheffieldweather.co.uk
The PIT
Posts: 265
Joined: Thu 10 Dec 2009 6:15 pm
Weather Station: Davis VP2 Wireless
Operating System: Windows 7 32 bit
Location: England
Contact:

Re: Twitter only randomly updating

Post by The PIT »

Well turned it off for the night. Looks like I'll keep hitting the limit for some reason so I'll let it reset overnight.
Based in Sunny Old Sheffield South Yorkshire England

www.sheffieldweather.co.uk
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: Twitter only randomly updating

Post by steve »

Apparently the limits (apart from the 1000 per day upper threshold) are split into varying periods of time during the day, with varying limits, and they deliberately don't say what those are.
Steve
The PIT
Posts: 265
Joined: Thu 10 Dec 2009 6:15 pm
Weather Station: Davis VP2 Wireless
Operating System: Windows 7 32 bit
Location: England
Contact:

Re: Twitter only randomly updating

Post by The PIT »

well looks like I'm limited to three tweets an hour.
Based in Sunny Old Sheffield South Yorkshire England

www.sheffieldweather.co.uk
The PIT
Posts: 265
Joined: Thu 10 Dec 2009 6:15 pm
Weather Station: Davis VP2 Wireless
Operating System: Windows 7 32 bit
Location: England
Contact:

Re: Twitter only randomly updating

Post by The PIT »

ah well looks like it's permanently partly broken. Twitter doesn't support third party apps so I'm a bit stuck.
Based in Sunny Old Sheffield South Yorkshire England

www.sheffieldweather.co.uk
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: Twitter only randomly updating

Post by steve »

I'll turn mine up to every 10 minutes to see what happens. When you say you have "more than one program updating" do you mean multiple copies of Cumulus, or other software entirely? How often are you trying to update, altogether?

Is it possible that your data isn't changing between some updates? Twitter rejects duplicate updates.
Steve
The PIT
Posts: 265
Joined: Thu 10 Dec 2009 6:15 pm
Weather Station: Davis VP2 Wireless
Operating System: Windows 7 32 bit
Location: England
Contact:

Re: Twitter only randomly updating

Post by The PIT »

I've got two apps Lightning 2000 now turned off and Cumulus which I now have set to set at 60 minutes. The data should be changing I can't see any reason why not.
I've revoked access and allowed it to reset but still get 403 forbidden that was an hour ago. I can post directly onto twitter.
Based in Sunny Old Sheffield South Yorkshire England

www.sheffieldweather.co.uk
The PIT
Posts: 265
Joined: Thu 10 Dec 2009 6:15 pm
Weather Station: Davis VP2 Wireless
Operating System: Windows 7 32 bit
Location: England
Contact:

Re: Twitter only randomly updating

Post by The PIT »

Looks like cumulus is limited to one tweet per hour. Looks like the change occurred on the 14th.
I re-activated lightning 2000 which does do direct messaging which cumulus doesn't. However that only tweets if there's lightning around which there isn't very much off at the moment.
Based in Sunny Old Sheffield South Yorkshire England

www.sheffieldweather.co.uk
Post Reply