From 09b6e480ab57f021314ac76a552d74e200ef96f0 Mon Sep 17 00:00:00 2001 From: markooldenburg <> Date: Mon, 15 Feb 2016 21:33:47 +0000 Subject: [PATCH] 74_HOMBOT: include Detail_Fn link to Luigi Contro Center git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@10860 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- CHANGED | 1 + FHEM/74_HOMBOT.pm | 13 ++++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) 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
" +} +