From 795c4be1b7cb83d334edf5b543e700508bc800e5 Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Wed, 28 Mar 2007 17:26:27 +0000 Subject: [PATCH] Bugfixes. git-svn-id: https://svn.fhem.de/fhem/trunk@37 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/00_FHZ.pm | 2 +- fhem/FHEM/91_notify.pm | 2 +- fhem/docs/commandref.html | 9 +++++++++ fhem/docs/fhem.html | 4 +++- fhem/fhem.pl | 25 ++++++++++++++++++------- 5 files changed, 32 insertions(+), 10 deletions(-) diff --git a/fhem/FHEM/00_FHZ.pm b/fhem/FHEM/00_FHZ.pm index 1ca4908ff..324e15ebe 100755 --- a/fhem/FHEM/00_FHZ.pm +++ b/fhem/FHEM/00_FHZ.pm @@ -89,7 +89,7 @@ FHZ_Set($@) my $v = join(" ", @a); my $name = $hash->{NAME}; - Log GetLogLevel($name,2), "FHZ set $name $v"; + Log GetLogLevel($name,2), "FHZ set $v"; if($a[1] eq "activefor") { diff --git a/fhem/FHEM/91_notify.pm b/fhem/FHEM/91_notify.pm index c6225f77b..30b34b473 100755 --- a/fhem/FHEM/91_notify.pm +++ b/fhem/FHEM/91_notify.pm @@ -23,7 +23,7 @@ sub notify_Define($$) { my ($hash, $def) = @_; - my ($re, $command) = split("[ \t]+", $def, 2); + my ($type, $name, $re, $command) = split("[ \t]+", $def, 4); # Checking for misleading regexps eval { "Hallo" =~ m/^$re$/ }; diff --git a/fhem/docs/commandref.html b/fhem/docs/commandref.html index 8e04a345b..e4c6362e2 100644 --- a/fhem/docs/commandref.html +++ b/fhem/docs/commandref.html @@ -113,6 +113,15 @@ split in multiple lines

be written to this file.
+ +
  • lastinclude
    + If this attribute is set, then the last command of the generated + configfile (see the save command) will be
    + include <lastinclude-value>
    + This file can contain not configurable information, e.g. + setting the FHTcode. +

  • +
  • logfile
    Specify the logfile to write. You can use "-" for diff --git a/fhem/docs/fhem.html b/fhem/docs/fhem.html index e9783da0e..e01a979c5 100644 --- a/fhem/docs/fhem.html +++ b/fhem/docs/fhem.html @@ -9,7 +9,9 @@ -

    FHEM (GPL'd FS20/HMS/FHT/KS300/WS300 server for linux, formerly known as fhz1000.pl)

    +

    FHEM

    +GPL'd FHZ FS20 HMS FHT KS300 WS300 server for linux, formerly known as +fhz1000.pl

    News (as of =DATE=, Version =VERS=)