Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See the Wiki for download

Not Posting on Twitter

Discussion and questions about Cumulus weather station software version 1. This section and its subforums are the main place to get help with Cumulus. Anything which is not specific to the type of weather station goes in here; for anything specific to a type of weather station, please use the appropriate subforum. Use the 'website development' section for any questions relating to creating or running a web site for Cumulus data. Discussion of the stations themselves in these sections is fine.
User avatar
steve
Cumulus Author
Posts: 26714
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 » Sat 26 May 2018 12:13 pm

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 » Sat 26 May 2018 12:17 pm

OK steve thank you

ExperiMentor
Posts: 46
Joined: Tue 24 Nov 2015 11:30 pm
Weather Station: Fine Offset
Operating System: Windows 7; Linux
Location: Switzerland

Re: Not Posting on Twitter

Post by ExperiMentor » Sat 18 Aug 2018 8:07 am

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: 26714
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 » Sat 18 Aug 2018 8:55 am

It doesn't create a file, it just stores the processed text internally.
Steve

User avatar
ConligWX
Posts: 731
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.5 Stretch
Location: Bangor, NI
Contact:

Re: Not Posting on Twitter

Post by ConligWX » Sat 18 Aug 2018 11:24 am

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
https://twitter.com/conligwx
Davis Vantage Pro2 Plus - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS Templates

ExperiMentor
Posts: 46
Joined: Tue 24 Nov 2015 11:30 pm
Weather Station: Fine Offset
Operating System: Windows 7; Linux
Location: Switzerland

Re: Not Posting on Twitter

Post by ExperiMentor » Sat 18 Aug 2018 8:10 pm

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: 731
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.5 Stretch
Location: Bangor, NI
Contact:

Re: Not Posting on Twitter

Post by ConligWX » Sat 18 Aug 2018 10:12 pm

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
https://twitter.com/conligwx
Davis Vantage Pro2 Plus - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS Templates

ExperiMentor
Posts: 46
Joined: Tue 24 Nov 2015 11:30 pm
Weather Station: Fine Offset
Operating System: Windows 7; Linux
Location: Switzerland

Re: Not Posting on Twitter

Post by ExperiMentor » Tue 21 Aug 2018 12:21 pm

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: 26714
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 » Tue 21 Aug 2018 1:37 pm

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: 46
Joined: Tue 24 Nov 2015 11:30 pm
Weather Station: Fine Offset
Operating System: Windows 7; Linux
Location: Switzerland

Re: Not Posting on Twitter

Post by ExperiMentor » Wed 22 Aug 2018 5:24 am

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