[weewx-user] Template coding - help appreciated

2022-12-03 Thread Copain
I have probably a beginners question, which however I can't resolve. Bootstrap skin has skin.conf in directory /Bootstrap and uses for its images a separate skin.conf in /Images. Now, I am trying to parse [ImageGenerator] [[week_images]] in /Images/skin.conf to find the image names with the fol

Re: [weewx-user] Neowx skin sample site [3]

2022-11-24 Thread Copain
Github repository mentioned does not have these details. Many thanks Copain rory.g...@googlemail.com schrieb am Freitag, 18. November 2022 um 11:10:07 UTC+1: > See my reply to Artvd, you can get the history page there. I'll also > attach the ephemeris template. I have never tried two d

Re: [weewx-user] Template error python 3.9 vs. 3.7?

2022-11-12 Thread Copain
now which half it's in. Split again in half, and so > on. Eventually you will isolate it down to the offending line. > > -tk > > On Sat, Nov 12, 2022 at 7:56 AM Copain wrote: > >> Many thanks for the continuous develompent of the weewx weather software. >> >>

[weewx-user] Template error python 3.9 vs. 3.7?

2022-11-12 Thread Copain
Many thanks for the continuous develompent of the weewx weather software. Currently I am testing weewx 4.9.1 with python 3.9.2 in a virtual machine. My life system runs weewx 4.4.0 with python 3.7.3. On the virtual machine, one of my templates generates the following error: TypeError: '<' not sup

Re: [weewx-user] Python Version shown in skin

2022-04-10 Thread Copain
Thank you very much Tom. tke...@gmail.com schrieb am Sonntag, 10. April 2022 um 17:19:37 UTC+2: > The undocumented tag > > $station.python_version > > > will return the version of Python. We really should document it. > > On Sun, Apr 10, 2022 at 8:08 AM Copain wrote:

[weewx-user] Python Version shown in skin

2022-04-10 Thread Copain
WeeWX does show in seasons skin system info, such as hardware, geographical, uptime, software and skin versions. It could also be interesting to see the python version installed. I believe having seen such information on weewx, however I can't remember any specific sites. Is the python version

Re: [weewx-user] Re: Weewx 4.3 fresh install - 'bash: command not found' for utilities

2021-01-21 Thread Copain
@vince @Tom Appreciate your support. I solved the problem by adding the following line: code: nano ~/.bashrc export PATH=/home/weewx/bin:$PATH May I suggest to add this to the section 'Installations using setup.py' of the Wiki article 'Understanding paths'? This would certainly help other users

[weewx-user] Weewx 4.3 fresh install - 'bash: command not found' for utilities

2021-01-21 Thread Copain
I did a fresh install of weewx 4.3 with dietpi buster on RPi 3B. It is a standard setup.py install with python 3.7.3 to /home/weewx and I followed relevant installation instructions. Weewx is running in simulation mode and I get regularly updated reports. On RPi I am logged in as root user and

[weewx-user] Historic Image Generator Time Periods

2019-08-15 Thread Copain
Standard 4 image generator time periods are day, week, month and year. Does weewx offer functionality to generate graphs e.g. for yesterday, last year or a specific historic month / year OR is it depending on the skin which would have to offer such feature? Basically, I am looking for an 'option

[weewx-user] Re: Error 'class NameMapper.NotFound'

2019-04-05 Thread Copain
You are correct. The tag is defined in niculskin skin.conf and all labels are there. But somehow the new version of historygenerator does not seem to be able to find the tag with its labels. Am Freitag, 5. April 2019 19:48:04 UTC+2 schrieb Copain: > Weewx runs on RPi 3B with die

[weewx-user] Re: Error 'class NameMapper.NotFound'

2019-04-05 Thread Copain
f historygenerator? And what about historygenerator.pyc in /usr/share/weewx/user? Is this a compiled version, which is automatically generated at first run? Thanks for your analysis. Am Freitag, 5. April 2019 19:48:04 UTC+2 schrieb Copain: > Weewx runs on RPi 3B with dietpi. > > Aft

[weewx-user] Error 'class NameMapper.NotFound'

2019-04-05 Thread Copain
Weewx runs on RPi 3B with dietpi. After setting up RPi with dietpi and weewx, I installed niculskin and lastrain extension, which ran without any problems. Thereafter I switched to bootstrap skin, which also worked perfectly. Today I wanted to go back to niculskin for some testing. I enabled it

