mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-19 12:46:03 +00:00
74_Unifi: Minor loglevel-bugfix
git-svn-id: https://svn.fhem.de/fhem/trunk@17001 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b6831a4d28
commit
e7bbafc444
@ -33,9 +33,12 @@
|
||||
# - feature: 74_Unifi: block clients by mac-address
|
||||
# V 3.0.2
|
||||
# - fixed: 74_Unifi: Minor bugfix in notify-function
|
||||
# V 3.0.3
|
||||
# - fixed: 74_Unifi: Minor loglevel-bugfix
|
||||
|
||||
|
||||
package main;
|
||||
my $version="3.0.3";
|
||||
use strict;
|
||||
use warnings;
|
||||
use HttpUtils;
|
||||
@ -166,6 +169,7 @@ sub Unifi_Define($$) {
|
||||
sslargs => { SSL_verify_mode => 0 },
|
||||
};
|
||||
|
||||
$hash->{VERSION}=$version;
|
||||
my $username = Unifi_encrypt($a[4]);
|
||||
my $password = Unifi_encrypt($a[5]);
|
||||
$hash->{helper}{username} = $username;
|
||||
@ -728,7 +732,7 @@ sub Unifi_Write($$){
|
||||
my ( $hash, $type, $ap_id, $port_overrides) = @_; #TODO: ap_id und port_overrides in @a, damit es für andere $type auch geht.
|
||||
|
||||
my ($name,$self) = ($hash->{NAME},Unifi_Whoami());
|
||||
Log3 $name, 1, "$name ($self) - executed with ".$type;
|
||||
Log3 $name, 5, "$name ($self) - executed with ".$type;
|
||||
if($type eq "Unifi_RestJson_Send"){
|
||||
Unifi_RestJson_Send($hash, $ap_id, {port_overrides => $port_overrides });
|
||||
}
|
||||
|
@ -22,6 +22,7 @@
|
||||
# - state des USW korrekt setzen (aktuell nur connected und provisioning)
|
||||
|
||||
package main;
|
||||
my $version="0.92";
|
||||
# Laden evtl. abhängiger Perl- bzw. FHEM-Module
|
||||
use strict;
|
||||
use warnings;
|
||||
@ -39,7 +40,6 @@ sub UnifiSwitch_Parse($$);
|
||||
sub UnifiSwitch_Whoami();
|
||||
sub UnifiSwitch_Whowasi();
|
||||
|
||||
my $version="0.91";
|
||||
|
||||
sub UnifiSwitch_Initialize($$) {
|
||||
my ($hash) = @_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user