Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.2.4 build 3060 - 10 December 2019.
    Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

    See the Wiki for downloading either version.

    My station's tweets to Twitter have stopped completely

    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.
    Post Reply
    hungerdunger
    Posts: 74
    Joined: Fri 26 Dec 2008 8:03 pm
    Weather Station: Maplin N96GY (WH-1081)
    Operating System: Windows 10 Pro
    Location: Carmarthen, West Wales

    My station's tweets to Twitter have stopped completely

    Post by hungerdunger » Fri 06 Sep 2019 8:42 pm

    I realise that there has been a problem with sending tweets from within the Cumulus program for some time (due I believe to some changes enforced by Twitter), but nevertheless it still managed to send a few each day.

    However, I have just looked back and can see that no tweets have been sent since 29th July. Is anyone here still using the Twitter option in Cumulus? If so, what's the situation with you ? Do you know why no tweets are being sent and is the situation likely to be permanent?
    Capel Dewi (Carmarthen) Weather Station:
    https://twitter.com/CapelDewiWeathr

    freddie
    Posts: 521
    Joined: Wed 08 Jun 2011 11:19 am
    Weather Station: Davis Vantage Pro 2
    Operating System: GNU/Linux (Ubuntu 18.04)
    Location: Dorrington, Shropshire
    Contact:

    Re: My station's tweets to Twitter have stopped completely

    Post by freddie » Fri 06 Sep 2019 9:04 pm

    I looked into this a couple of weeks ago, and the only change on the Twitter side is that they require tweets to be submitted using TLS version 1.2 and above from that date. I don't know whether or not Cumulus uses TLS 1.2 - I am assuming not - but as I know the Cumulus Twitter functionality is basically broken (in that it doesn't use a per-user API key, so will be severely rate-limited) I didn't look any further into it.
    Freddie
    Image

    User avatar
    PaulMy
    Posts: 2009
    Joined: Sun 28 Sep 2008 11:54 pm
    Weather Station: Davis Vantage Pro 2+ w/Envoy USB
    Operating System: Windows-8
    Location: Komoka, ON Canada
    Contact:

    Re: My station's tweets to Twitter have stopped completely

    Post by PaulMy » Sat 07 Sep 2019 1:50 am

    Just noticed that my Cumulus Tweets are also not being sent, but every-hour tweet through Weathercloud is working http://www.twitter.com/KomokaWeather

    Enjoy,
    Paul

    User avatar
    mcrossley
    Posts: 5805
    Joined: Thu 07 Jan 2010 9:44 pm
    Weather Station: Davis VP2
    Operating System: Stretch Lite rPi
    Location: Wilmslow, Cheshire, UK
    Contact:

    Re: My station's tweets to Twitter have stopped completely

    Post by mcrossley » Sun 08 Sep 2019 3:59 pm

    I'd use a third party app for sending tweets from Cumulus (like twurl maybe), twitter is broken and cannot be fixed in Cumulus 1.

    It's broken in MX too, but may be fixed there at some point.

    THX
    Posts: 149
    Joined: Thu 07 Jan 2010 2:47 pm
    Weather Station: Vantage Vue
    Operating System: Windows 7
    Location: Creve Coeur, Missouri, USA
    Contact:

    Re: My station's tweets to Twitter have stopped completely

    Post by THX » Mon 09 Sep 2019 8:49 pm

    It's broken in Cumulus 1.9.4 (Build 1099) as well...

    After 136,600 Tweets, it was a good ride...

    water01
    Posts: 1558
    Joined: Sat 13 Aug 2011 9:33 am
    Weather Station: WH1081
    Operating System: Windows 7 64bit HP SP1
    Location: Somewhere in the USA
    Contact:

    Re: My station's tweets to Twitter have stopped completely

    Post by water01 » Mon 09 Sep 2019 9:12 pm

    THX wrote:
    Mon 09 Sep 2019 8:49 pm
    It's broken in Cumulus 1.9.4 (Build 1099) as well...

    After 136,600 Tweets, it was a good ride...
    That is what Mark said "twitter is broken and cannot be fixed in Cumulus 1."!!

    johnwh46
    Posts: 1
    Joined: Mon 07 Oct 2013 2:37 am
    Weather Station: Fine Offset WH2081
    Operating System: Windows 7
    Location: Australia

    Re: My station's tweets to Twitter have stopped completely

    Post by johnwh46 » Mon 11 Nov 2019 4:49 am

    Given that Cumulus posts to Twitter are a problem, can we extract a string of the format specified by twitter.txt for our own use - email, send ourselves to twitter etc? Running CumulusMX on a headless Raspberry Pi at a remote location with internet access. Yes I can email myself realtimeguages.txt from the RPi but not exactly what I want. Run a cron job to jump in, extract the string and do what we want to with it?

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

    Re: My station's tweets to Twitter have stopped completely

    Post by ExperiMentor » Mon 11 Nov 2019 5:21 pm

    You can certainly achieve this in CumulusMX (why not switch over to the maintained program??). I've not used Cumulus 1 for years but expect it can do the same.

    All you need to do is tell Cumulus to 'Process' the twitter.txt template file (or indeed any other file you want), then pick up the output (processed) file in which all the webtags have been converted.

    In CumulusMX this is done via the web interface, Settings tab, Extra Web Files item. Set as follows:
    Local filename: twitter.txt
    Remote filename: tweet.txt ... or whatever you want. If you don't specify otherwise, it will appear in the same directory as twitter.txt.
    Tick the boxes for 'Process' and 'Realtime' and the output file will be kept up to date every few seconds, always ready for you to tweet, email or use as a ticker on your webpage.

    The following in twitter.txt is about as much as can be squeezed into the characters available:

    Code: Select all

    <#shortdayname> <#hour><#minute>: <#forecast>. <#temp>C (app: <#apptemp>C). Wind <#wdir> <#wspeed><#windunit>. Rain <#rfall><#rainunit>. Humidity <#hum>%. <#press><#pressunit> <#presstrend>
    I have attached my Python script that tweets this (every 15 min by cron job) together with a picture snagged from my weather webcam.
    TweetFromPi.py .txt
    And the resulting Tweets appear at: https://twitter.com/LiesbergDorf

    Good luck!
    You do not have the required permissions to view the files attached to this post.

    Post Reply