mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
59_WUup.pm: fixed attribute names
git-svn-id: https://svn.fhem.de/fhem/trunk@15269 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3ed38ac5ec
commit
fe47337978
@ -32,7 +32,7 @@ use Time::HiRes qw(gettimeofday);
|
|||||||
use HttpUtils;
|
use HttpUtils;
|
||||||
use UConv;
|
use UConv;
|
||||||
|
|
||||||
my $version = "0.9.3";
|
my $version = "0.9.4";
|
||||||
|
|
||||||
# Declare functions
|
# Declare functions
|
||||||
sub WUup_Initialize($);
|
sub WUup_Initialize($);
|
||||||
@ -60,11 +60,10 @@ sub WUup_Initialize($) {
|
|||||||
. "disabledForIntervals "
|
. "disabledForIntervals "
|
||||||
. "interval "
|
. "interval "
|
||||||
. "unit_windspeed:km/h,m/s "
|
. "unit_windspeed:km/h,m/s "
|
||||||
. "wuwinddir wuwindspeedmph wuwindgustmph wuwindgustdir wuwinddir_avg2m "
|
. "wubaromin wudailyrainin wudewptf wuhumidity wurainin wusoilmoisture "
|
||||||
. "wuwinddir_avg2m wuwindgustmph_10m wuwindgustdir_10m wuhumidity "
|
. "wusoiltempf wusolarradiation wutempf wuUV wuwinddir wuwinddir_avg2m "
|
||||||
. "wusoilmoisture wudewptf wutempf wurainin wudailyrainin wubaromin "
|
. "wuwindgustdir wuwindgustdir_10m wuwindgustmph wuwindgustmph_10m "
|
||||||
. "wusoiltempf wusolarradiation wuUV wuwindspdmph_avg2m wuwinddir_avg2m "
|
. "wuwindspdmph_avg2m wuwindspeedmph "
|
||||||
. "wuwindgustmph_10m windgustdir_10m "
|
|
||||||
. $readingFnAttributes;
|
. $readingFnAttributes;
|
||||||
$hash->{VERSION} = $version;
|
$hash->{VERSION} = $version;
|
||||||
}
|
}
|
||||||
@ -299,8 +298,8 @@ sub WUup_receive($) {
|
|||||||
}
|
}
|
||||||
elsif ( $data ne "" ) {
|
elsif ( $data ne "" ) {
|
||||||
Log3 $name, 4, "WUup ($name) - server response: $data";
|
Log3 $name, 4, "WUup ($name) - server response: $data";
|
||||||
readingsSingleUpdate( $hash, "state", "active", undef );
|
readingsSingleUpdate( $hash, "state", "active", undef );
|
||||||
readingsSingleUpdate( $hash, "response", $data, undef );
|
readingsSingleUpdate( $hash, "response", $data, undef );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -324,9 +323,10 @@ sub WUup_receive($) {
|
|||||||
# converted units rounded to 4 decimal places
|
# converted units rounded to 4 decimal places
|
||||||
# 2017-03-16 implemented non-blocking mode
|
# 2017-03-16 implemented non-blocking mode
|
||||||
# 2017-08-16 integrated RapidFire mode (thanks to Scooty66)
|
# 2017-08-16 integrated RapidFire mode (thanks to Scooty66)
|
||||||
# 2017-10-10 added windspdmph_avg2m, winddir_avg2m, windgustmph_10m,
|
# 2017-10-10 added windspdmph_avg2m, winddir_avg2m, windgustmph_10m,
|
||||||
# windgustdir_10m (thanks to Aeroschmelz for reminding me)
|
# windgustdir_10m (thanks to Aeroschmelz for reminding me)
|
||||||
# timeout raised to 6s, fixed state error (thanks to mumpitzstuff)
|
# timeout raised to 6s, fixed state error (thanks to mumpitzstuff)
|
||||||
|
# 2017-10-16 fixed attributes
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user