From 3a93a5cd988b5f55d287cef55ef5a65a47e4864c Mon Sep 17 00:00:00 2001 From: mahowi Date: Fri, 13 Apr 2018 18:15:22 +0000 Subject: [PATCH] 59_WUup: added AqPM2.5, AqPM10; fixed documentation git-svn-id: https://svn.fhem.de/fhem/trunk@16606 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/59_WUup.pm | 77 +++++++++++++++++++++++--------------------- 2 files changed, 42 insertions(+), 36 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index e37024d92..24f346d22 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - feature: 59_WUup: added AqPM2.5, AqPM10; fixed documentation - bugfix: 73_ElectricityCalculator: missing notifydev implemented - bugfix: 73_GasCalculator: missing notifydev implemented - bugfix: 73_WaterCalculator: missing notifydev implemented diff --git a/fhem/FHEM/59_WUup.pm b/fhem/FHEM/59_WUup.pm index b2c854041..e3465c35a 100644 --- a/fhem/FHEM/59_WUup.pm +++ b/fhem/FHEM/59_WUup.pm @@ -32,7 +32,7 @@ use Time::HiRes qw(gettimeofday); use HttpUtils; use UConv; -my $version = "0.9.7"; +my $version = "0.9.8"; # Declare functions sub WUup_Initialize($); @@ -66,7 +66,7 @@ sub WUup_Initialize($) { . "wubaromin wudailyrainin wudewptf wuhumidity wurainin wusoilmoisture " . "wusoiltempf wusolarradiation wutempf wuUV wuwinddir wuwinddir_avg2m " . "wuwindgustdir wuwindgustdir_10m wuwindgustmph wuwindgustmph_10m " - . "wuwindspdmph_avg2m wuwindspeedmph " + . "wuwindspdmph_avg2m wuwindspeedmph wuAqPM2.5 wuAqPM10 " . $readingFnAttributes; $hash->{VERSION} = $version; } @@ -354,6 +354,7 @@ sub WUup_receive($) { # 2017-10-19 added set-command "update" # 2018-03-19 solarradiation calculated from lux to W/m² (thanks to dieter114) # 2018-04-10 added attribute round +# 2018-04-13 added AqPM2.5 and AqPM10 # ################################################################################ @@ -422,24 +423,26 @@ sub WUup_receive($) { Solarradiation takes readings in lux and converts them to W/m²

The following information is supported: @@ -522,24 +525,26 @@ sub WUup_receive($) { Solarradiation nimmt Readings in lux an und rechnet diese in W/m² um.

Unterstützte Angaben