[weewx-user] Re: Using radar data provided by the German Weather Service DWD

2024-01-14 Thread hesf...@gmail.com
Nachtrag:
in weatherservicesradar.py in Zeile 260 von
#self.font_file = 
'/etc/weewx/skins/Belchertown1_3/lib/fonts/roboto/KFOlCnqEu92Fr1MmSU5fBBc9.ttf'
self.font_file = '/usr/share/fonts/truetype/freefont/FreeMono.ttf'
gewechselt
und die Datei "radar-HG.png"  wird erzeugt, jedoch ohne die Landegrenzen.

Danke
Hartmut

hesf...@gmail.com schrieb am Sonntag, 14. Januar 2024 um 11:09:59 UTC+1:

> Hallo,
> eine kurze Frage zum Radarbild
>
> eine Fehlermeldung in der log.datei
> 2024-01-14T10:56:58.986219+01:00 wetter weewxd-weewx[1591495]: INFO 
> user.DWD.base: thread 'OPENMETEO-ThisStation' starting
> 2024-01-14T10:56:58.986759+01:00 wetter weewxd-weewx[1591495]: INFO 
> user.DWD: site_dict {'Station': {'provider': 'DWD', 'model': 'HG', 
> 'easting': '7255594.98', 'northing': '-3424660.38', 'prefix': '', 
> 'latitude': '53.6059404', 'longitude': '11.3413982'}, 'Karte': {'provider': 
> 'DWD', 'model': 'HG', 'prefix': '', 'map': ['100', '100', '900', '1000'], 
> 'background': 'light'}}
> 2024-01-14T10:56:58.987310+01:00 wetter weewxd-weewx[1591495]: INFO 
> user.DWD: location_dict {'debug': '0', 'WEEWX_ROOT': '/etc/weewx', 
> 'log_success': 'True', 'log_failure': 'True', 'version': '5.0.0', 
> 'config_path': '/etc/weewx/weewx.conf', 'WEEWX_ROOT_ORIG': '/etc/weewx', 
> 'path': '/etc/weewx/skins/DWD/dwdws', 'provider': 'DWD', 'model': 'HG', 
> 'easting': '7255594.98', 'northing': '-3424660.38', 'prefix': '', 
> 'latitude': '53.6059404', 'longitude': '11.3413982'}
> 2024-01-14T10:56:58.987954+01:00 wetter weewxd-weewx[1591495]: INFO 
> user.DWD: location_dict {'debug': '0', 'WEEWX_ROOT': '/etc/weewx', 
> 'log_success': 'True', 'log_failure': 'True', 'version': '5.0.0', 
> 'config_path': '/etc/weewx/weewx.conf', 'WEEWX_ROOT_ORIG': '/etc/weewx', 
> 'path': '/etc/weewx/skins/DWD/dwdws', 'provider': 'DWD', 'model': 'HG', 
> 'prefix': '', 'map': ['100', '100', '900', '1000'], 'background': 'light'}
> 2024-01-14T10:56:58.989080+01:00 wetter weewxd-weewx[1591495]: INFO 
> user.DWD: radar DWD_!_HG
> 2024-01-14T10:56:58.989800+01:00 wetter weewxd-weewx[1591495]: INFO 
> user.DWD: radar {'provider': 'DWD', 'model': 'HG', 'path': 
> '/etc/weewx/skins/DWD/dwdws', 'log_success': 'True', 'log_failure': 'True', 
> 'Station': ConfigObj({'debug': '0', 'WEEWX_ROOT': '/etc/weewx', 
> 'log_success': 'True', 'log_failure': 'True', 'version': '5.0.0', 
> 'config_path': '/etc/weewx/weewx.conf', 'WEEWX_ROOT_ORIG': '/etc/weewx', 
> 'path': '/etc/weewx/skins/DWD/dwdws', 'provider': 'DWD', 'model': 'HG', 
> 'easting': '7255594.98', 'northing': '-3424660.38', 'prefix': '', 
> 'latitude': '53.6059404', 'longitude': '11.3413982'}), 'Karte': 
> ConfigObj({'debug': '0', 'WEEWX_ROOT': '/etc/weewx', 'log_success': 'True', 
> 'log_failure': 'True', 'version': '5.0.0', 'config_path': 
> '/etc/weewx/weewx.conf', 'WEEWX_ROOT_ORIG': '/etc/weewx', 'path': 
> '/etc/weewx/skins/DWD/dwdws', 'provider': 'DWD', 'model': 'HG', 'prefix': 
> '', 'map': ['100', '100', '900', '1000'], 'background': 'light'})}
> 2024-01-14T10:56:58.990402+01:00 wetter weewxd-weewx[1591495]: INFO 
> user.DWD.radar: {'provider': 'DWD', 'model': 'HG', 'path': 
> '/etc/weewx/skin

[weewx-user] Re: Using radar data provided by the German Weather Service DWD

2024-01-14 Thread hesf...@gmail.com
Hallo,
eine kurze Frage zum Radarbild

eine Fehlermeldung in der log.datei
2024-01-14T10:56:58.986219+01:00 wetter weewxd-weewx[1591495]: INFO 
user.DWD.base: thread 'OPENMETEO-ThisStation' starting
2024-01-14T10:56:58.986759+01:00 wetter weewxd-weewx[1591495]: INFO 
user.DWD: site_dict {'Station': {'provider': 'DWD', 'model': 'HG', 
'easting': '7255594.98', 'northing': '-3424660.38', 'prefix': '', 
'latitude': '53.6059404', 'longitude': '11.3413982'}, 'Karte': {'provider': 
'DWD', 'model': 'HG', 'prefix': '', 'map': ['100', '100', '900', '1000'], 
'background': 'light'}}
2024-01-14T10:56:58.987310+01:00 wetter weewxd-weewx[1591495]: INFO 
user.DWD: location_dict {'debug': '0', 'WEEWX_ROOT': '/etc/weewx', 
'log_success': 'True', 'log_failure': 'True', 'version': '5.0.0', 
'config_path': '/etc/weewx/weewx.conf', 'WEEWX_ROOT_ORIG': '/etc/weewx', 
'path': '/etc/weewx/skins/DWD/dwdws', 'provider': 'DWD', 'model': 'HG', 
'easting': '7255594.98', 'northing': '-3424660.38', 'prefix': '', 
'latitude': '53.6059404', 'longitude': '11.3413982'}
2024-01-14T10:56:58.987954+01:00 wetter weewxd-weewx[1591495]: INFO 
user.DWD: location_dict {'debug': '0', 'WEEWX_ROOT': '/etc/weewx', 
'log_success': 'True', 'log_failure': 'True', 'version': '5.0.0', 
'config_path': '/etc/weewx/weewx.conf', 'WEEWX_ROOT_ORIG': '/etc/weewx', 
'path': '/etc/weewx/skins/DWD/dwdws', 'provider': 'DWD', 'model': 'HG', 
'prefix': '', 'map': ['100', '100', '900', '1000'], 'background': 'light'}
2024-01-14T10:56:58.989080+01:00 wetter weewxd-weewx[1591495]: INFO 
user.DWD: radar DWD_!_HG
2024-01-14T10:56:58.989800+01:00 wetter weewxd-weewx[1591495]: INFO 
user.DWD: radar {'provider': 'DWD', 'model': 'HG', 'path': 
'/etc/weewx/skins/DWD/dwdws', 'log_success': 'True', 'log_failure': 'True', 
'Station': ConfigObj({'debug': '0', 'WEEWX_ROOT': '/etc/weewx', 
'log_success': 'True', 'log_failure': 'True', 'version': '5.0.0', 
'config_path': '/etc/weewx/weewx.conf', 'WEEWX_ROOT_ORIG': '/etc/weewx', 
'path': '/etc/weewx/skins/DWD/dwdws', 'provider': 'DWD', 'model': 'HG', 
'easting': '7255594.98', 'northing': '-3424660.38', 'prefix': '', 
'latitude': '53.6059404', 'longitude': '11.3413982'}), 'Karte': 
ConfigObj({'debug': '0', 'WEEWX_ROOT': '/etc/weewx', 'log_success': 'True', 
'log_failure': 'True', 'version': '5.0.0', 'config_path': 
'/etc/weewx/weewx.conf', 'WEEWX_ROOT_ORIG': '/etc/weewx', 'path': 
'/etc/weewx/skins/DWD/dwdws', 'provider': 'DWD', 'model': 'HG', 'prefix': 
'', 'map': ['100', '100', '900', '1000'], 'background': 'light'})}
2024-01-14T10:56:58.990402+01:00 wetter weewxd-weewx[1591495]: INFO 
user.DWD.radar: {'provider': 'DWD', 'model': 'HG', 'path': 
'/etc/weewx/skins/DWD/dwdws', 'log_success': 'True', 'log_failure': 'True', 
'prefix': '', 'locations': ConfigObj({'Station': {'xy': (7255594.98, 
-3424660.38), 'prefix': '', 'latitude': 53.6059404, 'longitude': 
11.3413982}}), 'maps': ConfigObj({'Karte': ConfigObj({'debug': '0', 
'WEEWX_ROOT': '/etc/weewx', 'log_success': 'True', 'log_failure': 'True', 
'version': '5.0.0', 'config_path': '/etc/weewx/weewx.conf', 
'WEEWX_ROOT_ORIG': '/etc/weewx', 'path': '/etc/weewx/skins/DWD/dwdws', 
'provider': 'DWD', 'model': 'HG', 'prefix': '', 'map': [100, 100, 900, 
1000], 'background': 'light'})})}
2024-01-14T10:56:58.990999+01:00 wetter weewxd-weewx[1591495]: INFO 
user.DWD.base: 
thread 'DWD-Radar-DWD_HG' starting
2024-01-14T10:56:58.992436+01:00 wetter weewxd-weewx[1591495]: INFO 
user.DWD.db: thread 'DWDsave' starting
2024-01-14T10:56:58.992751+01:00 wetter weewxd-weewx[1591495]: INFO 
weewx.engine: StdConvert target unit is 0x10
dann
2024-01-14T10:56:59.116659+01:00 wetter weewxd-weewx[1591495]: INFO 
user.DWD.base: successfully downloaded 
https://api.open-meteo.com/v1/dwd-icon
2024-01-14T10:56:59.186680+01:00 wetter weewxd-weewx[1591495]: INFO 
user.DWD.base: 
successfully downloaded 
https://opendata.dwd.de/weather/radar/composite/hg/HG_LATEST_000.bz2
2024-01-14T10:56:59.629953+01:00 wetter weewxd-weewx[1591495]: ERROR 
user.DWD.base: thread 'DWD-Radar-DWD_HG': main loop OSError - cannot open 
resource
2024-01-14T10:56:59.638020+01:00 wetter weewxd-weewx[1591495]: INFO 
user.DWD.base: thread 'DWD-Radar-DWD_HG' stopped
2024-01-14T10:56:59.638678+01:00 wetter weewxd-weewx[1591495]: INFO 
weewx.engine: Clock error is -1.64 seconds (positive is fast)
2024-01-14T10:56:59.638766+01:00 wetter weewxd-weewx[1591495]: INFO 
weewx.engine: Using binding 'wx_binding' to database 'weewx'
2024-01-14T10:56:59.639274+01:00 wetter weewxd-weewx[1591495]: INFO 
weewx.manager: Starting backfill of daily summaries

und dann nichts mehr von -- > weatherservicesradar.py

gibt es schon ein Muster für contrycoords.txt

Danke
Hartmut
Karen K schrieb am Samstag, 13. Januar 2024 um 08:52:34 UTC+1:

> Und hier haben wir dann Anfänge einer Anleitung 
> .

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe fr

[weewx-user] Re: Creating the station model picture used in weather maps from WeeWX data

2023-06-04 Thread hesf...@gmail.com
Gutem Morgen,

wie kann ich die "SVG"  auf meiner Seite nutzen.
Der Versuch mit der SearchList-Erweiterung $presentweather aus 
Stationsmodell 

Beispiel:
$presentweather(ww=$current.ww,n=$hour($data_binding='dwd_binding').cloudcover.avg.raw,windDir=$current.windDir,windSpeed=$current.windSpeed,outTemp=$current.outTemp,dewpoint=$current.dewpoint,barometer=$span(hour_delta=3).barometer).station(format='DWD',width=40)
 


endet mit:

Jun  5 07:35:39 wetter weewx-weewx[762396] ERROR weewx.cheetahgenerator: 
  Traceback (most recent call last):
Jun  5 07:35:39 wetter weewx-weewx[762396] ERROR weewx.cheetahgenerator: 
File "/home/weewx/bin/weewx/cheetahgenerator.py", line 348, in 
generate
Jun  5 07:35:39 wetter weewx-weewx[762396] ERROR weewx.cheetahgenerator: 
  unicode_string = compiled_template.respond()
Jun  5 07:35:39 wetter weewx-weewx[762396] ERROR weewx.cheetahgenerator: 
File "_home_weewx_skins_Standard_indexRad_html_tmpl.py", line 513, 
in respond
Jun  5 07:35:39 wetter weewx-weewx[762396] ERROR weewx.cheetahgenerator: 
File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 
1708, in _handleCheetahInclude
Jun  5 07:35:39 wetter weewx-weewx[762396] ERROR weewx.cheetahgenerator: 
  self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
Jun  5 07:35:39 wetter weewx-weewx[762396] ERROR weewx.cheetahgenerator: 
File "_home_weewx_skins_Standard_links_forecast_inc.py", line 127, 
in respond
Jun  5 07:35:39 wetter weewx-weewx[762396] ERROR weewx.cheetahgenerator: 
File "/home/weewx/bin/user/weathercodes.py", line 1953, in 
presentweather
Jun  5 07:35:39 wetter weewx-weewx[762396] ERROR weewx.cheetahgenerator: 
  return PresentWeatherBinder(wwl=ww, n=n, night=night, 
lang=self.lang, ww_texts=self.ww_texts, wawal=wawa, **kwargs)
Jun  5 07:35:39 wetter weewx-weewx[762396] ERROR weewx.cheetahgenerator: 
File "/home/weewx/bin/user/weathercodes.py", line 1360, in __init__
Jun  5 07:35:39 wetter weewx-weewx[762396] ERROR weewx.cheetahgenerator: 
  if wwl.value_t[2]=='group_wmo_wawa':
Jun  5 07:35:39 wetter weewx-weewx[762396] ERROR weewx.cheetahgenerator: 
  TypeError: 'UnknownType' object is not subscriptable

in "home_weewx_skins_Standard_indexRad_html_tmpl.py"  habe ich das Beispiel 
eingefügt.
Meine Änderung nur in:

# sys.path.append('/usr/share/weewx')
sys.path.append('/home/weewx')

da WEEWX bei mir in /home/weewx liegt und nicht unter /usr/share/weewx

Die data_binding = 'dwd_binding' für DWD und die data_binding='wx_binding' 
für weewx existieren.

Gruß
Hartmut

Karen K schrieb am Mittwoch, 31. Mai 2023 um 21:59:43 UTC+2:

> I started enhancing the $presentweather tag to create an SVG picture 
> showing the actual readings of the station in the layout used in weather 
> maps. For the German Weather Service it looks like this:
>
> [image: station2.png]
> The WMO defined a slightly different layout, which can be created, too.
>
> For more information see:
>
>- Station model 
>
>- weewx-DWD  (which is not 
>limited to the DWD any more)
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f7c5b1fb-f94c-413b-8383-c56aab63ec1cn%40googlegroups.com.


Re: [weewx-user] Current Weather Conditions Weather Graphic

2022-10-01 Thread hesf...@gmail.com
supplement // Nachtrag

if the values in /wxgraphic/DATA/wxgraphic_weewx.txt  = in format 
""13:00:00 01.10.2022 10,1 9,7 10,1 96,0 9,5 998,3 langsam_fallend 11,3 S 
4,8 19,3  07:15:41 18:51:55
i.e. with spaces, then the value for windchill or heatindex is wrong
I changed this in config.txt as follows:

Die Werte in wxgraphic_weewx.txt mit Leerzeichen getrennt  und dazu noch 
als Komma-Werte gespeichert werden 
können diese Werte mit Komma und Punkt nicht  verglichen werden, dann ist 
das Ergebnis  für WindChill und HeatIndex nicht definiert oder falsch 
darum habe ich in der config.txt die folgenden Ergänzungen vorgenommen 
($windchill_us 
und $heatindex_us)
Beispiel bei CUSTOM

/**/
/* write_custom: This function writes your values onto a custom 500X80 
banner.*/
/*  imagecenteredtext($x, $y, $text, $size, $ttfsize, $color, $angle); 
   */
/**/
function write_custom() {

  // let's start by defining some global variables that will be passed 
between
  // functions. This is kind of clunky!
  // NOTE: IF YOU ADD ADDITIONAL COLORS YOU'LL NEED TO ADD THEM HERE TOO!
  global $color1, $color2, $color3, $color4, $color5, $date, $t_ime, $temp,
 $degree_units, $winds, $wind_units, $gust, $raintoday, $rain_units,
 $barom, $barom_units, $baromtrendwords, $dewpt, $humidity, 
$heatindex,
 $heat_index_threshold, $windchill, $wind_chill_threshold,
 $banner_icon_x, $banner_icon_y, $anti_alias,
 $windchill_us, $heatindex_us;

  // this section does the heat index and wind chill
  // it figures out what to show, wind chill, heatindex or nothing
  // depending upon your settings

  $windchill_us = number_format($windchill, 1, '.', '');
  $heatindex_us = number_format($heatindex, 1, '.', '');

  switch (TRUE){
  // if windchill is <= $wind_chill_threshold we'll output it
  case ($windchill_us <= $wind_chill_threshold):
   $feelslike = "Wind Chill: $windchill$degree_units";
   imagecenteredtext(90, 52, "$feelslike", 2, 8, $color3, 0);
  break;
  // if heat index >= $heat_index_threshold we'll output it
  case ($heatindex_us >= $heat_index_threshold):
   $feelslike = "Heat Idx: $heatindex$degree_units";
   imagecenteredtext(90, 52, "$feelslike", 2, 8, $color1, 0);
  break;
  } // end switch

---
There is certainly a better way, but for now it works

Gruss
Hartmut


steep...@btinternet.com schrieb am Freitag, 30. September 2022 um 21:49:07 
UTC+2:

> Hi Glen,
> I managed to do a sneaky update on my phone using your latest fix and I am 
> pleased to say it is all working now.
> Thanks for the prompt update and keep up the good work.
> Cheers,
> Ian
>
> On Friday, September 30, 2022 at 1:59:29 PM UTC+2 an oldman wrote:
>
>> the clientraw.txt.tmpl is from gjr80 WeeWX-WD skin
>> take a look at this page it might help 
>> https://saratoga-weather.org/wdparser/index.php?site=https%3A%2F%2Fsaratoga-weather.org&submit=Submit
>> On Friday, September 30, 2022 at 6:47:40 AM UTC-5 Glenn McKechnie wrote:
>>
>>> On 30/09/2022, an oldman  wrote: 
>>> > it's from saratoga-weather.org Legacy Weather PHP scripts Anole's 
>>> > wxgraphic.php script version 6.3 
>>> > the only way i found to get past that utf-8 for ° was to move it to 
>>> the php 
>>> > file 
>>>
>>> Yeah. I'll give it another go but it's fallen down the list somewhat :-) 
>>>
>>> > also i used the clientraw.txt file 
>>> > yes the $station.location was to long for type=avatar, but then i like 
>>> the 
>>> > banners better 
>>>
>>> Yep, banners for the win! 
>>>
>>> Can you send me a clientraw.txt file. It appears you aren't using the 
>>> icons but I can see if my changes will still work, and also make 
>>> better sense of what the code is referencing. 
>>>
>>> Thanks In Advance. 
>>>
>>> -- 
>>>
>>>
>>> Cheers 
>>> Glenn 
>>>
>>> rorpi - read only raspberry pi & various weewx addons 
>>> https://github.com/glennmckechnie 
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/7f287741-47ef-4b78-8b9e-978d1d8d5149n%40googlegroups.com.


Re: [weewx-user] Current Weather Conditions Weather Graphic

2022-09-30 Thread hesf...@gmail.com
Hallo,

in germany the wxgraphic_weewx.txt.tmpl =  
11:50:00,29.09.2022,13,3,12,8,13,3,80,0,9,9,999,0,langsam steigend,11,3, 
SSW,19,3, 0, 0, ,07:12:09,18:56:45
the error is ',' notation

i have it in wxgraphic.txt.temp and index.php (line 278) from ',' to ";" 
changed. 

now it works

[image: 192.168.38.png]


Hartmut
Glenn McKechnie schrieb am Freitag, 30. September 2022 um 11:37:03 UTC+2:

> Okay.
>
> Pushed a fix for that issue - and hopefully that was the issue!
>
> It retains the ability to display the current condition icons, if they
> are available, while ignoring the null field that is currently being
> sent.
>
> If that all works without issue, or all remains quiet, I'll roll that
> up as release v0.6.4
>
> v0.6.5 is patiently waiting in the queue. It offers the ability to
> pick up the units (barom, temp, wind, rain) directly from weewx rather
> than entering them by hand into skin.conf.
> ie;- the WeeWX way :-)
>
>
> On 30/09/2022, Glenn McKechnie  wrote:
> > That does help. Most definitely!
> >
> > I get a similar error message but it still generates the image,
> > regardless of curr_cond_icon setting
> >
> > What is different is that mine is a Warning, yours is Fatal so it
> > likely comes down to how strict php is set - in it's ini file
> >
> > PHP Notice: Undefined index: in
> > /tmp/var/www/html/weewx/wxgraphic/index.php on line 480
> > PHP Warning: imagecreatefrompng(): Filename cannot be empty in
> > /tmp/var/www/html/weewx/wxgraphic/index.php
> > on line 480
> >
> > I've had a look at that problem spot before, line 480 - looks like
> > I'm running with a few extra lines?? - but i couldn't see anything
> > obvious, and as it was running okay so I left it for later. Mea culpa.
> >
> > Looks like 'later' has now arrived!
> >
> > Your wxgraphic_weewx.txt output appears similar. I don't have AM in my
> > timestamp as I'm running 24hr time. Looks like the script compensates
> > for it.
> >
> > So Yes. It could well come down to my /etc/php/7.0/apache2/php.ini
> > settings masking it.
> >
> > error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
> > display_startup_errors = Off
> > log_errors = On
> >
> > But that aside, now has become later. I need to investigate and fix it.
> >
> > In the meantime I'll edit the repo and turn that off, with a note.
> >
> > Thanks for the heads up.
> >
> >
> >
> >
> >
> > On 30/09/2022, an oldman  wrote:
> >> see if this helps
> >> PHP Version: 8.1.10
> >> weewx 4.8.0 using weewx-sdr driver
> >>
> >> wxgraphic_weewx.txt has 08:55:00
> >> 
> AM,09/29/2022,48.8,45.0,45.0,73.8,40.8,30.1,Steady,3.1,ESE,0.0,4.0,,07:40:44,19:27:56
> >> skin.conf curr_cond_icon = 'yes'
> >> php log
> >> [30-Sep-2022 07:11:21 UTC] PHP Warning: Undefined array key "" in
> >> /var/www/html/weewx/wxgraphic/index.php on line 473
> >> [30-Sep-2022 07:11:21 UTC] PHP Fatal error: Uncaught ValueError: Path
> >> cannot be empty in /var/www/html/weewx/wxgraphic/index.php:473
> >> Stack trace:
> >> #0 /var/www/html/weewx/wxgraphic/index.php(473): imagecreatefrompng()
> >> #1 {main}
> >> thrown in /var/www/html/weewx/wxgraphic/index.php on line 473
> >>
> >> now if i change skin.conf curr_cond_icon = 'no' all works
> >>
> >> hope this helps
> >> On Friday, September 30, 2022 at 1:40:22 AM UTC-5 Glenn McKechnie wrote:
> >>
> >>> A road trip! Bonus points.
> >>>
> >>> I've added a troubleshooting section to the README at
> >>> https://github.com/glennmckechnie/weewx-WXgraphic
> >>>
> >>> Basically what was outlined in my last message but I've uploaded my
> >>> working wxgraphic_weewx.txt and config.txt to the
> >>> skins/WXgraphic/examples directory.
> >>>
> >>> I suspect wxgraphic_weewx.txt more than config.txt, but we shall see.
> >>>
> >>> My email address is in the header of skin.conf If you need to send
> >>> any files send them there.
> >>>
> >>> --
> >>>
> >>>
> >>> Cheers
> >>> Glenn
> >>>
> >>> rorpi - read only raspberry pi & various weewx addons
> >>> https://github.com/glennmckechnie
> >>>
> >>
> >> --
> >> You received this message because you are subscribed to the Google 
> Groups
> >> "weewx-user" group.
> >> To unsubscribe from this group and stop receiving emails from it, send 
> an
> >> email to weewx-user+...@googlegroups.com.
> >> To view this discussion on the web visit
> >> 
> https://groups.google.com/d/msgid/weewx-user/5d928a27-d9a1-4604-a934-aed14e368956n%40googlegroups.com
> .
> >>
> >
> >
> > --
> >
> >
> > Cheers
> > Glenn
> >
> > rorpi - read only raspberry pi & various weewx addons
> > https://github.com/glennmckechnie
> >
>
>
> -- 
>
>
> Cheers
> Glenn
>
> rorpi - read only raspberry pi & various weewx addons
> https://github.com/glennmckechnie
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/cee4ddf9-1feb-4f1

[weewx-user] Re: Blitzdetector AS3835 und i2c

2022-06-06 Thread hesf...@gmail.com
Sorry not AS3835 es ist der AS3935
by Python 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
 Hartmut

hesf...@gmail.com schrieb am Montag, 6. Juni 2022 um 08:16:01 UTC+2:

>
> Guten Tag,
> gibt es eine Möglichkeit einen Blitzdetector AS3835 anzusprechen
> unter 
> root@airpi:~# i2cdetect -y 1
>  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
> 00:  -- -- -- -- -- -- -- -- 
> 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
> 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
> 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
> 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
> 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
> 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
> 70: -- -- -- -- -- -- -- 77
> fehlt die Adresse 0x03 jedoch unter 
> root@airpi:~# i2cdetect -y -a 1
>  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
> 00: -- -- -- 03 -- -- -- -- -- -- -- -- -- -- -- -- 
> 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
> 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
> 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
> 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
> 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
> 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
> 70: -- -- -- -- -- -- -- 77 -- -- -- -- -- -- -- -- 
>
> angeschlossen sind ein AS3835 bei 0x03 und BMP 180 bei 0x77
>
> Danke Hartmut
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ae9c71bc-aa9f-404f-aef2-9e5eb37e7e88n%40googlegroups.com.


[weewx-user] Blitzdetector AS3835 und i2c

2022-06-05 Thread hesf...@gmail.com

Guten Tag,
gibt es eine Möglichkeit einen Blitzdetector AS3835 anzusprechen
unter 
root@airpi:~# i2cdetect -y 1
 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:  -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- 77
fehlt die Adresse 0x03 jedoch unter 
root@airpi:~# i2cdetect -y -a 1
 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: -- -- -- 03 -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- 77 -- -- -- -- -- -- -- -- 

angeschlossen sind ein AS3835 bei 0x03 und BMP 180 bei 0x77

Danke Hartmut

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/a3e73fa4-eda4-4509-a704-7254b107408dn%40googlegroups.com.


[weewx-user] Re: DWD Vorhersage

2022-05-08 Thread hesf...@gmail.com
Danke für die schnelle Antwort
"Die Warnung mit dem Zeitstempel" habe ich seit Beginn. wurde bisher von 
mir nicht weiter beachtet.

Danke 
Hartmut

kk44...@gmail.com schrieb am Montag, 9. Mai 2022 um 08:22:08 UTC+2:

> Die Fehlermeldungen habe ich auch. 
>
> Der Fehler bezüglich des Zertifikats ist ein Konfigurationsfehler beim 
> DWD. Die müssen ein neues Zertifikat einspielen. Vielleicht hilft es, sie 
> darauf hinzuweisen.
>
> Die Warnung mit dem Zeitstempel kann ich im Moment noch nicht einordnen.
>
> hesf...@gmail.com schrieb am Montag, 9. Mai 2022 um 07:29:12 UTC+2:
>
>> Hallo, 
>> seit dem 08.05.2022 erhalte ich kein Informationen von opendata.de
>>
>> info aus der wget-dwd.log
>>
>> "WARNUNG: Zeitstempel funktionieren nicht in Kombination mit der Option
>> »-O«.  Genauere Erläuterungen finden Sie im Handbuch.
>>
>> --2022-05-09 07:22:00--  
>> https://opendata.dwd.de/weather/text_forecasts/html/VHDL50_DWPH_LATEST_html
>> Auflösen des Hostnamens opendata.dwd.de (opendata.dwd.de)… 141.38.2.26, 
>> 141.38.2.22
>> Verbindungsaufbau zu opendata.dwd.de (opendata.dwd.de)|141.38.2.26|:443 
>> … verbunden.
>> FEHLER: Dem Zertifikat von »opendata.dwd.de« wird nicht vertraut.
>> FEHLER: Das Zertifikat von »opendata.dwd.de« ist abgelaufen.
>> Das ausgestellte Zertifikat ist nicht mehr gültig.
>> WARNUNG: Zeitstempel funktionieren nicht in Kombination mit der Option
>> »-O«.  Genauere Erläuterungen finden Sie im Handbuch.
>>
>> --2022-05-09 07:22:00--  
>> https://opendata.dwd.de/weather/text_forecasts/html/VHDL51_DWPH_LATEST_html
>> Auflösen des Hostnamens opendata.dwd.de (opendata.dwd.de)… 141.38.2.22, 
>> 141.38.2.26
>> Verbindungsaufbau zu opendata.dwd.de (opendata.dwd.de)|141.38.2.22|:443 
>> … verbunden.
>> FEHLER: Dem Zertifikat von »opendata.dwd.de« wird nicht vertraut.
>> FEHLER: Das Zertifikat von »opendata.dwd.de« ist abgelaufen.
>> Das ausgestellte Zertifikat ist nicht mehr gültig.
>> WARNUNG: Zeitstempel funktionieren nicht in Kombination mit der Option
>> »-O«.  Genauere Erläuterungen finden Sie im Handbuch."
>>
>> --2022-05-09 07:22:00--  
>> https://opendata.dwd.de/weather/text_forecasts/html/VHDL52_DWPH_LATEST_html
>> Auflösen des Hostnamens opendata.dwd.de (opendata.dwd.de)… 141.38.2.26, 
>> 141.38.2.22
>> Verbindungsaufbau zu opendata.dwd.de (opendata.dwd.de)|141.38.2.26|:443 
>> … verbunden.
>> FEHLER: Dem Zertifikat von »opendata.dwd.de« wird nicht vertraut.
>> FEHLER: Das Zertifikat von »opendata.dwd.de« ist abgelaufen.
>> Das ausgestellte Zertifikat ist nicht mehr gültig.
>> WARNUNG: Zeitstempel funktionieren nicht in Kombination mit der Option
>> »-O«.  Genauere Erläuterungen finden Sie im Handbuch.
>>
>> --2022-05-09 07:22:00--  
>> https://opendata.dwd.de/weather/text_forecasts/html/VHDL53_DWPH_LATEST_html
>> Auflösen des Hostnamens opendata.dwd.de (opendata.dwd.de)… 141.38.2.22, 
>> 141.38.2.26
>> Verbindungsaufbau zu opendata.dwd.de (opendata.dwd.de)|141.38.2.22|:443 
>> … verbunden.
>> FEHLER: Dem Zertifikat von »opendata.dwd.de« wird nicht vertraut.
>> FEHLER: Das Zertifikat von »opendata.dwd.de« ist abgelaufen.
>> Das ausgestellte Zertifikat ist nicht mehr gültig.
>> WARNUNG: Zeitstempel funktionieren nicht in Kombination mit der Option
>> »-O«.  Genauere Erläuterungen finden Sie im Handbuch. "
>>
>> Hartmut
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/fa860360-908c-47ae-aa64-bb48fb45e6c8n%40googlegroups.com.


[weewx-user] DWD Vorhersage

2022-05-08 Thread hesf...@gmail.com
Hallo, 
seit dem 08.05.2022 erhalte ich kein Informationen von opendata.de

info aus der wget-dwd.log

"WARNUNG: Zeitstempel funktionieren nicht in Kombination mit der Option
»-O«.  Genauere Erläuterungen finden Sie im Handbuch.

--2022-05-09 07:22:00-- 
 https://opendata.dwd.de/weather/text_forecasts/html/VHDL50_DWPH_LATEST_html
Auflösen des Hostnamens opendata.dwd.de (opendata.dwd.de)… 141.38.2.26, 
141.38.2.22
Verbindungsaufbau zu opendata.dwd.de (opendata.dwd.de)|141.38.2.26|:443 … 
verbunden.
FEHLER: Dem Zertifikat von »opendata.dwd.de« wird nicht vertraut.
FEHLER: Das Zertifikat von »opendata.dwd.de« ist abgelaufen.
Das ausgestellte Zertifikat ist nicht mehr gültig.
WARNUNG: Zeitstempel funktionieren nicht in Kombination mit der Option
»-O«.  Genauere Erläuterungen finden Sie im Handbuch.

--2022-05-09 07:22:00-- 
 https://opendata.dwd.de/weather/text_forecasts/html/VHDL51_DWPH_LATEST_html
