Re: [weewx-user] How to get the daily rain sum

2023-09-02 Thread Glenn McKechnie
Hi Axelle, Good to see it's working, and that dev_mode helped. On 02/09/2023, Invisible Man wrote: > Ok, I enabled dev mode, and it helped me spot the error : it was treating > my 4 images as a single file. In weewx.conf, we should not put the 4 images > > between ' ... '. Indeed. We are

Re: [weewx-user] How to get the daily rain sum

2023-09-02 Thread Invisible Man
Ok, I enabled dev mode, and it helped me spot the error : it was treating my 4 images as a single file. In weewx.conf, we should not put the 4 images between ' ... '. And now it works :)) Thanks for this great extension, and your help! Sep 02 15:30:55 vegan python3[13958]: weewx[13958] DEBUG

Re: [weewx-user] How to get the daily rain sum

2023-09-02 Thread Invisible Man
Ok ! I hadn't understood that at all. So, that's what I did, but my toot has no image. Though the logs mention 1 upload of image... ? Sep 2 14:42:51 vegan weewx[12010] DEBUG weewx.engine: Loading service user.wxtoot.Toot Sep 2 14:42:52 vegan weewx[12010] INFO user.wxtoot: service version is

Re: [weewx-user] How to get the daily rain sum

2023-08-31 Thread Glenn McKechnie
On 01/09/2023, Invisible Man wrote: > Glenn, > How am I meant to publish images on Mastodon? > I have this in weewx.conf for the Mastodon extension: > > ``` > # comma separated list of up to 4 images > images = >

Re: [weewx-user] How to get the daily rain sum

2023-08-31 Thread Invisible Man
Glenn, How am I meant to publish images on Mastodon? I have this in weewx.conf for the Mastodon extension: ``` # comma separated list of up to 4 images images = '/home/weewx/external_html/daytempdew.png,/home/weewx/external_html/dayrain.png,/home/weewx/external_html/dayuv.png' ``` Those paths

Re: [weewx-user] How to get the daily rain sum

2023-08-30 Thread Invisible Man
Ah, it looks like $day.rain.sum works in a template... :) On Wednesday, August 30, 2023 at 7:00:17 PM UTC+2 Invisible Man wrote: > Ok, so I'm switching to templates, but I'm doing something wrong, because > I can't get that rain sum. In my case it just prints >

Re: [weewx-user] How to get the daily rain sum

2023-08-30 Thread Invisible Man
Ok, so I'm switching to templates, but I'm doing something wrong, because I can't get that rain sum. In my case it just prints "$since($hour=0).rain.sum.format("%.3f")" instead of showing the value. How did you do it? This is my `mastodon.txt.tmpl` (there are a few errors in my template e.g I

Re: [weewx-user] How to get the daily rain sum

2023-08-29 Thread Glenn McKechnie
On 30/08/2023, Invisible Man wrote: > Thanks to both of you for your replies. > > - since.py etc are in /usr/share/weewx/user already so indeed I can try and since.py is part of the weewx-mastodon install. > use them. I tried to directly use since in the format line of > weewx-mastodon, but

Re: [weewx-user] How to get the daily rain sum

2023-08-29 Thread Invisible Man
Thanks to both of you for your replies. - since.py etc are in /usr/share/weewx/user already so indeed I can try and use them. I tried to directly use since in the format line of weewx-mastodon, but haven't succeeded yet: `{since($hour=24).rain.sum:%.3f}` , `{since(hour=24).rain.sum:%.3f}`...

Re: [weewx-user] How to get the daily rain sum

2023-08-28 Thread Greg from Oz
I used since.py and time_since.py Check my page: https://weather.ubeaut.work/ If you check the week month year for the cumulative rain is that what you are looking for? Today's Rain since 12am $day.rain.sum

Re: [weewx-user] How to get the daily rain sum

2023-08-28 Thread Glenn McKechnie
Short answer, when using the inbuilt FORMAT strings - no. Long answer - see the templates - which are lacking instruction but follow standard weewx methods - I believe. Despite being the author / maintainer of weewx-mastodon I had to go back and check on the code. It gets its units directly from

[weewx-user] How to get the daily rain sum

2023-08-28 Thread Invisible Man
I am using the Mastodon extension for Weewx. https://github.com/glennmckechnie/weewx-mastodon. I believe my question is however not strictly related to this extension, see below. It is possible to format the message which is tooted regularly and supply a specific format. One of the default