From 3ee4f1e5efd2f32675dd97c993b9710b93fe47c9 Mon Sep 17 00:00:00 2001
From: rudolfkoenig
It supports different hardware devices to interface with certain protocols
-(e.g. FHZ1000 to interface FS20 and HMS, CM11 to access X10), and logical
+(e.g. FHZ1000PC to interface FS20 and HMS, CM11 to access X10), and logical
devices like FS20 or FHT to digest the messages for a certain device type using
this protocol.
@@ -126,34 +126,39 @@ web frontends.
When starting the server you have to specify a configuration file:
-
fhem.pl ~/.fhem
+ perl fhem.pl fhem.cfg
-A minimal configuration file:
- attr global logfile /tmp/fhem.log
- attr global statefile /tmp/fhem.save
+A minimal configuration file looks like:
+Note: the last two lines are optional and assume you wish to use the
+builtin telnet and WEB interface.
+ attr global logfile log/fhem.log
+ attr global modpath .
+ attr global statefile log/fhem.save
attr global verbose 3
- attr global port 7072
- attr global modpath /usr/share/fhem
- define FHZ FHZ /dev/tts/USB0
+ define telnetPort telnet 7072 global
+ define WEB FHEMWEB 8083 global
- define lamp FS20 8765 01
+
- For other configuration files see the examples subdirectory.
-
+The web interface can be reached at
+
+ http://<fhemhost>:8083
+
+
TCP/IP communication with fhem can either happen in a "session" (via
telnet) or single client command (via fhem.pl). Example:
-
or
telnet localhost 7072
+ telnet <fhemhost> 7072(This newline switches into "prompt" mode)
<NL>
<command>...
quit
-
diff --git a/docs/commandref_frame_DE.html b/docs/commandref_frame_DE.html
index 1d7c780a6..fa8c363c1 100644
--- a/docs/commandref_frame_DE.html
+++ b/docs/commandref_frame_DE.html
@@ -121,27 +121,31 @@ Verbindung, entweder direkt in einer "telnet"-Sitzung, oder per fhem.pl im
Client-Modus oder über eines der Webfrontends.fhem.pl 7072 "set lamp off"
+ fhem.pl <fhemhost>:7072 "<command>..."
Wenn Sie den FHEM-Server starten, müssen Sie eine Konfigurationsdatei auswählen:
-
fhem.pl ~/.fhem
+ perl fhem.pl fhem.cfg
Nachstehend eine Minimal-Konfiguration Datei:
-attr global logfile /tmp/fhem.log - attr global statefile /tmp/fhem.save ++Die letzten zwei Zeilen definieren einen telnet und einen WEB Zugang, beide können aber +bei Bedarf auch abgeschaltet werden.Nachstehend eine Minimal-Konfiguration Datei:
+ attr global logfile log/fhem.log + attr global modpath . + attr global statefile log/fhem.save attr global verbose 3 - attr global port 7072 - attr global modpath /usr/share/fhem - define FHZ FHZ /dev/tts/USB0 + define telnetPort telnet 7072 global + define WEB FHEMWEB 8083 global- define lamp FS20 8765 01
Beispiele für andere Konfigurationsdateien finden Sie - im "examples"-Verzeichnis
--Die Kommunikation mit FHEM kann entweder in einer "session" (über telnet) oder -über einzelne Klient-Kommandos (über fhem.pl) erfolgen. Beispiel:
+Die WEB Schnittstelle kann übertelnet localhost 7072
+ http://<fhemhost>:8083
+telnet <fhemhost> 7072
<NL> (Die Betätigung der "Enter"-Taste schaltet in den "prompt"
Modus)
<command>...
@@ -149,9 +153,10 @@ Die Kommunikation mit FHEM kann entweder in einer "session" (über telnet) o
fhem.pl 7072 "set lamp off"
+ fhem.pl <fhemhost>:7072 "<command>..."
Die folgenden drei Befehle bewirken z.B. dasselbe - Ergebnis, wenn sie am "telnet"-Prompt eingegeben werden:
-+ Ergebnis, wenn sie am "telnet"-Prompt eingegeben werden: