Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.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

Not Posting on 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.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Not Posting on Twitter

Post by steve »

As mentioned earlier in this thread, Cumulus can no longer obtain the tokens to allow it to post to Twitter, since Twitter changed their interface yet again.
Steve
jimbo51
Posts: 7
Joined: Wed 27 Jan 2016 10:58 am
Weather Station: Aercus3083 with sensors
Operating System: windows 10
Location: HaddenhamEly

Re: Not Posting on Twitter

Post by jimbo51 »

OK steve thank you
ExperiMentor
Posts: 214
Joined: Tue 24 Nov 2015 11:30 pm
Weather Station: Fine Offset & Davis Vantage Vue
Operating System: Windows 10; Raspbian Buster
Location: Switzerland

Re: Not Posting on Twitter

Post by ExperiMentor »

Still trying to get a workaround for this.
Steve, is the text that CumulusMX would like to tweet (but fails because of the lack of auth keys) stored in a file somewhere? I am looking for but cannot find a copy of 'twitter.txt' that has been processed to contain the current data instead of the tags
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Not Posting on Twitter

Post by steve »

It doesn't create a file, it just stores the processed text internally.
Steve
User avatar
ConligWX
Posts: 1570
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: Not Posting on Twitter

Post by ConligWX »

ExperiMentor wrote:Still trying to get a workaround for this.
Steve, is the text that CumulusMX would like to tweet (but fails because of the lack of auth keys) stored in a file somewhere? I am looking for but cannot find a copy of 'twitter.txt' that has been processed to contain the current data instead of the tags
Why not report your data to Weathercloud, and then turn on the Twitter function there.

Because of the Authentication issue, unless you had your keys before twitter changed the way it authorised, you wont be able to use cumulus to report twitter updates. so use another method.

another method is if your using CumulusMX and run it on Linux is to use twidge. https://github.com/jgoerzen/twidge/wiki

you can get cumulus to process webtags to a file. then use twidge to post the contents of that file to Twitter via a cron job.
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
ExperiMentor
Posts: 214
Joined: Tue 24 Nov 2015 11:30 pm
Weather Station: Fine Offset & Davis Vantage Vue
Operating System: Windows 10; Raspbian Buster
Location: Switzerland

Re: Not Posting on Twitter

Post by ExperiMentor »

Toxic17 wrote:you can get cumulus to process webtags to a file
A pointer on how to do that would be useful. Once I have a text file, I will be able to tweet it, with a corresponding weathercam image (I use Twython).
User avatar
ConligWX
Posts: 1570
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: Not Posting on Twitter

Post by ConligWX »

ExperiMentor wrote:
Toxic17 wrote:you can get cumulus to process webtags to a file
A pointer on how to do that would be useful. Once I have a text file, I will be able to tweet it, with a corresponding weathercam image (I use Twython).
just process the file (a template) with webtags in it and Cumulus will output the file to whatever filename you want with the values from your weather station.

http://wiki.sandaysoft.com/a/Webtags

example is attached.
You do not have the required permissions to view the files attached to this post.
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
ExperiMentor
Posts: 214
Joined: Tue 24 Nov 2015 11:30 pm
Weather Station: Fine Offset & Davis Vantage Vue
Operating System: Windows 10; Raspbian Buster
Location: Switzerland

Re: Not Posting on Twitter

Post by ExperiMentor »

Simon,

I'm obviously not being clear, or am thicker than I think! I've not done anything like this before and it's not obvious what to do.
What do I need to do to tell Cumulus to 'process' my webtags twitter.txt file?
I guess it means adding the file into Settings / Extra Files, but that doesn't seem to do anything.
The settings I have are:
Set Local Filename to /home/pi/Cumulus/twitter.txt
Set Remote Filename to /home/pi/Cumulus/tweet.txt
Tick 'Process'
But what else should I tick?
Do I need to select something else elsewhere?
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Not Posting on Twitter

Post by steve »

If you already have Cumulus configured to upload to a web site, you shouldn't need to do anything else. If you're not already uploading any files, you probably just need to tick 'auto update' so that it actually does some web file processing.
Steve
ExperiMentor
Posts: 214
Joined: Tue 24 Nov 2015 11:30 pm
Weather Station: Fine Offset & Davis Vantage Vue
Operating System: Windows 10; Raspbian Buster
Location: Switzerland

Re: Not Posting on Twitter

Post by ExperiMentor »

Yes, Steve, that was the problem.
I enabled autoupdate in Settings / Internet Settings / Web/FTP settings ,and am now happily tweeting both the weather text string and my webcam image at @LiesbergDorf

:D
Post Reply