diff --git a/fhem/FHEM/lib/AttrTemplate/httpmod.template b/fhem/FHEM/lib/AttrTemplate/httpmod.template index 901e26488..7a5396ecb 100644 --- a/fhem/FHEM/lib/AttrTemplate/httpmod.template +++ b/fhem/FHEM/lib/AttrTemplate/httpmod.template @@ -257,14 +257,14 @@ attr DEVICE get02-8Name dusk #attr DEVICE get02-9Name weather attr DEVICE get02Name Astro-Daten attr DEVICE get02Poll 1 -attr DEVICE get02Regex Sonnenaufgang um <\/span>(.*)(.*)(\d\d:\d\d)(\d\d:\d\d)]+>(\d\d:\d\d)&[\w\W]*Morgen<\/span>: <\/span>(\d\d:\d\d)&[\w\W]*Abend:<\/span><\/span>(\d\d:\d\d) +attr DEVICE get02Regex Sonnenaufgang um <\/span>(.*)(.*)(\d\d:\d\d)(\d\d:\d\d)]+>(\d?\d:\d\d)&[\w\W]*Morgen<\/span>: <\/span>(\d\d:\d\d)&[\w\W]*Abend:<\/span><\/span>(\d\d:\d\d) attr DEVICE get02URL MAINURL attr DEVICE reading01Regex (?s)Temperatur.*?.*?>.*?(?(−)?[\d,]+)&thinsp.*?Taupunkt.*?.*?>.*?(?(−)?[\d,]+)&thinsp.*?Wind.*?>\n\s*(?[^<]+)\s\n\s*(?[^<]+)\s\n\s*(?[^<]+)\s\n\s*(?[^<]+)\s\n\s*(?[^<]+)\s\n\s*(?[^<\n]+).*?Messwerte[^<\n]+) attr DEVICE room WHICHROOM attr DEVICE readingOExpr $val =~ s/([\d]+),([\d]+) */$1.$2/ if $val =~ m{[\d]+,[\d]+ *\z};$val=~s/&minus\;/-/;$val attr DEVICE stateFormat W: wind, H: humidity%rH, T: temperature°C attr DEVICE model ORF_weather -setreading DEVICE attrTemplateVersion 20201129 +setreading DEVICE attrTemplateVersion 20210109 #Austrian weather, contributed by JoeALLb Forum: https://forum.fhem.de/index.php/topic,97694.msg1105574.html#msg1105574; name:bergfex_weather