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 tags

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.
StaffsStormSpotter
Posts: 11
Joined: Wed 10 Mar 2010 10:50 pm
Weather Station: Watson 8681
Operating System: xp sp3

Twitter tags

Post by StaffsStormSpotter »

Hi

Is there a way to add Twitter #tags to the twitter upload? I would like to include tags like #wxdisplay etc.

Keep up the excellent work,

Tx

Chris
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 tags

Post by steve »

I don't know much about Twitter itself - are those tags just part of the message? You can create a file called twitter.txt in the Cumulus program folder, containing your own custom message - use the Cumulus web tags to get the weather data included. It will then use that file instead of the default message. Details of all the web tags are here - http://wiki.sandaysoft.com/a/Webtags.
Steve
StaffsStormSpotter
Posts: 11
Joined: Wed 10 Mar 2010 10:50 pm
Weather Station: Watson 8681
Operating System: xp sp3

Re: Twitter tags

Post by StaffsStormSpotter »

Hi Steve,

I created the following twitter.txt file in c:\program files\cumulus:

<#date> <#time> Wind <#wspeed> mph from <#bearing> Temp <#temp> <#temptrend> <#press> <#presstrendenglish> Rain <#rfall> #wxdisplay #weather

the #wxdisplay & #weather are the Twitter tags I want to use.

I have added the twitter.txt to the Process Files list and ticked process but Cumulus is still uploading the standard twitter message. Any ideas what I have done wrong?

Many thanks

Chris
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Twitter tags

Post by daj »

StaffsStormSpotter wrote:I have added the twitter.txt to the Process Files list and ticked process
Hi Chris

You do not need to do this as Cumulus will do it automatically. Not sure if that will cause it to fail, but worth removing
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
StaffsStormSpotter
Posts: 11
Joined: Wed 10 Mar 2010 10:50 pm
Weather Station: Watson 8681
Operating System: xp sp3

Re: Twitter tags

Post by StaffsStormSpotter »

Thanks for the suggestion

I have removed the process files but its still using the standard tweet
StaffsStormSpotter
Posts: 11
Joined: Wed 10 Mar 2010 10:50 pm
Weather Station: Watson 8681
Operating System: xp sp3

Re: Twitter tags

Post by StaffsStormSpotter »

Sorted it. I had saved the twitter.txt file as twitter.txt.txt for some reason. Renamed and now working. Thanks for all the help

Chris
JennCast
Posts: 1
Joined: Fri 12 Mar 2010 11:47 pm
Weather Station: Davis Vantage Pro II
Operating System: Windows Vista/7

Re: Twitter tags

Post by JennCast »

Hi, I am new here and recently started using Davis VP II and publishing to Twitter via Cumulus. I really like the simplicity yet robust features offered by Cumulus. Great work!

Chris, since you were able to successfully add hash tags to your Twitter posts, would you mind sharing the .txt file, or at least post the code here so I can take a look? I would liek to add has tags as well.
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 tags

Post by steve »

JennCast wrote:Chris, since you were able to successfully add hash tags to your Twitter posts, would you mind sharing the .txt file, or at least post the code here so I can take a look? I would liek to add has tags as well.
I think this is the code Chris is using:

Code: Select all

<#date> <#time> Wind <#wspeed> mph from <#bearing> Temp <#temp> <#temptrend> <#press> <#presstrendenglish> Rain <#rfall> #wxdisplay #weather
Steve
mmorris1
Posts: 35
Joined: Mon 10 Aug 2009 12:00 am
Weather Station: VP2 Plus

Re: Twitter tags

Post by mmorris1 »

Steve I'm got my twitter set to upload to twitter every 60 min but twitter only seem to be posting sometime like 5 hour apart or when ever it feel like posting the data. Is there anyway you can take a look at the API again.
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 tags

Post by steve »

mmorris1 wrote:Steve I'm got my twitter set to upload to twitter every 60 min but twitter only seem to be posting sometime like 5 hour apart or when ever it feel like posting the data. Is there anyway you can take a look at the API again.
I've just looked at mine and it hasn't updated for 18 hours. It's just unreliable, I think. I've turned on my debug log to see if there are any error message - you could do the same.

I'm not sure what you mean by 'take a look at the API again'?
Steve
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 tags

Post by steve »

The Twitter status page (http://status.twitter.com/) shows this from the last day or so:

High rate of site errors and general slowness

Starting a couple minutes ago twitter.com started returning a high number of errors. We are actively working on this problem.

Update (2:52p): We have greatly reduced the number of errors and are continuing to investigate the source of this afternoon’s event.

My debug log came up with this:

9901.1750 : 14:30:55 Updating Twitter
9901.1750 : http://twitter.com/statuses/update.xml
9901.1750 : Twitter update error: HTTP component TwitterHTTP is busy

So I guess the error caused the HTTP component to get stuck. I guess a restart will fix it, I'll try that now.
Steve
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Twitter tags

Post by daj »

Twitter is amazing unreliable -- I gave up on it months ago. They seem to, rightly or wrongly, start to ignore posts sent using the API when problem occurs and only process manual 'tweets'
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
mmorris1
Posts: 35
Joined: Mon 10 Aug 2009 12:00 am
Weather Station: VP2 Plus

Re: Twitter tags

Post by mmorris1 »

Ok twitter was working fine for several 60min updates but as soon as I Minimized cumulus I started getting this in the log file


1512.62828 : 12:46:47 PM Updating Twitter
1512.62828 : http://twitter.com/statuses/update.xml
1512.63047 : Creating web graphs
1512.64609 : 12:46:49 PM Twitter Response Code: 403 Response = <?xml version="1.0" encoding="UTF-8"?>
<hash>
<request>/statuses/update.xml</request>
<error>Status is over 140 characters.</error>
</hash>

Ok I'm still getting the above error and I restarted the program and have it max on the screen. After the restart I change the update time to every 15 min also I'm using Ver.. 1.8.9 Build 924

Update alright I went into the twitter.txt file and shortened up some text, so Cumulus is now sending to twitter again. I thought that when the twitter.txt file output went over 140 characters that it used to just cut off the end and would post only the 140 characters. Maybe I was wrong in my thinking or something changed. Going to Min cumulus and see what happens.
Last edited by mmorris1 on Sat 13 Mar 2010 9:05 pm, edited 1 time in total.
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 tags

Post by steve »

mmorris1 wrote:<error>Status is over 140 characters.</error>
Are you using the default message or a twitter.txt file?
Steve
mmorris1
Posts: 35
Joined: Mon 10 Aug 2009 12:00 am
Weather Station: VP2 Plus

Re: Twitter tags

Post by mmorris1 »

steve wrote:
mmorris1 wrote:<error>Status is over 140 characters.</error>
Are you using the default message or a twitter.txt file?
Sorry Steve I edited my last message above your so take a look.
Post Reply