Auflösen des Hostnamens opendata.dwd.de (opendata.dwd.de)… 141.38.2.22, 
141.38.2.26
Verbindungsaufbau zu opendata.dwd.de (opendata.dwd.de)|141.38.2.22|:443 … 
verbunden.
FEHLER: Dem Zertifikat von »opendata.dwd.de« wird nicht vertraut.
FEHLER: Das Zertifikat von »opendata.dwd.de« ist abgelaufen.
Das ausgestellte Zertifikat ist nicht mehr gültig.
WARNUNG: Zeitstempel funktionieren nicht in Kombination mit der Option
»-O«.  Genauere Erläuterungen finden Sie im Handbuch."

--2022-05-09 07:22:00-- 
 https://opendata.dwd.de/weather/text_forecasts/html/VHDL52_DWPH_LATEST_html
Auflösen des Hostnamens opendata.dwd.de (opendata.dwd.de)… 141.38.2.26, 
141.38.2.22
Verbindungsaufbau zu opendata.dwd.de (opendata.dwd.de)|141.38.2.26|:443 … 
verbunden.
FEHLER: Dem Zertifikat von »opendata.dwd.de« wird nicht vertraut.
FEHLER: Das Zertifikat von »opendata.dwd.de« ist abgelaufen.
Das ausgestellte Zertifikat ist nicht mehr gültig.
WARNUNG: Zeitstempel funktionieren nicht in Kombination mit der Option
»-O«.  Genauere Erläuterungen finden Sie im Handbuch.

--2022-05-09 07:22:00-- 
 https://opendata.dwd.de/weather/text_forecasts/html/VHDL53_DWPH_LATEST_html
Auflösen des Hostnamens opendata.dwd.de (opendata.dwd.de)… 141.38.2.22, 
141.38.2.26
Verbindungsaufbau zu opendata.dwd.de (opendata.dwd.de)|141.38.2.22|:443 … 
verbunden.
FEHLER: Dem Zertifikat von »opendata.dwd.de« wird nicht vertraut.
FEHLER: Das Zertifikat von »opendata.dwd.de« ist abgelaufen.
Das ausgestellte Zertifikat ist nicht mehr gültig.
WARNUNG: Zeitstempel funktionieren nicht in Kombination mit der Option
»-O«.  Genauere Erläuterungen finden Sie im Handbuch. "

Hartmut

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/bd35ee6d-3bb0-44ab-8157-508ef93cc7e8n%40googlegroups.com.


[weewx-user] DWD start downloading air quality data from Umweltbundesamt

2022-03-06 Thread hesf...@gmail.com
Guten Morgen,
Zwei Fragen:
1. Wie kann ich den "pv_factor' in die Vorhersage integrieren?
2. Wie erfolgt die Abfrage bei UmweltBundesAmt 

Hartmut

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/611409b9-9afb-419d-b9f2-48e9ec064245n%40googlegroups.com.


[weewx-user] Re: DWD forecast by Deutscher Wetterdienst

2022-02-11 Thread hesf...@gmail.com
Danke, es läuft

root@wee2:/home/weewx/skins/DWD# ./dwd-mosmix 
--config=/home/weewx/skins/DWD/dwd.conf --hourly 10162 --verbose
Using configuration file /home/weewx/skins/DWD/dwd.conf
-- configuration data --
log success:True
log failure:True
target path:/home/weewx/skins/DWD/dwd
horiz. tab: True
vertical tab:   False
icon set:   5
coordinates:lat 53.6059563 lon 11.341407 alt 53.6
ephem.Observer: 

successfully downloaded 
https://opendata.dwd.de/weather/local_forecasts/mos/MOSMIX_L/single_stations/10162/kml/MOSMIX_L_LATEST_10162.kmz
-- MOSMIX_L_2022021109_10162.kml --
processing KML file
KML file processed, 1 placemarks found

Danke Hartmut

kk44...@gmail.com schrieb am Freitag, 11. Februar 2022 um 15:07:07 UTC+1:

> Ich habe es gefunden. Pyephem erwartet die Koordinaten in Radiant und 
> nicht in Grad, wie ich sie übergeben habe. Ich habe einen Fix hochgeladen.
>
> hesf...@gmail.com schrieb am Freitag, 11. Februar 2022 um 14:38:05 UTC+1:
>
>> Nachtrag nach Neustart
>> root@wee2:/home/weewx/skins/DWD# ./dwd-mosmix 
>> --config=/home/weewx/skins/DWD/dwd.conf --hourly 10162
>> Using configuration file /home/weewx/skins/DWD/dwd.conf
>> error calculation sunrise, sunset: 'Sun' transits below the horizon at 
>> 2022/2/11 16:54:56
>> error calculation sunrise, sunset: 'Sun' transits below the horizon at 
>> 2022/2/11 16:54:56
>> error calculation sunrise, sunset: 'Sun' transits below the horizon at 
>> 2022/2/11 16:54:56
>> error calculation sunrise, sunset: 'Sun' is still above the horizon at 
>> 2022/2/12 04:54:56
>> error calculation sunrise, sunset: 'Sun' is still above the horizon at 
>> 2022/2/12 04:54:56
>> error calculation sunrise, sunset: 'Sun' is still above the horizon at 
>> 2022/2/12 04:54:56
>> error calculation sunrise, sunset: 'Sun' is still above the horizon at 
>> 2022/2/12 04:54:56
>> error calculation sunrise, sunset: 'Sun' is still above the horizon at 
>> 2022/2/12 04:54:56
>> error calculation sunrise, sunset: 'Sun' is still above the horizon at 
>> 2022/2/12 04:54:56
>> error calculation sunrise, sunset: 'Sun' is still above the horizon at 
>> 2022/2/12 04:54:56
>> error calculation sunrise, sunset: 'Sun' is still above the horizon at 
>> 2022/2/12 04:54:56
>>  wenn ich die Werte für  lat und log vertausche kein Fehlermeldung
>>
>> Hartmut
>>
>> hesf...@gmail.com schrieb am Freitag, 11. Februar 2022 um 14:31:13 UTC+1:
>>
>>> Die Einstellung für Breitengrad (latitude) = 53.605956 (N) und 
>>> Längengrad (longitude) = 11.341407 (E) steht in der weewx.conf
>>>
>>> [Station]
>>>
>>> # Description of the station location
>>> location = Klein Rogahn, Fritz-Reuter-Ring 38
>>>
>>> # Latitude and longitude in decimal degrees
>>> latitude = 53.6059563
>>> longitude = 11.341407
>>>
>>> # Altitude of the station, with unit it is in. This is downloaded 
>>> from
>>> # from the station if the hardware supports it.
>>> altitude = 53.6, meter
>>>
>>>
>>> Stationsdaten ♦ 
>>>
>>> Hardware Vantage Pro2 
>>> geogr. Breite 53° 36.36' N 
>>> geogr. Länge 011° 20.48' O 
>>> Höhe ü. NN 53 m 
>>> Server-Laufzeit  37 Tage, 8 Stunden, 5 Minuten 
>>> WeeWX-Laufzeit 0 Tage, 7 Stunden, 30 Minuten 
>>> WeeWX-Version 4.6.2 
>>> Skin  Seasons 4.6.2
>>>
>>> Hartmut
>>> kk44...@gmail.com schrieb am Freitag, 11. Februar 2022 um 13:42:35 
>>> UTC+1:
>>>
>>>> Vielen Dank für die Hinweise. Die fehlenden Tags habe ich ergänzt. Bei 
>>>> der Berechnung von
>>>> Sonnenaufgang und Sonnenuntergang habe ich eine Fehlerbehandlung 
>>>> ergänzt. Mir ist aber
>>>> trotzdem nicht klar, wie er auf die Idee kommt, daß wir am 12.2.2022 
>>>> 04:54:56 Polartag
>>>> haben. Stimmen die Stationskoordinaten in weewx.conf?
>>>>
>>>> hesf...@gmail.com schrieb am Freitag, 11. Februar 2022 um 08:20:45 
>>>> UTC+1:
>>>>
>>>>> Guten Morgen, 
>>>>> die Datei dwd-mosmix 
>>>>> ./dwd-mosmix --config=/home/weewx/skins/DWD/dwd.conf --hourly 
>>>>> --icon-set="dwd" 10162
>>>>>
>>>>> erzeugt den Fehler
>>>>>
>>>>> Using confi

[weewx-user] Re: DWD forecast by Deutscher Wetterdienst

2022-02-11 Thread hesf...@gmail.com
Nachtrag nach Neustart
root@wee2:/home/weewx/skins/DWD# ./dwd-mosmix 
--config=/home/weewx/skins/DWD/dwd.conf --hourly 10162
Using configuration file /home/weewx/skins/DWD/dwd.conf
error calculation sunrise, sunset: 'Sun' transits below the horizon at 
2022/2/11 16:54:56
error calculation sunrise, sunset: 'Sun' transits below the horizon at 
2022/2/11 16:54:56
error calculation sunrise, sunset: 'Sun' transits below the horizon at 
2022/2/11 16:54:56
error calculation sunrise, sunset: 'Sun' is still above the horizon at 
2022/2/12 04:54:56
error calculation sunrise, sunset: 'Sun' is still above the horizon at 
2022/2/12 04:54:56
error calculation sunrise, sunset: 'Sun' is still above the horizon at 
2022/2/12 04:54:56
error calculation sunrise, sunset: 'Sun' is still above the horizon at 
2022/2/12 04:54:56
error calculation sunrise, sunset: 'Sun' is still above the horizon at 
2022/2/12 04:54:56
error calculation sunrise, sunset: 'Sun' is still above the horizon at 
2022/2/12 04:54:56
error calculation sunrise, sunset: 'Sun' is still above the horizon at 
2022/2/12 04:54:56
error calculation sunrise, sunset: 'Sun' is still above the horizon at 
2022/2/12 04:54:56
 wenn ich die Werte für  lat und log vertausche kein Fehlermeldung

Hartmut

hesf...@gmail.com schrieb am Freitag, 11. Februar 2022 um 14:31:13 UTC+1:

