From 2c84b43b044456e38a57984fff27caeaa946c615 Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Sat, 13 Mar 2010 11:22:13 +0000 Subject: [PATCH] Small changes, doc git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@583 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/00_CUL.pm | 4 +-- FHEM/92_FileLog.pm | 2 +- docs/HOWTO.html | 79 +++++++++++++++++++++++++++++----------------- docs/fhem.html | 4 +-- 4 files changed, 54 insertions(+), 35 deletions(-) diff --git a/FHEM/00_CUL.pm b/FHEM/00_CUL.pm index 0d19edd1e..748f53af3 100755 --- a/FHEM/00_CUL.pm +++ b/FHEM/00_CUL.pm @@ -790,7 +790,7 @@ CUL_Parse($$$$$) } elsif($fn eq "E" && $len >= 11) { # CUL_EM / Native ; } else { - Log GetLogLevel($name,2), "CUL: unknown message $dmsg"; + Log GetLogLevel($name,2), "$name: unknown message $dmsg"; return; } @@ -898,7 +898,7 @@ CUL_OpenDev($$) $hash->{PARTIAL} = ""; - Log 3, "CUL opening CUL device $dev" + Log 3, "CUL opening $name device $dev" if(!$reopen); if($dev =~ m/^(.+):([0-9]+)$/) { # host:port diff --git a/FHEM/92_FileLog.pm b/FHEM/92_FileLog.pm index e525d8e43..433b77086 100755 --- a/FHEM/92_FileLog.pm +++ b/FHEM/92_FileLog.pm @@ -185,7 +185,7 @@ FileLog_Get($@) my $linf = "$1/$inf" if($hash->{currentlogfile} =~ m,^(.*)/[^/]*$,o); if(!-f $linf) { $linf = $attr{$hash->{NAME}}{archivedir} . "/" . $inf; - return "Error: File-not-found" if(!-f $linf); + return "Error: cannot access $linf" if(!-f $linf); } $inf = $linf; } diff --git a/docs/HOWTO.html b/docs/HOWTO.html index 030c56ba8..191fcbf3c 100644 --- a/docs/HOWTO.html +++ b/docs/HOWTO.html @@ -1,4 +1,7 @@ - + + + + FHEM Howto - @@ -86,36 +88,22 @@ The sample configuration file installed via "make install-pgm2" has configured an autocreate instance. This will automatically create fhem devices upon reception - of a message form this device (typically a sensor like S300 or FHT). - Just wait for a while, and re-check your browser for newly appeared - devices. You can use rename to - rename the automatically created device, e.g. type in the input field of - the web frontend:
+      of a message from this device (typically a sensor like S300 or FHT).
+      Just wait for a while, watch the log and re-check your browser for newly
+      appeared devices. You can use 
+      rename to rename the automatically created device, e.g. type in the
+      input field of the web frontend:
       rename FHT_1234 fht.kitchen
- -

Configuring FS20 receivers

- -

Misc. RF transmitters (FS20/EM/S300 etc.)

+ +

Configuring FS20 receivers

+ + +

Configuring FHT devices

-

FHEMWEB look and feel

+

FHEMWEB (pgm2) look and feel