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

Feature request: Multiple Twitter schedules and templates

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
eichmat
Posts: 2
Joined: Wed Apr 05, 2017 1:47 pm
Weather Station: Davis Vantage Pro2
Operating System: Windows 10

Feature request: Multiple Twitter schedules and templates

Postby eichmat » Sun Apr 16, 2017 2:35 am

Just setup CMX to post current conditions hourly. It would be great if I could setup multiple schedules with different source templates.

I'd like to post the station's forecast every 6 or 12 hours, daily high/lows at the end of the day, and when a record is set.

Just putting it out there.

Thank you,


-Tim

jlmr731
Posts: 112
Joined: Sat Aug 27, 2016 12:11 am
Weather Station: Davis vantage pro 2
Operating System: Debian
Location: Youngstown, Ohio
Contact:

Re: Feature request: Multiple Twitter schedules and templates

Postby jlmr731 » Sun Apr 16, 2017 2:43 pm

Cumulus MX does tweet for you, but I see you want more. here is one way to do this, depending on your OS you will have to find a twitter client that can post from a txt file at the time you want it too. Example I use twidge in linux (there has to be client for every os too) and have Cumulus processes a file that outputs it to txt with the current values. then the client posts the contents of file, and with the power of Cumulus and all the tags that are included you can get any values you need. this maybe the way to go, and you have control of what is tweeted and at what times.
As for a record setting day, or value it may take a bit of scripting to do that but it can be done.

eichmat
Posts: 2
Joined: Wed Apr 05, 2017 1:47 pm
Weather Station: Davis Vantage Pro2
Operating System: Windows 10

Re: Feature request: Multiple Twitter schedules and templates

Postby eichmat » Tue Apr 18, 2017 3:20 am

Thanks! I'm running Windows 10 (Zotac ZBOX that came with Win 8.1 with Bing then free upgrade to 10...), so I know I'm hampered a little bit when it comes to support software (just glad CMX is here). And I'm not prepared to port over to linux... just yet...

Didn't find anything like twidge off the bat for Windows, but after reading your post, I just found the TweetTX scripts. TweetTX was pretty easy to get working and supported Weather Blues include variable file so easy to customize the text (just make a php file for each tweet type and the php posts when the page is called (need to add a robots file in that folder so Google doesn't start posting on me...])... it just means I need to use the Custom HTTP call feature to call a PHP page that then posts.

Only limits there so far are that CMX only supports one URL per event type (seconds, minutes, and EOD), the minutes option only supports up to 60 (while seconds is free-form), and both timers start when CMX starts (so if I set the forecast call using the 14,440 seconds [4-hours], it starts 4-hours after CMX starts...

I guess that isn't a crime for now... lets me get two out of my three goals (forecast and EOD) running now while I keep searching.

Thanks for the twidge tip...


Return to “Cumulus MX”

Who is online

Users browsing this forum: No registered users and 6 guests