> Die Einstellung für Breitengrad (latitude) = 53.605956 (N) und Längengrad 
> (longitude) = 11.341407 (E) steht in der weewx.conf
>
> [Station]
>
> # Description of the station location
> location = Klein Rogahn, Fritz-Reuter-Ring 38
>
> # Latitude and longitude in decimal degrees
> latitude = 53.6059563
> longitude = 11.341407
>
> # Altitude of the station, with unit it is in. This is downloaded from
> # from the station if the hardware supports it.
> altitude = 53.6, meter
>
>
> Stationsdaten ♦ 
>
> Hardware Vantage Pro2 
> geogr. Breite 53° 36.36' N 
> geogr. Länge 011° 20.48' O 
> Höhe ü. NN 53 m 
> Server-Laufzeit  37 Tage, 8 Stunden, 5 Minuten 
> WeeWX-Laufzeit 0 Tage, 7 Stunden, 30 Minuten 
> WeeWX-Version 4.6.2 
> Skin  Seasons 4.6.2
>
> Hartmut
> kk44...@gmail.com schrieb am Freitag, 11. Februar 2022 um 13:42:35 UTC+1:
>
>> Vielen Dank für die Hinweise. Die fehlenden Tags habe ich ergänzt. Bei 
>> der Berechnung von
>> Sonnenaufgang und Sonnenuntergang habe ich eine Fehlerbehandlung ergänzt. 
>> Mir ist aber
>> trotzdem nicht klar, wie er auf die Idee kommt, daß wir am 12.2.2022 
>> 04:54:56 Polartag
>> haben. Stimmen die Stationskoordinaten in weewx.conf?
>>
>> hesf...@gmail.com schrieb am Freitag, 11. Februar 2022 um 08:20:45 UTC+1:
>>
>>> Guten Morgen, 
>>> die Datei dwd-mosmix 
>>> ./dwd-mosmix --config=/home/weewx/skins/DWD/dwd.conf --hourly 
>>> --icon-set="dwd" 10162
>>>
>>> erzeugt den Fehler
>>>
>>> Using configuration file /home/weewx/skins/DWD/dwd.conf
>>> Traceback (most recent call last):
>>>   File "/home/weewx/skins/DWD/./dwd-mosmix", line 956, in 
>>> 
>>> dwd.write_html(mos,['TTT','FF','DD','RR1c','R101','','Rad1h'],options.dry_run,range=11,lang=options.lang)
>>>   File "/home/weewx/skins/DWD/./dwd-mosmix", line 543, in write_html
>>> rising = self.thislocation.next_rising(self.sun)
>>>   File "/usr/lib/python3/dist-packages/ephem/__init__.py", line 497, in 
>>> next_rising
>>> return self._riset_helper(body, start, use_center, True, False)
>>>   File "/usr/lib/python3/dist-packages/ephem/__init__.py", line 472, in 
>>> _riset_helper
>>> d0 = visit_antitransit()
>>>   File "/usr/lib/python3/dist-packages/ephem/__init__.py", line 421, in 
>>> visit_antitransit
>>> raise AlwaysUpError('%r is still above the horizon at %s'
>>> ephem.AlwaysUpError: 'Sun' is still above the horizon at 2022/2/12 
>>> 04:54:56
>>>
>>> desweiteren fehlt bei
>>> OBS_LABEL = {
>>> 'ww':('','',''),
>>> 'TTT':('','Temperatur 
>>> 2m','°C'),
>>> 'TTTmin':('','Maximaltemperatur','°C'),
>>> 'TTTmax':('','Minimaltemperatur','°C'),
>>> 'TTTavg':('','Durchschnittstemperatur','°C'),
>>> 'T5cm':('','Temperatur 
>>> 5cm','°C'),
>>> 'Td':('','Taupunkt 
>>> 2m','°C'),
>>> 'TG':('','Minimaltemperatur 
>>> 5cm','°C'),
>>> 'TM':('','Durchschnittstemperatur','°C'),
>>> 'TN':('','Minimaltemperatur','°C'),
>>> 'TX':('','Maximaltemperatur','°C'),
>>>
>>> 
>>>
>>> Hartmut
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/1e34051c-b7d0-45cd-b4ce-d28b26a615d8n%40googlegroups.com.


[weewx-user] Re: DWD forecast by Deutscher Wetterdienst

2022-02-11 Thread hesf...@gmail.com
Die Einstellung für Breitengrad (latitude) = 53.605956 (N) und Längengrad 
(longitude) = 11.341407 (E) steht in der weewx.conf

[Station]

# Description of the station location
location = Klein Rogahn, Fritz-Reuter-Ring 38

# Latitude and longitude in decimal degrees
latitude = 53.6059563
longitude = 11.341407

# Altitude of the station, with unit it is in. This is downloaded from
# from the station if the hardware supports it.
altitude = 53.6, meter


Stationsdaten ♦ 

Hardware Vantage Pro2 
geogr. Breite 53° 36.36' N 
geogr. Länge 011° 20.48' O 
Höhe ü. NN 53 m 
Server-Laufzeit  37 Tage, 8 Stunden, 5 Minuten 
WeeWX-Laufzeit 0 Tage, 7 Stunden, 30 Minuten 
WeeWX-Version 4.6.2 
Skin  Seasons 4.6.2

Hartmut
kk44...@gmail.com schrieb am Freitag, 11. Februar 2022 um 13:42:35 UTC+1:

> Vielen Dank für die Hinweise. Die fehlenden Tags habe ich ergänzt. Bei der 
> Berechnung von
> Sonnenaufgang und Sonnenuntergang habe ich eine Fehlerbehandlung ergänzt. 
> Mir ist aber
> trotzdem nicht klar, wie er auf die Idee kommt, daß wir am 12.2.2022 
> 04:54:56 Polartag
> haben. Stimmen die Stationskoordinaten in weewx.conf?
>
> hesf...@gmail.com schrieb am Freitag, 11. Februar 2022 um 08:20:45 UTC+1:
>
>> Guten Morgen, 
>> die Datei dwd-mosmix 
>> ./dwd-mosmix --config=/home/weewx/skins/DWD/dwd.conf --hourly 
>> --icon-set="dwd" 10162
>>
>> erzeugt den Fehler
>>
>> Using configuration file /home/weewx/skins/DWD/dwd.conf
>> Traceback (most recent call last):
>>   File "/home/weewx/skins/DWD/./dwd-mosmix", line 956, in 
>> 
>> dwd.write_html(mos,['TTT','FF','DD','RR1c','R101','','Rad1h'],options.dry_run,range=11,lang=options.lang)
>>   File "/home/weewx/skins/DWD/./dwd-mosmix", line 543, in write_html
>> rising = self.thislocation.next_rising(self.sun)
>>   File "/usr/lib/python3/dist-packages/ephem/__init__.py", line 497, in 
>> next_rising
>> return self._riset_helper(body, start, use_center, True, False)
>>   File "/usr/lib/python3/dist-packages/ephem/__init__.py", line 472, in 
>> _riset_helper
>> d0 = visit_antitransit()
>>   File "/usr/lib/python3/dist-packages/ephem/__init__.py", line 421, in 
>> visit_antitransit
>> raise AlwaysUpError('%r is still above the horizon at %s'
>> ephem.AlwaysUpError: 'Sun' is still above the horizon at 2022/2/12 
>> 04:54:56
>>
>> desweiteren fehlt bei
>> OBS_LABEL = {
>> 'ww':('','',''),
>> 'TTT':('','Temperatur 
>> 2m','°C'),
>> 'TTTmin':('','Maximaltemperatur','°C'),
>> 'TTTmax':('','Minimaltemperatur','°C'),
>> 'TTTavg':('','Durchschnittstemperatur','°C'),
>> 'T5cm':('','Temperatur 
>> 5cm','°C'),
>> 'Td':('','Taupunkt 2m','°C'),
>> 'TG':('','Minimaltemperatur 
>> 5cm','°C'),
>> 'TM':('','Durchschnittstemperatur','°C'),
>> 'TN':('','Minimaltemperatur','°C'),
>> 'TX':('','Maximaltemperatur','°C'),
>>
>> 
>>
>> Hartmut
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/85423c87-ed52-4d42-be90-435013130245n%40googlegroups.com.


[weewx-user] DWD forecast by Deutscher Wetterdienst

2022-02-10 Thread hesf...@gmail.com
Guten Morgen, 
die Datei dwd-mosmix 
./dwd-mosmix --config=/home/weewx/skins/DWD/dwd.conf --hourly 
--icon-set="dwd" 10162

erzeugt den Fehler

Using configuration file /home/weewx/skins/DWD/dwd.conf
Traceback (most recent call last):
  File "/home/weewx/skins/DWD/./dwd-mosmix", line 956, in 

dwd.write_html(mos,['TTT','FF','DD','RR1c','R101','','Rad1h'],options.dry_run,range=11,lang=options.lang)
  File "/home/weewx/skins/DWD/./dwd-mosmix", line 543, in write_html
rising = self.thislocation.next_rising(self.sun)
  File "/usr/lib/python3/dist-packages/ephem/__init__.py", line 497, in 
next_rising
return self._riset_helper(body, start, use_center, True, False)
  File "/usr/lib/python3/dist-packages/ephem/__init__.py", line 472, in 
_riset_helper
d0 = visit_antitransit()
  File "/usr/lib/python3/dist-packages/ephem/__init__.py", line 421, in 
visit_antitransit
raise AlwaysUpError('%r is still above the horizon at %s'
ephem.AlwaysUpError: 'Sun' is still above the horizon at 2022/2/12 04:54:56

desweiteren fehlt bei
OBS_LABEL = {
'ww':('','',''),
'TTT':('','Temperatur 
2m','°C'),
'TTTmin':('','Maximaltemperatur','°C'),
'TTTmax':('','Minimaltemperatur','°C'),
'TTTavg':('','Durchschnittstemperatur','°C'),
'T5cm':('','Temperatur 
5cm','°C'),
'Td':('','Taupunkt 2m','°C'),
'TG':('','Minimaltemperatur 
5cm','°C'),
'TM':('','Durchschnittstemperatur','°C'),
'TN':('','Minimaltemperatur','°C'),
'TX':('','Maximaltemperatur','°C'),



Hartmut

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5958ab74-5db1-4bff-981f-1061e49dcad1n%40googlegroups.com.


[weewx-user] Re: Weather Forecast from Deutscher Wetterdienst (DWD)

2022-02-09 Thread hesf...@gmail.com
in der Datei dwd-mosmix fehlt  in Zeile 448 bis 457

Der Aufruf von /usr/local/bin/dwd-mosmix 
--config=/home/weewx/skins/DWD/dwd.conf --daily --hourly 10162
erzeugt folgenden Fehler
Using configuration file /home/weewx/skins/DWD/dwd.conf
Traceback (most recent call last):
  File "/usr/local/bin/dwd-mosmix", line 941, in 

dwd.write_html(mos,['TTT','FF','DD','RR1c','R101',''],options.dry_run,range=11,lang=options.lang)
  File "/usr/local/bin/dwd-mosmix", line 540, in write_html
rising = self.thislocation.next_rising(self.sun)
  File "/usr/lib/python3/dist-packages/ephem/__init__.py", line 497, in 
next_rising
return self._riset_helper(body, start, use_center, True, False)
  File "/usr/lib/python3/dist-packages/ephem/__init__.py", line 472, in 
_riset_helper
d0 = visit_antitransit()
  File "/usr/lib/python3/dist-packages/ephem/__init__.py", line 421, in 
visit_antitransit
raise AlwaysUpError('%r is still above the horizon at %s'
ephem.AlwaysUpError: 'Sun' is still above the horizon at 2022/2/10 04:54:56

die Datei dwd.conf hat folgenden Inhalt

[Station]
latitude = 53.6059563
longitude = 11.341407
altitude = 53.6, meter

[DeutscherWetterdienst]
path='/home/weewx/skins/DWD/dwd'
[[warning]]
icons='xicons/dwd_icons'
states='Mecklenburg-Vorpommern'
[[[counties]]]
'Kreis Ludwigslust-Parchim - West'='LWL'
'Kreis Ludwigslust-Parchim - Ost'='PCH'
[[[cities]]]
'Gemeinde Klein Rogahn'='GKR'
'Stadt Schwerin'='SN'

[[forecast]]
config='/home/weewx/skins/DWD/dwd.conf'
icons='xicons/dwd'
location = 'Schwerin'
orientation = h
icon_set = dwd

Gruss Hartmut

kk44...@gmail.com schrieb am Donnerstag, 3. Februar 2022 um 21:15:23 UTC+1:

> miwa...@googlemail.com schrieb am Donnerstag, 3. Februar 2022 um 17:25:18 
> UTC+1:
>
>> Noch ein Nachtrag bzgl. : Stattdessen sollte man besser eine 
>> style-Anpassung machen, etwa
>> 
>> um die Zeilenumbrüche zu erhalten. So habe ich das jetzt für mich gelöst.
>>
>> Ich nutze es so, daß die Zeilenumbrüche gerade *nicht* erhalten bleiben 
> sollen. Vielmehr soll der Text vom Browser entsprechend der Breite des 
> Bildschirms neu umgebrochen werden. Deshalb entfernt html2ent.ansi  
> und , das ansonsten bewirken würde, daß die Zeilenumbrüche erhalten 
> bleiben.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/1a267523-017f-41d1-9e60-4cf8c233e23dn%40googlegroups.com.


[weewx-user] Re: Weather Forecast from Deutscher Wetterdienst (DWD)

2022-02-09 Thread hesf...@gmail.com
Hallo in der neuen Version von dwd-mosmix fehlen in


OBS_LABEL = { 
'ww':('','',''), 
'TTT':('','Temperatur 2m','°C'), 
'TTTmin':('','Maximaltemperatur','°C'), 
'TTTmax':('','Minimaltemperatur','°C'), 
'TTTavg':('','Durchschnittstemperatur',
'°C'), 
'T5cm':('','Temperatur 5cm','°C'), 
'Td':('','Taupunkt 2m','°C'), 
'TG':('','Minimaltemperatur 5cm','°C'), 
'TM':('','Durchschnittstemperatur','°C'
), 
'TN':('','Minimaltemperatur','°C'), 
'TX':('','Maximaltemperatur','°C'),
'FF':('','Wind','km/h'),

und beim Aufruf von 
/usr/local/bin/dwd-mosmix --config=/home/weewx/skins/DWD/dwd.conf --daily 
--hourly 10162
folgt der Fehler
Using configuration file /home/weewx/skins/DWD/dwd.conf
Traceback (most recent call last):
  File "/usr/local/bin/dwd-mosmix", line 941, in 

dwd.write_html(mos,['TTT','FF','DD','RR1c','R101',''],options.dry_run,range=11,lang=options.lang)
  File "/usr/local/bin/dwd-mosmix", line 540, in write_html
rising = self.thislocation.next_rising(self.sun)
  File "/usr/lib/python3/dist-packages/ephem/__init__.py", line 497, in 
next_rising
return self._riset_helper(body, start, use_center, True, False)
  File "/usr/lib/python3/dist-packages/ephem/__init__.py", line 472, in 
_riset_helper
d0 = visit_antitransit()
  File "/usr/lib/python3/dist-packages/ephem/__init__.py", line 421, in 
visit_antitransit
raise AlwaysUpError('%r is still above the horizon at %s'
ephem.AlwaysUpError: 'Sun' is still above the horizon at 2022/2/10 04:54:56

die dwd.conf hat folgenden Inhalt 

[Station]
latitude = 53.6059563
longitude = 11.341407
altitude = 53.6, meter

[DeutscherWetterdienst]
path='/home/weewx/skins/DWD/dwd'
[[warning]]
icons='xicons/dwd_icons'
states='Mecklenburg-Vorpommern'
[[[counties]]]
'Kreis Ludwigslust-Parchim - West'='LWL'
'Kreis Ludwigslust-Parchim - Ost'='PCH'
[[[cities]]]
'Gemeinde Klein Rogahn'='GKR'
'Stadt Schwerin'='SN'

[[forecast]]
config='/home/weewx/skins/DWD/dwd.conf'
icons='xicons/dwd'
location = 'Schwerin'
orientation = h
icon_set = dwd

Hartmut
kk44...@gmail.com schrieb am Donnerstag, 3. Februar 2022 um 21:15:23 UTC+1:

> miwa...@googlemail.com schrieb am Donnerstag, 3. Februar 2022 um 17:25:18 
> UTC+1:
>
>> Noch ein Nachtrag bzgl. : Stattdessen sollte man besser eine 
>> style-Anpassung machen, etwa
>> 
>> um die Zeilenumbrüche zu erhalten. So habe ich das jetzt für mich gelöst.
>>
>> Ich nutze es so, daß die Zeilenumbrüche gerade *nicht* erhalten bleiben 
> sollen. Vielmehr soll der Text vom Browser entsprechend der Breite des 
> Bildschirms neu umgebrochen werden. Deshalb entfernt html2ent.ansi  
> und , das ansonsten bewirken würde, daß die Zeilenumbrüche erhalten 
> bleiben.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/71464533-7edd-4a34-bce9-0f91877398afn%40googlegroups.com.


[weewx-user] Re: Weather Forecast from Deutscher Wetterdienst (DWD)

2022-01-30 Thread hesf...@gmail.com
Ja in cron.hourly

# Soll statt dwd-warnings dwd-cap-warnings verwendet werden,
# hier das Kommentarzeichen entfernen und dafuer eines vor
# die Zeile mit dwd-warnings setzen
/home/weewx/skins/DWD/dwd-cap-warnings --resolution=city 2>/dev/null 
>/dev/null

/home/weewx/skins/DWD/dwd-cap-warnings --resolution=county 2>/dev/null 
>/dev/null

# Fuer Wettervorhersagen X durch den Stationscode
# ersetzen und das Kommentarzeichen entfernen.
/home/weewx/skins/DWD/dwd-mosmix 10162 2>/dev/null >/dev/null

/home/weewx/skins/DWD/dwd-mosmix N8326 2>/dev/null >/dev/null

Wenn ich .dwd in /etc/cron.hourly/dwd direkt starte läuft es

Hartmut
kk44...@gmail.com schrieb am Sonntag, 30. Januar 2022 um 16:34:33 UTC+1:

> Wenn ich es richtig sehe, müssen die Aufrufe in dem Fall lauten:
> /home/weewx/skins/DWD/dwd-cap-warnings
> /home/weewx/skins/DWD/dwd-mosmix
>
> hesf...@gmail.com schrieb am Sonntag, 30. Januar 2022 um 16:25:07 UTC+1:
>
>> Hallo Per Hand
>> root@wetter:/home/weewx/skins/DWD# ./dwd-cap-warnings --resolution=county 
>> --verbose
>> Using test configuration
>> -- configuration data --
>> log success:   True
>> log failure:   True
>> status url:
>> https://opendata.dwd.de/weather/alerts/cap/DISTRICT_CELLS_STAT
>> diff msgs url: 
>> https://opendata.dwd.de/weather/alerts/cap/DISTRICT_CELLS_DIFF
>> filter area:   {'Kreis Ludwigslust-Parchim - West': 'LWL', 'Kreis 
>> Ludwigslust-Parchim - Ost': 'PCH'}
>> target path:   /home/weewx/skins/DWD/dwd
>> 
>> about to download zip file list from 
>> https://opendata.dwd.de/weather/alerts/cap/DISTRICT_CELLS_STAT
>> zip file list successfully downloaded
>> processing file 
>> Z_CAP_C_EDZW_LATEST_PVW_STATUS_PREMIUMCELLS_DISTRICT_DE.zip
>> about to download 
>> https://opendata.dwd.de/weather/alerts/cap/DISTRICT_CELLS_STAT/Z_CAP_C_EDZW_LATEST_PVW_STATUS_PREMIUMCELLS_DISTRICT_DE.zip
>> successfully downloaded 
>> https://opendata.dwd.de/weather/alerts/cap/DISTRICT_CELLS_STAT/Z_CAP_C_EDZW_LATEST_PVW_STATUS_PREMIUMCELLS_DISTRICT_DE.zip
>> processing CAP file 
>> 2.49.0.1.276.0.DWD.PVW.164354046.6e527fea-c994-4ed5-8aaf-6d81178e0ec7.DEU.xml
>> CAP file 
>> 2.49.0.1.276.0.DWD.PVW.164354046.6e527fea-c994-4ed5-8aaf-6d81178e0ec7.DEU.xml
>>  
>> processed
>> processing CAP file 
>> 2.49.0.1.276.0.DWD.PVW.164354046.98140978-a707-499d-9d8f-be026d285ba4.DEU.xml
>> CAP file 
>> 2.49.0.1.276.0.DWD.PVW.164354046.98140978-a707-499d-9d8f-be026d285ba4.DEU.xml
>>  
>> processed
>> processing CAP file 
>> 2.49.0.1.276.0.DWD.PVW.164354046.d25723ce-ff5d-4f6c-bb66-13c8050eaccf.DEU.xml
>> CAP file 
>> 2.49.0.1.276.0.DWD.PVW.164354046.d25723ce-ff5d-4f6c-bb66-13c8050eaccf.DEU.xml
>>  
>> processed
>> processing CAP file 
>> 2.49.0.1.276.0.DWD.PVW.164354046.d68ac4d3-9f91-43a1-87e2-7de27282510d.DEU.xml
>> CAP file 
>> 2.49.0.1.276.0.DWD.PVW.164354046.d68ac4d3-9f91-43a1-87e2-7de27282510d.DEU.xml
>>  
>> processed
>> processing CAP file 
>> 2.49.0.1.276.0.DWD.PVW.164354238.eb18b1ce-4054-489a-ad40-2963d6ad77e5.DEU.xml
>> CAP file 
>> 2.49.0.1.276.0.DWD.PVW.164354238.eb18b1ce-4054-489a-ad40-2963d6ad77e5.DEU.xml
>>  
>> processed
>> processing CAP file 
>> 2.49.0.1.276.0.DWD.PVW.164354340.901c16e1-e63b-44f7-a995-9024a8d0df52.DEU.xml
>> CAP file 
>> 2.49.0.1.276.0.DWD.PVW.164354340.901c16e1-e63b-44f7-a995-9024a8d0df52.DEU.xml
>>  
>> processed
>> processing CAP file 
>> 2.49.0.1.276.0.DWD.PVW.164354238.f6387e0e-1914-4c4a-8a19-970c584184ed.DEU.xml
>> CAP file 
>> 2.49.0.1.276.0.DWD.PVW.164354238.f6387e0e-1914-4c4a-8a19-970c584184ed.DEU.xml
>>  
>> processed
>> processing CAP file 
>> 2.49.0.1.276.0.DWD.PVW.164354274.e43a6bd4-fa23-4b42-bc58-807381a78fd0.DEU.xml
>> CAP file 
>> 2.49.0.1.276.0.DWD.PVW.164354274.e43a6bd4-fa23-4b42-bc58-807381a78fd0.DEU.xml
>>  
>> processed
>> processing CAP file 
>> 2.49.0.1.276.0.DWD.PVW.164354304.aec9bbd2-48fb-4802-87ab-6c1f2379fd81.DEU.xml
>> CAP file 
>> 2.49.0.1.276.0.DWD.PVW.164354304.aec9bbd2-48fb-4802-87ab-6c1f2379fd81.DEU.xml
>>  
>> processed
>> processing CAP file 
>> 2.49.0.1.276.0.DWD.PVW.164353164.4a6ec449-0f59-44de-9762-e26c98d582c2.DEU.xml
>> CAP file 
>> 2.49.0.1.276.0.DWD.PVW.164353164.4a6ec449-0f59-44de-9762-e26c98d582c2.DEU.xml
>>  
>> processed
>> processing CAP file 
>> 2.49.0.1.276.0.DWD.PVW.16435397

[weewx-user] Re: Weather Forecast from Deutscher Wetterdienst (DWD)

2022-01-30 Thread hesf...@gmail.com
W.164345538.e371a8c1-68b0-4758-a3d9-3efa27bb6473.DEU.xml
 
processed
processing CAP file 
2.49.0.1.276.0.DWD.PVW.164354052.c044a4b5-7e58-45a1-a705-8c5fd9ee0973.DEU.xml
CAP file 
2.49.0.1.276.0.DWD.PVW.164354052.c044a4b5-7e58-45a1-a705-8c5fd9ee0973.DEU.xml
 
processed
processing CAP file 
2.49.0.1.276.0.DWD.PVW.164347242.1b7ab893-8545-45df-8e88-6e2e13493274.DEU.xml
CAP file 
2.49.0.1.276.0.DWD.PVW.164347242.1b7ab893-8545-45df-8e88-6e2e13493274.DEU.xml
 
processed
processing CAP file 
2.49.0.1.276.0.DWD.PVW.164351514.1a11b01b-3acf-4aa8-8ffa-92f40e72888b.DEU.xml
CAP file 
2.49.0.1.276.0.DWD.PVW.164351514.1a11b01b-3acf-4aa8-8ffa-92f40e72888b.DEU.xml
 
processed
processing CAP file 
2.49.0.1.276.0.DWD.PVW.164339334.421cf24d-7894-4824-8e14-6bf085e33b4a.DEU.xml
CAP file 
2.49.0.1.276.0.DWD.PVW.164339334.421cf24d-7894-4824-8e14-6bf085e33b4a.DEU.xml
 
processed
processing CAP file 
2.49.0.1.276.0.DWD.PVW.164347242.2aa08263-9c89-4210-a0bc-7ed56a4c6c8a.DEU.xml
CAP file 
2.49.0.1.276.0.DWD.PVW.164347242.2aa08263-9c89-4210-a0bc-7ed56a4c6c8a.DEU.xml
 
processed
processing CAP file 
2.49.0.1.276.0.DWD.PVW.164354052.c42d926d-1328-49b0-b148-ea19d4529a95.DEU.xml
CAP file 
2.49.0.1.276.0.DWD.PVW.164354052.c42d926d-1328-49b0-b148-ea19d4529a95.DEU.xml
 
processed
processing CAP file 
2.49.0.1.276.0.DWD.PVW.164347242.cd75b2bb-7709-4083-9438-e438b0b5f0a5.DEU.xml
CAP file 
2.49.0.1.276.0.DWD.PVW.164347242.cd75b2bb-7709-4083-9438-e438b0b5f0a5.DEU.xml
 
processed
processing CAP file 
2.49.0.1.276.0.DWD.PVW.164339334.a61b355e-ef62-4d21-a2ce-a3a747f93dea.DEU.xml
CAP file 
2.49.0.1.276.0.DWD.PVW.164339334.a61b355e-ef62-4d21-a2ce-a3a747f93dea.DEU.xml
 
processed
processing CAP file 
2.49.0.1.276.0.DWD.PVW.164347242.bfb36a12-04f1-415c-b327-9e864f21a48e.DEU.xml
CAP file 
2.49.0.1.276.0.DWD.PVW.164347242.bfb36a12-04f1-415c-b327-9e864f21a48e.DEU.xml
 
processed
processing CAP file 
2.49.0.1.276.0.DWD.PVW.164347242.f59320d5-4409-4d3f-8cab-53004fe2cab9.DEU.xml
CAP file 
2.49.0.1.276.0.DWD.PVW.164347242.f59320d5-4409-4d3f-8cab-53004fe2cab9.DEU.xml
 
processed
file Z_CAP_C_EDZW_LATEST_PVW_STATUS_PREMIUMCELLS_COMMUNEUNION_DE.zip 
processed

auszug aus weewx.conf


[DeutscherWetterdienst]
path='/home/weewx/skins/DWD/dwd'

[[warning]]
states='Mecklenburg-Vorpommern'

[[[counties]]]
'Kreis Ludwigslust-Parchim - West'='LWL'
'Kreis Ludwigslust-Parchim - Ost'='PCH'

[[[cities]]]
'Gemeinde Klein Rogahn'='GKR'
'Stadt Schwerin'='SN'

[[forecast]]
icons='xicons'
#location = Schwerin
orientation=h

nur cron funktioniert nicht
Hartmut
kk44...@gmail.com schrieb am Sonntag, 30. Januar 2022 um 16:20:19 UTC+1:

> Da bitte ich darum, die Programme der Reihe nach auf der Kommandozeile mit 
> der Hand aufzurufen, wobei 2>/dev/null >/dev/null am Ende wegzulassen 
> ist. Stattdessen kann man noch --verbose hinzufügen. Was die Programm 
> dann "ausspucken", würde ich gern hier sehen. Dazu bitte auch den 
> Ausschnitt aus weewx.conf, wo es um den DWD geht.
>
> hesf...@gmail.com schrieb am Sonntag, 30. Januar 2022 um 16:08:50 UTC+1:
>
>> es erfolgt jedoch keine Aktualisierung der forecast-10162.inc , 
>> warn-GKR.inc , warn-LWL.inc
>> die id sind korrekt
>>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/93c51c11-ebf2-4e30-8770-2035bdac34f0n%40googlegroups.com.


[weewx-user] Re: Weather Forecast from Deutscher Wetterdienst (DWD)

2022-01-30 Thread hesf...@gmail.com
Hallo 
ich habe versucht die dwd-mosmix und dwd-cap-warnings durch 
etc/cron.hourly/dwd 
<https://github.com/roe-dl/weewx-DWD/commit/5b884733e91a06991806ca0b68afc8182ad829ef#diff-bb29887eea2a7e01a372f4dcbde112668ceba2dd62b043685b908f6b3f832dbf>
 aktualisieren zu lassen
meine Version "dwd"
#!/bin/bash
# Daten beim Deutschen Wetterdienst herunterladen
# Copyright (C) 2021 Johanna Roedenbeck
# licensed under the terms of the General Public Licens (GPL) v3

# Diese Datei ist unter /etc/cron.hourly zu speichern. Sie muss
# ausfuehrbar sein.

#/usr/local/bin/wget-dwd 2>/dev/null
#/usr/local/bin/dwd-warnings 2>/dev/null >/dev/null

# Soll statt dwd-warnings dwd-cap-warnings verwendet werden,
# hier das Kommentarzeichen entfernen und dafuer eines vor 
# die Zeile mit dwd-warnings setzen
/usr/local/bin/dwd-cap-warnings --weewx --resolution=city 2>/dev/null 
>/dev/null
# für die Gemeinde

/usr/local/bin/dwd-cap-warnings --weewx --resolution=county 2>/dev/null 
>/dev/null
# für den Landkreis

# Fuer Wettervorhersagen X durch den Stationscode
# ersetzen und das Kommentarzeichen entfernen.
/usr/local/bin/dwd-mosmix --weewx 10162 2>/dev/null >/dev/null
# für die Stadt1

/usr/local/bin/dwd-mosmix --weewx N8326 2>/dev/null >/dev/null
#für die Stadt 2

es erfolgt jedoch keine Aktualisierung der forecast-10162.inc , 
warn-GKR.inc , warn-LWL.inc
die id sind korrekt
Hartmut
kk44...@gmail.com schrieb am Montag, 24. Januar 2022 um 12:03:20 UTC+1:

> Danke ebenfalls.
>
> hesf...@gmail.com schrieb am Montag, 24. Januar 2022 um 11:43:48 UTC+1:
>
>> Ich habe die Dateien neu geladen, jetzt ist alles i.O.
>>
>> Danke für die Geduld
>> Hartmut
>>
>> kk44...@gmail.com schrieb am Montag, 24. Januar 2022 um 10:24:02 UTC+1:
>>
>>> Ich befürchte, wir haben bei der letzten Änderung der Datei 
>>> html2ent.ansi die Datei vom ANSI-Zeichensatz in den UTF8-Zeichensatz 
>>> konvertiert, weshalb sie nicht mehr funktioniert. Ich habe die Datei 
>>> nochmal hochgeladen. Bitte nochmal neu herunterladen und erneut probieren.
>>>
>>> hesf...@gmail.com schrieb am Montag, 24. Januar 2022 um 09:58:09 UTC+1:
>>>
>>>> Danke für die schnelle Antwort
>>>> Gruß
>>>> Hartmut
>>>>  bei wget-dwd funktioniert bei mir nicht die Umschreibung der Umlaute 
>>>> äöü , wie bei   #include raw "dwd/VHDL50_DWLG_LATEST.html"
>>>>
>>>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator: 
>>>>  Ignoring template /home/weewx/skins/Wetter/forecastT.html.tmpl
>>>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator: 
>>>>  Reason: 'utf-8' codec can't decode byte 0xfc in position 45: invalid 
>>>> start byte
>>>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator: 
>>>>   Traceback (most recent call last):
>>>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator: 
>>>> File "/home/weewx/bin/weewx/cheetahgenerator.py", line 343, in 
>>>> generate
>>>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator: 
>>>>   unicode_string = compiled_template.respond()
>>>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator: 
>>>> File 
>>>> "cheetah__home_weewx_skins_Wetter_forecastT_html_tmpl_1643014231_4651656_62682.py",
>>>>  
>>>> line 244, in respond
>>>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator: 
>>>> File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 
>>>> 1685, in _handleCheetahInclude
>>>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator: 
>>>>   nestedTemplateClass = compiler.compile(source=source,
>>>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator: 
>>>> File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 
>>>> 767, in compile
>>>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator: 
>>>>   compiler = compilerClass(source, file,
>>>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator: 
>>>> File "/usr/lib/python3/dist-packages/Cheetah/Compiler.py", line 
>>>> 1660, in __init__
>>>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator: 
>>>>   source = f.read()
>>>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator: 
>>>> *

[weewx-user] Re: Weather Forecast from Deutscher Wetterdienst (DWD)

2022-01-24 Thread hesf...@gmail.com
Ich habe die Dateien neu geladen, jetzt ist alles i.O.

Danke für die Geduld
Hartmut

kk44...@gmail.com schrieb am Montag, 24. Januar 2022 um 10:24:02 UTC+1:

> Ich befürchte, wir haben bei der letzten Änderung der Datei html2ent.ansi 
> die Datei vom ANSI-Zeichensatz in den UTF8-Zeichensatz konvertiert, weshalb 
> sie nicht mehr funktioniert. Ich habe die Datei nochmal hochgeladen. Bitte 
> nochmal neu herunterladen und erneut probieren.
>
> hesf...@gmail.com schrieb am Montag, 24. Januar 2022 um 09:58:09 UTC+1:
>
>> Danke für die schnelle Antwort
>> Gruß
>> Hartmut
>>  bei wget-dwd funktioniert bei mir nicht die Umschreibung der Umlaute äöü 
>> , wie bei   #include raw "dwd/VHDL50_DWLG_LATEST.html"
>>
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>> Ignoring template /home/weewx/skins/Wetter/forecastT.html.tmpl
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>> Reason: 'utf-8' codec can't decode byte 0xfc in position 45: invalid start 
>> byte
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>>  Traceback (most recent call last):
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>>File "/home/weewx/bin/weewx/cheetahgenerator.py", line 343, in generate
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>>  unicode_string = compiled_template.respond()
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>>File 
>> "cheetah__home_weewx_skins_Wetter_forecastT_html_tmpl_1643014231_4651656_62682.py",
>>  
>> line 244, in respond
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>>File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1685, in 
>> _handleCheetahInclude
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>>  nestedTemplateClass = compiler.compile(source=source,
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>>File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 767, in 
>> compile
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>>  compiler = compilerClass(source, file,
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>>File "/usr/lib/python3/dist-packages/Cheetah/Compiler.py", line 1660, in 
>> __init__
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>>  source = f.read()
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>>File "/usr/lib/python3.9/codecs.py", line 322, in decode
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>>  (result, consumed) = self._buffer_decode(data, self.errors, final)
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>>  UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 45: 
>> invalid start byte
>> kk44...@gmail.com schrieb am Montag, 24. Januar 2022 um 09:42:21 UTC+1:
>>
>>> In der Belchertown-Skin ist das schon eingebunden. Ansonsten muß 
>>> folgende Zeile in den -Bereich der HTML-Seite:
>>>
>>> >>  
>>> type='text/css' media='all' />
>>> Am besten fügt man den Aufruf "/usr/local/bin/dwd-mosmix --weewx 
>>> Stationscode" 
>>> in die Datei /etc/cron.hourly/dwd ein. Den Stationscode bietet der DWD 
>>> zum Herunterladen 
>>> <https://www.dwd.de/DE/leistungen/met_verfahren_mosmix/mosmix_stationskatalog.cfg?view=nasPublication&nn=16102>
>>>  an. 
>>> Dort kann man sich den passenden heraussuchen. Der Wert in der Spalte "id" 
>>> ist es.
>>>
>>>
>>> hesf...@gmail.com schrieb am Montag, 24. Januar 2022 um 09:06:10 UTC+1:
>>>
>>>> Hallo,
>>>> eine Frage 
>>>> Woher bekomme ich die Dinge wie " " oder 
>>>> ">>> style="transform:rotate(259.625deg);font-size:150%">"
>>>>
>>>> in der allgemeinen "css" Datei sind derartige "class=wi " und/oder 
>>>> "class=wi-thermometer" nicht enthalten. 
>>>> Auch die Symbole für Thermometer, Wind, Regenschirm, Manometer, Wolke 
>>>> und Sonne, erste Spalte  der Tabelle kann ich bei mir nicht finden, ich 
>>>> verwende nur die weewx.css o

[weewx-user] Re: Weather Forecast from Deutscher Wetterdienst (DWD)

2022-01-24 Thread hesf...@gmail.com
das ergebnis
Jan 24 11:20:26 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
Ignoring template /home/weewx/skins/Wetter/forecast.html.tmpl
Jan 24 11:20:26 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
Reason: 'utf-8' codec can't decode byte 0xfc in position 38: invalid start 
byte
Jan 24 11:20:26 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
 Traceback (most recent call last):
Jan 24 11:20:26 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:    
 File "/home/weewx/bin/weewx/cheetahgenerator.py", line 343, in generate
Jan 24 11:20:26 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:    
   unicode_string = compiled_template.respond()
Jan 24 11:20:26 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:    
 File 
"cheetah__home_weewx_skins_Wetter_forecast_html_tmpl_1643018726_9071248_94515.py",
 
line 249, in respond
Jan 24 11:20:26 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:    
 File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1703, in 
_handleCheetahInclude
Jan 24 11:20:26 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:    
   self.getFileContents(path)
Jan 24 11:20:26 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:    
 File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1506, in 
getFileContents
Jan 24 11:20:26 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:    
   output = fp.read()
Jan 24 11:20:26 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:    
 File "/usr/lib/python3.9/codecs.py", line 322, in decode
Jan 24 11:20:26 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:    
   (result, consumed) = self._buffer_decode(data, self.errors, final)
Jan 24 11:20:26 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
 UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 38: 
invalid start byte

die Datei
/home/weewx/skins/Wetter/dwd/VHDL50_DWPH_LATEST.html   

 Richtig

Oftmals bedeckt und zeitweise Sprühregen. Mild und teils neblig-trüb.


und auch so bei öffnung durch nano:


Oftmals bedeckt und zeitweise Spr�hregen. Mild und teils neblig-tr�b.


 Hartmut
kk44...@gmail.com schrieb am Montag, 24. Januar 2022 um 10:24:02 UTC+1:

> Ich befürchte, wir haben bei der letzten Änderung der Datei html2ent.ansi 
> die Datei vom ANSI-Zeichensatz in den UTF8-Zeichensatz konvertiert, weshalb 
> sie nicht mehr funktioniert. Ich habe die Datei nochmal hochgeladen. Bitte 
> nochmal neu herunterladen und erneut probieren.
>
> hesf...@gmail.com schrieb am Montag, 24. Januar 2022 um 09:58:09 UTC+1:
>
>> Danke für die schnelle Antwort
>> Gruß
>> Hartmut
>>  bei wget-dwd funktioniert bei mir nicht die Umschreibung der Umlaute äöü 
>> , wie bei   #include raw "dwd/VHDL50_DWLG_LATEST.html"
>>
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>> Ignoring template /home/weewx/skins/Wetter/forecastT.html.tmpl
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>> Reason: 'utf-8' codec can't decode byte 0xfc in position 45: invalid start 
>> byte
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>>  Traceback (most recent call last):
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>>File "/home/weewx/bin/weewx/cheetahgenerator.py", line 343, in generate
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>>  unicode_string = compiled_template.respond()
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>>File 
>> "cheetah__home_weewx_skins_Wetter_forecastT_html_tmpl_1643014231_4651656_62682.py",
>>  
>> line 244, in respond
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>>File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1685, in 
>> _handleCheetahInclude
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>>  nestedTemplateClass = compiler.compile(source=source,
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>>File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 767, in 
>> compile
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>>  compiler = compilerClass(source, file,
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
>>File "/usr/lib/python3/dist-packages/Cheetah/Compiler.py", line 1660, in 
>> __init__
>> Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx

[weewx-user] Re: Weather Forecast from Deutscher Wetterdienst (DWD)

2022-01-24 Thread hesf...@gmail.com
Danke für die schnelle Antwort
Gruß
Hartmut
 bei wget-dwd funktioniert bei mir nicht die Umschreibung der Umlaute äöü , 
wie bei   #include raw "dwd/VHDL50_DWLG_LATEST.html"

Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
Ignoring template /home/weewx/skins/Wetter/forecastT.html.tmpl
Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
Reason: 'utf-8' codec can't decode byte 0xfc in position 45: invalid start 
byte
Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
 Traceback (most recent call last):
Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:    
 File "/home/weewx/bin/weewx/cheetahgenerator.py", line 343, in generate
Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:    
   unicode_string = compiled_template.respond()
Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:    
 File 
"cheetah__home_weewx_skins_Wetter_forecastT_html_tmpl_1643014231_4651656_62682.py",
 
line 244, in respond
Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:    
 File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1685, in 
_handleCheetahInclude
Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:    
   nestedTemplateClass = compiler.compile(source=source,
Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:    
 File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 767, in 
compile
Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:    
   compiler = compilerClass(source, file,
Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:    
 File "/usr/lib/python3/dist-packages/Cheetah/Compiler.py", line 1660, in 
__init__
Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:    
   source = f.read()
Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:    
 File "/usr/lib/python3.9/codecs.py", line 322, in decode
Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:    
   (result, consumed) = self._buffer_decode(data, self.errors, final)
Jan 24 09:55:34 wee2 weewx-weewx[8133] ERROR weewx.cheetahgenerator:  
 UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 45: 
invalid start byte
kk44...@gmail.com schrieb am Montag, 24. Januar 2022 um 09:42:21 UTC+1:

> In der Belchertown-Skin ist das schon eingebunden. Ansonsten muß folgende 
> Zeile in den -Bereich der HTML-Seite:
>
>   
> type='text/css' media='all' />
> Am besten fügt man den Aufruf "/usr/local/bin/dwd-mosmix --weewx 
> Stationscode" 
> in die Datei /etc/cron.hourly/dwd ein. Den Stationscode bietet der DWD 
> zum Herunterladen 
> <https://www.dwd.de/DE/leistungen/met_verfahren_mosmix/mosmix_stationskatalog.cfg?view=nasPublication&nn=16102>
>  an. 
> Dort kann man sich den passenden heraussuchen. Der Wert in der Spalte "id" 
> ist es.
>
>
> hesf...@gmail.com schrieb am Montag, 24. Januar 2022 um 09:06:10 UTC+1:
>
>> Hallo,
>> eine Frage 
>> Woher bekomme ich die Dinge wie " " oder "> class="wi wi-direction-down" 
>> style="transform:rotate(259.625deg);font-size:150%">"
>>
>> in der allgemeinen "css" Datei sind derartige "class=wi " und/oder 
>> "class=wi-thermometer" nicht enthalten. 
>> Auch die Symbole für Thermometer, Wind, Regenschirm, Manometer, Wolke und 
>> Sonne, erste Spalte  der Tabelle kann ich bei mir nicht finden, ich 
>> verwende nur die weewx.css ohne derartige Erweiterungen.
>>
>> Bitte ein Tipp! 
>> und eine Tipp für die Einbindung der neuen dwd-mosmix mit Parameter
>> Gruss
>> Hartmut
>>
>>
>>
>> kk44...@gmail.com schrieb am Sonntag, 23. Januar 2022 um 14:47:12 UTC+1:
>>
>>> Last year I started to write some little scripts to collect data from 
>>> Deutscher Wetterdienst (DWD), and as I was asked for, I published them on 
>>> Github.
>>>
>>> Last but no least I looked into the MOSMIX weather forecast data and 
>>> wrote a script to process those data and create a forecast table.
>>>
>>> Example:
>>>
>>> [image: MOSMIX-Vorhersage.png]
>>>
>>> The scripts you find at weewx-DWD <https://github.com/roe-dl/weewx-DWD>
>>>
>>> When I find time I hope I can include that into the Belchertown skin as 
>>> an additional forecast and warnings provider. But that takes time as I have 
>>> to learn the internal structures of the forecast function in belchertown.js
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/040f63e9-445a-4dae-9586-4b681cb45107n%40googlegroups.com.


[weewx-user] Re: Weather Forecast from Deutscher Wetterdienst (DWD)

2022-01-24 Thread hesf...@gmail.com
Hallo,
eine Frage 
Woher bekomme ich die Dinge wie " " oder ""

in der allgemeinen "css" Datei sind derartige "class=wi " und/oder 
"class=wi-thermometer" nicht enthalten. 
Auch die Symbole für Thermometer, Wind, Regenschirm, Manometer, Wolke und 
Sonne, erste Spalte  der Tabelle kann ich bei mir nicht finden, ich 
verwende nur die weewx.css ohne derartige Erweiterungen.

Bitte ein Tipp! 
und eine Tipp für die Einbindung der neuen dwd-mosmix mit Parameter
Gruss
Hartmut



kk44...@gmail.com schrieb am Sonntag, 23. Januar 2022 um 14:47:12 UTC+1:

> Last year I started to write some little scripts to collect data from 
> Deutscher Wetterdienst (DWD), and as I was asked for, I published them on 
> Github.
>
> Last but no least I looked into the MOSMIX weather forecast data and wrote 
> a script to process those data and create a forecast table.
>
> Example:
>
> [image: MOSMIX-Vorhersage.png]
>
> The scripts you find at weewx-DWD 
>
> When I find time I hope I can include that into the Belchertown skin as an 
> additional forecast and warnings provider. But that takes time as I have to 
> learn the internal structures of the forecast function in belchertown.js
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/98ba0c02-2c85-4da6-9959-b2a7a6e8ac2bn%40googlegroups.com.


[weewx-user] Re: airQ_corant and weewx

2021-10-05 Thread hesf...@gmail.com

Ich kann es auch nicht nachvollziehen.
WetterServer Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]; BS 
Linux-4.19.0-12-amd64-x86_64-with-debian-10.10, weewx 4.6.0b2
HausServer  Python 3.9.2; Raspbian GNU/Linux 11 4.19.66-v7l+; weewx 4.6.0b2
airpi Python 3.9.2; Raspbian GNU/Linux 11 Linux airpi 5.10.17-v7+ ; weewx 
4.6.0b2
Nach dem Neustart (vorher habe ich die airQ_corant.py vom WetterServer auf 
airpi kopiert)
airQ EG absolute Luftfeuchte  11,8 g/m³ 
airQ OG absolute Luftfeuchte  11,6 g/m³
es läuft...
Danke für die Geduld
Hartmut
kk44...@gmail.com schrieb am Dienstag, 5. Oktober 2021 um 17:11:53 UTC+2:

> Ich begreife es auch nicht. Wir könnten testweise *lambda* x : x*0.01 
> durch *lambda* x : x/100 ersetzen.
>
> hesf...@gmail.com schrieb am Dienstag, 5. Oktober 2021 um 16:28:01 UTC+2:
>
>> die Empfehlung bringt keine Meldung!
>>
>> Mit debug = 1 in weewx.conf
>> erscheint nur 
>> Oct  5 15:55:35 airpi weewx[4740] DEBUG weewx.reportengine: Report 
>> 'US_Report' not enabled. Skipping.
>> Oct  5 15:55:35 airpi weewx[4740] DEBUG weewx.reportengine: Running 
>> report 'airqReport'
>> Oct  5 15:55:35 airpi weewx[4740] DEBUG weewx.reportengine: Found 
>> configuration file /home/weewx/skins/airQ/skin.conf for report 'airqReport'
>> Oct  5 15:55:35 airpi weewx[4740] DEBUG weewx.reportengine: Found 
>> localization file /home/weewx/skins/airQ/lang/de.conf for report 
>> 'airqReport'
>> Oct  5 15:55:35 airpi weewx[4740] DEBUG weewx.cheetahgenerator: Using 
>> search list ['weewx.cheetahgenerator.Almanac', 
>> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 
>> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 
>> 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.JSONHelpers', 
>> 'weewx.cheetahgenerator.Gettext']
>> Oct  5 15:55:35 airpi weewx[4740] DEBUG weewx.manager: Daily summary 
>> version is 4.0
>> Oct  5 15:55:36 airpi weewx[4740] DEBUG weewx.units: Unable to convert 
>> from microgram_per_meter_cubed to gram_per_meter_cubed
>> Oct  5 15:55:36 airpi weewx[4740] INFO weewx.cheetahgenerator: Generated 
>> 3 files for report airqReport in 0.94 seconds
>> Oct  5 15:55:36 airpi weewx[4740] DEBUG weewx.manager: Daily summary 
>> version is 4.0
>> Oct  5 15:55:38 airpi weewx[4740] DEBUG user.airQ: co: mass 1.816 vol 
>> 1.589
>> Oct  5 15:55:38 airpi weewx[4740] DEBUG user.airQ: co2: mass 744.000 vol 
>> 414.299
>> Oct  5 15:55:38 airpi weewx[4740] DEBUG user.airQ: no2: mass 19.460 vol 
>> 10.366
>> Oct  5 15:55:38 airpi weewx[4740] DEBUG user.airQ: o3: mass 12.810 vol 
>> 6.541
>> Oct  5 15:55:38 airpi weewx[4740] DEBUG user.airQ: so2: mass 3180.910 vol 
>> 1216.831
>> Oct  5 15:55:38 airpi weewx[4740] DEBUG user.airQ: co2: mass 744.000 vol 
>> 1336.077
>> Oct  5 15:55:38 airpi weewx[4740] DEBUG user.airQ: tvoc: mass 345.000 vol 
>> .446
>> Oct  5 15:55:40 airpi weewx[4740] INFO weewx.imagegenerator: Generated 44 
>> images for report airqReport in 4.11 seconds
>>
>> Die Umwandlung in der Gruppe "group_concentration" für 
>> "microgram_per_meter_cubed" zu "gram_per_meter_cubed" und die Formatierung 
>> der Werte und der Strings für die Einheit werden in airQ_corant.py 
>> festgelegt
>>
>> ich gebe jetzt auf, die Anzeigen beim WetterServer sind in g/m³ ebenso 
>> beim HausServer
>>
>> Hartmut
>> Auch die Erweiterung der units.py mit allen airQ-variablen inc. 
>> Einheiten, Zuweisung und Umrechnungen bringt nichts.
>> kk44...@gmail.com schrieb am Dienstag, 5. Oktober 2021 um 13:58:47 UTC+2:
>>
>>> Bringt die Empfehlung "To debug, try inserting '#errorCatcher Echo' at 
>>> top of template" zusätzliche Infos?
>>>
>>> hesf...@gmail.com schrieb am Dienstag, 5. Oktober 2021 um 07:30:32 
>>> UTC+2:
>>>
>>>> Guten Morgen,
>>>> die unterschiedlichen Höhen habe ich ausprobiert weil ich einen airQ im 
>>>> EG und einen im OG habe (Höhendifferenz ca. 3,60 m Tisch im EG und Regal 
>>>> im 
>>>> OG).
>>>> Die ermittelten Werte für Luftdruck sollten gleich sein.
>>>>
>>>> Das Problem mit der gram_per_meter_cubed 
>>>>
>>>> cannot find 'gram_per_meter_cubed' while searching for 
>>>> 'current.og_HumAbs.gram_per_meter_cubed'
>>>>
>>>> tritt nur bei dem RasPi auf, welcher die Daten ermittelt und speicher

[weewx-user] Re: airQ_corant and weewx

2021-10-05 Thread hesf...@gmail.com
Ich kann es auch nicht nachvollziehen.
WetterServer Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]; BS 
Linux-4.19.0-12-amd64-x86_64-with-debian-10.10, weewx 4.6.0b2
HausServer  Python 3.9.2; Raspbian GNU/Linux 11 4.19.66-v7l+; weewx 4.6.0b2
airpi Python 3.9.2; Raspbian GNU/Linux 11 Linux airpi 5.10.17-v7+ ; weewx 
4.6.0b2
alle haben die gleichen Dateien ausser weewx.conf 1. vantage 2. owfs 3. 
meteostick
Danke für die Geduld.
Hartmut
kk44...@gmail.com schrieb am Dienstag, 5. Oktober 2021 um 17:11:53 UTC+2:

> Ich begreife es auch nicht. Wir könnten testweise *lambda* x : x*0.01 
> durch *lambda* x : x/100 ersetzen.
>
> hesf...@gmail.com schrieb am Dienstag, 5. Oktober 2021 um 16:28:01 UTC+2:
>
>> die Empfehlung bringt keine Meldung!
>>
>> Mit debug = 1 in weewx.conf
>> erscheint nur 
>> Oct  5 15:55:35 airpi weewx[4740] DEBUG weewx.reportengine: Report 
>> 'US_Report' not enabled. Skipping.
>> Oct  5 15:55:35 airpi weewx[4740] DEBUG weewx.reportengine: Running 
>> report 'airqReport'
>> Oct  5 15:55:35 airpi weewx[4740] DEBUG weewx.reportengine: Found 
>> configuration file /home/weewx/skins/airQ/skin.conf for report 'airqReport'
>> Oct  5 15:55:35 airpi weewx[4740] DEBUG weewx.reportengine: Found 
>> localization file /home/weewx/skins/airQ/lang/de.conf for report 
>> 'airqReport'
>> Oct  5 15:55:35 airpi weewx[4740] DEBUG weewx.cheetahgenerator: Using 
>> search list ['weewx.cheetahgenerator.Almanac', 
>> 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 
>> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 
>> 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.JSONHelpers', 
>> 'weewx.cheetahgenerator.Gettext']
>> Oct  5 15:55:35 airpi weewx[4740] DEBUG weewx.manager: Daily summary 
>> version is 4.0
>> Oct  5 15:55:36 airpi weewx[4740] DEBUG weewx.units: Unable to convert 
>> from microgram_per_meter_cubed to gram_per_meter_cubed
>> Oct  5 15:55:36 airpi weewx[4740] INFO weewx.cheetahgenerator: Generated 
>> 3 files for report airqReport in 0.94 seconds
>> Oct  5 15:55:36 airpi weewx[4740] DEBUG weewx.manager: Daily summary 
>> version is 4.0
>> Oct  5 15:55:38 airpi weewx[4740] DEBUG user.airQ: co: mass 1.816 vol 
>> 1.589
>> Oct  5 15:55:38 airpi weewx[4740] DEBUG user.airQ: co2: mass 744.000 vol 
>> 414.299
>> Oct  5 15:55:38 airpi weewx[4740] DEBUG user.airQ: no2: mass 19.460 vol 
>> 10.366
>> Oct  5 15:55:38 airpi weewx[4740] DEBUG user.airQ: o3: mass 12.810 vol 
>> 6.541
>> Oct  5 15:55:38 airpi weewx[4740] DEBUG user.airQ: so2: mass 3180.910 vol 
>> 1216.831
>> Oct  5 15:55:38 airpi weewx[4740] DEBUG user.airQ: co2: mass 744.000 vol 
>> 1336.077
>> Oct  5 15:55:38 airpi weewx[4740] DEBUG user.airQ: tvoc: mass 345.000 vol 
>> .446
>> Oct  5 15:55:40 airpi weewx[4740] INFO weewx.imagegenerator: Generated 44 
>> images for report airqReport in 4.11 seconds
>>
>> Die Umwandlung in der Gruppe "group_concentration" für 
>> "microgram_per_meter_cubed" zu "gram_per_meter_cubed" und die Formatierung 
>> der Werte und der Strings für die Einheit werden in airQ_corant.py 
>> festgelegt
>>
>> ich gebe jetzt auf, die Anzeigen beim WetterServer sind in g/m³ ebenso 
>> beim HausServer
>>
>> Hartmut
>> Auch die Erweiterung der units.py mit allen airQ-variablen inc. 
>> Einheiten, Zuweisung und Umrechnungen bringt nichts.
>> kk44...@gmail.com schrieb am Dienstag, 5. Oktober 2021 um 13:58:47 UTC+2:
>>
>>> Bringt die Empfehlung "To debug, try inserting '#errorCatcher Echo' at 
>>> top of template" zusätzliche Infos?
>>>
>>> hesf...@gmail.com schrieb am Dienstag, 5. Oktober 2021 um 07:30:32 
>>> UTC+2:
>>>
>>>> Guten Morgen,
>>>> die unterschiedlichen Höhen habe ich ausprobiert weil ich einen airQ im 
>>>> EG und einen im OG habe (Höhendifferenz ca. 3,60 m Tisch im EG und Regal 
>>>> im 
>>>> OG).
>>>> Die ermittelten Werte für Luftdruck sollten gleich sein.
>>>>
>>>> Das Problem mit der gram_per_meter_cubed 
>>>>
>>>> cannot find 'gram_per_meter_cubed' while searching for 
>>>> 'current.og_HumAbs.gram_per_meter_cubed'
>>>>
>>>> tritt nur bei dem RasPi auf, welcher die Daten ermittelt und speichert.
>>>> Mein WetterRechner stellt es korrekt dar, er läuft mit der gleichen 
>>>> Versio

[weewx-user] Re: airQ_corant and weewx

2021-10-05 Thread hesf...@gmail.com
die Empfehlung bringt keine Meldung!

Mit debug = 1 in weewx.conf
erscheint nur 
Oct  5 15:55:35 airpi weewx[4740] DEBUG weewx.reportengine: Report 
'US_Report' not enabled. Skipping.
Oct  5 15:55:35 airpi weewx[4740] DEBUG weewx.reportengine: Running report 
'airqReport'
Oct  5 15:55:35 airpi weewx[4740] DEBUG weewx.reportengine: Found 
configuration file /home/weewx/skins/airQ/skin.conf for report 'airqReport'
Oct  5 15:55:35 airpi weewx[4740] DEBUG weewx.reportengine: Found 
localization file /home/weewx/skins/airQ/lang/de.conf for report 
'airqReport'
Oct  5 15:55:35 airpi weewx[4740] DEBUG weewx.cheetahgenerator: Using 
search list ['weewx.cheetahgenerator.Almanac', 
'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 
'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 
'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.JSONHelpers', 
'weewx.cheetahgenerator.Gettext']
Oct  5 15:55:35 airpi weewx[4740] DEBUG weewx.manager: Daily summary 
version is 4.0
Oct  5 15:55:36 airpi weewx[4740] DEBUG weewx.units: Unable to convert from 
microgram_per_meter_cubed to gram_per_meter_cubed
Oct  5 15:55:36 airpi weewx[4740] INFO weewx.cheetahgenerator: Generated 3 
files for report airqReport in 0.94 seconds
Oct  5 15:55:36 airpi weewx[4740] DEBUG weewx.manager: Daily summary 
version is 4.0
Oct  5 15:55:38 airpi weewx[4740] DEBUG user.airQ: co: mass 1.816 vol 1.589
Oct  5 15:55:38 airpi weewx[4740] DEBUG user.airQ: co2: mass 744.000 vol 
414.299
Oct  5 15:55:38 airpi weewx[4740] DEBUG user.airQ: no2: mass 19.460 vol 
10.366
Oct  5 15:55:38 airpi weewx[4740] DEBUG user.airQ: o3: mass 12.810 vol 6.541
Oct  5 15:55:38 airpi weewx[4740] DEBUG user.airQ: so2: mass 3180.910 vol 
1216.831
Oct  5 15:55:38 airpi weewx[4740] DEBUG user.airQ: co2: mass 744.000 vol 
1336.077
Oct  5 15:55:38 airpi weewx[4740] DEBUG user.airQ: tvoc: mass 345.000 vol 
.446
Oct  5 15:55:40 airpi weewx[4740] INFO weewx.imagegenerator: Generated 44 
images for report airqReport in 4.11 seconds

Die Umwandlung in der Gruppe "group_concentration" für 
"microgram_per_meter_cubed" zu "gram_per_meter_cubed" und die Formatierung 
der Werte und der Strings für die Einheit werden in airQ_corant.py 
festgelegt

ich gebe jetzt auf, die Anzeigen beim WetterServer sind in g/m³ ebenso beim 
HausServer

Hartmut
Auch die Erweiterung der units.py mit allen airQ-variablen inc. Einheiten, 
Zuweisung und Umrechnungen bringt nichts.
kk44...@gmail.com schrieb am Dienstag, 5. Oktober 2021 um 13:58:47 UTC+2:

> Bringt die Empfehlung "To debug, try inserting '#errorCatcher Echo' at top 
> of template" zusätzliche Infos?
>
> hesf...@gmail.com schrieb am Dienstag, 5. Oktober 2021 um 07:30:32 UTC+2:
>
>> Guten Morgen,
>> die unterschiedlichen Höhen habe ich ausprobiert weil ich einen airQ im 
>> EG und einen im OG habe (Höhendifferenz ca. 3,60 m Tisch im EG und Regal im 
>> OG).
>> Die ermittelten Werte für Luftdruck sollten gleich sein.
>>
>> Das Problem mit der gram_per_meter_cubed 
>>
>> cannot find 'gram_per_meter_cubed' while searching for 
>> 'current.og_HumAbs.gram_per_meter_cubed'
>>
>> tritt nur bei dem RasPi auf, welcher die Daten ermittelt und speichert.
>> Mein WetterRechner stellt es korrekt dar, er läuft mit der gleichen 
>> Version weewx und airQ.
>>
>> AirQ abs. Luftfeuchte 10,7 g/m³ <http://wetter/weewx/dayhumid.png> 
>>
>> ebenso stellt der HausRechner (weewx 4.6.0b2 und airQ   
>> [[Services]]
>> prep_services = weewx.engine.StdTimeSynch, 
>> user.airQ_corant.AirqUnits)
>>
>> og_Barometer 1014,2 hPa 1% 
>> og_Altimeter   1014,2 hPa  1% 
>> og_Pressure   1007,6 hPa  1% 
>> og_Temp  21,4°C 1% 
>> og_Dewpoint   12,2°C 1% 
>> og_Humidity57%   4% 
>> og_HumAbs   10,75 g/m³ 1% 
>> og_co2   845 ppm  75%
>> dar.
>> der RasPi (airpi) gibt bei gleicher Einrichtung den Fehler aus.
>> Ich habe bereits alle Einstellungen verglichen, jedoch bisher nicht 
>> auffälliges gefunden.
>>
>> Oct  5 07:20:42 airpi weewx[989] ERROR weewx.cheetahgenerator: Evaluation 
>> of template /home/weewx/skins/airQ/first_device.html.tmpl failed.
>> Oct  5 07:20:42 airpi weewx[989] ERROR weewx.cheetahgenerator:  
>> Ignoring template /home/weewx/skins/airQ/first_device.html.tmpl
>> Oct  5 07:20:42 airpi weewx[989] ERROR weewx.cheetahgenerator:  
>> Reason: cannot find 'gram_per_meter_cubed' while searching for 
>> 'current.og_HumAbs.gram_per_meter_cubed'
>> Oct  5 07:20:42 airpi weewx[989] ERROR weewx.cheeta

[weewx-user] Re: airQ_corant and weewx

2021-10-04 Thread hesf...@gmail.com
Guten Morgen,
die unterschiedlichen Höhen habe ich ausprobiert weil ich einen airQ im EG 
und einen im OG habe (Höhendifferenz ca. 3,60 m Tisch im EG und Regal im 
OG).
Die ermittelten Werte für Luftdruck sollten gleich sein.

Das Problem mit der gram_per_meter_cubed 

cannot find 'gram_per_meter_cubed' while searching for 
'current.og_HumAbs.gram_per_meter_cubed'

tritt nur bei dem RasPi auf, welcher die Daten ermittelt und speichert.
Mein WetterRechner stellt es korrekt dar, er läuft mit der gleichen Version 
weewx und airQ.

AirQ abs. Luftfeuchte 10,7 g/m³ <http://wetter/weewx/dayhumid.png> 

ebenso stellt der HausRechner (weewx 4.6.0b2 und airQ   
[[Services]]
prep_services = weewx.engine.StdTimeSynch, 
user.airQ_corant.AirqUnits)

og_Barometer 1014,2 hPa 1% 
og_Altimeter   1014,2 hPa  1% 
og_Pressure   1007,6 hPa  1% 
og_Temp  21,4°C 1% 
og_Dewpoint   12,2°C 1% 
og_Humidity57%   4% 
og_HumAbs   10,75 g/m³ 1% 
og_co2   845 ppm  75%
dar.
der RasPi (airpi) gibt bei gleicher Einrichtung den Fehler aus.
Ich habe bereits alle Einstellungen verglichen, jedoch bisher nicht 
auffälliges gefunden.

Oct  5 07:20:42 airpi weewx[989] ERROR weewx.cheetahgenerator: Evaluation 
of template /home/weewx/skins/airQ/first_device.html.tmpl failed.
Oct  5 07:20:42 airpi weewx[989] ERROR weewx.cheetahgenerator:  
Ignoring template /home/weewx/skins/airQ/first_device.html.tmpl
Oct  5 07:20:42 airpi weewx[989] ERROR weewx.cheetahgenerator:  Reason: 
cannot find 'gram_per_meter_cubed' while searching for 
'current.og_HumAbs.gram_per_meter_cubed'
Oct  5 07:20:42 airpi weewx[989] ERROR weewx.cheetahgenerator:  To 
debug, try inserting '#errorCatcher Echo' at top of template
Oct  5 07:20:42 airpi weewx[989] INFO weewx.cheetahgenerator: Generated 2 
files for report airqReport in 0.88 seconds
Oct  5 07:20:46 airpi weewx[989] INFO weewx.imagegenerator: Generated 44 
images for report airqReport in 4.27 seconds
Oct  5 07:20:46 airpi weewx[989] INFO weewx.reportengine: Copied 0 files to 
/home/weewx/public_html/airQ
Oct  5 07:25:01 airpi CRON[1252]: (root) CMD (if [ -x 
/etc/munin/plugins/apt_all ]; then /etc/munin/plugins/apt_all update 7200 
12 >/dev/null; elif [ -x /etc/munin/plugins/apt ]; then 
/etc/munin/plugins/apt update 7200 12 >/dev/null; fi)

Mit der Einstellung "current.og_HumAbs.milligram_per_meter_cubed" bei keine 
Fehler.

Oct  5 07:25:18 airpi weewx[989] INFO weewx.manager: Added record 
2021-10-05 07:25:19 CEST (1633411519) to database 'weewxCmon.sdb'
Oct  5 07:25:18 airpi weewx[989] INFO weewx.manager: Added record 
2021-10-05 07:25:19 CEST (1633411519) to daily summary in 'weewxCmon.sdb'
Oct  5 07:25:19 airpi weewx[989] INFO weewx.manager: Added record 
2021-10-05 07:25:00 CEST (1633411500) to database 'wx_AirQ'
Oct  5 07:25:20 airpi weewx[989] INFO weewx.manager: Added record 
2021-10-05 07:25:00 CEST (1633411500) to daily summary in 'wx_AirQ'
Oct  5 07:25:20 airpi weewx[989] INFO weewx.cheetahgenerator: Generated 1 
files for report ServerReport in 0.36 seconds
Oct  5 07:25:21 airpi weewx[989] INFO weewx.imagegenerator: Generated 8 
images for report ServerReport in 1.16 seconds
Oct  5 07:25:21 airpi weewx[989] INFO weewx.reportengine: Copied 0 files to 
/home/weewx/public_html/cmon
Oct  5 07:25:27 airpi weewx[989] INFO weewx.cheetahgenerator: Generated 8 
files for report SeasonsReport in 5.20 seconds
Oct  5 07:25:39 airpi weewx[989] INFO weewx.imagegenerator: Generated 14 
images for report SeasonsReport in 12.34 seconds
Oct  5 07:25:39 airpi weewx[989] INFO weewx.reportengine: Copied 0 files to 
/home/weewx/public_html
Oct  5 07:25:41 airpi weewx[989] INFO weewx.cheetahgenerator: Generated 3 
files for report airqReport in 1.43 seconds
Oct  5 07:25:45 airpi weewx[989] INFO weewx.imagegenerator: Generated 44 
images for report airqReport in 4.48 seconds
Oct  5 07:25:45 airpi weewx[989] INFO weewx.reportengine: Copied 0 files to 
/home/weewx/public_html/airQ

Hartmut
kk44...@gmail.com schrieb am Montag, 4. Oktober 2021 um 18:16:40 UTC+2:

> Vielen Dank.
>
> Es ist nicht notwendig, 'altitude' im Abschnitt [airQ] zu setzen. Wenn es 
> fehlt, wird der Wert auf dem Abschnitt [Station] benutzt
>
> Zu den Fehlermeldungen: Kann ich mal sämtliche Meldungen (inkl. INFO) für 
> user.airQ sehen?
>
> hesf...@gmail.com schrieb am Samstag, 2. Oktober 2021 um 12:39:32 UTC+2:
>
>> Nachtrag:
>>
>> in der airQ_conrant.py in Zeile 374
>>
>> if len(__altitude)==3: 
>> __altitude = weewx.units.ValueTuple(__altitude[0],__altitude[1],
>> __altitude[2]) 
>> else: __altitude = weewx.units.ValueTuple(__altitude[0],__altitude[1],
>> 'group_altitude')
>>
>> ÄNDERUNG in 
>>
>>  if len(__altitude)==3:
>>  __altitude = weewx.units.Va

[weewx-user] Re: airQ_corant and weewx

2021-10-02 Thread hesf...@gmail.com
Nachtrag:

in der airQ_conrant.py in Zeile 374

if len(__altitude)==3: 
__altitude = weewx.units.ValueTuple(__altitude[0],__altitude[1],__altitude[2
]) 
else: __altitude = weewx.units.ValueTuple(__altitude[0],__altitude[1],
'group_altitude')

ÄNDERUNG in 

 if len(__altitude)==3:
 __altitude = weewx.units.ValueTuple(float(__altitude[0])
,__altitude[1],__altitude[2])
 else:
 __altitude = weewx.units.ValueTuple(float(__altitude[0]),
__altitude[1],'group_altitude')

sonst wird der Wert __altitude als String gelesen.

Meine kleine Erweiterung mit Fehlerwerten im Anhang.

Fehler nach wie vor bei 
Oct  2 12:30:34 wee2 weewx-weewx[13860] ERROR weewx.cheetahgenerator: 
Evaluation of template /home/weewx/skins/airQ/first_device.html.tmpl failed.
Oct  2 12:30:34 wee2 weewx-weewx[13860] ERROR weewx.cheetahgenerator:  
Ignoring template /home/weewx/skins/airQ/first_device.html.tmpl
Oct  2 12:30:34 wee2 weewx-weewx[13860] ERROR weewx.cheetahgenerator:  
Reason: cannot find 'gram_per_meter_cubed' while searching for '
og_HumAbs.gram_per_meter_cubed'
Oct  2 12:30:34 wee2 weewx-weewx[13860] ERROR weewx.cheetahgenerator:  
To debug, try inserting '#errorCatcher Echo' at top of template
Oct  2 12:30:34 wee2 weewx-weewx[13860] ERROR weewx.cheetahgenerator: 
Evaluation of template /home/weewx/skins/airQ/second_device.html.tmpl 
failed.
Oct  2 12:30:34 wee2 weewx-weewx[13860] ERROR weewx.cheetahgenerator:  
Ignoring template /home/weewx/skins/airQ/second_device.html.tmpl
Oct  2 12:30:34 wee2 weewx-weewx[13860] ERROR weewx.cheetahgenerator:  
Reason: cannot find 'gram_per_meter_cubed' while searching for '
eg_HumAbs.gram_per_meter_cubed'
Oct  2 12:30:34 wee2 weewx-weewx[13860] ERROR weewx.cheetahgenerator:  
To debug, try inserting '#errorCatcher Echo' at top of template
Oct  2 12:30:34 wee2 weewx-weewx[13860] INFO weewx.cheetahgenerator: 
Generated 0 files for report AirQsReport in 0.49 seconds
Oct  2 12:30:36 wee2 weewx-weewx[13860] INFO weewx.imagegenerator: 
Generated 29 images for report AirQsReport in 2.19 seconds

alle anderen Erweiterungen "ppb", "milligram_per_meter_cubed" werden 
angezeigt.

in prep_services wurde user.airQ_corant.AirqUnits eingefügt.

Hartmut
hesf...@gmail.com schrieb am Sonntag, 5. September 2021 um 15:55:45 UTC+2:

> Danke für die Erläuterungen, mir fehlt jetzt nur noch eine Idee für die 
> Feststellung der Fehlerwerte, aber Kommt Zeit Kommt Rat
> Hartmut
>
>
> kk44...@gmail.com schrieb am Sonntag, 5. September 2021 um 15:39:48 UTC+2:
>
>> hesf...@gmail.com schrieb am Sonntag, 5. September 2021 um 15:21:04 
>> UTC+2:
>>
>>> Die Berechnung für "Barometer" sollte doch für indoor airQ's mit 
>>> "temperature" vom airQ erfolgen, der Bezug zu "outTemp" geht meiner Meinung 
>>> nach fehl.
>>>
>>
>> Nein, das stimmt nicht. Für die Umrechnung des lokalen Luftdrucks (der im 
>> Zimmer derselbe ist wie draußen) auf Meeresniveau muß immer die 
>> Außentemperatur genommen werden. Diese Umrechnung soll ja die Werte 
>> verschiedener Meßstellen vergleichbar machen. Der Wert darf nicht davon 
>> abhängen, ob man sich gerade im Zimmer oder draußen befindet.
>>  
>> Luftdruckumrechnung DWD 
>> <https://www.dwd.de/DE/fachnutzer/luftfahrt/download/produkte/runwaymap/06_luftdruck_und_standardatmoshaere.pdf?__blob=publicationFile&v=2>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/32116144-a95e-457c-91df-5bc7b365fdeen%40googlegroups.com.
#!/usr/bin/python3
#
# WeeWX service to read data from the airQ device
#
# Copyright (C) 2021 Johanna Roedenbeck
# airQ API Copyright (C) Corant GmbH

"""

Hardware: https://www.air-q.com

Science option is required.


Most of the the observation types provided by the airQ device are
predefined within WeeWX. If no special configuration besides host
address and password is provided the measured values are stored to
those observation types.

More than one device can be used. That is done by configurating a
specific prefix for the observation types of each device.

Configuration in weewx.conf:

[airQ]

query_interval = 5.0 # optional, default 5.0 seconds

[[first_device]]
host = replace_me_by_host_address_or_IP
password = replace_me
prefix = replace_me # optional
altitude = 123, meter # optional, default station altitude
query_interval = 5.0 # optional, default 5.0 seconds

[[second_device]]
...

"""

V

[weewx-user] Re: airQ_corant and weewx

2021-09-05 Thread hesf...@gmail.com
Danke für die Erläuterungen, mir fehlt jetzt nur noch eine Idee für die 
Feststellung der Fehlerwerte, aber Kommt Zeit Kommt Rat
Hartmut


kk44...@gmail.com schrieb am Sonntag, 5. September 2021 um 15:39:48 UTC+2:

> hesf...@gmail.com schrieb am Sonntag, 5. September 2021 um 15:21:04 UTC+2:
>
>> Die Berechnung für "Barometer" sollte doch für indoor airQ's mit 
>> "temperature" vom airQ erfolgen, der Bezug zu "outTemp" geht meiner Meinung 
>> nach fehl.
>>
>
> Nein, das stimmt nicht. Für die Umrechnung des lokalen Luftdrucks (der im 
> Zimmer derselbe ist wie draußen) auf Meeresniveau muß immer die 
> Außentemperatur genommen werden. Diese Umrechnung soll ja die Werte 
> verschiedener Meßstellen vergleichbar machen. Der Wert darf nicht davon 
> abhängen, ob man sich gerade im Zimmer oder draußen befindet.
>  
> Luftdruckumrechnung DWD 
> <https://www.dwd.de/DE/fachnutzer/luftfahrt/download/produkte/runwaymap/06_luftdruck_und_standardatmoshaere.pdf?__blob=publicationFile&v=2>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/171ee46e-0d21-4439-827b-eefe5fb6a9afn%40googlegroups.com.


[weewx-user] Re: airQ_corant and weewx

2021-09-05 Thread hesf...@gmail.com
]]
database_name = weewxSunmon
database_type = MySQL
[[aerisaqi_mysql]]
database_name = weewxAerisAqi
database_type = MySQL
[[hausairq_mysql]]
database_type = MySQL
database_name = weeAirQxHaus

Die Berechnung für "Barometer" sollte doch für indoor airQ's mit 
"temperature" vom airQ erfolgen, der Bezug zu "outTemp" geht meiner Meinung 
nach fehl.

Sehr Gute Arbeit, Danke
Hartmut

kk44...@gmail.com schrieb am Sonntag, 5. September 2021 um 10:57:28 UTC+2:

> Der Sinn von Open Source ist, daß jeder auch etwas ändern kann. So werden 
> gute Ideen zusammengeführt.
>
> Wenn das Schema Status und DeviceID als Zeichenkettenspalte enthält, 
> sollte der Wert auch gespeichert werden. WeeWX selbst sieht nur 
> Zahlenfelder vor, aber es kann auch mit Zeichenketten umgehen. Ich zum 
> Beispiele lese die Wasserstände des Sächsischen Hochwasserzentrums aus und 
> speichere sie in einer Datenbank, die Zeichenkettenfelder für den 
> Status-Wert enthält. Ich befülle die Datenbank zwar außerhalb von WeeWX, 
> aber WeeWX liest sie und hat kein Problem mit den Zeichenketten.
>
> Der Grund, warum manche Werte kein 'airq' vorangestellt haben, ist, daß 
> ich mir ein draußen im Freien stehendes AirQ vorgestellt habe, das die 
> Werte in die entsprechenden Datenfelder des originalen Schemas von WeeWX 
> (wview_extended.py) speichert. Deshalb fehlt das 'airq' bei allen Feldern, 
> die in diesem Schema enthalten sind. Wenn man ein Prefix festlegt, wird es 
> ja trotzdem für alle Werte benutzt.
>
> hesf...@gmail.com schrieb am Sonntag, 5. September 2021 um 09:58:27 UTC+2:
>
>> Hallo und Guten Morgen,
>>
>> Sehr gute Arbeit, Danke.
>>
>> Die Status-Anzeige für die AirQ's finde ich sehr gelungen, einfach KLASSE
>>
>> Ich muss noch ein Eingeständnis machen, ich habe die airQ_corant.py etwas 
>> geändert.
>> Mein aktuelles Schema in der Datei cmon.py
>> Die Änderungen in airQ_corant.py betreffen den prefix für alle Werte z.B. 
>> "cnt1" wurde zu "airqcnt1" Sorry
>> Ebenso die Anpassungen in der airq_conf.py auch hier habe ich durchgängig 
>> den prefiy "airq" verwendet
>> Auch enthalten sind die Werte dCO2dt, HumAbsDelta und Battery 
>> Ich bitte um Nachsicht.
>>
>> Die Werte für Status und DeviceID sind nicht Bestandteil der Datenbank?
>> Zu meinen Änderungen kann ich nur sagen, ich verwende 4 Raspi für die 
>> Ermittlung von Luftwerten, Blitzen und Air-SDS001, 1x outdoor und einmal im 
>> Büro und da tauchen die Werte für pm1, pm25 und pm10 mehrfach auf. Aus 
>> diesem Grund hatte ich die Angaben in airQ von Anfang an mit dem prefix 
>> "airq" bezeichnent.
>> Ausserdem läuft neben dem Weewx-Wetter-Rechner noch ein 
>> Weewx-Haus-Rechner, in Hausrechner werden die Werte aus dem Haus 
>> dargestellt währende der Wetter-Rechner öffentlich ist.
>> Hilfsweise hatte ich eine airQ_corantDB.py geschrieben nach der Vorgabe 
>> von airQ_corent, wann jedoch die AirQ's kalibrieren gibt es noch zahlreiche 
>> Fehler.
>>
>> Danke 
>> Hartmut
>> kk44...@gmail.com schrieb am Samstag, 4. September 2021 um 19:52:10 
>> UTC+2:
>>
>>> Ich habe mir weewx-com angesehen. Dort wird das Datenbankschema ganz 
>>> anders beschrieben als in der Standard-Installation. Ich habe mal etwas in 
>>> airq_conf.py ergänzt und hoffe, daß es damit funktioniert. Einige andere 
>>> Korrekturen standen auch noch an:
>>>
>>>- Der Hersteller hat die Umrechnung zwischen Massenkonzentration und 
>>>Volumenkonzentration mit der Firmwareversion 1.75 geändert. weewx-airQ 
>>>folgt dem jetzt.
>>>- Es gab noch einen Fehler, der dazu führte, daß die Geräte-ID und 
>>>der Geräte-Status nicht übertragen wurden. Dieser Fehler ist jetzt 
>>>beseitigt. Mit einer neu erzeugten Skin werden beide Werte oben rechts 
>>>angezeigt.
>>>- Und ja, den Fehler in install.py habe ich korrigiert. Nochmals 
>>>vielen Dank für den Hinweis.
>>>
>>> English Summary:
>>>
>>> This thread is about the weewx-airQ extension. The thread opener 
>>> experienced a problem adding the columns for the device to the database. 
>>> The reason was a bug that only gets into effect if the database schema is 
>>> defined in weewx.conf directly instead of a file in the schema 
>>> sub-directory. I hope to have fixed that bug.
>>>
>>> Additionally, the following changes were made to the extension:
>>>
>>>- The manufacturer of the airQ device changed the 

[weewx-user] Re: airQ_corant and weewx

2021-09-04 Thread hesf...@gmail.com
:41:01 ba001 weewx[24187] INFO user.airQ: thread 'first_device', 
host '192.168.38.18': starting
Sep  4 15:41:01 ba001 weewx[24187] INFO user.airQ: device 'second_device' 
host address '192.168.38.19' prefix 'eg' query interval 5.0 s altitude 54 m
Sep  4 15:41:01 ba001 weewx[24187] INFO user.airQ: thread 'first_device', 
host '192.168.38.18': 200 - OK
Sep  4 15:41:02 ba001 weewx[24187] INFO user.airQ: device 'second_device' 
device id: 21...063
Sep  4 15:41:02 ba001 weewx[24187] INFO user.airQ: device 'second_device' 
firmware version: 1.20.2.r4_D_1.75
Sep  4 15:41:02 ba001 weewx[24187] INFO user.airQ: device 'second_device' 
sensors: ['co', 'co2', 'no2', 'particulates', 'pressure', 'sound', 
'temperature', 'tvoc', 'humidity', 'humidity_abs', 'dewpt']
Sep  4 15:41:02 ba001 weewx[24187] INFO user.airQ: device 'second_device' 
concentration units config: µg/m^3
Sep  4 15:41:02 ba001 weewx[24187] INFO user.airQ: thread 'second_device', 
host '192.168.38.19': initialized
Sep  4 15:41:02 ba001 weewx[24187] INFO user.airQ: device 'second_device' 
QFF calculation temperature source: outTemp
Sep  4 15:41:02 ba001 weewx[24187] INFO user.airQ: thread 'second_device', 
host '192.168.38.19': starting
Sep  4 15:41:02 ba001 weewx[24187] INFO user.airQ: 2 air-Q devices found
Sep  4 15:41:02 ba001 weewx[24187] INFO weewx.engine: StdConvert target 
unit is 0x10
Sep  4 15:41:02 ba001 weewx[24187] INFO weewx.wxservices: StdWXCalculate 
will use data binding wx_binding
Sep  4 15:41:02 ba001 weewx[24187] INFO weewx.engine: Archive will use data 
binding wx_binding
Sep  4 15:41:02 ba001 weewx[24187] INFO weewx.engine: Record generation 
will be attempted in 'hardware'
Sep  4 15:41:02 ba001 weewx[24187] INFO weewx.engine: Using archive 
interval of 300 seconds (specified in weewx configuration)
Sep  4 15:41:02 ba001 weewx[24187] INFO __main__: Starting up weewx version 
4.6.0b1
Sep  4 15:41:02 ba001 weewx[24187] INFO weewx.engine: Using binding 
'wx_binding' to database 'weeAirQxHaus'
Sep  4 15:41:02 ba001 weewx[24187] INFO weewx.manager: Starting backfill of 
daily summaries
Sep  4 15:41:02 ba001 weewx[24187] INFO weewx.manager: Daily summaries up 
to date
Sep  4 15:41:02 ba001 weewx[24187] INFO weewx.engine: Starting main packet 
loop.
Sep  4 15:41:03 ba001 weewx[24187] INFO user.airQ: thread 'second_device', 
host '192.168.38.19': 200 - OK
Sep  4 15:45:38 ba001 weewx[24187] INFO weewx.manager: Added record 
2021-09-04 15:45:00 CEST (1630763100) to database 'weeAirQxHaus'
Sep  4 15:45:38 ba001 weewx[24187] INFO weewx.manager: Added record 
2021-09-04 15:45:00 CEST (1630763100) to daily summary in 'weeAirQxHaus'

Sep  4 15:45:50 ba001 weewx[24187] INFO weewx.reportengine: Using 
localization file /home/weewx/skins/airQ/lang/de.conf for report 
'airqReport'
Sep  4 15:45:51 ba001 weewx[24187] INFO weewx.cheetahgenerator: Generated 3 
files for report airqReport in 1.27 seconds
Sep  4 15:45:55 ba001 weewx[24187] INFO weewx.imagegenerator: Generated 27 
images for report airqReport in 3.43 seconds
Sep  4 15:45:55 ba001 weewx[24187] INFO weewx.reportengine: Copied 5 files 
to /home/weewx/public_html/airQ

Danke es läuft fast vollständig.

Eine Anmerkung "Luftdruck" Barometer wird nicht berechnent, ich habe keine 
Daten für "outTemp" in der Datenbank habe.

Schön wenn auch die Fehlerwerte mit gespeichert werden könnten
"oxygen": [20.123, 0.87],  val[0] = Wert, val[1] = Fehler in %
"dewpt": [13.825, 0.8], val[0] = Wert, val[1] = Fehler in %
"pm10": [14, 11], val[0] = Wert, val[1] = Fehler in %

 Vielen Dank 
Hartmut

hesf...@gmail.com schrieb am Samstag, 4. September 2021 um 15:36:55 UTC+2:

> Hallo, 
> nach DB-Löschung und Neustart alles IO bis auf db-Generierung durch 
> airq_conf.py
> Ich habe einfach per Hand eine neue SCHEMA Vorlage erstellt
>   ('og_Temp','REAL'),
>   ('og_Humidity','REAL'),
>   ('og_HumAbs',  'REAL'),
>   ('og_Dewpoint','REAL'),
>   ('og_Pressure','REAL'),
>   ('og_Altimeter',   'REAL'),
>   ('og_Barometer',   'REAL'),
>   ('og_co_m','REAL'),
>   ('og_co',  'REAL'),
>   ('og_co2', 'REAL'),
>   ('og_h2s', 'REAL'),
>   ('og_no2', 'REAL'),
>   ('og_p

[weewx-user] Re: airQ_corant and weewx

2021-09-04 Thread hesf...@gmail.com
Hallo, 
nach DB-Löschung und Neustart alles IO bis auf db-Generierung durch 
airq_conf.py
Ich habe einfach per Hand eine neue SCHEMA Vorlage erstellt
  ('og_Temp','REAL'),
  ('og_Humidity','REAL'),
  ('og_HumAbs',  'REAL'),
  ('og_Dewpoint','REAL'),
  ('og_Pressure','REAL'),
  ('og_Altimeter',   'REAL'),
  ('og_Barometer',   'REAL'),
  ('og_co_m','REAL'),
  ('og_co',  'REAL'),
  ('og_co2', 'REAL'),
  ('og_h2s', 'REAL'),
  ('og_no2', 'REAL'),
  ('og_pm1_0',   'REAL'),
  ('og_pm2_5',   'REAL'),

 ('eg_PerfIdx', 'REAL'),
  ('eg_HealthIdx',   'REAL'),
  ('eg_cnt0_3',  'REAL'),
  ('eg_cnt0_5',  'REAL'),
  ('eg_cnt1_0',  'REAL'),
  ('eg_cnt2_5',  'REAL'),
  ('eg_cnt5_0',  'REAL'),
  ('eg_cnt10_0', 'REAL'),
  ('eg_TypPS',   'REAL'),
  ('eg_Battery', 'REAL'),
  ('eg_DoorEvent',   'REAL'),
  ('eg_HumAbsDelta', 'REAL'),
  ('eg_CO2delta','REAL'),
mit eine SQLITE-Datenbank läuft es mit zwei airQ's einer im Obergeschoss 
und einer im Erdgeschoss.
Ich muss eine kleine Änderung eingestehen 
in install.py  

files=[('bin/user', ['bin/user/airQ_corant.py','bin/user/airq_conf.py'] ) , 
   ('bin', ['bin/airq_conf'])]

ein ")" eingefügt.

Hartmut
hesf...@gmail.com schrieb am Samstag, 4. September 2021 um 15:12:46 UTC+2:

> Ja gibt es!
>
> kk44...@gmail.com schrieb am Samstag, 4. September 2021 um 15:10:11 UTC+2:
>
>> Gibt es den Eintrag user.airQ_corant.AirqUnits in der Zeile prep_services
>> ?
>>
>> hesf...@gmail.com schrieb am Samstag, 4. September 2021 um 12:32:26 
>> UTC+2:
>>
>>> Hallo,
>>> der Hinweis mit /lang in /Seasons war Gold wert.
>>> Und hier der Auszug aus weewx.conf
>>> [airQ]
>>>
>>> [[first_device]]
>>> host = 192.168.38.18
>>> password = passwd
>>> prefix = og
>>> #altitude = set_if_not_station_altitude
>>>
>>> [[second_device]]
>>> host = 192.168.38.19
>>> password = passwd
>>> prefix = eg
>>> #altitude = set_if_not_station_altitude
>>>
>>> Jetzt kommt:
>>> Sep  4 12:25:44 ba001 weewx[11803] INFO weewx.reportengine: Using 
>>> localization file /home/weewx/skins/airQ/lang/de.conf for report 
>>> 'airqReport'
>>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator: 
>>> Generate failed with exception ''
>>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator:  
>>> Ignoring template /home/weewx/skins/airQ/first_device.html.tmpl
>>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator:  
>>> Reason: cannot find 'milligram_per_meter_cubed' while searching for 
>>> 'current.og_co.milligram_per_meter_cubed'
>>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator:   
>>> Traceback (most recent call last):
>>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator: 
>>> File "/home/weewx/bin/weewx/cheetahgenerator.py", line 332, in generate
>>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator: 
>>>   unicode_string = compiled_template.respond()
>>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator: 
>>> File "_home_weewx_skins_airQ_first_device_html_tmpl.py", line 328, in 
>>> respond
>>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator:   
>>> NameMapper.NotFound: cannot find 'milligram_per_meter_cubed' while 
>>> searching for 'current.og_co.milligram_per_meter_cubed'
>>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator: 
>>> Generate failed with exception ''
>>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator: 

[weewx-user] Re: airQ_corant and weewx

2021-09-04 Thread hesf...@gmail.com
Ja gibt es!

kk44...@gmail.com schrieb am Samstag, 4. September 2021 um 15:10:11 UTC+2:

> Gibt es den Eintrag user.airQ_corant.AirqUnits in der Zeile prep_services?
>
> hesf...@gmail.com schrieb am Samstag, 4. September 2021 um 12:32:26 UTC+2:
>
>> Hallo,
>> der Hinweis mit /lang in /Seasons war Gold wert.
>> Und hier der Auszug aus weewx.conf
>> [airQ]
>>
>> [[first_device]]
>> host = 192.168.38.18
>> password = passwd
>> prefix = og
>> #altitude = set_if_not_station_altitude
>>
>> [[second_device]]
>> host = 192.168.38.19
>> password = passwd
>> prefix = eg
>> #altitude = set_if_not_station_altitude
>>
>> Jetzt kommt:
>> Sep  4 12:25:44 ba001 weewx[11803] INFO weewx.reportengine: Using 
>> localization file /home/weewx/skins/airQ/lang/de.conf for report 
>> 'airqReport'
>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator: Generate 
>> failed with exception ''
>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator:  
>> Ignoring template /home/weewx/skins/airQ/first_device.html.tmpl
>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator:  
>> Reason: cannot find 'milligram_per_meter_cubed' while searching for 
>> 'current.og_co.milligram_per_meter_cubed'
>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator:   
>> Traceback (most recent call last):
>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator: 
>> File "/home/weewx/bin/weewx/cheetahgenerator.py", line 332, in generate
>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator: 
>>   unicode_string = compiled_template.respond()
>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator: 
>> File "_home_weewx_skins_airQ_first_device_html_tmpl.py", line 328, in 
>> respond
>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator:   
>> NameMapper.NotFound: cannot find 'milligram_per_meter_cubed' while 
>> searching for 'current.og_co.milligram_per_meter_cubed'
>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator: Generate 
>> failed with exception ''
>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator:  
>> Ignoring template /home/weewx/skins/airQ/second_device.html.tmpl
>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator:  
>> Reason: cannot find 'milligram_per_meter_cubed' while searching for 
>> 'current.eg_co.milligram_per_meter_cubed'
>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator:   
>> Traceback (most recent call last):
>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator: 
>> File "/home/weewx/bin/weewx/cheetahgenerator.py", line 332, in generate
>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator: 
>>   unicode_string = compiled_template.respond()
>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator: 
>> File "_home_weewx_skins_airQ_second_device_html_tmpl.py", line 328, in 
>> respond
>> Sep  4 12:25:45 ba001 weewx[11803] ERROR weewx.cheetahgenerator:   
>> NameMapper.NotFound: cannot find 'milligram_per_meter_cubed' while 
>> searching for 'current.eg_co.milligram_per_meter_cubed'
>>
>> Nach Neustart
>> Sep  4 12:29:53 ba001 weewx[12149] INFO user.cmon: cpuinfo: CPU variant: 
>> 0x0
>> Sep  4 12:29:53 ba001 weewx[12149] INFO user.cmon: cpuinfo: CPU part: 
>> 0xc07
>> Sep  4 12:29:53 ba001 weewx[12149] INFO user.cmon: cpuinfo: CPU revision: 
>> 4
>> Sep  4 12:29:53 ba001 weewx[12149] INFO user.cmon: cpuinfo: Hardware: 
>> Allwinner sun7i (A20) Family
>> Sep  4 12:29:53 ba001 weewx[12149] INFO user.cmon: cpuinfo: Revision: 
>> Sep  4 12:29:53 ba001 weewx[12149] INFO user.cmon: cpuinfo: Serial: 
>> 1651660f08c142bc
>> Sep  4 12:29:53 ba001 weewx[12149] INFO user.airQ: air-Q 0.7 initialize 
>> units
>> Sep  4 12:29:53 ba001 weewx[12149] INFO user.airQ: device 'first_device': 
>> observation group dict {'og_Temp': 'group_temperature', 'og_Humidity': 
>> 'group_percent', 'og_HumAbs': 'group_concentration', 'og_Dewpoint': 
>> 'group_temperature', 'og_Pressure': 'group_pressure', 'og_Altimeter': 
>> 'group_pressure', 'og_Barometer&#x

[weewx-user] Re: airQ_corant and weewx

2021-09-04 Thread hesf...@gmail.com
_cnt0_3': 'group_count', 'og_cnt0_5': 'group_count', 
'og_cnt1_0': 'group_count', 'og_cnt2_5': 'group_count', 'og_cnt5_0': 
'group_count', 'og_cnt10_0': 'group_count'}
Sep  4 12:29:53 ba001 weewx[12149] INFO user.airQ: device 'second_device': 
observation group dict {'eg_Temp': 'group_temperature', 'eg_Humidity': 
'group_percent', 'eg_HumAbs': 'group_concentration', 'eg_Dewpoint': 
'group_temperature', 'eg_Pressure': 'group_pressure', 'eg_Altimeter': 
'group_pressure', 'eg_Barometer': 'group_pressure', 'eg_co_m': 
'group_concentration', 'eg_co': 'group_fraction', 'eg_co2': 
'group_fraction', 'eg_h2s': 'group_concentration', 'eg_no2_m': 
'group_concentration', 'eg_no2': 'group_fraction', 'eg_pm1_0': 
'group_concentration', 'eg_pm2_5': 'group_concentration', 'eg_pm10_0': 
'group_concentration', 'eg_o3_m': 'group_concentration', 'eg_o3': 
'group_fraction', 'eg_so2_m': 'group_concentration', 'eg_so2': 
'group_fraction', 'eg_TVOC': 'group_fraction', 'eg_o2': 'group_percent', 
'eg_noise': 'group_db', 'eg_PerfIdx': 'group_percent', 'eg_HealthIdx': 
'group_percent', 'eg_cnt0_3': 'group_count', 'eg_cnt0_5': 'group_count', 
'eg_cnt1_0': 'group_count', 'eg_cnt2_5': 'group_count', 'eg_cnt5_0': 
'group_count', 'eg_cnt10_0': 'group_count'}
Sep  4 12:29:53 ba001 weewx[12149] INFO user.airQ: air-Q 0.7 service
Sep  4 12:29:53 ba001 weewx[12149] INFO user.airQ: device 'first_device' 
host address '192.168.38.18' prefix 'og' query interval 5.0 s altitude 54 m
Sep  4 12:29:54 ba001 weewx[12149] INFO user.airQ: device 'first_device' 
device id: 99...2a
Sep  4 12:29:54 ba001 weewx[12149] INFO user.airQ: device 'first_device' 
firmware version: 1.20.2.r4_D_1.75
Sep  4 12:29:54 ba001 weewx[12149] INFO user.airQ: device 'first_device' 
sensors: ['co', 'co2', 'no2', 'o3', 'oxygen', 'particulates', 'pressure', 
'so2', 'sound', 'temperature', 'tvoc', 'humidity', 'humidity_abs', 'dewpt']
Sep  4 12:29:54 ba001 weewx[12149] INFO user.airQ: device 'first_device' 
concentration units config: µg/m^3
Sep  4 12:29:54 ba001 weewx[12149] INFO user.airQ: thread 'first_device', 
host '192.168.38.18': initialized
Sep  4 12:29:54 ba001 weewx[12149] INFO user.airQ: device 'first_device' 
QFF calculation temperature source: outTemp
Sep  4 12:29:54 ba001 weewx[12149] INFO user.airQ: thread 'first_device', 
host '192.168.38.18': starting
Sep  4 12:29:54 ba001 weewx[12149] INFO user.airQ: device 'second_device' 
host address '192.168.38.19' prefix 'eg' query interval 5.0 s altitude 54 m
Sep  4 12:29:55 ba001 weewx[12149] INFO user.airQ: thread 'first_device', 
host '192.168.38.18': 200 - OK
Sep  4 12:29:55 ba001 weewx[12149] INFO user.airQ: device 'second_device' 
device id: 21...63
Sep  4 12:29:55 ba001 weewx[12149] INFO user.airQ: device 'second_device' 
firmware version: 1.20.2.r4_D_1.75
Sep  4 12:29:55 ba001 weewx[12149] INFO user.airQ: device 'second_device' 
sensors: ['co', 'co2', 'no2', 'particulates', 'pressure', 'sound', 
'temperature', 'tvoc', 'humidity', 'humidity_abs', 'dewpt']
Sep  4 12:29:55 ba001 weewx[12149] INFO user.airQ: device 'second_device' 
concentration units config: µg/m^3
Sep  4 12:29:55 ba001 weewx[12149] INFO user.airQ: thread 'second_device', 
host '192.168.38.19': initialized
Sep  4 12:29:55 ba001 weewx[12149] INFO user.airQ: device 'second_device' 
QFF calculation temperature source: outTemp
Sep  4 12:29:55 ba001 weewx[12149] INFO user.airQ: thread 'second_device', 
host '192.168.38.19': starting
Sep  4 12:29:55 ba001 weewx[12149] INFO user.airQ: 2 air-Q devices found
Sep  4 12:29:55 ba001 weewx[12149] INFO weewx.engine: StdConvert target 
unit is 0x10
Sep  4 12:29:55 ba001 weewx[12149] INFO weewx.wxservices: StdWXCalculate 
will use data binding wx_binding
Sep  4 12:29:55 ba001 weewx[12149] INFO weew

[weewx-user] airQ_corant and weewx

2021-09-03 Thread hesf...@gmail.com
Guten Morgen,
ich habe versucht zwei airQ's hinzuzufügen.
Ich verwende weewx 4.6.0.b1 
mit Pythin 3.9 
Debian Bullseye auf einem BananaPi

als Driver habe ich "cmon" eingesetzt sonst wird die Datenbank einfach zu 
groß
cmon.sdb ist eingerichtet dann der Versuch
1.
root@ba001:/home/weewx/bin# ./airq_conf --device=first_device --add-columns 
Using configuration file /home/weewx/weewx.conf
Adding columns for device 'first_device', prefix 'og'
Traceback (most recent call last):
  File "/home/weewx/bin/./airq_conf", line 6, in 
user.airq_conf.main()
  File "/home/weewx/bin/user/airq_conf.py", line 154, in main
addDropColumns(config_dict, db_binding, device, action_add, action_drop)
  File "/home/weewx/bin/user/airq_conf.py", line 214, in addDropColumns
schema = manager_dict.get('schema',{}).get('table',{})
AttributeError: 'list' object has no attribute 'get'

root@ba001:/home/weewx/bin# ./airq_conf --device=second_device 
--add-columns 
Using configuration file /home/weewx/weewx.conf
Adding columns for device 'second_device', prefix 'eg'
Traceback (most recent call last):
  File "/home/weewx/bin/./airq_conf", line 6, in 
user.airq_conf.main()
  File "/home/weewx/bin/user/airq_conf.py", line 154, in main
addDropColumns(config_dict, db_binding, device, action_add, action_drop)
  File "/home/weewx/bin/user/airq_conf.py", line 214, in addDropColumns
schema = manager_dict.get('schema',{}).get('table',{})
AttributeError: 'list' object has no attribute 'get'

2.
root@ba001:/home/weewx/bin# ./airq_conf --create-skin
Using configuration file /home/weewx/weewx.conf
device 'first_device':
  sensors ['co', 'co2', 'no2', 'o3', 'oxygen', 'particulates', 'pressure', 
'so2', 'sound', 'temperature', 'tvoc', 'humidity', 'humidity_abs', 'dewpt']
  obstypes in database []
device 'second_device':
  sensors ['co', 'co2', 'no2', 'particulates', 'pressure', 'sound', 
'temperature', 'tvoc', 'humidity', 'humidity_abs', 'dewpt']
  obstypes in database []
Seasons skin path: /home/weewx/skins/Seasons
airQ skin path:/home/weewx/skins/airQ
Seasons skin lang: None
'/home/weewx/skins/airQ' already exists, contents will be overwritten
copy seasons.css
copy seasons.js
copy favicon.ico
font directory already exists
copy OpenSans-Regular.ttf
copy OpenSans.woff
copy OpenSans-Bold.ttf
copy OpenSans.woff2
copy Kanit-Bold.ttf
copy license.txt
copy OFL.txt
copy Kanit-Regular.ttf
language directory already exists
creating skin file '/home/weewx/skins/airQ/skin.conf'
  writing section [CheetahGenerator]
  writing section [CopyGenerator]
  writing section [ImageGenerator]
  writing section [Generators]
  done.
no language defined
Traceback (most recent call last):
  File "/home/weewx/bin/./airq_conf", line 6, in 
user.airq_conf.main()
  File "/home/weewx/bin/user/airq_conf.py", line 152, in main
createSkin(config_path,config_dict, db_binding)
  File "/home/weewx/bin/user/airq_conf.py", line 664, in createSkin
airqlang = SkinLanguage(seasons_skin_path,airq_skin_path,seasons_lang)
  File "/home/weewx/bin/user/airq_conf.py", line 805, in __init__
if os.path.isfile(self.seasons_lang_path):
  File "/usr/lib/python3.9/genericpath.py", line 30, in isfile
st = os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not 
NoneType

3. jedoch
root@ba001:/home/weewx/bin# ./airq_conf --device=second_device 
--set-location=53.605963,11.341407
Using configuration file /home/weewx/weewx.conf
device 'second_device' host '192.168.38.19' set {'geopos': {'lat': 
53.605963, 'long': 11.341407}}
Are you sure you want to proceed (y/n)?y
id: 21...63
content: Success: new setting saved for key 'geopos': {'lat': 53.60597, 
'long': 11.34141}
und
root@ba001:/home/weewx/bin# ./airq_conf --device=second_device --set-ntp=de
Using configuration file /home/weewx/weewx.conf
device 'second_device' host '192.168.38.19' set {'TimeServer': 
'ptbtime3.ptb.de'}
Are you sure you want to proceed (y/n)?y
id: 21..63
content: Success: new setting saved for key 'TimeServer': ptbtime3.ptb.de
erfolgreich

Ich bitte um Hilfe

Hartmut

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/df9a36c3-67e1-4b1b-9fc7-b880c8fd19b7n%40googlegroups.com.


Re: [weewx-user] Best air quality sensor for weewx Air-Q

2021-07-26 Thread hesf...@gmail.com
Guten Morgen,
Plötzlich läuft alles nach dem Neustart.
Ich habe in units.py die Umrechnungen Micro, Milli, ppm, ppb vollständig 
ergänzt und dann in airQ_corant.py auskommentiert .
Mein Problem war, ich habe weewx in zwei unterschiedlichen conf-Dateien 
laufen (weewx.conf und cmon.conf)
So war weewx.conf die Einstellungen von cmon.conf nicht bekannt. Denn unter 
cmon.conf hatte ich airQ ergänzt, als nächster Schritt folgt nun die 
Berechnung "European Union's European Air Quality Index"
nach https://github.com/jonathankoren/weewx-aqi
Danke für die Unterstützung
Hartmut
kk44...@gmail.com schrieb am Montag, 26. Juli 2021 um 18:13:39 UTC+2:

> Ich habe nicht wirklich etwas geändert.
>
> In Zeile 532 überträgt event.packet.update(data) die Daten vom airQ in 
> den LOOP-Datensatz von WeeWX. Man könnte vorher data loggen oder danach 
> event.packet. Auch Einstellungen im Abschnit [Accumulator] von weewx.conf 
> können das Verhalten beeinflussen. Man kann auch noch in 
> [StdWXCalculate][[Calculations]] die Werte mit "= software" eintragen.
>
> Manche Verhaltensweisen erscheinen mir auch so, als ob die Ergänzungen in 
> weewx.units.obs_group_dict und weewx.units.conversionDict nicht mehr da 
> sind.
>
> hesf...@gmail.com schrieb am Montag, 26. Juli 2021 um 16:42:24 UTC+2:
>
>> Noch seltsamer
>>
>> log:
>> Jul 26 16:35:20 hesba weewx[25964] INFO user.airQ: air-Q-Data: {'tvoc': 
>> [167, 25.05], 'pm2_5': [7, 11], 'DeviceID': 'g..g', 'Status': 'OK', 
>> 'humidity': [57.74, 3.42], 'measuretime': 2315, 'cnt0_3': [1053, 114], 
>> 'sound': [20.0, 20.0], 'temperature': [26.675, 0.53], 'cnt0_5': [332, 43], 
>> 'performance': 787.9454, 'co': [1.687, 0.21], 'humidity_abs': [14.659, 
>> 0.68], 'co2': [494, 64.82], 'uptime': 14783, 'so2': [610.98, 142.4], 
>> 'cnt2_5': [2, 10], 'o3': [25.23, 1.7], 'cnt10': [0, 10], 'no2': [23.17, 
>> 3.9], 'cnt5': [0, 10], 'timestamp': 162731010, 'pressure': [1004.27, 
>> 1.0], 'TypPS': 2.31, 'cnt1': [36, 14], 'door_event': 0, 'pm1': [6, 11], 
>> 'oxygen': [20.501, 0.75], 'dewpt': [17.304, 0.8], 'pm10': [8, 11], 
>> 'health': 711, 'bat': [0, 0], 'dHdt': -0.14, 'dCO2dt': 1.15}
>> Jul 26 16:35:20 hesba weewx[25964] INFO user.airQ: air-Q-Data: {'tvoc': 
>> [170, 25.5], 'pm2_5': [8, 11], 'DeviceID': 'g...g', 'Status': 'OK', 
>> 'humidity': [57.74, 3.42], 'measuretime': 1772, 'cnt0_3': [1110, 119], 
>> 'sound': [20.0, 20.0], 'temperature': [26.675, 0.53], 'cnt0_5': [345, 44], 
>> 'performance': 788.2166, 'co': [1.688, 0.21], 'humidity_abs': [14.659, 
>> 0.68], 'co2': [493, 64.79], 'uptime': 14790, 'so2': [610.98, 142.4], 
>> 'cnt2_5': [6, 11], 'o3': [25.29, 1.7], 'cnt10': [0, 10], 'no2': [23.36, 
>> 3.9], 'cnt5': [4, 10], 'timestamp': 1627310107000, 'pressure': [1004.27, 
>> 1.0], 'TypPS': 4.12, 'cnt1': [42, 14], 'door_event': 0, 'pm1': [7, 11], 
>> 'oxygen': [20.501, 0.75], 'dewpt': [17.304, 0.8], 'pm10': [12, 11], 
>> 'health': 667, 'bat': [0, 0], 'dHdt': -0.14, 'dCO2dt': 2.6}
>> Jul 26 16:35:20 hesba weewx[25964] INFO user.airQ: air-Q-Data: {'tvoc': 
>> [174, 26.1], 'pm2_5': [9, 11], 'DeviceID': 'g...g', 'Status': 'OK', 
>> 'humidity': [57.74, 3.42], 'measuretime': 1849, 'cnt0_3': [981, 107], 
>> 'sound': [20.0, 20.0], 'temperature': [26.655, 0.53], 'cnt0_5': [309, 40], 
>> 'performance': 789.4027, 'co': [1.688, 0.21], 'humidity_abs': [14.643, 
>> 0.68], 'co2': [493, 64.79], 'uptime': 14794, 'so2': [610.63, 142.4], 
>> 'cnt2_5': [4, 10], 'o3': [25.18, 1.7], 'cnt10': [0, 10], 'no2': [23.04, 
>> 3.9], 'cnt5': [4, 10], 'timestamp': 1627310112000, 'pressure': [1004.27, 
>> 1.0], 'TypPS': 2.91, 'cnt1': [57, 16], 'door_event': 0, 'pm1': [7, 11], 
>> 'oxygen': [20.501, 0.75], 'dewpt': [17.286, 0.8], 'pm10

Re: [weewx-user] Best air quality sensor for weewx Air-Q

2021-07-26 Thread hesf...@gmail.com
Noch seltsamer

log:
Jul 26 16:35:20 hesba weewx[25964] INFO user.airQ: air-Q-Data: {'tvoc': 
[167, 25.05], 'pm2_5': [7, 11], 'DeviceID': 'g..g', 'Status': 'OK', 
'humidity': [57.74, 3.42], 'measuretime': 2315, 'cnt0_3': [1053, 114], 
'sound': [20.0, 20.0], 'temperature': [26.675, 0.53], 'cnt0_5': [332, 43], 
'performance': 787.9454, 'co': [1.687, 0.21], 'humidity_abs': [14.659, 
0.68], 'co2': [494, 64.82], 'uptime': 14783, 'so2': [610.98, 142.4], 
'cnt2_5': [2, 10], 'o3': [25.23, 1.7], 'cnt10': [0, 10], 'no2': [23.17, 
3.9], 'cnt5': [0, 10], 'timestamp': 162731010, 'pressure': [1004.27, 
1.0], 'TypPS': 2.31, 'cnt1': [36, 14], 'door_event': 0, 'pm1': [6, 11], 
'oxygen': [20.501, 0.75], 'dewpt': [17.304, 0.8], 'pm10': [8, 11], 
'health': 711, 'bat': [0, 0], 'dHdt': -0.14, 'dCO2dt': 1.15}
Jul 26 16:35:20 hesba weewx[25964] INFO user.airQ: air-Q-Data: {'tvoc': 
[170, 25.5], 'pm2_5': [8, 11], 'DeviceID': 'g...g', 'Status': 'OK', 
'humidity': [57.74, 3.42], 'measuretime': 1772, 'cnt0_3': [1110, 119], 
'sound': [20.0, 20.0], 'temperature': [26.675, 0.53], 'cnt0_5': [345, 44], 
'performance': 788.2166, 'co': [1.688, 0.21], 'humidity_abs': [14.659, 
0.68], 'co2': [493, 64.79], 'uptime': 14790, 'so2': [610.98, 142.4], 
'cnt2_5': [6, 11], 'o3': [25.29, 1.7], 'cnt10': [0, 10], 'no2': [23.36, 
3.9], 'cnt5': [4, 10], 'timestamp': 1627310107000, 'pressure': [1004.27, 
1.0], 'TypPS': 4.12, 'cnt1': [42, 14], 'door_event': 0, 'pm1': [7, 11], 
'oxygen': [20.501, 0.75], 'dewpt': [17.304, 0.8], 'pm10': [12, 11], 
'health': 667, 'bat': [0, 0], 'dHdt': -0.14, 'dCO2dt': 2.6}
Jul 26 16:35:20 hesba weewx[25964] INFO user.airQ: air-Q-Data: {'tvoc': 
[174, 26.1], 'pm2_5': [9, 11], 'DeviceID': 'g...g', 'Status': 'OK', 
'humidity': [57.74, 3.42], 'measuretime': 1849, 'cnt0_3': [981, 107], 
'sound': [20.0, 20.0], 'temperature': [26.655, 0.53], 'cnt0_5': [309, 40], 
'performance': 789.4027, 'co': [1.688, 0.21], 'humidity_abs': [14.643, 
0.68], 'co2': [493, 64.79], 'uptime': 14794, 'so2': [610.63, 142.4], 
'cnt2_5': [4, 10], 'o3': [25.18, 1.7], 'cnt10': [0, 10], 'no2': [23.04, 
3.9], 'cnt5': [4, 10], 'timestamp': 1627310112000, 'pressure': [1004.27, 
1.0], 'TypPS': 2.91, 'cnt1': [57, 16], 'door_event': 0, 'pm1': [7, 11], 
'oxygen': [20.501, 0.75], 'dewpt': [17.286, 0.8], 'pm10': [11, 11], 
'health': 667, 'bat': [0, 0], 'dHdt': -0.14, 'dCO2dt': 3.44}
Jul 26 16:35:21 hesba weewx[25964] INFO weewx.manager: Added record 
2021-07-26 16:35:00 CEST (1627310100) to database 'wee2021'
Jul 26 16:35:22 hesba weewx[25964] INFO weewx.manager: Added record 
2021-07-26 16:35:00 CEST (1627310100) to daily summary in 'wee2021'
Jul 26 16:35:34 hesba weewx[25964] INFO weewx.cheetahgenerator: Generated 8 
files for report SeasonsReport in 12.12 seconds
Jul 26 16:35:38 hesba weewx[25964] INFO weewx.imagegenerator: Generated 15 
images for report SeasonsReport in 3.46 seconds
Jul 26 16:35:38 hesba weewx[25964] INFO weewx.reportengine: Copied 0 files 
to /home/weewx/public_html
Jul 26 16:35:38 hesba weewx[25964] INFO weewx.cheetahgenerator: Generated 3 
files for report airqReport in 0.24 seconds
Jul 26 16:35:41 hesba weewx[25964] INFO weewx.imagegenerator: Generated 15 
images for report airqReport in 2.76 seconds
Jul 26 16:35:41 hesba weewx[25964] INFO weewx.reportengine: Copied 0 files 
to /home/weewx/public_html/airQ

und in der Datenbank keine Einträge (DeviceID habe ich gelöscht)
log einfach # loginf("air-Q devices Data: %s" % reply) eingefügt
Gruss
Hartmut
kk44...@gmail.com schrieb am Sonntag, 25. Juli 2021 um 21:01:58 UTC+2:

> hesf...@gmail.com schrieb am Sonntag, 25. Juli 2021 um 15:52:39 UTC+2:
>
>> Ich habe keine Lösung "ppm" zu "ppb" funktioniert.
>>
>
> Seltsam.
>  
>
>> und jetzt spielt mein air-Q nicht mehr mit. Kein WLAN-Netz. Aber keine 
>> Sorge, das wird 
>>
>>
> Das habe ich schon mehrfach erlebt. Laut dem airQ-Support-Forum soll es 
> etwas mit der Nachtmodusumschaltung zu tun haben.
>  
> Ich habe die Sprachdatei für die deutsche Version noch eingebaut. Das 
> funktioniert aber nur mit der Alpha-Version von WeeWX 4.6 und einer 
> installierten Seasons-Skin ebenfalls von 4.6.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/84ada94c-2577-4d03-897d-bb3c453e3bb4n%40googlegroups.com.


Re: [weewx-user] Best air quality sensor for weewx Air-Q

2021-07-25 Thread hesf...@gmail.com
Ich habe keine Lösung "ppm" zu "ppb" funktioniert.

und jetzt spielt mein air-Q nicht mehr mit. Kein WLAN-Netz. Aber keine 
Sorge, das wird 
Danke
Hartmut

kk44...@gmail.com schrieb am Sonntag, 25. Juli 2021 um 12:42:03 UTC+2:

> Ich habe mal eine kleine Änderung vorgenommen (siehe Anhang). Vielleicht 
> funktioniert es damit. Ich kann es leider nicht selbst testen, weil es bei 
> mir funktioniert.
>
> Karen
>
>
> hesf...@gmail.com schrieb am Sonntag, 25. Juli 2021 um 08:37:04 UTC+2:
>
>> sorry 
>> die Erweiterung für die Einheitendarstellung in
>>
>> $current.airqHumAbs.gram_per_meter_cubed
>> $current.airqCO.milligram_per_meter_cubed.format("%.2f")
>> $current.airqO3.microgram_per_meter_cubed.format("%.1f")
>>
>> habe ich in first_device.html.tmpl entfernt, dann generiert weewx die 
>> Seiten
>> Hartmut
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/8902debe-5878-45c6-8f54-bf84bff60388n%40googlegroups.com.


Re: [weewx-user] Best air quality sensor for weewx Air-Q

2021-07-24 Thread hesf...@gmail.com
sorry 
die Erweiterung für die Einheitendarstellung in

$current.airqHumAbs.gram_per_meter_cubed
$current.airqCO.milligram_per_meter_cubed.format("%.2f")
$current.airqO3.microgram_per_meter_cubed.format("%.1f")

habe ich in first_device.html.tmpl entfernt, dann generiert weewx die Seiten
Hartmut

hesf...@gmail.com schrieb am Sonntag, 25. Juli 2021 um 08:00:08 UTC+2:

> Hallo und Guten Morgen,
>
> da sind noch 2 Fehler.
> 1. airQ_corant.py
> __altitude = config_dict['airQ'][device]['altitude'] 
> if len(__altitude)==3: 
>  __altitude = weewx.units.ValueTuple(__altitude[0],__altitude[1],
> __altitude[2]) 
> else:
>  __altitude = weewx.units.ValueTuple(__altitude[0],__altitdue[1],'
> group_altitude')
> in Zeile 355
>
> 2. ich weiß nicht wo ich suchen muss.
> Jul 25 07:50:39 hesba weewx[10248] INFO weewx.reportengine: Using 
> localization file /home/weewx/skins/airQ/lang/de.conf for report 
> 'airqReport'
> Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator: Generate 
> failed with exception ''
> Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator:  
> Ignoring template /home/weewx/skins/airQ/first_device.html.tmpl
> Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator:  
> Reason: 'UnknownType' object is not subscriptable
> Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator:   
> Traceback (most recent call last):
> Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator: 
> File "/home/weewx/bin/weewx/cheetahgenerator.py", line 332, in generate
> Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator:   
> unicode_string = compiled_template.respond()
> Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator: 
> File "_home_weewx_skins_airQ_first_device_html_tmpl.py", line 346, in 
> respond
> Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator: 
> File "/home/weewx/bin/weewx/units.py", line 1612, in __getattr__
> Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator:   
> converted = self.convert(target_unit)
> Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator: 
> File "/home/weewx/bin/weewx/units.py", line 1593, in convert
> Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator:   
> value_t = convert(self.value_t, target_unit)
> Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator: 
> File "/home/weewx/bin/weewx/units.py", line 1938, in convert
> Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator:   
> if val_t[1] == target_unit:
> Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator:   
> TypeError: 
> 'UnknownType' object is not subscriptable
>
> wenn ich in  $current.airqHumAbs.gram_per_meter_cubed  
> ".gram_per_meter_cubed" keine Fehler
>
> Gruß
> Hartmut
>
> kk44...@gmail.com schrieb am Samstag, 24. Juli 2021 um 21:12:16 UTC+2:
>
>> I added an additional command to the configuration tool, that creates a 
>> simple skin based on the Seasons skin with all the airQ devices found in 
>> weewx.conf and displaying the values and the diagrams for them. Simply call 
>> sudo 
>> airq_conf --create-skin and find the new skin in /etc/weewx/skins/airQ.
>>
>> Karen K schrieb am Sonntag, 18. Juli 2021 um 21:21:11 UTC+2:
>>
>>> Configuration tool is uploaded to Github. Please, be careful using it. 
>>> Don't forget backup.
>>>
>>> Karen K schrieb am Sonntag, 18. Juli 2021 um 18:48:36 UTC+2:
>>>
>>>> CO is really milligram not microgram according to the airQ 
>>>> documentation and the display in the airQ app.
>>>>
>>>> Regarding "prefix": If you have more than one airQ device, you need 
>>>> different names of the observation types for each of them. That's the 
>>>> prefix for. Imagine there are 3 airQ devices, one outside, one in the 
>>>> bedroom and one in the living room. Your could configure the outside 
>>>> device 
>>>> without prefix to put "co", "co2", "no2", "noise", "o3", "pm1_0", "pm2_5", 
>>>> "pm10_0", and "so2" into the predefined columns of the WeeWX database. For 
>>>> the bedroom device you could set "prefix = bedroom". So you get 
>>>> "bedroom_co", "bedroom_co2" etc. for that device. And for the living room 
>>>> device you could set "pref

Re: [weewx-user] Best air quality sensor for weewx Air-Q

2021-07-24 Thread hesf...@gmail.com
Hallo und Guten Morgen,

da sind noch 2 Fehler.
1. airQ_corant.py
__altitude = config_dict['airQ'][device]['altitude'] 
if len(__altitude)==3: 
 __altitude = weewx.units.ValueTuple(__altitude[0],__altitude[1],
__altitude[2]) 
else:
 __altitude = weewx.units.ValueTuple(__altitude[0],__altitdue[1],'
group_altitude')
in Zeile 355

2. ich weiß nicht wo ich suchen muss.
Jul 25 07:50:39 hesba weewx[10248] INFO weewx.reportengine: Using 
localization file /home/weewx/skins/airQ/lang/de.conf for report 
'airqReport'
Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator: Generate 
failed with exception ''
Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator:  
Ignoring template /home/weewx/skins/airQ/first_device.html.tmpl
Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator:  
Reason: 'UnknownType' object is not subscriptable
Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator:   
Traceback (most recent call last):
Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator: 
File "/home/weewx/bin/weewx/cheetahgenerator.py", line 332, in generate
Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator:   
unicode_string = compiled_template.respond()
Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator: 
File "_home_weewx_skins_airQ_first_device_html_tmpl.py", line 346, in 
respond
Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator: 
File "/home/weewx/bin/weewx/units.py", line 1612, in __getattr__
Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator:   
converted = self.convert(target_unit)
Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator: 
File "/home/weewx/bin/weewx/units.py", line 1593, in convert
Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator:   
value_t = convert(self.value_t, target_unit)
Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator: 
File "/home/weewx/bin/weewx/units.py", line 1938, in convert
Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator:   
if val_t[1] == target_unit:
Jul 25 07:50:40 hesba weewx[10248] ERROR weewx.cheetahgenerator:   
TypeError: 
'UnknownType' object is not subscriptable

wenn ich in  $current.airqHumAbs.gram_per_meter_cubed  
".gram_per_meter_cubed" keine Fehler

Gruß
Hartmut

kk44...@gmail.com schrieb am Samstag, 24. Juli 2021 um 21:12:16 UTC+2:

> I added an additional command to the configuration tool, that creates a 
> simple skin based on the Seasons skin with all the airQ devices found in 
> weewx.conf and displaying the values and the diagrams for them. Simply call 
> sudo 
> airq_conf --create-skin and find the new skin in /etc/weewx/skins/airQ.
>
> Karen K schrieb am Sonntag, 18. Juli 2021 um 21:21:11 UTC+2:
>
>> Configuration tool is uploaded to Github. Please, be careful using it. 
>> Don't forget backup.
>>
>> Karen K schrieb am Sonntag, 18. Juli 2021 um 18:48:36 UTC+2:
>>
>>> CO is really milligram not microgram according to the airQ documentation 
>>> and the display in the airQ app.
>>>
>>> Regarding "prefix": If you have more than one airQ device, you need 
>>> different names of the observation types for each of them. That's the 
>>> prefix for. Imagine there are 3 airQ devices, one outside, one in the 
>>> bedroom and one in the living room. Your could configure the outside device 
>>> without prefix to put "co", "co2", "no2", "noise", "o3", "pm1_0", "pm2_5", 
>>> "pm10_0", and "so2" into the predefined columns of the WeeWX database. For 
>>> the bedroom device you could set "prefix = bedroom". So you get 
>>> "bedroom_co", "bedroom_co2" etc. for that device. And for the living room 
>>> device you could set "prefix = livingroom". So you get "livingroom_co", 
>>> "livingroom_co2", etc. for that. To create the appropriate columns in the 
>>> database I prepare a tool. I it is written, but still not tested. I got the 
>>> second shot of Corona vaccination yesterday, and I am still down.
>>>
>>> Thank you for the information about installing the crypto modules. In my 
>>> case there was no need to install it separately. But I will include it in 
>>> the documentation.
>>>
>>>
>>>
>>>
>>> hesf...@gmail.com schrieb am Sonntag, 18. Juli 2021 um 07:18:29 UTC+2:
>>>
>>>> Guten Morgen,
>>>> ich habe die Fehler während der Installatio

[weewx-user] Re: airQ by airQ_corant

2021-07-19 Thread hesf...@gmail.com
and ich erstelle eine aktuelle Kopie der weewx_mysql mit 

user.weewxwd3.WeeArchive,

#===
 
# Class WeeArchive 
#===
 

class WeeArchive(weewx.engine.StdService): 
""" Service to store Weewx-WEE specific archive data. """ 

def __init__(self, engine, config_dict): 
super(WeeArchive, self).__init__(engine, config_dict) 

# Extract our binding from the Weewx-WEE section of the config file. If 
# it's missing, fill with a default 
if 'WeewxArchive' in config_dict: 
self.data_binding = config_dict['WeewxArchive'].get('data_binding', 
'wee_binding') 
else: 
self.data_binding = 'wee_binding' 

log.info("Weewx-Archive will use data binding %s", self.data_binding) 

# setup our database if needed 
self.setup_database(config_dict) 

# bind ourselves to NEW_ARCHIVE_RECORD event 
self.bind(weewx.NEW_ARCHIVE_RECORD, self.new_archive_record) 


def new_archive_record(self, event): 
"""Called when a new archive record has arrived. """ 

# get our manager 
dbmanager = self.engine.db_binder.get_manager(self.data_binding) 
# now put the record in the archive 
dbmanager.addRecord(event.record) 

def setup_database(self, config_dict): 
"""Setup the main database archive""" 

# This will create the database if it doesn't exist, then return an 
# opened instance of the database manager. 
dbmanager = self.engine.db_binder.get_manager(self.data_binding, initialize=
True) log.info("Weewx-Archive using binding '%s' to database '%s'", self.
data_binding, dbmanager.database_name)

Hartmut


VOC  $current.TVOC.ppb --> Ergebnis 
VOC  12,653846  ohne ppb 19.07.2021 12:55:00
hesf...@gmail.com schrieb am Montag, 19. Juli 2021 um 12:50:21 UTC+2:

> Hallo, es ist nicht die aller neuste Version von meiner Erweiterung von 
> WEEWX, 
>
> aber unter https://github.com/hes19073/hesweewx/blob/master/weewx.conf
>
> steht eine Version
>
> Das Ergebnis ist unter http://wetter.hes61.de/
>
> Es werden neben weewx_mysql noch 12 weitere Datentabellen von 3 RasPI und 
> 2 BanaPI geliefert.
> mit einem PC Celeron 16MB-Ram und einem 1TB Raid 1 verarbeitet.
>
> Danke für das Verständnis und die sehr schnelle Antwort.
> Hartmut
>
> kk44...@gmail.com schrieb am Montag, 19. Juli 2021 um 12:38:09 UTC+2:
>
>> hesf...@gmail.com schrieb am Montag, 19. Juli 2021 um 12:32:51 UTC+2:
>>
>>> Hallo, 
>>> und jetzt noch wenn es nicht zu vermessen,
>>> die Daten in eine eigene Datenbank.
>>> Hartmut
>>>
>>
>> Das muß mir mal einer erklären, wie es geht. Ich befürchte, WeeWX kann 
>> nur in eine Datenbank schreiben, wenn ich das Kapitel [StdArchive] in 
>> weewx.conf richtig interpretiere. 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/cc1b4d7b-873b-4811-8ffc-203a7bfc388fn%40googlegroups.com.


[weewx-user] Re: airQ by airQ_corant

2021-07-19 Thread hesf...@gmail.com
Hallo, es ist nicht die aller neuste Version von meiner Erweiterung von 
WEEWX, 

aber unter https://github.com/hes19073/hesweewx/blob/master/weewx.conf

steht eine Version

Das Ergebnis ist unter http://wetter.hes61.de/

Es werden neben weewx_mysql noch 12 weitere Datentabellen von 3 RasPI und 2 
BanaPI geliefert.
mit einem PC Celeron 16MB-Ram und einem 1TB Raid 1 verarbeitet.

Danke für das Verständnis und die sehr schnelle Antwort.
Hartmut

kk44...@gmail.com schrieb am Montag, 19. Juli 2021 um 12:38:09 UTC+2:

> hesf...@gmail.com schrieb am Montag, 19. Juli 2021 um 12:32:51 UTC+2:
>
>> Hallo, 
>> und jetzt noch wenn es nicht zu vermessen,
>> die Daten in eine eigene Datenbank.
>> Hartmut
>>
>
> Das muß mir mal einer erklären, wie es geht. Ich befürchte, WeeWX kann nur 
> in eine Datenbank schreiben, wenn ich das Kapitel [StdArchive] in 
> weewx.conf richtig interpretiere. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/1cf1a802-011c-4483-b6d9-44d25d886457n%40googlegroups.com.


[weewx-user] Re: airQ by airQ_corant

2021-07-19 Thread hesf...@gmail.com
Hallo,
my airQ air-Q-Software-Version: 1.20.2.r4_D_1.74
I changed it, and here the result

by weewx airQ 19.07.2021 12:20:00
Gesundheitsindex 99,30 
Leistungsindex 92,988410 
*Gase* 
Sauerstoff 21% 
Kohlendioxid547 ppm 
Stickstoffdioxid   16,3 µg/m³ 
Ozone9,6 µg/m³ 
Schwefeldioxid201,6 µg/m³ 
Kohlenmonoxid  1,3 mg/m³ 
VOC 0 ppm 
*Feinstaub* 
PM 1 1,0 µg/m³ 
PM 2,5  1,1 µg/m³ 
PM 10   1,6 µg/m³ 
CNT 03  231 
CNT 05 65 
CNT 10 6 
CNT 25 0 
CNT 50 0 
CNT 100  0 
*Raum* 
Temp 24,6°C 
Luftfeuchte   45% 
Luftfeuchte (absolut) 10,1 g/m³ 
Taupunkt   11,5°C 
Pressure1014,0 mbar 
Altimeter   1020,5 mbar 
BarometerN/A 
Krach20 dB

by airQ 19.7.2021, 12:21:27
Gesundheitsindex96.4 %
Stickstoffdioxid   19.97 µg/m³
Leistungsindex   92.31 %   
Ozon   10.93 µg/m³
Sauerstoff   20.64 %   
Schwefeldioxid 203.21 µg/m³
Kohlendioxid  567 ppm 
VOC 15 ppb
Relative Luftfeuchte 45.03 %   
Kohlenmonoxid 1.26 mg/m³
Absolute Luftfeuchte   10.21 g/m³ PM1 
Feinstaub  1 µg/m³
Temperatur24.66 °C  PM2.5 
Feinstaub  1 µg/m³
Luftdruck   1013.9 hPa PM10 
Feinstaub   1 µg/m³
Taupunkt11.6 °C
---
Thank you for your prompt reply
Hartmut
kk44...@gmail.com schrieb am Montag, 19. Juli 2021 um 11:49:03 UTC+2:

> I would suggest:
>
>
> Kohlenmonoxid$current.co.milligram_per_meter_cubed
> Luftfeuchte 
> (absolut)$current.airqHumAbs.gram_per_meter_cubed
>
> Karen K schrieb am Montag, 19. Juli 2021 um 11:40:48 UTC+2:
>
>> I see I forgot to define the unit mg/m^3. Please see line 144ff. in 
>> airQ_corant.py. I added the missing lines and uploaded them to Github, but 
>> I could not check by now, whether the unit conversion ist correct.
>>
>> hesf...@gmail.com schrieb am Montag, 19. Juli 2021 um 10:26:10 UTC+2:
>>
>>>
>>> Hallo,
>>>
>>> we can convert the micro into the milli
>>> by "co" values
>>> if milli in airQ_corant no data in database
>>> if micro > data in database
>>> the conversion and display of the values is not complete 
>>>
>>>
>>> i have in index...
>>>   
>>>air-Q
>>>https://www.air-q.com/";>Luftanalyse und 
>>> Feinstaub
>>>Gesundheitsindex $current.airqHealthIdx
>>>Leistungsindex   $current.airqPerfIdx
>>>Gase
>>>Sauerstoff   $current.o2 
>>>Kohlendioxid $current.co2
>>>Stickstoffdioxid $current.no2
>>>Ozone$current.o3
>>>Schwefeldioxid   $current.so2
>>>Kohlenmonoxid$current.co
>>>VOC  $current.TVOC
>>>Feinstaub
>>>PM 1  $current.pm1_0
>>>PM 2,5$current.pm2_5
>>>PM 10 $current.pm10_0
>>>CNT 03  $current.cnt0_3
>>>CNT 05  $current.cnt0_5
>>>CNT 10  $current.cnt1_0
>>>CNT 25  $current.cnt2_5
>>>CNT 50  $current.cnt5_0
>>>CNT 100 $current.cnt10_0
>>>Raum
>>>Temp  $current.airqTemp
>>>Humid  $current.airqHumidity
>>>Humid Delta$current.airqHumAbs
>>>Taupunkt$current.airqDewpoint
>>>Pressure$current.airqPressure
>>>Altiumeter$current.airqAltimeter
>>>Barometer$current.airqBarometer
>>>   
>>>
>>> and the result 
>>>
>>>
>>> air-Q 
>>> Luftanalyse und Feinstaub <https://www.air-q.com/> 
>>> Gesundheitsindex  85,50 
>>> Leistungsindex  92,144340 
>>> *Gase* 
>>> Sauerstoff 21% 
>>> Kohlendioxid 563 ppm 
>>> Stickstoffdioxid 16,3 µg/m³ 
>>> Ozone 3,2 µg/m³ 
>

[weewx-user] Re: airQ by airQ_corant

2021-07-19 Thread hesf...@gmail.com
Hallo, 
und jetzt noch wenn es nicht zu vermessen,
die Daten in eine eigene Datenbank.
Hartmut

hesf...@gmail.com schrieb am Montag, 19. Juli 2021 um 12:27:57 UTC+2:

> Hallo,
> my airQ air-Q-Software-Version: 1.20.2.r4_D_1.74
> I changed it, and here the result
>
> by weewx airQ 19.07.2021 12:20:00
> Gesundheitsindex 99,30 
> Leistungsindex 92,988410 
> *Gase* 
> Sauerstoff 21% 
> Kohlendioxid547 ppm 
> Stickstoffdioxid   16,3 µg/m³ 
> Ozone9,6 µg/m³ 
> Schwefeldioxid201,6 µg/m³ 
> Kohlenmonoxid  1,3 mg/m³ 
> VOC 0 ppm 
> *Feinstaub* 
> PM 1 1,0 µg/m³ 
> PM 2,5  1,1 µg/m³ 
> PM 10   1,6 µg/m³ 
> CNT 03  231 
> CNT 05 65 
> CNT 10 6 
> CNT 25 0 
> CNT 50 0 
> CNT 100  0 
> *Raum* 
> Temp 24,6°C 
> Luftfeuchte   45% 
> Luftfeuchte (absolut) 10,1 g/m³ 
> Taupunkt   11,5°C 
> Pressure1014,0 mbar 
> Altimeter   1020,5 mbar 
> BarometerN/A 
> Krach20 dB
>
> 
> by airQ 19.7.2021, 12:21:27
> Gesundheitsindex96.4 %
> Stickstoffdioxid   19.97 µg/m³
> Leistungsindex   92.31 %   
> Ozon   10.93 µg/m³
> Sauerstoff   20.64 %   
> Schwefeldioxid 203.21 µg/m³
> Kohlendioxid  567 ppm 
> VOC 15 ppb
> Relative Luftfeuchte 45.03 %   
> Kohlenmonoxid 1.26 mg/m³
> Absolute Luftfeuchte   10.21 g/m³ PM1 
> Feinstaub  1 µg/m³
> Temperatur24.66 °C  PM2.5 
> Feinstaub  1 µg/m³
> Luftdruck   1013.9 hPa PM10 
> Feinstaub   1 µg/m³
> Taupunkt11.6 °C
>
> ---
> Thank you for your prompt reply
> Hartmut
> kk44...@gmail.com schrieb am Montag, 19. Juli 2021 um 11:49:03 UTC+2:
>
>> I would suggest:
>>
>>
>> Kohlenmonoxid$current.co.milligram_per_meter_cubed
>> Luftfeuchte 
>> (absolut)$current.airqHumAbs.gram_per_meter_cubed
>>
>> Karen K schrieb am Montag, 19. Juli 2021 um 11:40:48 UTC+2:
>>
>>> I see I forgot to define the unit mg/m^3. Please see line 144ff. in 
>>> airQ_corant.py. I added the missing lines and uploaded them to Github, but 
>>> I could not check by now, whether the unit conversion ist correct.
>>>
>>> hesf...@gmail.com schrieb am Montag, 19. Juli 2021 um 10:26:10 UTC+2:
>>>
>>>>
>>>> Hallo,
>>>>
>>>> we can convert the micro into the milli
>>>> by "co" values
>>>> if milli in airQ_corant no data in database
>>>> if micro > data in database
>>>> the conversion and display of the values is not complete 
>>>>
>>>>
>>>> i have in index...
>>>>   
>>>>air-Q
>>>>https://www.air-q.com/";>Luftanalyse 
>>>> und Feinstaub
>>>>Gesundheitsindex $current.airqHealthIdx
>>>>Leistungsindex   $current.airqPerfIdx
>>>>Gase
>>>>Sauerstoff   $current.o2 
>>>>Kohlendioxid $current.co2
>>>>Stickstoffdioxid $current.no2
>>>>Ozone$current.o3
>>>>Schwefeldioxid   $current.so2
>>>>Kohlenmonoxid$current.co
>>>>VOC  $current.TVOC
>>>>Feinstaub
>>>>PM 1  $current.pm1_0
>>>>PM 2,5$current.pm2_5
>>>>PM 10 $current.pm10_0
>>>>CNT 03  $current.cnt0_3
>>>>CNT 05  $current.cnt0_5
>>>>CNT 10  $current.cnt1_0
>>>>CNT 25  $current.cnt2_5
>>>>CNT 50  $current.cnt5_0
>>>>CNT 100 $current.cnt10_0
>>>>Raum
>>>>Temp  $current.airqTemp
>>>>Humid  $current.airqHumidity
>>>>Humid Delta$cu

[weewx-user] airQ by airQ_corant

2021-07-19 Thread hesf...@gmail.com

Hallo,

we can convert the micro into the milli
by "co" values
if milli in airQ_corant no data in database
if micro > data in database
the conversion and display of the values is not complete 


i have in index...
  
   air-Q
   https://www.air-q.com/";>Luftanalyse und 
Feinstaub
   Gesundheitsindex $current.airqHealthIdx
   Leistungsindex   $current.airqPerfIdx
   Gase
   Sauerstoff   $current.o2 
   Kohlendioxid $current.co2
   Stickstoffdioxid $current.no2
   Ozone$current.o3
   Schwefeldioxid   $current.so2
   Kohlenmonoxid$current.co
   VOC  $current.TVOC
   Feinstaub
   PM 1  $current.pm1_0
   PM 2,5$current.pm2_5
   PM 10 $current.pm10_0
   CNT 03  $current.cnt0_3
   CNT 05  $current.cnt0_5
   CNT 10  $current.cnt1_0
   CNT 25  $current.cnt2_5
   CNT 50  $current.cnt5_0
   CNT 100 $current.cnt10_0
   Raum
   Temp  $current.airqTemp
   Humid  $current.airqHumidity
   Humid Delta$current.airqHumAbs
   Taupunkt$current.airqDewpoint
   Pressure$current.airqPressure
   Altiumeter$current.airqAltimeter
   Barometer$current.airqBarometer
  

and the result 


air-Q 
Luftanalyse und Feinstaub  
Gesundheitsindex  85,50 
Leistungsindex  92,144340 
*Gase* 
Sauerstoff 21% 
Kohlendioxid 563 ppm 
Stickstoffdioxid 16,3 µg/m³ 
Ozone 3,2 µg/m³ 
Schwefeldioxid 182,0 µg/m³ 
Kohlenmonoxid 896,9 µg/m³ 
VOC 0 ppm 
*Feinstaub* 
PM 1   2,2 µg/m³ 
PM 2,52,7 µg/m³ 
PM 10 3,2 µg/m³ 
CNT 03   492 
CNT 05   151 
CNT 10   16 
CNT 25   0 
CNT 50   0 
CNT 100 0 
*Raum* 
Temp23,5°C 
Humid  48% 
Humid Delta10196,7 µg/m³ 
Taupunkt  11,5°C 
Pressure  1014,3 mbar 
Altimeter  1020,9 mbar 
BarometerN/A

I am currently using the version 0.4

Hartmut

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e782af92-f6af-4223-ace3-f96f72ffcc74n%40googlegroups.com.


Re: [weewx-user] Best air quality sensor for weewx Air-Q

2021-07-17 Thread hesf...@gmail.com
Guten Morgen,
ich habe die Fehler während der Installation beseitigt. auch unter
1. airQ_corant.py Zeile 279 'co': ('co', 'milligram_per_meter_cubed', 
'group_concentration',lambda x:x[0]),
 
microgram_per_meter_cubed
2. wie funktioniert das mit dem "prefix"
  wird dann co oder co2 zu "prefixco" oder "prefixco2"

Bei einem Rechner war ich erfolgreich mit der Installation.

Danke

Hallo,
I fixed the errors during the installation. 
how does that work with that "prefix"

I thank you for the very good work

A note for installing: "Crypto"
$ sudo apt-get install build-essential python3-dev 
$ pip3 install pycryptodomex 
$ python3 -m Cryptodome.SelfTest 

I was successful with the installation on one computer.

Thanks
Hartmut
kk44...@gmail.com schrieb am Samstag, 17. Juli 2021 um 22:01:22 UTC+2:

> From those logs and the removed messages (I read them before they were 
> removed) I am not sure what is the actual state of your installation. Does 
> it generally work or not?
>
> In the moment I write a tool to add the necessary columns to the database 
> schema. By now the only way is to add the columns using wee_database one by 
> one. If you do not set a prefix, some data is already saved to the database 
> like pm1_0, pm2_5, and pm10_0. 
>
> hesf...@gmail.com schrieb am Samstag, 17. Juli 2021 um 16:16:21 UTC+2:
>
>> Hallo, 
>> by
>> root@hesba:/home/weewx/bin# ./wee_extension --install weewx-airQ.zip
>> Request to install 'weewx-airQ.zip'
>> Extracting from zip archive weewx-airQ.zip
>> Traceback (most recent call last):
>>   File "./wee_extension", line 88, in 
>> main()
>>   File "./wee_extension", line 80, in main
>> ext.install_extension(options.install)
>>   File "/home/weewx/bin/weecfg/extension.py", line 130, in 
>> install_extension
>> self.install_from_dir(extension_dir)
>>   File "/home/weewx/bin/weecfg/extension.py", line 150, in 
>> install_from_dir
>> installer_path, installer = 
>> weecfg.get_extension_installer(extension_dir)
>>   File "/home/weewx/bin/weecfg/__init__.py", line 1851, in 
>> get_extension_installer
>> __import__('install')
>>   File "/var/tmp/weewx-airQ-master/install.py", line 26
>> '#altitude': 'set_if_not_station_altitude'
>>^
>> SyntaxError: invalid syntax
>>
>> and
>>
>> root@hesba:/home/weewx/bin# ./wee_extension --install weewx-airQ.zip
>> Request to install 'weewx-airQ.zip'
>> Extracting from zip archive weewx-airQ.zip
>> Traceback (most recent call last):
>>   File "./wee_extension", line 88, in 
>> main()
>>   File "./wee_extension", line 80, in main
>> ext.install_extension(options.install)
>>   File "/home/weewx/bin/weecfg/extension.py", line 130, in 
>> install_extension
>> self.install_from_dir(extension_dir)
>>   File "/home/weewx/bin/weecfg/extension.py", line 150, in 
>> install_from_dir
>> installer_path, installer = 
>> weecfg.get_extension_installer(extension_dir)
>>   File "/home/weewx/bin/weecfg/__init__.py", line 1858, in 
>> get_extension_installer
>> installer = loader()
>>   File "/var/tmp/weewx-airQ-master/install.py", line 8, in loader
>>   File "/var/tmp/weewx-airQ-master/install.py", line 12, in __init__
>> NameError: name 'GTSInstaller' is not defined
>>
>> root@hesba:/home/weewx/bin# ./wee_extension --install weewx-airQ.zip
>> Request to install 'weewx-airQ.zip'
>> Extracting from zip archive weewx-airQ.zip
>> Saving installer file to /home/weewx/bin/user/installer/airQ
>> Saved configuration dictionary. Backup copy at 
>> /home/weewx/weewx.conf.20210717161220
>> Finished installing extension 'weewx-airQ.zip'
>>
>> how do i get the data into a database
>>
>> Hartmut
>> xsli...@gmail.com schrieb am Mittwoch, 14. Juli 2021 um 21:29:41 UTC+2:
>>
>>> Thanks for review Karen. I also found this  device uRADMonitor » 
>>> Products <https://www.uradmonitor.com/products/> for similar price. Now 
>>> the worst part, choose one :)
>>>
>>> st 14. 7. 2021 v 17:10 odesílatel Karen K  napsal:
>>>
>>>> [image: dayPM.png]
>>>> https://github.com/roe-dl/weewx-airQ
>>>>
>>>> The device is specified down to -20°C. So, outside usage is possible, 
&g

Re: [weewx-user] Best air quality sensor for weewx Air-Q

2021-07-17 Thread hesf...@gmail.com
Hallo, 
by
root@hesba:/home/weewx/bin# ./wee_extension --install weewx-airQ.zip
Request to install 'weewx-airQ.zip'
Extracting from zip archive weewx-airQ.zip
Traceback (most recent call last):
  File "./wee_extension", line 88, in 
main()
  File "./wee_extension", line 80, in main
ext.install_extension(options.install)
  File "/home/weewx/bin/weecfg/extension.py", line 130, in install_extension
self.install_from_dir(extension_dir)
  File "/home/weewx/bin/weecfg/extension.py", line 150, in install_from_dir
installer_path, installer = 
weecfg.get_extension_installer(extension_dir)
  File "/home/weewx/bin/weecfg/__init__.py", line 1851, in 
get_extension_installer
__import__('install')
  File "/var/tmp/weewx-airQ-master/install.py", line 26
'#altitude': 'set_if_not_station_altitude'
   ^
SyntaxError: invalid syntax

and

root@hesba:/home/weewx/bin# ./wee_extension --install weewx-airQ.zip
Request to install 'weewx-airQ.zip'
Extracting from zip archive weewx-airQ.zip
Traceback (most recent call last):
  File "./wee_extension", line 88, in 
main()
  File "./wee_extension", line 80, in main
ext.install_extension(options.install)
  File "/home/weewx/bin/weecfg/extension.py", line 130, in install_extension
self.install_from_dir(extension_dir)
  File "/home/weewx/bin/weecfg/extension.py", line 150, in install_from_dir
installer_path, installer = 
weecfg.get_extension_installer(extension_dir)
  File "/home/weewx/bin/weecfg/__init__.py", line 1858, in 
get_extension_installer
installer = loader()
  File "/var/tmp/weewx-airQ-master/install.py", line 8, in loader
  File "/var/tmp/weewx-airQ-master/install.py", line 12, in __init__
NameError: name 'GTSInstaller' is not defined

root@hesba:/home/weewx/bin# ./wee_extension --install weewx-airQ.zip
Request to install 'weewx-airQ.zip'
Extracting from zip archive weewx-airQ.zip
Saving installer file to /home/weewx/bin/user/installer/airQ
Saved configuration dictionary. Backup copy at 
/home/weewx/weewx.conf.20210717161220
Finished installing extension 'weewx-airQ.zip'

how do i get the data into a database

Hartmut
xsli...@gmail.com schrieb am Mittwoch, 14. Juli 2021 um 21:29:41 UTC+2:

> Thanks for review Karen. I also found this  device uRADMonitor » Products 
>  for similar price. Now the worst 
> part, choose one :)
>
> st 14. 7. 2021 v 17:10 odesílatel Karen K  napsal:
>
>> [image: dayPM.png]
>> https://github.com/roe-dl/weewx-airQ
>>
>> The device is specified down to -20°C. So, outside usage is possible, if 
>> it is protected against rain.
>> Karen K schrieb am Sonntag, 11. Juli 2021 um 18:11:39 UTC+2:
>>
>>> Some time has passed, and finally I can present the first version of a 
>>> driver (or better: service) to retrieve the data out of the Air-Q device of 
>>> the Corant GmbH. You will find it there:
>>>
>>> Service to retrieve data from Air-Q device 
>>>  (at Github)
>>> Web site of the Air-Q device  (including 
>>> possibility to purchase one)
>>>
>>> The configuration is simple. The IP address of the device and the 
>>> password are the only needed parameters. Observations are stored to the 
>>> appropriate WeeWX observation types automatically.
>>>
>>> If more than one Air-Q device is used, a name prefix can be prepended to 
>>> the observation types to distinguish between the devices. That way it is 
>>> possible to store the observations of more than one device in the same 
>>> database.
>>>
>>>
>>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/weewx-user/ljyMS0EQR4k/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx-user+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/8049deb7-a33b-4428-bc8c-f22a7a769958n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/1c796606-4107-47b6-a358-a358d9c0e8c7n%40googlegroups.com.


Re: [weewx-user] Best air quality sensor for weewx Air-Q

2021-07-17 Thread hesf...@gmail.com
reboot weewx and airQ and
Jul 17 13:17:35 wetter weewx-cmon[24063] INFO user.forecastAqi: 
AerisAQIMonitor-Service version is 3.0.2
Jul 17 13:17:35 wetter weewx-cmon[24063] INFO user.air-Q: air-Q 0.3
Jul 17 13:17:35 wetter weewx-cmon[24063] INFO user.air-Q: thread 'device', 
host '192.168.38.181': initialized
Jul 17 13:17:35 wetter weewx-cmon[24063] INFO user.air-Q: thread 'device', 
host '192.168.38.181': starting
Jul 17 13:17:35 wetter weewx-cmon[24063] INFO user.air-Q: device 'device' 
host address '192.168.38.181' prefix 'airQ' query interval 5.0 s altitude 
54 m
Jul 17 13:17:35 wetter weewx-cmon[24063] INFO user.air-Q: 1 air-Q device 
found

thanks Hartmut

hesf...@gmail.com schrieb am Samstag, 17. Juli 2021 um 13:12:52 UTC+2:

> Hallo,
> i have a airQ and install weewx-airQ
>
> then Error
> Jul 17 13:09:00 wetter weewx-cmon[22731] INFO user.air-Q: air-Q 0.3
> Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__: Caught 
> unrecoverable exception:
> Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__:   
> 'str' object has no attribute 'get'
> Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__:   
> Traceback (most recent call last):
> Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__: 
> File "/home/weewx/bin/weewxd", line 151, in main
> Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__:   
> engine = weewx.engine.StdEngine(config_dict)
> Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__: 
> File "/home/weewx/bin/weewx/engine.py", line 93, in __init__
> Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__:   
> self.loadServices(config_dict)
> Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__: 
> File "/home/weewx/bin/weewx/engine.py", line 161, in loadServices
> Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__:   
> obj = weeutil.weeutil.get_object(svc)(self, config_dict)
> Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__: 
> File "/home/weewx/bin/user/airQ_corant.py", line 344, in __init__
> Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__:   
> config_dict['airQ'][device].get('host'),
> Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__:   
> AttributeError: 'str' object has no attribute 'get'
> Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__:   
> Exiting.
>
> Help my
> Hartmut
>
> xsli...@gmail.com schrieb am Mittwoch, 14. Juli 2021 um 21:29:41 UTC+2:
>
>> Thanks for review Karen. I also found this  device uRADMonitor » Products 
>> <https://www.uradmonitor.com/products/> for similar price. Now the worst 
>> part, choose one :)
>>
>> st 14. 7. 2021 v 17:10 odesílatel Karen K  napsal:
>>
>>> [image: dayPM.png]
>>> https://github.com/roe-dl/weewx-airQ
>>>
>>> The device is specified down to -20°C. So, outside usage is possible, if 
>>> it is protected against rain.
>>> Karen K schrieb am Sonntag, 11. Juli 2021 um 18:11:39 UTC+2:
>>>
>>>> Some time has passed, and finally I can present the first version of a 
>>>> driver (or better: service) to retrieve the data out of the Air-Q device 
>>>> of 
>>>> the Corant GmbH. You will find it there:
>>>>
>>>> Service to retrieve data from Air-Q device 
>>>> <https://github.com/roe-dl/weewx-airQ> (at Github)
>>>> Web site of the Air-Q device <https://www.air-q.com> (including 
>>>> possibility to purchase one)
>>>>
>>>> The configuration is simple. The IP address of the device and the 
>>>> password are the only needed parameters. Observations are stored to the 
>>>> appropriate WeeWX observation types automatically.
>>>>
>>>> If more than one Air-Q device is used, a name prefix can be prepended 
>>>> to the observation types to distinguish between the devices. That way it 
>>>> is 
>>>> possible to store the observations of more than one device in the same 
>>>> database.
>>>>
>>>>
>>>> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "weewx-user" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/weewx-user/ljyMS0EQR4k/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> weewx-user+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/8049deb7-a33b-4428-bc8c-f22a7a769958n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/8049deb7-a33b-4428-bc8c-f22a7a769958n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/a139267b-f90d-4d93-9a25-f6f918dabef0n%40googlegroups.com.


Re: [weewx-user] Best air quality sensor for weewx Air-Q

2021-07-17 Thread hesf...@gmail.com
Hallo,
i have a airQ and install weewx-airQ

then Error
Jul 17 13:09:00 wetter weewx-cmon[22731] INFO user.air-Q: air-Q 0.3
Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__: Caught 
unrecoverable exception:
Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__:   'str' 
object has no attribute 'get'
Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__:   
Traceback (most recent call last):
Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__: 
File "/home/weewx/bin/weewxd", line 151, in main
Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__:   
engine = weewx.engine.StdEngine(config_dict)
Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__: 
File "/home/weewx/bin/weewx/engine.py", line 93, in __init__
Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__:   
self.loadServices(config_dict)
Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__: 
File "/home/weewx/bin/weewx/engine.py", line 161, in loadServices
Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__:   
obj = weeutil.weeutil.get_object(svc)(self, config_dict)
Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__: 
File "/home/weewx/bin/user/airQ_corant.py", line 344, in __init__
Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__:   
config_dict['airQ'][device].get('host'),
Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__:   
AttributeError: 'str' object has no attribute 'get'
Jul 17 13:09:00 wetter weewx-cmon[22731] CRITICAL __main__:   
Exiting.

Help my
Hartmut

xsli...@gmail.com schrieb am Mittwoch, 14. Juli 2021 um 21:29:41 UTC+2:

> Thanks for review Karen. I also found this  device uRADMonitor » Products 
>  for similar price. Now the worst 
> part, choose one :)
>
> st 14. 7. 2021 v 17:10 odesílatel Karen K  napsal:
>
>> [image: dayPM.png]
>> https://github.com/roe-dl/weewx-airQ
>>
>> The device is specified down to -20°C. So, outside usage is possible, if 
>> it is protected against rain.
>> Karen K schrieb am Sonntag, 11. Juli 2021 um 18:11:39 UTC+2:
>>
>>> Some time has passed, and finally I can present the first version of a 
>>> driver (or better: service) to retrieve the data out of the Air-Q device of 
>>> the Corant GmbH. You will find it there:
>>>
>>> Service to retrieve data from Air-Q device 
>>>  (at Github)
>>> Web site of the Air-Q device  (including 
>>> possibility to purchase one)
>>>
>>> The configuration is simple. The IP address of the device and the 
>>> password are the only needed parameters. Observations are stored to the 
>>> appropriate WeeWX observation types automatically.
>>>
>>> If more than one Air-Q device is used, a name prefix can be prepended to 
>>> the observation types to distinguish between the devices. That way it is 
>>> possible to store the observations of more than one device in the same 
>>> database.
>>>
>>>
>>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/weewx-user/ljyMS0EQR4k/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx-user+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/8049deb7-a33b-4428-bc8c-f22a7a769958n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6330d014-2a28-4d0c-8cfc-8e40a6468567n%40googlegroups.com.


[weewx-user] AS3935 for Python3

2021-05-10 Thread hesf...@gmail.com
hallo,
Gibt es eine Version von AS3935 für  python3 und weewx 4...

Is there a version of AS3935  for python3

my Error
May 10 15:59:21 rasb2 weewx[13155] INFO user.as3935: service version is 0.6
May 10 15:59:21 rasb2 weewx[13155] INFO user.as3935: address=0x03
May 10 15:59:21 rasb2 weewx[13155] INFO user.as3935: bus=1
May 10 15:59:21 rasb2 weewx[13155] INFO user.as3935: indoors=True
May 10 15:59:21 rasb2 weewx[13155] INFO user.as3935: noise_floor=0
May 10 15:59:21 rasb2 weewx[13155] INFO user.as3935: calibration=0x06
May 10 15:59:21 rasb2 weewx[13155] INFO user.as3935: pin=17
May 10 15:59:21 rasb2 weewx[13155] INFO user.as3935: 
data_binding=lightning_binding
May 10 15:59:21 rasb2 weewx[13155] INFO user.as3935: binding=archive
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__: Caught unrecoverable 
exception:
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__:   'module' 
object is not callable
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__:   Traceback 
(most recent call last):
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__: File 
"/home/weewx/bin/weewxd", line 151, in main
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__:   engine 
= weewx.engine.StdEngine(config_dict)
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__: File 
"/home/weewx/bin/weewx/engine.py", line 93, in __init__
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__:   
self.loadServices(config_dict)
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__: File 
"/home/weewx/bin/weewx/engine.py", line 161, in loadServices
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__:   obj = 
weeutil.weeutil.get_object(svc)(self, config_dict)
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__: File 
"/home/weewx/bin/user/as3935.py", line 190, in __init__
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__:   
self.sensor = RPi_AS3935(address=addr, bus=bus)
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__:   TypeError: 
'module' object is not callable
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__:   Exiting.
Hartmut

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d5445309-0858-4fb7-b022-02c3edbe510fn%40googlegroups.com.


Re: [weewx-user] Re: Error in bin/weeplot/genplot.py

2021-04-08 Thread hesf...@gmail.com
Hallo
The version "master" commits on Apr 9, 2021 runs very well. 
no ERROR
Hartmut
tke...@gmail.com schrieb am Donnerstag, 8. April 2021 um 16:40:54 UTC+2:

> Hartmut,
>
> Give it a try now.
>
> On Thu, Apr 8, 2021 at 12:24 AM hesf...@gmail.com  
> wrote:
>
>> Hallo Gary,
>>
>> Currently I have on 4.5.1
>> Hartmut
>> Just a note from me
>> gjr80 schrieb am Donnerstag, 8. April 2021 um 09:07:38 UTC+2:
>>
>>> There is nothing in your config files that is wrong, there is a bug in 
>>> the code that Tom committed. I suggest you revert back to the WeeWX version 
>>> you were previously using or install v4.5.1. Whilst the master branch is 
>>> usually fairly stable there are no guarantees, you really should only 
>>> install from direct from master if you have been told to to deal with a 
>>> specific issue. The safest approach is to install a released version.
>>>
>>> Gary
>>>
>>> On Thursday, 8 April 2021 at 16:07:28 UTC+10 hesf...@gmail.com wrote:
>>>
>>>>
>>>> I did the update in genplot.py, now I get the following error
>>>>
>>>> <https://github.com/tkeffer> 
>>>> tkeffer <https://github.com/weewx/weewx/commits?author=tkeffer> 
>>>> committed 10 hours ago  bin/weeplot/genplot.py 
>>>> <https://github.com/weewx/weewx/commit/53e9690a717b9f685c209a60885aa9d5ca0784f6#diff-7d4d677505663d7023a47b6758259211698bf7ab65048f6ae3e8b09c88a30d62>
>>>>  
>>>>
>>>> Apr  8 07:45:58 wetter weewx-weewx[26692] INFO weewx.cheetahgenerator: 
>>>> Generated 1 files for report MobileReport in 0.04 seconds
>>>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR weewx.reportengine: 
>>>> Caught unrecoverable exception in generator 
>>>> 'weewx.imagegenerator.ImageGenerator'
>>>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>>>> weewx.reportengine:   object of type 'map' has no len()
>>>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>>>> weewx.reportengine:   Traceback (most recent call last):
>>>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>>>> weewx.reportengine: File 
>>>> "/home/weewx/bin/weewx/reportengine.py", line 196, in run
>>>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>>>> weewx.reportengine:   obj.start()
>>>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>>>> weewx.reportengine: File 
>>>> "/home/weewx/bin/weewx/reportengine.py", line 281, in start
>>>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>>>> weewx.reportengine:   self.run()
>>>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>>>> weewx.reportengine: File 
>>>> "/home/weewx/bin/weewx/imagegenerator.py", line 42, in run
>>>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>>>> weewx.reportengine:   self.genImages(self.gen_ts)
>>>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>>>> weewx.reportengine: File 
>>>> "/home/weewx/bin/weewx/imagegenerator.py", line 265, in genImages
>>>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>>>> weewx.reportengine:   image = plot.render()
>>>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>>>> weewx.reportengine: File 
>>>> "/home/weewx/bin/weeplot/genplot.py", line 206, in render
>>>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>>>> weewx.reportengine:   self._renderTopBand(draw)
>>>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>>>> weewx.reportengine: File 
>>>> "/home/weewx/bin/weeplot/genplot.py", line 440, in _renderTopBand
>>>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>>>> weewx.reportengine:   ncolors = len(self.chart_line_colors)
>>>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>>>> weewx.reportengine:   TypeError: object of type 'map' has 
>>>> no len()
>>>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>>>> weewx.reportengine:   Generator terminated
>>>> Apr  8 07:45:58 wetter weewx-weewx[26692] INFO weewx.reportengine: 
>>>> Copied 0 files to /home/weewx/public_html/mobile
>>>>
>

[weewx-user] Re: Error in bin/weeplot/genplot.py

2021-04-08 Thread hesf...@gmail.com
Hallo Gary,

Currently I have on 4.5.1
Hartmut
Just a note from me
gjr80 schrieb am Donnerstag, 8. April 2021 um 09:07:38 UTC+2:

> There is nothing in your config files that is wrong, there is a bug in the 
> code that Tom committed. I suggest you revert back to the WeeWX version you 
> were previously using or install v4.5.1. Whilst the master branch is 
> usually fairly stable there are no guarantees, you really should only 
> install from direct from master if you have been told to to deal with a 
> specific issue. The safest approach is to install a released version.
>
> Gary
>
> On Thursday, 8 April 2021 at 16:07:28 UTC+10 hesf...@gmail.com wrote:
>
>>
>> I did the update in genplot.py, now I get the following error
>>
>> <https://github.com/tkeffer> 
>> tkeffer <https://github.com/weewx/weewx/commits?author=tkeffer> 
>> committed 10 hours ago  bin/weeplot/genplot.py 
>> <https://github.com/weewx/weewx/commit/53e9690a717b9f685c209a60885aa9d5ca0784f6#diff-7d4d677505663d7023a47b6758259211698bf7ab65048f6ae3e8b09c88a30d62>
>>  
>>
>> Apr  8 07:45:58 wetter weewx-weewx[26692] INFO weewx.cheetahgenerator: 
>> Generated 1 files for report MobileReport in 0.04 seconds
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR weewx.reportengine: 
>> Caught unrecoverable exception in generator 
>> 'weewx.imagegenerator.ImageGenerator'
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:   object of type 'map' has no len()
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:   Traceback (most recent call last):
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine: File 
>> "/home/weewx/bin/weewx/reportengine.py", line 196, in run
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:   obj.start()
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine: File 
>> "/home/weewx/bin/weewx/reportengine.py", line 281, in start
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:   self.run()
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine: File 
>> "/home/weewx/bin/weewx/imagegenerator.py", line 42, in run
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:   self.genImages(self.gen_ts)
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine: File 
>> "/home/weewx/bin/weewx/imagegenerator.py", line 265, in genImages
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:   image = plot.render()
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine: File 
>> "/home/weewx/bin/weeplot/genplot.py", line 206, in render
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:   self._renderTopBand(draw)
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine: File 
>> "/home/weewx/bin/weeplot/genplot.py", line 440, in _renderTopBand
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:   ncolors = len(self.chart_line_colors)
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:   TypeError: object of type 'map' has no 
>> len()
>> Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR 
>> weewx.reportengine:   Generator terminated
>> Apr  8 07:45:58 wetter weewx-weewx[26692] INFO weewx.reportengine: Copied 
>> 0 files to /home/weewx/public_html/mobile
>>
>> in line 48 to 54 
>>
>> self.chart_line_widths = map(int, width_list)
>>
>> I missed something in the settings in weewx.conf or skins.conf
>> I ask for help, the update ran without an error message
>> Thanks Hartmut
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5b925d99-a9c8-4fca-bdc7-fe2fe0b0be9cn%40googlegroups.com.


[weewx-user] Error in bin/weeplot/genplot.py

2021-04-07 Thread hesf...@gmail.com

I did the update in genplot.py, now I get the following error

 
tkeffer  committed 10 
hours ago  bin/weeplot/genplot.py 

 

Apr  8 07:45:58 wetter weewx-weewx[26692] INFO weewx.cheetahgenerator: 
Generated 1 files for report MobileReport in 0.04 seconds
Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR weewx.reportengine: Caught 
unrecoverable exception in generator 'weewx.imagegenerator.ImageGenerator'
Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR weewx.reportengine: 
  object of type 'map' has no len()
Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR weewx.reportengine: 
  Traceback (most recent call last):
Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR weewx.reportengine: 
File "/home/weewx/bin/weewx/reportengine.py", line 196, in run
Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR weewx.reportengine: 
  obj.start()
Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR weewx.reportengine: 
File "/home/weewx/bin/weewx/reportengine.py", line 281, in start
Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR weewx.reportengine: 
  self.run()
Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR weewx.reportengine: 
File "/home/weewx/bin/weewx/imagegenerator.py", line 42, in run
Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR weewx.reportengine: 
  self.genImages(self.gen_ts)
Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR weewx.reportengine: 
File "/home/weewx/bin/weewx/imagegenerator.py", line 265, in 
genImages
Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR weewx.reportengine: 
  image = plot.render()
Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR weewx.reportengine: 
File "/home/weewx/bin/weeplot/genplot.py", line 206, in render
Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR weewx.reportengine: 
  self._renderTopBand(draw)
Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR weewx.reportengine: 
File "/home/weewx/bin/weeplot/genplot.py", line 440, in 
_renderTopBand
Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR weewx.reportengine: 
  ncolors = len(self.chart_line_colors)
Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR weewx.reportengine: 
  TypeError: object of type 'map' has no len()
Apr  8 07:45:58 wetter weewx-weewx[26692] ERROR weewx.reportengine: 
  Generator terminated
Apr  8 07:45:58 wetter weewx-weewx[26692] INFO weewx.reportengine: Copied 0 
files to /home/weewx/public_html/mobile

in line 48 to 54 

self.chart_line_widths = map(int, width_list)

I missed something in the settings in weewx.conf or skins.conf
I ask for help, the update ran without an error message
Thanks Hartmut

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/4655a02a-2ad3-4c59-84e8-ffec8f96daf6n%40googlegroups.com.


[weewx-user] Re: Forecast and Warnings Data from Deutscher Wetterdienst

2021-03-17 Thread hesf...@gmail.com
Hallo.
Do you have an idea how I can search the json-date for the stringI 
"106439000" in "warnings": {"106439000": [{"regionName": "Rheingau ...
Wenn ich die Zahlenfolge 106439000 als "warni" benutze um 

alt  -->  w_regi = data['warnings']['106439000'][0]['regionName']

neu --> w_regi = data['warnings']['warni'][0]['regionName']

erhalte ich div Fehler
Hartmut
kk44...@gmail.com schrieb am Mittwoch, 17. März 2021 um 08:26:26 UTC+1:

> You can do so. It's open software. The GPL only requires, that copyright 
> infos are not removed and software not sold for money.
>
> I thought about including in searchlist myself. Maybe I can use your 
> extension then.
>
> hesf...@gmail.com schrieb am Mittwoch, 17. März 2021 um 07:51:38 UTC+1:
>
>> Hallo,
>> I would like to use parts of your code for the DWD warning. 
>> My code for dwd warning below 
>>
>> https://github.com/hes19073/hesweewx/blob/master/bin/user/alertsDWD.py
>>
>> and deliver good results 
>>
>> Hartmut
>>
>> kk44...@gmail.com schrieb am Dienstag, 16. März 2021 um 16:54:48 UTC+1:
>>
>>> As WeeWX does not support forecast and warnings data of Deutscher 
>>> Wetterdienst out of the box, I wrote some little scripts to download those 
>>> data and process them for the use within WeeWX. To get it small and simple 
>>> I did not include it in WeeWX by now, but wrote some separate scripts that 
>>> are called by cron and create files to include in skins. 
>>>
>>> I did not intend to publish those scripts, but as someone was interested 
>>> in them I created a repository on Github: weewx-DWD 
>>> <https://github.com/roe-dl/weewx-DWD>.
>>>
>>> I hope it may be useful to others, too. It is quite beta by now.
>>>
>>> As data from Deutscher Wetterdienst are primarily interesting for people 
>>> from Germany, the description on Github is in german.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b811b545-e101-4598-b381-3bba0601b429n%40googlegroups.com.


[weewx-user] Re: Forecast and Warnings Data from Deutscher Wetterdienst

2021-03-16 Thread hesf...@gmail.com
Hallo,
I would like to use parts of your code for the DWD warning. 
My code for dwd warning below 

https://github.com/hes19073/hesweewx/blob/master/bin/user/alertsDWD.py

and deliver good results 

Hartmut

kk44...@gmail.com schrieb am Dienstag, 16. März 2021 um 16:54:48 UTC+1:

> As WeeWX does not support forecast and warnings data of Deutscher 
> Wetterdienst out of the box, I wrote some little scripts to download those 
> data and process them for the use within WeeWX. To get it small and simple 
> I did not include it in WeeWX by now, but wrote some separate scripts that 
> are called by cron and create files to include in skins. 
>
> I did not intend to publish those scripts, but as someone was interested 
> in them I created a repository on Github: weewx-DWD 
> .
>
> I hope it may be useful to others, too. It is quite beta by now.
>
> As data from Deutscher Wetterdienst are primarily interesting for people 
> from Germany, the description on Github is in german.
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e8d2e319-f8cb-4341-bdf1-03896f8ed787n%40googlegroups.com.


Re: [weewx-user] Re: Cydia pomonella

2021-03-13 Thread hesf...@gmail.com
Hallo,

"You have to restart PhenologyServices.py. Did you do this? "

NO, but now I have made it up and it works
just a call
Why is the calculation only shown for one month, although the calculation 
on 01.01. begins.

Thanks for the work
Hartmut
crh...@lacusveris.com schrieb am Sonntag, 14. März 2021 um 01:49:21 UTC+1:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Sat, 13 Mar 2021 03:21:37 -0800 (PST)
> "hesf...@gmail.com"  wrote:
>
> > 1. in skins.conf 
>
> > [Extras] 
> > # generation_date = 2018, 6, 30, 0, 0 
> > phenologies = phenology.conf
> > models = M001, C0004, C0023, C0101 
> > 
>
> > [ImageGenerator]
> > 
> > [[four-week_images]] 
> > [[[Codling Moth]]] 
> > M001_accum 
> > [[[Apple Maggot]]] 
> > C0004_accum 
> > [[[Cabbage Maggot]]] 
> > C0023_accum
> > [[[Pea Aphid]]] 
> > C0101_accum
>
> > then the error follows
>
> > Mar 13 12:16:49 hesba weewx[28409] ERROR weewx.cheetahgenerator:
> >  weewx.UnknownType: C0101
>
> > I am a little at a loss
>
> You have to restart PhenologyServices.py. Did you do this?
>
> > sudo /etc/init.d/weewx stop
> > sudo /etc/init.d/weewx start
>
> - -- 
> .. Be Seeing You,
> .. Chuck Rhode, Sheboygan, WI, USA
> .. Weather: http://LacusVeris.com/WX
> .. 50° — Wind W 10 mph
>
> -BEGIN PGP SIGNATURE-
>
> iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYE1cVQAKCRBg2/xipKOW
> UsXpAJ0Zg9+fk9TDf7njX7yvGK3HVzh6rACeMV2Y3FedEhS8CF1pIdF/v+EK1ok=
> =YfMD
> -END PGP SIGNATURE-
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f4fe7399-6746-40e0-b344-39d74a2e6f77n%40googlegroups.com.


Re: [weewx-user] Re: Cydia pomonella

2021-03-13 Thread hesf...@gmail.com
Hallo
what do i have to do when i do that 

in phenology.conf
[[Acyrthosiphon pisum]]
name_common = "Pea Aphid"

[[[Model C0101]]]

want to calculate 

1. in skins.conf 
[Extras] 
# generation_date = 2018, 6, 30, 0, 0 
   phenologies = phenology.conf models = M001, C0004, C0023, C0101 

[ImageGenerator]

  [[four-week_images]] 
   [[[Codling Moth]]] 
   M001_accum 
  [[[Apple Maggot]]]  
  C0004_accum 
 [[[Cabbage Maggot]]] 
 C0023_accum
  [[[Pea Aphid]]] 
 C0101_accum

then the error follows

Mar 13 12:16:49 hesba weewx[28409] ERROR weewx.cheetahgenerator: Generate 
failed with exception ''
Mar 13 12:16:49 hesba weewx[28409] ERROR weewx.cheetahgenerator:  
Ignoring template 
/home/weewx/skins/Phenology/cumulative_growing_degree_days.html.tmpl
Mar 13 12:16:49 hesba weewx[28409] ERROR weewx.cheetahgenerator:  Reason: 
C0101
Mar 13 12:16:49 hesba weewx[28409] ERROR weewx.cheetahgenerator:   
Traceback (most recent call last):
Mar 13 12:16:49 hesba weewx[28409] ERROR weewx.cheetahgenerator: 
File "/home/weewx/bin/weewx/cheetahgenerator.py", line 324, in generate
Mar 13 12:16:49 hesba weewx[28409] ERROR weewx.cheetahgenerator:   
unicode_string = compiled_template.respond()
Mar 13 12:16:49 hesba weewx[28409] ERROR weewx.cheetahgenerator: 
File 
"_home_weewx_skins_Phenology_cumulative_growing_degree_days_html_tmpl.py", 
line 390, in respond
Mar 13 12:16:49 hesba weewx[28409] ERROR weewx.cheetahgenerator: 
File "/home/weewx/bin/weewx/xtypes.py", line 91, in get_series
Mar 13 12:16:49 hesba weewx[28409] ERROR weewx.cheetahgenerator:   
raise weewx.UnknownType(obs_type)
Mar 13 12:16:49 hesba weewx[28409] ERROR weewx.cheetahgenerator:   
weewx.UnknownType: C0101

I am a little at a loss
Hartmut
crh...@lacusveris.com schrieb am Freitag, 12. März 2021 um 04:51:29 UTC+1:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Wed, 10 Mar 2021 22:09:33 -0800 (PST)
> "hesf...@gmail.com"  wrote:
>
> > please a note too "cumulative_growing_degree_days.html.tmpl"
> > #if $model.name_scientific == $model.name_common
> > $model.name_scientific
> > <-->#else
> > $model.name_scientific ($model.name_common)
> > <-->#end if name_scientific == name_common
> > 
>
> Yes, I use *emacs* as a code editor, and it doesn't know what to make
> of *.tmpl files. It chooses odd tab settings. Thanks for the
> suggestion. This is fixed in the next release ... unless I make some
> more changes, and then the tabs will go back to defaults on the lines
> I change. It's stupid; I know.
>
> - -- 
> .. Be Seeing You,
> .. Chuck Rhode, Sheboygan, WI, USA
> .. Weather: http://LacusVeris.com/WX
> .. 42° — Wind W 8 mph
>
> -BEGIN PGP SIGNATURE-
>
> iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYErkBAAKCRBg2/xipKOW
> UsKrAJ9DPAH0j2GgofAhu2JjyxHAYn4W3ACfZhura6jdM82ZzUHXDNh50oKXwgI=
> =mZsk
> -END PGP SIGNATURE-
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e1973a64-96fe-4924-a327-289f6b127655n%40googlegroups.com.


[weewx-user] Re: Calculating Sun Energy from Radiation Reading

2021-03-11 Thread hesf...@gmail.com
fault with me 
after reinstalling version 0.4.1
everything's o.k

Thank you for your work and your patience with me
Hartmut

kk44...@gmail.com schrieb am Donnerstag, 11. März 2021 um 11:14:32 UTC+1:

> I added that in hilo.inc:
>
> #if $day.radiation.has_data 
>  
> Sonnenenergie 
> #for $archive in $archive_data 
>  
> $archive[1].radiation.energy_integral.format(add_label=False) 
>  
> #end for 
> Wh/m² 
>  
> #end if 
>
> Karen K schrieb am Donnerstag, 11. März 2021 um 11:11:06 UTC+1:
>
>> hesf...@gmail.com schrieb am Donnerstag, 11. März 2021 um 11:04:56 UTC+1:
>>
>>> in Seasons/current.inc 
>>>
>>
>> It seems ok to me. I will try it today in the evening myself and see.
>>
>> In the meantime, could you put a second # before #if and #end if in the 
>> snippet you posted? (for debugging purposes only)
>>  
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c551e6ad-3549-4d28-8d5d-905bba0b8c40n%40googlegroups.com.


[weewx-user] Re: Calculating Sun Energy from Radiation Reading

2021-03-11 Thread hesf...@gmail.com
in Seasons/current.inc 

#if $day.radiation.has_data
  
$obs.label.radiation
$current.radiation
  
  
Sonnenenergie Tag
$day.radiation.energy_integral
  
  
Sonnenenergie Vortag
$yesterday.radiation.energy_integral.kilowatt_hour_per_meter_squared
  
  
Sonnenenergie Woche
$week.radiation.energy_integral.kilowatt_hour_per_meter_squared
  
  
Sonnenenergie Monat
$month.radiation.energy_integral.kilowatt_hour_per_meter_squared
  
  
Sonnenenergie Jahr
$year.radiation.energy_integral.kilowatt_hour_per_meter_squared
  
#end if

and skin.conf which section

the installation runs under install   (wee_extension --install 
weewx-GTS.zip)

in configuration in weewx.conf

an 3 Installation instructions: was also implemented
GTS works
Hartmut
kk44...@gmail.com schrieb am Donnerstag, 11. März 2021 um 10:56:17 UTC+1:

> Could you send your skin.conf  and index.html.tmpl here?
>
> hesf...@gmail.com schrieb am Donnerstag, 11. März 2021 um 10:51:38 UTC+1:
>
>> Hallo,
>>
>> I have a small request, the values for day.radiation.energy_integral and 
>> week...  month... and year.radiation.energy_integral not displayed
>>
>> as proof, have a look at 
>>
>> http://wh3080.hes61.de/
>>
>> Hartmut
>> kk44...@gmail.com schrieb am Donnerstag, 11. März 2021 um 10:41:08 UTC+1:
>>
>>> Yes, you are right. I did use ' instead of `.
>>>
>>> gjr80 schrieb am Donnerstag, 11. März 2021 um 10:37:49 UTC+1:
>>>
>>>> Are you sure you are using backticks, there are a number of similar 
>>>> looking symbols. Actually, looking at my reply I said backticks but I 
>>>> suspect I did not actually use them, you want this one:
>>>> ‘
>>>> Backticks will work in SQLite, if you look through the WeeWX code you 
>>>> will find wherever interval is used in a SQL statement it is enclosed in 
>>>> backticks. I believe double quotes can be used in MySQL in certain modes 
>>>> only, but backticks can be used in all modes.
>>>>
>>>> Gary
>>>> On Thursday, 11 March 2021 at 19:19:54 UTC+10 kk44...@gmail.com wrote:
>>>>
>>>>> gjr80 schrieb am Donnerstag, 11. März 2021 um 10:07:01 UTC+1:
>>>>>
>>>>>> I think you will find the issue is that interval is a reserved word 
>>>>>> in MySQL. The solution is to enclose interval in backticks, eg: 
>>>>>> 'interval'
>>>>>
>>>>>
>>>>> Thank you, Gary, for your tip. Unfortunately, that in turn does not 
>>>>> work for Sqlite. There, it only works with quotes, "interval"
>>>>>  
>>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/14c172fe-bdb0-4f0a-94ba-b223b19fa64an%40googlegroups.com.


[weewx-user] Re: Calculating Sun Energy from Radiation Reading

2021-03-11 Thread hesf...@gmail.com
Hallo,

I have a small request, the values for day.radiation.energy_integral and 
week...  month... and year.radiation.energy_integral not displayed

as proof, have a look at 

http://wh3080.hes61.de/

Hartmut
kk44...@gmail.com schrieb am Donnerstag, 11. März 2021 um 10:41:08 UTC+1:

> Yes, you are right. I did use ' instead of `.
>
> gjr80 schrieb am Donnerstag, 11. März 2021 um 10:37:49 UTC+1:
>
>> Are you sure you are using backticks, there are a number of similar 
>> looking symbols. Actually, looking at my reply I said backticks but I 
>> suspect I did not actually use them, you want this one:
>> ‘
>> Backticks will work in SQLite, if you look through the WeeWX code you 
>> will find wherever interval is used in a SQL statement it is enclosed in 
>> backticks. I believe double quotes can be used in MySQL in certain modes 
>> only, but backticks can be used in all modes.
>>
>> Gary
>> On Thursday, 11 March 2021 at 19:19:54 UTC+10 kk44...@gmail.com wrote:
>>
>>> gjr80 schrieb am Donnerstag, 11. März 2021 um 10:07:01 UTC+1:
>>>
 I think you will find the issue is that interval is a reserved word in 
 MySQL. The solution is to enclose interval in backticks, eg: 'interval'
>>>
>>>
>>> Thank you, Gary, for your tip. Unfortunately, that in turn does not work 
>>> for Sqlite. There, it only works with quotes, "interval"
>>>  
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/0db5d982-2a5e-448f-bef0-830bec97be20n%40googlegroups.com.


[weewx-user] Re: Calculating Sun Energy from Radiation Reading

2021-03-11 Thread hesf...@gmail.com
yes interval set to 'interval'

and the value dayET is in Vantage Pro2 by loop2 a value
in the calculation I changed it to day_ET

der Wert dayET wird bei Vantage Pro2 unter loop2 ermittelt
in der Berechnung habe ich es auf day_ET geändert

Hartmut
gjr80 schrieb am Donnerstag, 11. März 2021 um 10:07:01 UTC+1:

> I think you will find the issue is that interval is a reserved word in 
> MySQL. The solution is to enclose interval in backticks, eg: 'interval'
>
> Gary
>
> On Thursday, 11 March 2021 at 18:54:12 UTC+10 kk44...@gmail.com wrote:
>
>> You are using MySQL or MariaDB? I use Sqlite. There this statemant works. 
>>
>> I am not really at home with MySQL, but could you change the statement 
>> like that:
>>
>>   _result = db_manager.getSql(
>> "SELECT SUM(radiation*interval/60.0), "
>>
>> "MIN(usUnits), MAX(usUnits) FROM %s "
>> "WHERE dateTime >? AND dateTime<=?"
>> % db_manager.table_name, timespan)
>>
>> issue #5 <https://github.com/roe-dl/weewx-GTS/issues/5>
>>
>> If that does not help I would move the division by 60 from the SQL 
>> statement to the Python code. But first I ask you to check if that change 
>> works.
>>
>> hesf...@gmail.com schrieb am Donnerstag, 11. März 2021 um 09:23:39 UTC+1:
>>
>>> in line 546 
>>> def calc_radiation_integral(self, timespan, db_manager):
>>> """calculate radiation integral over time
>>>
>>> radiation: actual radiation in Watt per square meter
>>> interval:  registration interval as per database record in 
>>> minutes
>>>
>>> """
>>>
>>> try:
>>> _result = db_manager.getSql(
>>> "SELECT SUM(radiation*interval)/60.0, "
>>> "MIN(usUnits), MAX(usUnits) FROM %s "
>>> "WHERE dateTime >? AND dateTime<=?"
>>> % db_manager.table_name, timespan)
>>>
>>> is there a sql error
>>>
>>> Mar 11 09:20:26 hesba weewx[16349] ERROR weewx.reportengine: 
>>> File "/home/weewx/bin/user/GTS.py", line 559, in 
>>> calc_radiation_integral
>>> Mar 11 09:20:26 hesba weewx[16349] ERROR weewx.reportengine: 
>>>   % db_manager.table_name, timespan)
>>> Mar 11 09:20:26 hesba weewx[16349] ERROR weewx.reportengine: 
>>> File "/home/weewx/bin/weewx/manager.py", line 430, in getSql
>>> Mar 11 09:20:26 hesba weewx[16349] ERROR weewx.reportengine: 
>>>   _cursor.execute(sql, sqlargs)
>>> Mar 11 09:20:26 hesba weewx[16349] ERROR weewx.reportengine: 
>>> File "/home/weewx/bin/weedb/mysql.py", line 61, in guarded_fn
>>> Mar 11 09:20:26 hesba weewx[16349] ERROR weewx.reportengine: 
>>>   raise klass(e)
>>> Mar 11 09:20:26 hesba weewx[16349] ERROR weewx.reportengine: 
>>>   weedb.DatabaseError: (1064, "You have an error in your SQL syntax; 
>>> check the manual that corresponds to your MariaDB server version for the 
>>> right syntax to use near ')/60.0, MIN(usUnits),MAX(usUnits) FROM archive 
>>> WHERE dateTime>1612825200 AND ...' at line 1")
>>> Mar 11 09:20:26 hesba weewx[16349] ERROR weewx.reportengine: 
>>>   Generator terminated
>>>
>>>
>>> kk44...@gmail.com schrieb am Mittwoch, 10. März 2021 um 20:39:50 UTC+1:
>>>
>>>> The radiation observation type provides the actual sun power received 
>>>> at the time of measurement. The value depends on cloud coverage and the 
>>>> time of day.
>>>>
>>>> Besides that it is interesting to know which amount of energy was 
>>>> received from the sun during the day or any other period of time.
>>>>
>>>> To get that value some calculation has to be done. Unlike with rain 
>>>> that cannot be done by simply summarizing the observation readings. Energy 
>>>> is no cumulative value. Instead, it is necessary to integrate (in the 
>>>> mathematical meaning of that word) the radiation readings over the 
>>>> aggregation interval.
>>>>
>>>> I extended GTS extension <https://github.com/roe-dl/weewx-GTS> to do 
>>>> that.
>>>>
>>>> For example you can display the amount of sun energy received the day 
>>>> before by using the tag $yesterday.radiation.energy_integral. Plots 
>>>> are also possible.
>>>>
>>>> For examples showing these values see:
>>>> sun radiation energy value <https://www.woellsdorf-wetter.de>
>>>> sun radiation energy plot 
>>>> <https://www.woellsdorf-wetter.de/graphs/?graph=month#Sonnenenergie>
>>>>
>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/06047ce5-ce7c-4218-b7e7-5a156d4ba319n%40googlegroups.com.


[weewx-user] Re: Calculating Sun Energy from Radiation Reading

2021-03-11 Thread hesf...@gmail.com
in line 546 
def calc_radiation_integral(self, timespan, db_manager):
"""calculate radiation integral over time

radiation: actual radiation in Watt per square meter
interval:  registration interval as per database record in minutes

"""

try:
_result = db_manager.getSql(
"SELECT SUM(radiation*interval)/60.0, "
"MIN(usUnits), MAX(usUnits) FROM %s "
"WHERE dateTime >? AND dateTime<=?"
% db_manager.table_name, timespan)

is there a sql error

Mar 11 09:20:26 hesba weewx[16349] ERROR weewx.reportengine: 
File "/home/weewx/bin/user/GTS.py", line 559, in 
calc_radiation_integral
Mar 11 09:20:26 hesba weewx[16349] ERROR weewx.reportengine: 
  % db_manager.table_name, timespan)
Mar 11 09:20:26 hesba weewx[16349] ERROR weewx.reportengine: 
File "/home/weewx/bin/weewx/manager.py", line 430, in getSql
Mar 11 09:20:26 hesba weewx[16349] ERROR weewx.reportengine: 
  _cursor.execute(sql, sqlargs)
Mar 11 09:20:26 hesba weewx[16349] ERROR weewx.reportengine: 
File "/home/weewx/bin/weedb/mysql.py", line 61, in guarded_fn
Mar 11 09:20:26 hesba weewx[16349] ERROR weewx.reportengine: 
  raise klass(e)
Mar 11 09:20:26 hesba weewx[16349] ERROR weewx.reportengine:   
weedb.DatabaseError: (1064, "You have an error in your SQL syntax; check 
the manual that corresponds to your MariaDB server version for the right 
syntax to use near ')/60.0, MIN(usUnits),MAX(usUnits) FROM archive WHERE 
dateTime>1612825200 AND ...' at line 1")
Mar 11 09:20:26 hesba weewx[16349] ERROR weewx.reportengine:   
Generator terminated


kk44...@gmail.com schrieb am Mittwoch, 10. März 2021 um 20:39:50 UTC+1:

> The radiation observation type provides the actual sun power received at 
> the time of measurement. The value depends on cloud coverage and the time 
> of day.
>
> Besides that it is interesting to know which amount of energy was received 
> from the sun during the day or any other period of time.
>
> To get that value some calculation has to be done. Unlike with rain that 
> cannot be done by simply summarizing the observation readings. Energy is no 
> cumulative value. Instead, it is necessary to integrate (in the 
> mathematical meaning of that word) the radiation readings over the 
> aggregation interval.
>
> I extended GTS extension  to do that.
>
> For example you can display the amount of sun energy received the day 
> before by using the tag $yesterday.radiation.energy_integral. Plots are 
> also possible.
>
> For examples showing these values see:
> sun radiation energy value 
> sun radiation energy plot 
> 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/353789f6-4fa8-4376-a362-8a38ea8722cen%40googlegroups.com.


Re: [weewx-user] Re: Cydia pomonella

2021-03-10 Thread hesf...@gmail.com
= $model.name_common
  $model.name_scientific
<-->#else
  $model.name_scientific ($model.name_common)
<-->#end if name_scientific == name_common
  

<-->Location:$station.location
<-->Run Date:$run_date_h.format($now_format, add_label=False)
<-->Model:$model.name_model
<-->Threshold:$threshold_h.format()
<-->Cutoff:$cutoff_h.format()
Method:$model.method
Model Ref:$model.ref
  
Thanks for your trouble

Hartmut
charlescu...@gmail.com schrieb am Donnerstag, 11. März 2021 um 04:14:14 
UTC+1:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Wed, 10 Mar 2021 07:55:49 -0800 (PST)
> "hesf...@gmail.com"  wrote:
>
> > but the calculations are made in a mixture of degrees C and degrees F.
>
> Carsten Bitter reported the problem with the Cumulative Growing
> Degree-Days report. This is fixed in weewx-phenology-1.2 available at:
>
> o http://lacusveris.com/Phenology/weewx-phenology-1.2.tar.gz
>
> Full documentation is at:
>
> o http://lacusveris.com/Phenology/index.shtml
>
> Thanks for your interest in the Phenology Extension to WeeWX and for
> sticking with it.
>
> - -- 
> .. Be Seeing You,
> .. Chuck Rhode, Sheboygan, WI, USA
> .. Weather: http://LacusVeris.com/WX
> .. 
>
> -BEGIN PGP SIGNATURE-
>
> iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYEmLAAAKCRBg2/xipKOW
> Ul2EAJ90/L3cbALSb5oryMWmGz0sYOwbqQCfYwueokrJlBnbb5nhNPh5gMtnMbs=
> =p9j4
> -END PGP SIGNATURE-
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b4393266-1b6e-4648-a868-6ce2eb2a2c64n%40googlegroups.com.


Re: [weewx-user] Re: Cydia pomonella

2021-03-10 Thread hesf...@gmail.com
Hallo 
You are right, an update to python3.7 solved the problem

NO ERROR

but the calculations are made in a mixture of degrees C and degrees F.

Location:
D19073 Klein Rogahn Run Date:
03/10/2021 Model:
M001 Threshold:
50,0°F Cutoff:
88,0°F Method:
gdd_single_sine_horizontal_cutoff Model Ref:
http://msue.anr.msu.edu/news/first_generation_codling_moth_management 

date   min  max  sum
10 Mär  25,6 45,9 0,0 28,0 
look at Wetter mot cydia 


Thanks for the work
Hartmut
crh...@lacusveris.com schrieb am Dienstag, 9. März 2021 um 22:04:30 UTC+1:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Tue, 9 Mar 2021 14:31:33 -0600
> Chuck Rhode  wrote:
>
> > This appears to be a bug with Python 3.5. 
>
> > You may wish to upgrade to Python 3.6+.
>
> No, no, no! I take it all back. It's silly of me not to try to fix
> it.
>
> The only place where "trailing comma after arbitrary arguments" occurs
> is in the growing_degrees.py module, and I can change that easily!
> I'll make an updated tarball ready soon that will work under Python
> 3.5. You don't have to do anything except reinstall it. I'll let you
> know when.
>
> Thanks for bringing this to my attention.
>
>
> - -- 
> .. Be Seeing You,
> .. Chuck Rhode, Sheboygan, WI, USA
> .. Weather: http://LacusVeris.com/WX
> .. 50° — Wind S 9 mph
>
> -BEGIN PGP SIGNATURE-
>
> iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYEfhoQAKCRBg2/xipKOW
> UqtNAJsGYsNjB44qNj8NYVKbOQ58Nhc/TwCbBkPGFgKv2hRV2t2CoTuIG9i9idg=
> =+Ihj
> -END PGP SIGNATURE-
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/01605dba-6ded-4019-acfa-e798e657103dn%40googlegroups.com.


Re: [weewx-user] Re: Cydia pomonella

2021-03-10 Thread hesf...@gmail.com
Hallo 
You are right, an update to python3.7 solved the problem

Thanks
Hartmut

crh...@lacusveris.com schrieb am Dienstag, 9. März 2021 um 22:04:30 UTC+1:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Tue, 9 Mar 2021 14:31:33 -0600
> Chuck Rhode  wrote:
>
> > This appears to be a bug with Python 3.5. 
>
> > You may wish to upgrade to Python 3.6+.
>
> No, no, no! I take it all back. It's silly of me not to try to fix
> it.
>
> The only place where "trailing comma after arbitrary arguments" occurs
> is in the growing_degrees.py module, and I can change that easily!
> I'll make an updated tarball ready soon that will work under Python
> 3.5. You don't have to do anything except reinstall it. I'll let you
> know when.
>
> Thanks for bringing this to my attention.
>
>
> - -- 
> .. Be Seeing You,
> .. Chuck Rhode, Sheboygan, WI, USA
> .. Weather: http://LacusVeris.com/WX
> .. 50° — Wind S 9 mph
>
> -BEGIN PGP SIGNATURE-
>
> iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYEfhoQAKCRBg2/xipKOW
> UqtNAJsGYsNjB44qNj8NYVKbOQ58Nhc/TwCbBkPGFgKv2hRV2t2CoTuIG9i9idg=
> =+Ihj
> -END PGP SIGNATURE-
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d29f4af8-f3b9-4145-aba2-efdb965ef1ffn%40googlegroups.com.


Re: [weewx-user] Re: Cydia pomonella

2021-03-09 Thread hesf...@gmail.com
x/bin/user/phenologyservice.py", line 35, in 

Mar  9 19:52:00 hesba weewx[16315] ERROR weewx.reportengine: 
  import user.growing_degrees
Mar  9 19:52:00 hesba weewx[16315] ERROR weewx.reportengine: 
File "/home/weewx/bin/user/growing_degrees.py", line 294
Mar  9 19:52:00 hesba weewx[16315] ERROR weewx.reportengine: 
  **dummies,
Mar  9 19:52:00 hesba weewx[16315] ERROR weewx.reportengine: 
   ^
Mar  9 19:52:00 hesba weewx[16315] ERROR weewx.reportengine:   
SyntaxError: invalid syntax
Mar  9 19:52:00 hesba weewx[16315] ERROR weewx.reportengine:   
Generator ignored
Mar  9 19:52:04 hesba weewx[16315] INFO weewx.reportengine: ftpgenerator: 
Ftp'd 37 files in 3.84 seconds

sorry, my weewx is weewx4.4.0 and python 3.5

Hartmut


hesf...@gmail.com schrieb am Dienstag, 9. März 2021 um 19:29:25 UTC+1:

> Hallo Chuck Rhode,
>
> I copied the file "growing_degrees.py" from the message   
>
> in to weewx / bin / user 
>
> and restarted weewx
>
> the result
> Mar  9 19:25:59 hesba weewx[14366] INFO weewx.engine: StdConvert target 
> unit is 0x10
> Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__: Caught unrecoverable 
> exception:
> Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:   invalid 
> syntax (growing_degrees.py, line 294)
> Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:   Traceback 
> (most recent call last):
> Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__: File 
> "/home/weewx/bin/weewxd", line 151, in main
> Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:   engine 
> = weewx.engine.StdEngine(config_dict)
> Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__: File 
> "/home/weewx/bin/weewx/engine.py", line 93, in __init__
> Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:   
> self.loadServices(config_dict)
> Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__: File 
> "/home/weewx/bin/weewx/engine.py", line 161, in loadServices
> Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:   obj = 
> weeutil.weeutil.get_object(svc)(self, config_dict)
> Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__: File 
> "/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object
> Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:   mod = 
> __import__(module)
> Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__: File 
> "/home/weewx/bin/user/phenologyservice.py", line 35, in 
> Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:   import 
> user.growing_degrees
> Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__: File 
> "/home/weewx/bin/user/growing_degrees.py", line 294
> Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:   
> **dummies,
> Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__: 
>    ^
> Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:   
> SyntaxError: invalid syntax
> Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:   Exiting.
>
> Thanks
> Hartmut
> crh...@lacusveris.com schrieb am Dienstag, 9. März 2021 um 19:02:11 UTC+1:
>
>> -BEGIN PGP SIGNED MESSAGE- 
>> Hash: SHA1 
>>
>> Yes, that all looks good, and I am unable to guess what else could be 
>> wrong. Maybe there is an unclosed string literal close to the top of 
>> the module. It must be really late for you today. I'll attach a copy 
>> of the module to a private message to you for comparison. Please let 
>> me know if you see any differences. Thanks. 
>>
>> - -- 
>> .. Be Seeing You, 
>> .. Chuck Rhode, Sheboygan, WI, USA 
>> .. Weather: http://LacusVeris.com/WX 
>> .. 48° — Wind SE 9 mph 
>>
>> -BEGIN PGP SIGNATURE- 
>>
>> iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYEe25gAKCRBg2/xipKOW 
>> UlG7AJ9IqcrCYwrjh4+E7g7NmdE8TOqk9QCbBJ49ZaVaSTKK8/TeoIbRuYh4IZw= 
>> =V9Zc 
>> -END PGP SIGNATURE- 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/a459903a-14cf-442d-bd88-1e3edec6e4e0n%40googlegroups.com.


Re: [weewx-user] Re: Cydia pomonella

2021-03-09 Thread hesf...@gmail.com
Hallo Chuck Rhode,

I copied the file "growing_degrees.py" from the message   

in to weewx / bin / user 

and restarted weewx

the result
Mar  9 19:25:59 hesba weewx[14366] INFO weewx.engine: StdConvert target 
unit is 0x10
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__: Caught unrecoverable 
exception:
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:   invalid 
syntax (growing_degrees.py, line 294)
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:   Traceback 
(most recent call last):
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__: File 
"/home/weewx/bin/weewxd", line 151, in main
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:   engine 
= weewx.engine.StdEngine(config_dict)
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__: File 
"/home/weewx/bin/weewx/engine.py", line 93, in __init__
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:   
self.loadServices(config_dict)
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__: File 
"/home/weewx/bin/weewx/engine.py", line 161, in loadServices
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:   obj = 
weeutil.weeutil.get_object(svc)(self, config_dict)
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__: File 
"/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:   mod = 
__import__(module)
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__: File 
"/home/weewx/bin/user/phenologyservice.py", line 35, in 
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:   import 
user.growing_degrees
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__: File 
"/home/weewx/bin/user/growing_degrees.py", line 294
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:   
**dummies,
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__: 
   ^
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:   
SyntaxError: invalid syntax
Mar  9 19:26:00 hesba weewx[14366] CRITICAL __main__:   Exiting.

Thanks
Hartmut
crh...@lacusveris.com schrieb am Dienstag, 9. März 2021 um 19:02:11 UTC+1:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Yes, that all looks good, and I am unable to guess what else could be
> wrong. Maybe there is an unclosed string literal close to the top of
> the module. It must be really late for you today. I'll attach a copy
> of the module to a private message to you for comparison. Please let
> me know if you see any differences. Thanks.
>
> - -- 
> .. Be Seeing You,
> .. Chuck Rhode, Sheboygan, WI, USA
> .. Weather: http://LacusVeris.com/WX
> .. 48° — Wind SE 9 mph
>
> -BEGIN PGP SIGNATURE-
>
> iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYEe25gAKCRBg2/xipKOW
> UlG7AJ9IqcrCYwrjh4+E7g7NmdE8TOqk9QCbBJ49ZaVaSTKK8/TeoIbRuYh4IZw=
> =V9Zc
> -END PGP SIGNATURE-
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/a2b262e4-cc94-488f-a10e-ecffe57774abn%40googlegroups.com.


Re: [weewx-user] Re: Cydia pomonella

2021-03-09 Thread hesf...@gmail.com
Hallo in line 287
return (result, theta)


def gdd_single_sine_no_cutoff(  # 2019 Jan 08
day_max_temp,
day_min_temp,
threshold_temp,
**dummies,
):
(result, theta) = gdd_single_sine_with_theta(  # 2019 Jan 08
day_max_temp=day_max_temp,
day_min_temp=day_min_temp,
threshold_temp=threshold_temp,
)
return result

and in syslog
Mar  9 18:35:18 hesba weewx[9625] INFO weewx.engine: StdConvert target unit 
is 0x10
Mar  9 18:35:18 hesba weewx[9625] CRITICAL __main__: Caught unrecoverable 
exception:
Mar  9 18:35:18 hesba weewx[9625] CRITICAL __main__:   invalid 
syntax (growing_degrees.py, line 294)
Mar  9 18:35:18 hesba weewx[9625] CRITICAL __main__:   Traceback 
(most recent call last):
Mar  9 18:35:18 hesba weewx[9625] CRITICAL __main__: File 
"/home/weewx/bin/weewxd", line 151, in main
Mar  9 18:35:18 hesba weewx[9625] CRITICAL __main__:   engine = 
weewx.engine.StdEngine(config_dict)
Mar  9 18:35:18 hesba weewx[9625] CRITICAL __main__: File 
"/home/weewx/bin/weewx/engine.py", line 93, in __init__
Mar  9 18:35:18 hesba weewx[9625] CRITICAL __main__:   
self.loadServices(config_dict)
Mar  9 18:35:18 hesba weewx[9625] CRITICAL __main__: File 
"/home/weewx/bin/weewx/engine.py", line 161, in loadServices
Mar  9 18:35:18 hesba weewx[9625] CRITICAL __main__:   obj = 
weeutil.weeutil.get_object(svc)(self, config_dict)
Mar  9 18:35:18 hesba weewx[9625] CRITICAL __main__: File 
"/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object
Mar  9 18:35:18 hesba weewx[9625] CRITICAL __main__:   mod = 
__import__(module)
Mar  9 18:35:18 hesba weewx[9625] CRITICAL __main__: File 
"/home/weewx/bin/user/phenologyservice.py", line 35, in 
Mar  9 18:35:18 hesba weewx[9625] CRITICAL __main__:   import 
user.growing_degrees
Mar  9 18:35:18 hesba weewx[9625] CRITICAL __main__: File 
"/home/weewx/bin/user/growing_degrees.py", line 294
Mar  9 18:35:18 hesba weewx[9625] CRITICAL __main__:   
**dummies,
Mar  9 18:35:18 hesba weewx[9625] CRITICAL __main__:    
^
Mar  9 18:35:18 hesba weewx[9625] CRITICAL __main__:   SyntaxError: 
invalid syntax
Mar  9 18:35:18 hesba weewx[9625] CRITICAL __main__:   Exiting.

hesf...@gmail.com schrieb am Dienstag, 9. März 2021 um 18:00:35 UTC+1:

> i line 290 
> def gdd_single_sine_no_cutoff(  # 2019 Jan 08
> day_max_temp,
> day_min_temp,
> threshold_temp,
> **dummies,
> ):
> (result, theta) = gdd_single_sine_with_theta(  # 2019 Jan 08
> day_max_temp=day_max_temp,
> day_min_temp=day_min_temp,
> threshold_temp=threshold_temp,
> )
> return result
>
> and in syslog ar SyntaxError: invalid syntax
> Hartmut
> hesf...@gmail.com schrieb am Dienstag, 9. März 2021 um 17:55:53 UTC+1:
>
>> Hallo!
>> I have completely reinstalled the calculation and get it 
>>
>> Mar  9 17:53:18 hesba weewx[5536] INFO weewx.engine: StdConvert target 
>> unit is 0x10
>> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__: Caught unrecoverable 
>> exception:
>> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   invalid 
>> syntax (growing_degrees.py, line 294)
>> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   Traceback 
>> (most recent call last):
>> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__: File 
>> "/home/weewx/bin/weewxd", line 151, in main
>> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   engine 
>> = weewx.engine.StdEngine(config_dict)
>> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__: File 
>> "/home/weewx/bin/weewx/engine.py", line 93, in __init__
>> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   
>> self.loadServices(config_dict)
>> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__: File 
>> "/home/weewx/bin/weewx/engine.py", line 161, in loadServices
>> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   obj = 
>> weeutil.weeutil.get_object(svc)(self, config_dict)
>> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__: File 
>> "/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object
>> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   mod = 
>> __import__(module)
>> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__: File 
>> "/home/weewx/bin/user/phenologyservice.py", line 35, in 
>> Mar  9 17:53:18 hesba w

Re: [weewx-user] Re: Cydia pomonella

2021-03-09 Thread hesf...@gmail.com
Hallo,

in Line 287 return (result, theta)
288 (blank)
289 (blank)
290 def gdd_single_sine_no_cutoff(  # 2019 Jan 08
   day_max_temp,
   day_min_temp,
   threshold_temp,
   **dummies,
   ):
   (result, theta) = gdd_single_sine_with_theta(  # 2019 Jan 08
   day_max_temp=day_max_temp,
   day_min_temp=day_min_temp,
   threshold_temp=threshold_temp,
   )
301return result

Thank you
Hartmut
charlescu...@gmail.com schrieb am Dienstag, 9. März 2021 um 18:20:12 UTC+1:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Tue, 9 Mar 2021 08:55:53 -0800 (PST)
> "hesf...@gmail.com"  wrote:
>
> > I have completely reinstalled the calculation and get it 
>
> > Mar 9 17:53:18 CRITICAL __main__: File 
> "/home/weewx/bin/user/growing_degrees.py", line 294
> > Mar 9 17:53:18 CRITICAL __main__: **dummies, 
> > Mar 9 17:53:18 CRITICAL __main__: ^
> > Mar 9 17:53:18 CRITICAL __main__: SyntaxError: invalid syntax
>
> Sorry for the trouble you've been having. Please post the code from
> line 287 to line 302. Thanks.
>
>
> - -- 
> .. Be Seeing You,
> .. Chuck Rhode, Sheboygan, WI, USA
> .. Weather: http://LacusVeris.com/WX
> .. 48° — Wind SE 9 mph
>
> -BEGIN PGP SIGNATURE-
>
> iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYEeuQwAKCRBg2/xipKOW
> UiqdAKCAEzLvFAHb3WmR5O0ySBlh1CnG5wCfa232Fc/oQ8nOrIBDn1UqweZ8gis=
> =YJDt
> -END PGP SIGNATURE-
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/3d6bc523-7fc7-4aab-a3d9-832e2c2a20a0n%40googlegroups.com.


Re: [weewx-user] Re: Cydia pomonella

2021-03-09 Thread hesf...@gmail.com
i line 290 
def gdd_single_sine_no_cutoff(  # 2019 Jan 08
day_max_temp,
day_min_temp,
threshold_temp,
**dummies,
):
(result, theta) = gdd_single_sine_with_theta(  # 2019 Jan 08
day_max_temp=day_max_temp,
day_min_temp=day_min_temp,
threshold_temp=threshold_temp,
)
return result

and in syslog ar SyntaxError: invalid syntax
Hartmut
hesf...@gmail.com schrieb am Dienstag, 9. März 2021 um 17:55:53 UTC+1:

> Hallo!
> I have completely reinstalled the calculation and get it 
>
> Mar  9 17:53:18 hesba weewx[5536] INFO weewx.engine: StdConvert target 
> unit is 0x10
> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__: Caught unrecoverable 
> exception:
> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   invalid 
> syntax (growing_degrees.py, line 294)
> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   Traceback 
> (most recent call last):
> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__: File 
> "/home/weewx/bin/weewxd", line 151, in main
> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   engine 
> = weewx.engine.StdEngine(config_dict)
> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__: File 
> "/home/weewx/bin/weewx/engine.py", line 93, in __init__
> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   
> self.loadServices(config_dict)
> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__: File 
> "/home/weewx/bin/weewx/engine.py", line 161, in loadServices
> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   obj = 
> weeutil.weeutil.get_object(svc)(self, config_dict)
> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__: File 
> "/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object
> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   mod = 
> __import__(module)
> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__: File 
> "/home/weewx/bin/user/phenologyservice.py", line 35, in 
> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   import 
> user.growing_degrees
> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__: File 
> "/home/weewx/bin/user/growing_degrees.py", line 294
> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   
> **dummies,
> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__: 
>    ^
> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   
> SyntaxError: invalid syntax
> Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   Exiting.
>
> Hartmut
> crh...@lacusveris.com schrieb am Dienstag, 9. März 2021 um 17:42:10 UTC+1:
>
>> -BEGIN PGP SIGNED MESSAGE- 
>> Hash: SHA1 
>>
>> On Tue, 9 Mar 2021 04:33:50 -0800 (PST) 
>> "hesf...@gmail.com"  wrote: 
>>
>> > Then I deleted all "**dummies" in growing_degrees.py 
>>
>> > Reason: dd_conventional() got an unexpected keyword argument 
>> > 'cutoff_temp' Mar 9 13:27:31 hesba weewx[15638] ERROR 
>>
>> Yes, all the formulas supported by the growing_degrees module are 
>> invoked from the get_gdd_series method of the GrowingDegreeDays class 
>> of the phenologyservice module. 
>>
>> > gdd = method( 
>> > day_max_temp=temp_max, 
>> > day_min_temp=temp_min, 
>> > threshold_temp=threshold_temp, 
>> > cutoff_temp=cutoff_temp, 
>> > day_2_min_temp=temp_min_2, 
>> > scale=scale, 
>> > ) 
>>
>> They are all called with the same sequence of parameters whether or 
>> not the formula requires them all. The **dummies in the calling 
>> sequences in the growing_degrees module is catch-all syntax to consume 
>> the unused parameters, so it has to be in there. 
>>
>> You report a syntax error at line 295 in growing_degrees.py. Here is 
>> the code near that line. Is this what you see? 
>>
>> > def gdd_single_sine_no_cutoff( # 2019 Jan 08 
>> > day_max_temp, 
>> > day_min_temp, 
>> > threshold_temp, 
>> > **dummies, 
>> > ): 
>> > (result, theta) = gdd_single_sine_with_theta( # 2019 Jan 08 
>> > day_max_temp=day_max_temp, 
>> > day_min_temp=day_min_temp, 
>> > threshold_temp=threshold_temp, 
>> > ) 
>> > return result 
>>
>> - -- 
>> .. Be Seeing You, 
>> .. Chuck Rhode, Sheboygan, WI, USA 
>> .. Weather: http://LacusVeris.com/WX 
>> .. 48° — Wind SE 6 mph 
>>
>> -BEGIN PGP SIGNATURE- 
>>
>> iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYEekJQAKCRBg2/xipKOW 
>> Uo79AJ4rldPFAPd+rUa2/n7yvGLj3acq9ACeLK4EcUl6qXGRuoGQ/vtxpAjbzcM= 
>> =BepH 
>> -END PGP SIGNATURE- 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/a9c24e78-4055-4db2-a244-20edde150c3bn%40googlegroups.com.


Re: [weewx-user] Re: Cydia pomonella

2021-03-09 Thread hesf...@gmail.com
Hallo!
I have completely reinstalled the calculation and get it 

Mar  9 17:53:18 hesba weewx[5536] INFO weewx.engine: StdConvert target unit 
is 0x10
Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__: Caught unrecoverable 
exception:
Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   invalid 
syntax (growing_degrees.py, line 294)
Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   Traceback 
(most recent call last):
Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__: File 
"/home/weewx/bin/weewxd", line 151, in main
Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   engine = 
weewx.engine.StdEngine(config_dict)
Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__: File 
"/home/weewx/bin/weewx/engine.py", line 93, in __init__
Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   
self.loadServices(config_dict)
Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__: File 
"/home/weewx/bin/weewx/engine.py", line 161, in loadServices
Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   obj = 
weeutil.weeutil.get_object(svc)(self, config_dict)
Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__: File 
"/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object
Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   mod = 
__import__(module)
Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__: File 
"/home/weewx/bin/user/phenologyservice.py", line 35, in 
Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   import 
user.growing_degrees
Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__: File 
"/home/weewx/bin/user/growing_degrees.py", line 294
Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   
**dummies,
Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:    
^
Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   SyntaxError: 
invalid syntax
Mar  9 17:53:18 hesba weewx[5536] CRITICAL __main__:   Exiting.

Hartmut
crh...@lacusveris.com schrieb am Dienstag, 9. März 2021 um 17:42:10 UTC+1:

> -BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Tue, 9 Mar 2021 04:33:50 -0800 (PST)
> "hesf...@gmail.com"  wrote:
>
> > Then I deleted all "**dummies" in growing_degrees.py
>
> > Reason: dd_conventional() got an unexpected keyword argument
> > 'cutoff_temp' Mar 9 13:27:31 hesba weewx[15638] ERROR
>
> Yes, all the formulas supported by the growing_degrees module are
> invoked from the get_gdd_series method of the GrowingDegreeDays class
> of the phenologyservice module.
>
> > gdd = method(
> > day_max_temp=temp_max,
> > day_min_temp=temp_min,
> > threshold_temp=threshold_temp,
> > cutoff_temp=cutoff_temp,
> > day_2_min_temp=temp_min_2,
> > scale=scale,
> > )
>
> They are all called with the same sequence of parameters whether or
> not the formula requires them all. The **dummies in the calling
> sequences in the growing_degrees module is catch-all syntax to consume
> the unused parameters, so it has to be in there.
>
> You report a syntax error at line 295 in growing_degrees.py. Here is
> the code near that line. Is this what you see?
>
> > def gdd_single_sine_no_cutoff( # 2019 Jan 08
> > day_max_temp,
> > day_min_temp,
> > threshold_temp,
> > **dummies,
> > ):
> > (result, theta) = gdd_single_sine_with_theta( # 2019 Jan 08
> > day_max_temp=day_max_temp,
> > day_min_temp=day_min_temp,
> > threshold_temp=threshold_temp,
> > )
> > return result
>
> - -- 
> .. Be Seeing You,
> .. Chuck Rhode, Sheboygan, WI, USA
> .. Weather: http://LacusVeris.com/WX
> .. 48° — Wind SE 6 mph
>
> -BEGIN PGP SIGNATURE-
>
> iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYEekJQAKCRBg2/xipKOW
> Uo79AJ4rldPFAPd+rUa2/n7yvGLj3acq9ACeLK4EcUl6qXGRuoGQ/vtxpAjbzcM=
> =BepH
> -END PGP SIGNATURE-
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d4328e3a-db7c-420e-be62-91a02152d765n%40googlegroups.com.


Re: [weewx-user] Re: Cydia pomonella

2021-03-09 Thread hesf...@gmail.com
hesba weewx[15638] ERROR weewx.reportengine: 
  self.draw.rectangle(rect, fill=fill, outline=outline, width=width)
Mar  9 13:27:31 hesba weewx[15638] ERROR weewx.reportengine:   
TypeError: rectangle() got an unexpected keyword argument 'width'
Mar  9 13:27:31 hesba weewx[15638] ERROR weewx.reportengine:   
Generator terminated
Mar  9 13:27:37 hesba weewx[15638] INFO weewx.reportengine: ftpgenerator: 
Ftp'd 66 files in 5.82 seconds

my VERSION weewx 4.4.0 by python 3.5
I haven't made any further changes

Hartmu
hesf...@gmail.com schrieb am Dienstag, 9. März 2021 um 10:32:40 UTC+1:

> hallo.
>
> Error in growing_degrees.py
>
> Mar  9 10:31:18 hesba weewx[809] INFO user.cmon: cpuinfo: CPU 
> architecture: 7
> Mar  9 10:31:18 hesba weewx[809] INFO weewx.engine: StdConvert target unit 
> is 0x10
> Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__: Caught unrecoverable 
> exception:
> Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__:   invalid 
> syntax (growing_degrees.py, line 295)
> Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__:   Traceback 
> (most recent call last):
> Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__: File 
> "/home/weewx/bin/weewxd", line 151, in main
> Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__:   engine = 
> weewx.engine.StdEngine(config_dict)
> Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__: File 
> "/home/weewx/bin/weewx/engine.py", line 93, in __init__
> Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__:   
> self.loadServices(config_dict)
> Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__: File 
> "/home/weewx/bin/weewx/engine.py", line 161, in loadServices
> Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__:   obj = 
> weeutil.weeutil.get_object(svc)(self, config_dict)
> Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__: File 
> "/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object
> Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__:   mod = 
> __import__(module)
> Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__: File 
> "/home/weewx/bin/user/phenologyservice.py", line 35, in 
> Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__:   import 
> user.growing_degrees
> Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__: File 
> "/home/weewx/bin/user/growing_degrees.py", line 295
> Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__:   )
> Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__:   ^
> Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__:   SyntaxError: 
> invalid syntax
> Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__:   Exiting.
>
>
> crh...@lacusveris.com schrieb am Dienstag, 9. März 2021 um 04:14:44 UTC+1:
>
>> -BEGIN PGP SIGNED MESSAGE- 
>> Hash: SHA1 
>>
>> On Thu, 17 May 2018 14:35:58 +1000 
>> Glenn McKechnie  wrote: 
>>
>> > There is no link to the actual file. It can be inferred from 
>> > reading your notes, and you do mention that it's in the software 
>> > extension installation instructions but a link to the actual file 
>> > would be better. 
>>
>> > The existing installer is missing files. It only has dead symlinks 
>> > for the required files. 
>>
>> I have a new *Phenology* WeeWX extension that replaces *Cydia*. 
>>
>> The tarball is at: 
>>
>> o http://LacusVeris.com/Phenology/weewx-phenology-1.1.tar.gz. 
>>
>> The Web site is: 
>>
>> o http://LacusVeris.com/Phenology 
>>
>> - -- 
>> .. Be Seeing You, 
>> .. Chuck Rhode, Sheboygan, WI, USA 
>> .. Weather: http://LacusVeris.com/WX 
>> .. 35° — Wind Calm 
>>
>> -BEGIN PGP SIGNATURE- 
>>
>> iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYEbm5AAKCRBg2/xipKOW 
>> Up56AJ90PskyPR91t/Ih1lpJKag3dp4biACfZQsCIeAHiTCpeR1a8or5YTDIQIE= 
>> =1TOf 
>> -END PGP SIGNATURE- 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c19ed0e1-5f16-44ec-84a2-e49a13b472acn%40googlegroups.com.


Re: [weewx-user] Re: Cydia pomonella

2021-03-09 Thread hesf...@gmail.com
hallo.

Error in growing_degrees.py

Mar  9 10:31:18 hesba weewx[809] INFO user.cmon: cpuinfo: CPU architecture: 
7
Mar  9 10:31:18 hesba weewx[809] INFO weewx.engine: StdConvert target unit 
is 0x10
Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__: Caught unrecoverable 
exception:
Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__:   invalid 
syntax (growing_degrees.py, line 295)
Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__:   Traceback 
(most recent call last):
Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__: File 
"/home/weewx/bin/weewxd", line 151, in main
Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__:   engine = 
weewx.engine.StdEngine(config_dict)
Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__: File 
"/home/weewx/bin/weewx/engine.py", line 93, in __init__
Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__:   
self.loadServices(config_dict)
Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__: File 
"/home/weewx/bin/weewx/engine.py", line 161, in loadServices
Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__:   obj = 
weeutil.weeutil.get_object(svc)(self, config_dict)
Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__: File 
"/home/weewx/bin/weeutil/weeutil.py", line 1093, in get_object
Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__:   mod = 
__import__(module)
Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__: File 
"/home/weewx/bin/user/phenologyservice.py", line 35, in 
Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__:   import 
user.growing_degrees
Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__: File 
"/home/weewx/bin/user/growing_degrees.py", line 295
Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__:   )
Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__:   ^
Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__:   SyntaxError: 
invalid syntax
Mar  9 10:31:18 hesba weewx[809] CRITICAL __main__:   Exiting.


crh...@lacusveris.com schrieb am Dienstag, 9. März 2021 um 04:14:44 UTC+1:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Thu, 17 May 2018 14:35:58 +1000
> Glenn McKechnie  wrote:
>
> > There is no link to the actual file. It can be inferred from
> > reading your notes, and you do mention that it's in the software
> > extension installation instructions but a link to the actual file
> > would be better.
>
> > The existing installer is missing files. It only has dead symlinks
> > for the required files.
>
> I have a new *Phenology* WeeWX extension that replaces *Cydia*.
>
> The tarball is at:
>
> o http://LacusVeris.com/Phenology/weewx-phenology-1.1.tar.gz.
>
> The Web site is:
>
> o http://LacusVeris.com/Phenology
>
> - -- 
> .. Be Seeing You,
> .. Chuck Rhode, Sheboygan, WI, USA
> .. Weather: http://LacusVeris.com/WX
> .. 35° — Wind Calm
>
> -BEGIN PGP SIGNATURE-
>
> iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCYEbm5AAKCRBg2/xipKOW
> Up56AJ90PskyPR91t/Ih1lpJKag3dp4biACfZQsCIeAHiTCpeR1a8or5YTDIQIE=
> =1TOf
> -END PGP SIGNATURE-
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6a40a6a9-5ab8-436c-abb0-12c521fbf4b6n%40googlegroups.com.