diff --git a/CHANGED b/CHANGED index 275a15c0f..8d15baccb 100644 --- a/CHANGED +++ b/CHANGED @@ -1,5 +1,6 @@ # 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. + - feature 74_HOMBOT: include Detail_Fn link to Luigi Contro Center - feature 49_SSCAM: control of exposure mode day, night & auto is possible now - bugfix: 74_HOMBOT: some set commands not work diff --git a/FHEM/74_HOMBOT.pm b/FHEM/74_HOMBOT.pm index b097125d6..801cded79 100644 --- a/FHEM/74_HOMBOT.pm +++ b/FHEM/74_HOMBOT.pm @@ -35,7 +35,7 @@ use Time::HiRes qw(gettimeofday); use HttpUtils; use Blocking; -my $version = "0.2.1"; +my $version = "0.2.2"; @@ -48,6 +48,7 @@ sub HOMBOT_Initialize($) { $hash->{DefFn} = "HOMBOT_Define"; $hash->{UndefFn} = "HOMBOT_Undef"; $hash->{AttrFn} = "HOMBOT_Attr"; + $hash->{FW_detailFn} = "HOMBOT_DetailFn"; $hash->{AttrList} = "interval ". "disable:1 ". @@ -963,6 +964,16 @@ sub HOMBOT_Aborted_Bot_Alive($) { 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 "{HOST}:6260\" target=\"_blank\">Control Center
" +} +