I have recently decided to make use of the larger maximum size of Twitter tweets by editing my twitter.txt to include more data. As well as the current data that Cumulus already tweets every hour on the hour, I have included the rain total for today (in my case 0900-0900) and also the maximum and minimum temperature for the same period.
This works as aniticipated except for the tweet that goes out at the end of the day at 0900. I was expecting to be able to tweet the maximum and minimum temperatures for the preceeding 24 hour period, along with the total rainfall. However, it appears that the values are reset at that time, and all you ever get for these values at 0900 is zero for rain, and the temperature at 0900 for the maximum and minimum. I can sort of see how this happens (values get reset before the first data received from my VP after 0900) but I don't know why. At the "top of the hour" at the end of the data day (i.e. before any data has been collected for the "new" day) isn't it more useful to have the max/min and rainfall total for the period just ending available? Otherwise these values are always going to be equal to zero (rainfall) or the 0900 values (max/min temperature).
Is it possible to consider changing this behaviour, please? If not, has anybody else bumped up against these circumstances and arrived at a work-around?
Thanks.
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 4019) - 03 April 2024
Legacy Cumulus 1 release 1.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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.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
Behaviour of "today" tags at the end of the day
Moderator: mcrossley
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Behaviour of "today" tags at the end of the day
I don’t propose to change that behaviour (if I ever do any more development) as I believe it’s correct (any actions will be just after 0900 so a new day has already started).
However, I do agree with you that being able to use the figures before they are reset would be useful. One of the enhancements on the to-do list is more sophisticated scheduling, and I would envisage this being part of that (if I ever...).
However, I do agree with you that being able to use the figures before they are reset would be useful. One of the enhancements on the to-do list is more sophisticated scheduling, and I would envisage this being part of that (if I ever...).
Steve
-
- Posts: 2474
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Behaviour of "today" tags at the end of the day
Thanks for reply, Steve.
That is fair enough. I have thought of a work-around in the interim - have two versions of twitter.txt, one with the "today" tags and one with the "yesterday" tags, and use a Cron job to switch between the two at 0830 and 0930.
Hope you are well and settling in.
Best regards, Niall.
That is fair enough. I have thought of a work-around in the interim - have two versions of twitter.txt, one with the "today" tags and one with the "yesterday" tags, and use a Cron job to switch between the two at 0830 and 0930.
Hope you are well and settling in.
Best regards, Niall.