mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
74_AMADDevice: add logreport is attribut fhemServerIP not set
git-svn-id: https://svn.fhem.de/fhem/trunk@21406 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
cc02a8dac9
commit
376cb3d24e
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||||
# Do not insert empty lines here, update check depends on it.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- change: 74_AMADDevice: add logreport is attribut fhemServerIP not set
|
||||||
- change: 93_DbRep: better logfile messages in some cases of index operation
|
- change: 93_DbRep: better logfile messages in some cases of index operation
|
||||||
- feature: 44_TEK603: new attribute "disable"
|
- feature: 44_TEK603: new attribute "disable"
|
||||||
- change: 12_OilFox: package FHEM::OilFox
|
- change: 12_OilFox: package FHEM::OilFox
|
||||||
|
@ -277,7 +277,6 @@ sub Define($$) {
|
|||||||
|
|
||||||
$iodev = $hash->{IODev}->{NAME};
|
$iodev = $hash->{IODev}->{NAME};
|
||||||
|
|
||||||
# $hash->{VERSIONFLOWSET} = FHEM::Meta::Get( $defs{$iodev}, 'x_flowsetversion' );
|
|
||||||
$hash->{VERSIONFLOWSET} = $defs{$iodev}->{VERSIONFLOWSET};
|
$hash->{VERSIONFLOWSET} = $defs{$iodev}->{VERSIONFLOWSET};
|
||||||
|
|
||||||
my $d = $modules{AMADDevice}{defptr}{$amad_id};
|
my $d = $modules{AMADDevice}{defptr}{$amad_id};
|
||||||
@ -358,7 +357,7 @@ sub Attr(@) {
|
|||||||
"AMADDevice ($name) - set remoteServer to other" );
|
"AMADDevice ($name) - set remoteServer to other" );
|
||||||
}
|
}
|
||||||
|
|
||||||
$hash->{MODEL} = $attrVal;
|
$hash->{MODEL} = $attrVal;
|
||||||
$hash->{DEF} =
|
$hash->{DEF} =
|
||||||
$hash->{HOST} . ' ' . $hash->{AMAD_ID} . ' ' . $attrVal;
|
$hash->{HOST} . ' ' . $hash->{AMAD_ID} . ' ' . $attrVal;
|
||||||
}
|
}
|
||||||
@ -510,6 +509,12 @@ sub GetUpdate($) {
|
|||||||
checkDeviceState($hash);
|
checkDeviceState($hash);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
elsif ( AttrVal( $bname, 'fhemServerIP', 'not set' ) ne 'not set' ) {
|
||||||
|
|
||||||
|
Log3( $name, 1,
|
||||||
|
"AMADDevice ($name) - GetUpdate, attribut fhemServerIP not set in bridge device"
|
||||||
|
);
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
Log3( $name, 4,
|
Log3( $name, 4,
|
||||||
@ -784,7 +789,7 @@ sub Set($$@) {
|
|||||||
my $openurl = join( ' ', @args );
|
my $openurl = join( ' ', @args );
|
||||||
my $browser = AttrVal( $name, 'setOpenUrlBrowser',
|
my $browser = AttrVal( $name, 'setOpenUrlBrowser',
|
||||||
'com.android.chrome|com.google.android.apps.chrome.Main' );
|
'com.android.chrome|com.google.android.apps.chrome.Main' );
|
||||||
my ($bapp,$bappclass) = split( /\|/, $browser );
|
my ( $bapp, $bappclass ) = split( /\|/, $browser );
|
||||||
|
|
||||||
$path .=
|
$path .=
|
||||||
'openURL?url='
|
'openURL?url='
|
||||||
@ -818,15 +823,10 @@ sub Set($$@) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
elsif ( lc $cmd eq 'openapp' ) {
|
elsif ( lc $cmd eq 'openapp' ) {
|
||||||
# my $app = join( ' ', @args );
|
my ( $app, $appclass ) = split( /\|/, $args[0] );
|
||||||
my ($app,$appclass) = split( /\|/, $args[0] );
|
|
||||||
|
|
||||||
$path .=
|
$path .= 'openApp?app=' . $app;
|
||||||
'openApp?app='
|
$path .= '&appclass=' . $appclass
|
||||||
. $app;
|
|
||||||
$path .=
|
|
||||||
'&appclass='
|
|
||||||
. $appclass
|
|
||||||
if ( defined($appclass) );
|
if ( defined($appclass) );
|
||||||
|
|
||||||
$method = 'POST';
|
$method = 'POST';
|
||||||
@ -1689,7 +1689,7 @@ sub CreateChangeBtDeviceValue($$) {
|
|||||||
],
|
],
|
||||||
"release_status": "stable",
|
"release_status": "stable",
|
||||||
"license": "GPL_2",
|
"license": "GPL_2",
|
||||||
"version": "v4.4.7",
|
"version": "v4.4.8",
|
||||||
"author": [
|
"author": [
|
||||||
"Marko Oldenburg <leongaultier@gmail.com>"
|
"Marko Oldenburg <leongaultier@gmail.com>"
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user