[weewx-user] Re: Problem with wee_import utility (rain field)

2023-08-27 Thread Remy Lavabre
Thank you Gary for your very quick and detailed response. Nice of you! I had read the documentation on the Weewx utilities guide but had not understood it in the sense you indicate... So I modified my Python program to calculate in the csv file the amount of water that fell over the 5 minute peri

Re: [weewx-user] WeeWX in an RV?

2023-08-27 Thread Stefan Gliessmann
Thank you for providing the extensions.py code, Karen K! You really rock!!! I placed it @ /usr/share/weewx/ with this I added new observations. (Check) I also added the database columns with sudo wee_database --add-column=gpsLat sudo wee_database --add-column=gpsLong (Check) However, they are

Re: [weewx-user] Specific Report Generation Periods

2023-08-27 Thread John Smith
$since($hour=9,$today=False).rain.sum.formatted On Sun, 27 Aug 2023 at 03:45, carter.hu...@gmail.com < carter.humphrey...@gmail.com> wrote: > Yup, that is what I'm looking for. Can $since($hour=7) be used since the > previous day though? > > On Friday, August 25, 2023 at 4:31:41 PM UTC-7 Tom Keff

Re: [weewx-user] Re: formatting issue in cheetah

2023-08-27 Thread Tom Keffer
I must admit to being a little lost. I wrote an article *Character encodings * to explain how encodings work within WeeWX. Maybe you'll recognize something? On Sat, Aug 26, 2023 at 12:10 PM vince wrote: > In deb12 dpkg of weewx 4 in a x86

[weewx-user] 1-letter restful services

2023-08-27 Thread Invisible Man
I noticed I had this configuration line in weewx.conf. What are those services? Is that a shortcut name? restful_services = S, d, S, a, n, R, g, y or restful_services = x, x, S, d, S, a, o, n, R, g, y I just commented the line... It solved an exception I was getting - though I'm not sure it's t

Re: [weewx-user] 1-letter restful services

2023-08-27 Thread Tom Keffer
No idea where those came from. Must have been accidentally introduced into your weewx.conf file. Perhaps the Mastadon installer messed things up...? On Sun, Aug 27, 2023 at 5:30 AM Invisible Man wrote: > I noticed I had this configuration line in weewx.conf. What are those > services? Is that a

[weewx-user] Forecast not showing expanded view

