mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 17:26:34 +00:00
74_HOMBOT: include Detail_Fn link to Luigi Contro Center
git-svn-id: https://svn.fhem.de/fhem/trunk@10860 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1b155ce4d1
commit
1dfadcd4aa
@ -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.
|
||||||
|
- feature 74_HOMBOT: include Detail_Fn link to Luigi Contro Center
|
||||||
- feature 49_SSCAM: control of exposure mode day, night & auto is
|
- feature 49_SSCAM: control of exposure mode day, night & auto is
|
||||||
possible now
|
possible now
|
||||||
- bugfix: 74_HOMBOT: some set commands not work
|
- bugfix: 74_HOMBOT: some set commands not work
|
||||||
|
@ -35,7 +35,7 @@ use Time::HiRes qw(gettimeofday);
|
|||||||
use HttpUtils;
|
use HttpUtils;
|
||||||
use Blocking;
|
use Blocking;
|
||||||
|
|
||||||
my $version = "0.2.1";
|
my $version = "0.2.2";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -48,6 +48,7 @@ sub HOMBOT_Initialize($) {
|
|||||||
$hash->{DefFn} = "HOMBOT_Define";
|
$hash->{DefFn} = "HOMBOT_Define";
|
||||||
$hash->{UndefFn} = "HOMBOT_Undef";
|
$hash->{UndefFn} = "HOMBOT_Undef";
|
||||||
$hash->{AttrFn} = "HOMBOT_Attr";
|
$hash->{AttrFn} = "HOMBOT_Attr";
|
||||||
|
$hash->{FW_detailFn} = "HOMBOT_DetailFn";
|
||||||
|
|
||||||
$hash->{AttrList} = "interval ".
|
$hash->{AttrList} = "interval ".
|
||||||
"disable:1 ".
|
"disable:1 ".
|
||||||
@ -963,6 +964,16 @@ sub HOMBOT_Aborted_Bot_Alive($) {
|
|||||||
Log3 $name, 3, "HOMBOT ($name) - The BlockingCall Process terminated unexpectedly. Timedout";
|
Log3 $name, 3, "HOMBOT ($name) - The BlockingCall Process terminated unexpectedly. Timedout";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub HOMBOT_DetailFn() { # Patch von Andre (justme1968)
|
||||||
|
|
||||||
|
my ($FW_wname, $d, $room, $pageHash) = @_; # pageHash is set for summaryFn.
|
||||||
|
my $hash = $defs{$d};
|
||||||
|
|
||||||
|
return if( !defined( $hash->{HOST} ) );
|
||||||
|
|
||||||
|
return "<b><u><a href=\"http://$hash->{HOST}:6260\" target=\"_blank\">Control Center</a></u></b><br>"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user