patch_mucki #87

Merged
sebastianschwarz merged 9 commits from patch_mucki into dev 2023-11-20 19:43:36 +00:00
3 changed files with 20 additions and 7 deletions
Showing only changes of commit 13de67f570 - Show all commits

View File

@ -1,4 +1,14 @@
### test: gateway readings changed by gardena (HEAD -> patch_mucki)
### test: changed published gateway informations (HEAD -> patch_mucki)
>Sat, 21 Oct 2023 20:21:31 +0200
>Author: Sebastian (em@ail.tld)
>Commiter: Sebastian (em@ail.tld)
### test: gateway readings changed by gardena (origin/patch_mucki)
>Thu, 12 Oct 2023 21:52:51 +0200
>Author: Sebastian (em@ail.tld)
@ -8,7 +18,7 @@
### test: versions pump (origin/patch_mucki)
### test: versions pump
>Tue, 3 Oct 2023 22:40:58 +0200
>Author: Sebastian (em@ail.tld)

View File

@ -1087,19 +1087,22 @@ sub WriteReadings {
elsif ( $decode_json->{abilities}[0]{properties}
[$properties]{name} eq 'wifi_status' )
{
# obsolet, not published anymore TODO: ask user using wifi
readingsBulkUpdateIfChanged( $hash,
'wifi_status-ssid', $v->{ssid} )
if ( ref( $v->{ssid} ) ne 'HASH' );
# obsolet, not published anymore
if (( ref( $v->{ssid} ) ne 'HASH' )
&& ( $v->{is_connected} )) ;
# readingsBulkUpdateIfChanged( $hash,
# 'wifi_status-mac', $v->{mac} );
readingsBulkUpdateIfChanged( $hash,
'wifi_status-isconnected', $v->{is_connected} );
readingsBulkUpdateIfChanged( $hash,
'wifi_status-ip', $v->{ip} )
if ( ref( $v->{ip} ) ne 'HASH' );
if (( ref( $v->{ip} ) ne 'HASH' )
&& ( $v->{is_connected} )) ;
readingsBulkUpdateIfChanged( $hash,
'wifi_status-signal', $v->{signal} );
'wifi_status-signal', $v->{signal} )
if ( $v->{is_connected} ) ;
}
}
}

View File

@ -1,2 +1,2 @@
UPD 2023-10-21_20:21:09 49772 FHEM/73_GardenaSmartBridge.pm
UPD 2023-10-23_22:03:43 49976 FHEM/73_GardenaSmartBridge.pm
UPD 2023-10-03_22:40:44 126409 FHEM/74_GardenaSmartDevice.pm