2023-08-27 Thread Cody Funderburg
Forecast seems to not show the expanded when you first load the site. You have to click 24 for it to show up. Has anyone had this issue? I would like for it to default to 24 view and have it set in the conf file. Below shows it collapsed and not expanded. [image: Screenshot 2023-08-27 083156.j

Re: [weewx-user] Re: formatting issue in cheetah

2023-08-27 Thread jterr...@gmail.com
hex C2 B5 is the UTF-8 binary encoding of "micro" in a "text" file such as a python script. But as far as HTML is concerned, the html UTF-8 encoding of "micro" is either µ or µ or µ - see https://www.w3schools.com/charsets/tryit.asp?deci=181&ent=micro May be cheetah converts the two binary U

Re: [weewx-user] Re: WDC Skin

2023-08-27 Thread David Bätge
Hi Mau, yes, the wiki realy includes a lot of information. I guess you are missing the base_path setting, see https://github.com/Daveiano/weewx-wdc/wiki/WeeWX-related#setting-html_root-and-basepath and https://github.com/Daveiano/weewx-wdc/wiki/Configuration#extras Mau Hernandez schrieb am

Re: [weewx-user] 1-letter restful services

2023-08-27 Thread Invisible Man
Ok, never mind, I'll post in this thread if I find out who messed up this line, but for now, I'll assume it's my fault somehow :) On Sunday, August 27, 2023 at 2:54:53 PM UTC+2 Tom Keffer wrote: > No idea where those came from. Must have been accidentally introduced into > your weewx.conf file.

Re: [weewx-user] Re: Belchertown lightning graph

2023-08-27 Thread pmcg...@gmail.com
Di you ever figure out how to get rid of this? Observation lightning_strike_count is using unit count that returns %d for StringFormat, rather than float point decimal format value - using 0 as rounding Thanks! On Saturday, June 24, 2023 at 8:15:11 PM UTC-6 Dan Roman wrote: > Had a thundersto

Re: [weewx-user] Re: formatting issue in cheetah

2023-08-27 Thread vince
I guess if anybody else could try the test.index.html file I previously posted in https://groups.google.com/g/weewx-user/c/nW3U8DVMZyU/m/qSosva-hAAAJ on their systems it might help, if you have time to do so of course. If you get it working somehow, let us know and if there's a URL to let othe

Re: [weewx-user] WeeWX in an RV?

2023-08-27 Thread vince
A very old thread here with somebody who previously had that error pointed to the MQTT topic being subscribed to as the error. They were subscribing to sometopic/# when they should have subscribed to sometopic/someitem What topic are you subscribing to for your data ? -- You received this me

Re: [weewx-user] Re: formatting issue in cheetah

2023-08-27 Thread jterr...@gmail.com
here is the result of your test.index.html in my system : http://meteo-sciez.fr/weewx/tagssciez/test.html the pmxxx units are correctly shown, but not the outTemp and radiation units ! Le dimanche 27 août 2023 à 17:23:40 UTC+2, vince a écrit : > I guess if anybody else could try the test.ind

Re: [weewx-user] Re: formatting issue in cheetah

2023-08-27 Thread vince
Fascinating. I came up with a modified test template that prints out the units for everything in the extended schema, but my little one is sufficient to show the issue. For me if encoding=html_entities then labels using group_concentration are garbled, but temperatures and radiation units and

Re: [weewx-user] WeeWX in an RV?

2023-08-27 Thread vince
We'd have to see your code to see what you are publishing. Your MQTT log looks very odd and likely needs some tweaking MQTT: [{"dateTime":"1693128700.0","gpsLat":"52.152435"},{"dateTime":"1693128700.0","gpsLong":"9.929356"}] I'd expect something like {"dateTime":"1233456", "gpsLat":"52.1234

[weewx-user] Trying to configure the logging to be non-privileged

2023-08-27 Thread David Barto
Following the instructions found in http://weewx.com/docs.html/latest/macos.htm under Logging, I added (copy/pasted) the alternative to log to /var/tmp/weewx.log and get this error when starting up. Is it not possible to log to an alternative location? David Traceback (most recent call

Re: [weewx-user] Re: formatting issue in cheetah

2023-08-27 Thread Tom Keffer
I tried your test template (on my Mac) and it worked perfectly using both HTML entities and UTF-8 encodings. The results are attached. I'm grasping here, but it must have something to do with your environment. What do you get for *echo $LANG* *python3 -c "import locale;print(locale.setlocale(loc

Re: [weewx-user] formatting issue in cheetah

2023-08-27 Thread Jacques Terrettaz
Tom, here are my settings : root@meteopi:~# echo $LANG fr_CH.UTF-8 root@meteopi:~# python3 -c "import locale;print(locale.setlocale(locale.LC_ALL))" LC_CTYPE=fr_CH.UTF-8;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT

[weewx-user] More Almanac Pop-Up No Longer Working - neowx-material

2023-08-27 Thread Martin Davies
Hi, Recently, since 4.10.2 update, I've noticed that the 'more alamanac' option no longer works for my site that uses the neowx-material skin. I think other folk have noticed a similar problem with other Skins. Can anyone suggest what steps I should take to investigate this problem. Many than

[weewx-user] Trying to reach Rory Gillies

2023-08-27 Thread David Barto
As he mentioned that he had successfully setup the Forecast extension. If Rory would get in contact *see sig* I’d appreciate it. David Every time I think I've hit the bottom of the stupidity well, someone throws me a shovel David Barto ba...@kdbarto.org -- You received this message b

Re: [weewx-user] formatting issue in cheetah

2023-08-27 Thread vince
My m1 mini running latest MacOS worked fine with the test.html.tmpl template. Here are the python diagnostics. $ echo $LANG python3 -c "import locale;print(locale.setlocale(locale.LC_ALL))" python3 -c "import locale;locale.setlocale(locale.LC_ALL,'');print(locale.setlocale(locale.LC_ALL))" en_U

Re: [weewx-user] formatting issue in cheetah

2023-08-27 Thread vince
Tom - my lightsail VM works fine. Ubuntu 22.04.3 LTS all patched up. Note the diagnostic results differ from the (garbled) pi. $ echo $LANG python3 -c "import locale;print(locale.setlocale(locale.LC_ALL))" python3 -c "import locale;locale.setlocale(locale.LC_ALL,'');print(locale.setlocale(loca

Re: [weewx-user] formatting issue in cheetah

2023-08-27 Thread Tom Keffer
I guess the next question is what version of Python and Cheetah? *python3 -V* *python3 -c "import Cheetah;print(Cheetah.Version)"* Mine is Python 3.7.16 and Cheetah V3.3.2 -tk On Sun, Aug 27, 2023 at 2:50 PM vince wrote: > Tom - my lightsail VM works fine. Ubuntu 22.04.3 LTS all patched up.

Re: [weewx-user] formatting issue in cheetah

2023-08-27 Thread vince
Garbled pi4: (weewx-venv) pi@pi4:~$ python3 -V python3 -c "import Cheetah;print(Cheetah.Version)" Python 3.9.2 3.3.1 Working mac mini: python3 -c "import Cheetah;print(Cheetah.Version)" Python 3.10.9 3.3.2 Working AWS lightsail ubuntu: $ python3 -V python3 -c "import Cheetah;print(Cheetah.Version

Re: [weewx-user] formatting issue in cheetah

2023-08-27 Thread Tom Keffer
I have tried Python 3.7.10, 3.10.5, and 3.11.4, with Cheetah 3.2.6, 3.3.1, and 3.3.2. I even tried Python 3.9.2 with Cheetah 3.3.1 (your combination). All gave the expected results. Unfortunately, I am unable to reproduce what you're seeing. On Sun, Aug 27, 2023 at 3:18 PM vince wrote: > Garble

Re: [weewx-user] Trying to configure the logging to be non-privileged

2023-08-27 Thread Tom Keffer
Which version of WeeWX? It's possible your version of WeeWX does not have a rotating logger defined for the Mac. Try following the instructions in the wiki article *Logging to rotating files * . On Sun, Aug 27,

Re: [weewx-user] formatting issue in cheetah

2023-08-27 Thread vince
That's ok. Thanks for trying. There is definitely something going on with locale/cheetah since Jacques had odd results too, but this one might just not be readily solvable. On Sunday, August 27, 2023 at 3:47:08 PM UTC-7 Tom Keffer wrote: > I have tried Python 3.7.10, 3.10.5, and 3.11.4, with

Re: [weewx-user] formatting issue in cheetah

2023-08-27 Thread Jim Munro
just a guess. entry missing in units section of weewx.conf. Check locale setting in raspi-config on RPI. ??? On Sunday, August 27, 2023 at 7:17:25 p.m. UTC-4 vince wrote: > That's ok. Thanks for trying. There is definitely something going on > with locale/cheetah since Jacques had odd resul