Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post 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: 26659
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Not Posting on Twitter

Postby steve » Sat May 26, 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
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

jimbo51
Posts: 7
Joined: Wed Jan 27, 2016 10:58 am
Weather Station: Aercus3083 with sensors
Operating System: windows 10
Location: HaddenhamEly

Re: Not Posting on Twitter

Postby jimbo51 » Sat May 26, 2018 12:17 pm

OK steve thank you

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

Re: Not Posting on Twitter

Postby ExperiMentor » Sat Aug 18, 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: 26659
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Not Posting on Twitter

Postby steve » Sat Aug 18, 2018 8:55 am

It doesn't create a file, it just stores the processed text internally.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

User avatar
Toxic17
Posts: 679
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis VPro2 Plus
Operating System: Debian 9.5 Stretch
Location: Bangor, NI
Contact:

Re: Not Posting on Twitter

Postby Toxic17 » Sat Aug 18, 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://www.conligwx.org/pws/
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

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

Re: Not Posting on Twitter

Postby ExperiMentor » Sat Aug 18, 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
Toxic17
Posts: 679
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis VPro2 Plus
Operating System: Debian 9.5 Stretch
Location: Bangor, NI
Contact:

Re: Not Posting on Twitter

Postby Toxic17 » Sat Aug 18, 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://www.conligwx.org/pws/
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

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

Re: Not Posting on Twitter

Postby ExperiMentor » Tue Aug 21, 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: 26659
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Not Posting on Twitter

Postby steve » Tue Aug 21, 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
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

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

Re: Not Posting on Twitter

Postby ExperiMentor » Wed Aug 22, 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


Return to “Cumulus 1”

Who is online

Users browsing this forum: No registered users and 3 guests