mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
74_Unifi: removed forced ssl version
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9192 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a725312335
commit
5c36ed6c27
@ -1,5 +1,5 @@
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
# $Id: 74_Unifi.pm 2015-08-31 23:00 - rapster - rapster at x0e dot de $
|
# $Id$
|
||||||
|
|
||||||
package main;
|
package main;
|
||||||
use strict;
|
use strict;
|
||||||
@ -36,6 +36,7 @@ sub Unifi_GetAccesspoints_Send($);
|
|||||||
sub Unifi_GetAccesspoints_Receive($);
|
sub Unifi_GetAccesspoints_Receive($);
|
||||||
sub Unifi_ProcessUpdate($);
|
sub Unifi_ProcessUpdate($);
|
||||||
sub Unifi_SetClientReadings($);
|
sub Unifi_SetClientReadings($);
|
||||||
|
sub Unifi_SetHealthReadings($);
|
||||||
sub Unifi_SetAccesspointReadings($);
|
sub Unifi_SetAccesspointReadings($);
|
||||||
sub Unifi_DisconnectClient_Send($@);
|
sub Unifi_DisconnectClient_Send($@);
|
||||||
sub Unifi_DisconnectClient_Receive($);
|
sub Unifi_DisconnectClient_Receive($);
|
||||||
@ -95,7 +96,7 @@ sub Unifi_Define($$) {
|
|||||||
noshutdown => 0,
|
noshutdown => 0,
|
||||||
ignoreredirects => 1,
|
ignoreredirects => 1,
|
||||||
loglevel => AttrVal($name,"httpLoglevel",5),
|
loglevel => AttrVal($name,"httpLoglevel",5),
|
||||||
sslargs => { SSL_version => 'SSLv23', SSL_verify_mode => 'SSL_VERIFY_NONE' },
|
sslargs => { SSL_verify_mode => 'SSL_VERIFY_NONE' },
|
||||||
};
|
};
|
||||||
if($hash->{unifi}->{version} == 3) {
|
if($hash->{unifi}->{version} == 3) {
|
||||||
( $hash->{httpParams}->{loginUrl} = $hash->{unifi}->{url} ) =~ s/api\/s.+/login/;
|
( $hash->{httpParams}->{loginUrl} = $hash->{unifi}->{url} ) =~ s/api\/s.+/login/;
|
||||||
@ -1282,7 +1283,7 @@ Or you can use the other readings or set and get features to control your unifi-
|
|||||||
Show more details about clients.</li>
|
Show more details about clients.</li>
|
||||||
<br>
|
<br>
|
||||||
<li><code>get <name> events</code><br>
|
<li><code>get <name> events</code><br>
|
||||||
Show events in specified 'timePeriod'.</li>
|
Show events in specified 'eventPeriod'.</li>
|
||||||
<br>
|
<br>
|
||||||
<li><code>get <name> unarchivedAlerts</code><br>
|
<li><code>get <name> unarchivedAlerts</code><br>
|
||||||
Show all unarchived Alerts.</li>
|
Show all unarchived Alerts.</li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user