mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
37_harmony.pm: keep remoteId if user/pass is given
git-svn-id: https://svn.fhem.de/fhem/trunk@18053 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0c8e5b9e59
commit
1b35a3485a
@ -184,6 +184,7 @@ harmony_Define($$)
|
|||||||
my $password = harmony_encrypt($a[3]);
|
my $password = harmony_encrypt($a[3]);
|
||||||
|
|
||||||
$hash->{DEF} = "$username $password $ip";
|
$hash->{DEF} = "$username $password $ip";
|
||||||
|
$hash->{DEF} .= " remoteId=$param_h->{remoteId}" if( $param_h->{remoteId} );
|
||||||
|
|
||||||
$hash->{helper}{username} = $username;
|
$hash->{helper}{username} = $username;
|
||||||
$hash->{helper}{password} = $password;
|
$hash->{helper}{password} = $password;
|
||||||
@ -194,7 +195,6 @@ harmony_Define($$)
|
|||||||
|
|
||||||
$hash->{NAME} = $name;
|
$hash->{NAME} = $name;
|
||||||
|
|
||||||
#$hash->{remoteId} = '6779631';
|
|
||||||
$hash->{remoteId} = $param_h->{remoteId};
|
$hash->{remoteId} = $param_h->{remoteId};
|
||||||
|
|
||||||
$hash->{STATE} = "Initialized";
|
$hash->{STATE} = "Initialized";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user