[weewx-user] Re: No html reports any more - ValueError: Empty module name

2019-03-25 Thread Copain
ual in Linux systems: be careful while typing ... Am Montag, 25. März 2019 17:03:43 UTC+1 schrieb Copain: > My weewx runs on RPi 3B with dietpi. > > I created the custom report 'forecast.html.tmpl', which I added to the > 'CheetahGenerator' section o

[weewx-user] No html reports any more - ValueError: Empty module name

2019-03-25 Thread Copain
My weewx runs on RPi 3B with dietpi. I created the custom report 'forecast.html.tmpl', which I added to the 'CheetahGenerator' section of skin.conf (niculskin) as follows: [[ToDate]] [[[forecast]]] template = forecast.html.tmpl Now, I don't get any html reports any more

[weewx-user] Re: Some strange formats in NOAA reports

2019-03-12 Thread Copain
e road. Or, do you know any skin with implemented html NOAA for me as an example to learn coding? Am Montag, 11. März 2019 17:15:21 UTC+1 schrieb Copain: > I am running weewx on RPi 3B with dietpi and German locale. > > In NOAA reports I noticed some strange formats for > - tempe

[weewx-user] Re: Some strange formats in NOAA reports

2019-03-12 Thread Copain
etting in skin.conf. However it still does not quite explain yet, why with 'strict_ascii' setting, month 'Mär' results in 'Mr' without the 'a' in the middle at all. Even in an English locale, there is no month 'Mr' ... Am Montag, 11. März 2019 17

[weewx-user] Re: Some strange formats in NOAA reports

2019-03-12 Thread Copain
2019 17:15:21 UTC+1 schrieb Copain: > I am running weewx on RPi 3B with dietpi and German locale. > > In NOAA reports I noticed some strange formats for > - temperature (°C) and > - months ('Mär' for 'Mar') > > Some variables affected are '$unit.

[weewx-user] Re: Some strange formats in NOAA reports

2019-03-12 Thread Copain
on of the variables within weewx? Where are these labels set? If so, the temperature label could be set as 'Deg C' or 'Deg F', avoiding the 'degree character' and also showing up propperly in NOAA. Am Montag, 11. März 2019 17:15:21 UTC+1 schrieb Copain: > I am r

[weewx-user] TFA Nexus (TE923) outside temp of wind sensor as temp2 in weewx?

2019-03-12 Thread Copain
My TFA Nexus offers an outside temperature from the wind sensor, which is also shown on the base station. With this, you can see the temperature difference between the sunny and shadow positions. Would it be possible to bring this as 'second outside temperature' into weewx? I assume, this to

[weewx-user] Re: Some strange formats in NOAA reports

2019-03-12 Thread Copain
#x27; only) and - month 'Mar' appears as 'Mr' only. Please find enclosed my skin.conf for your reference. Copain Am Montag, 11. März 2019 17:15:21 UTC+1 schrieb Copain: > I am running weewx on RPi 3B with dietpi and German locale. > > In NOAA reports I noticed some

[weewx-user] Some strange formats in NOAA reports

2019-03-11 Thread Copain
I am running weewx on RPi 3B with dietpi and German locale. In NOAA reports I noticed some strange formats for - temperature (°C) and - months ('Mär' for 'Mar') Some variables affected are '$unit.label.outTemp.strip()', '$year.outTemp.maxtime.format($M,$NODAY)', '$year.outTemp.mintime.format(

Re: [weewx-user] Some variables on report in wrong language

2019-03-07 Thread Copain
t; On Thu, Mar 7, 2019 at 9:04 AM Copain > > wrote: > >> Weewx runs on dietpi on RPi 3B. The locale is set to German. >> >> Nevertheless the 5 variables >> >> - $station.uptime >> - $station.os_uptime >> - $trend.time_delta.hour.format("%.0f&q

[weewx-user] Some variables on report in wrong language

2019-03-07 Thread Copain
Weewx runs on dietpi on RPi 3B. The locale is set to German. Nevertheless the 5 variables - $station.uptime - $station.os_uptime - $trend.time_delta.hour.format("%.0f") - $almanac.moon_phase - $almanac.moon_fullness% full are shown in English. >From other weather stations I know that they can b