test: smartdevice variable wintermode initializied
Bridge consolidiert wifi/ethernet
This commit is contained in:
parent
e15a70ff0b
commit
de58578a2d
14
CHANGELOG.md
14
CHANGELOG.md
@ -1,4 +1,14 @@
|
||||
### test: debug line (HEAD -> patch_mucki)
|
||||
### test: fix initial variables (HEAD -> patch_mucki)
|
||||
>Wed, 1 Nov 2023 21:04:39 +0100
|
||||
|
||||
>Author: Sebastian (em@ail.tld)
|
||||
|
||||
>Commiter: Sebastian (em@ail.tld)
|
||||
|
||||
|
||||
|
||||
|
||||
### test: debug line (origin/patch_mucki)
|
||||
>Sat, 28 Oct 2023 18:02:17 +0200
|
||||
|
||||
>Author: Sebastian (em@ail.tld)
|
||||
@ -8,7 +18,7 @@
|
||||
|
||||
|
||||
|
||||
### test: cleanup initial error handling (origin/patch_mucki)
|
||||
### test: cleanup initial error handling
|
||||
>Wed, 25 Oct 2023 22:16:26 +0200
|
||||
|
||||
>Author: Sebastian (em@ail.tld)
|
||||
|
@ -1076,41 +1076,16 @@ sub WriteReadings {
|
||||
)
|
||||
&& ref($v) eq 'HASH'
|
||||
)
|
||||
{
|
||||
if ( $decode_json->{abilities}[0]{properties}
|
||||
[$properties]{name} eq 'ethernet_status' )
|
||||
{
|
||||
readingsBulkUpdateIfChanged( $hash,
|
||||
'ethernet_status-ip', $v->{ip} )
|
||||
if ( ref( $v->{ip} ) ne 'HASH' );
|
||||
readingsBulkUpdateIfChanged( $hash,
|
||||
'ethernet_status-isconnected',
|
||||
$v->{is_connected} );
|
||||
# obsolet, not published anymore
|
||||
# readingsBulkUpdateIfChanged( $hash,
|
||||
# 'ethernet_status-mac', $v->{mac} );
|
||||
{
|
||||
if ($v->{is_connected} ) {
|
||||
readingsBulkUpdateIfChanged( $hash,
|
||||
[$properties]{name}.'-ip', $v->{ip} )
|
||||
if ( ref( $v->{ip} ) ne 'HASH' );
|
||||
readingsBulkUpdateIfChanged( $hash,
|
||||
[$properties]{name}.'-isconnected', $v->{is_connected} )
|
||||
if ( $v->{is_connected} );
|
||||
}
|
||||
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' )
|
||||
&& ( $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' )
|
||||
&& ( $v->{is_connected} )) ;
|
||||
readingsBulkUpdateIfChanged( $hash,
|
||||
'wifi_status-signal', $v->{signal} )
|
||||
if ( $v->{is_connected} ) ;
|
||||
}
|
||||
}
|
||||
} # fi ethernet and wifi
|
||||
}
|
||||
$properties--;
|
||||
|
||||
@ -1586,7 +1561,7 @@ sub DeletePassword {
|
||||
],
|
||||
"release_status": "stable",
|
||||
"license": "GPL_2",
|
||||
"version": "v2.6.0",
|
||||
"version": "v2.6.1",
|
||||
"author": [
|
||||
"Marko Oldenburg <fhemdevelopment@cooltux.net>"
|
||||
],
|
||||
|
@ -992,7 +992,7 @@ sub WriteReadings {
|
||||
}
|
||||
; # fi scheduled_events
|
||||
|
||||
my $winter_mode;
|
||||
my $winter_mode = 'awake';
|
||||
|
||||
do {
|
||||
#Log3 $name, 1, "Settings pro Device : ".$decode_json->{settings}[$settings]{name};
|
||||
@ -2683,7 +2683,7 @@ sub SetPredefinedStartPoints {
|
||||
],
|
||||
"release_status": "stable",
|
||||
"license": "GPL_2",
|
||||
"version": "v2.6.0",
|
||||
"version": "v2.6.1",
|
||||
"author": [
|
||||
"Marko Oldenburg <fhemdevelopment@cooltux.net>"
|
||||
],
|
||||
|
@ -1,2 +1,2 @@
|
||||
UPD 2023-11-01_20:57:32 50330 FHEM/73_GardenaSmartBridge.pm
|
||||
UPD 2023-10-03_22:40:44 126409 FHEM/74_GardenaSmartDevice.pm
|
||||
UPD 2023-11-05_21:43:22 48810 FHEM/73_GardenaSmartBridge.pm
|
||||
UPD 2023-11-05_21:51:38 126419 FHEM/74_GardenaSmartDevice.pm
|
||||
|
Loading…
Reference in New Issue
Block a user