mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-26 10:34:52 +00:00
Updating documentation to reflect new path changes. Thanks to A. Rott
git-svn-id: https://svn.fhem.de/fhem/trunk@710 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
80c969248e
commit
bba9d341eb
@ -5,12 +5,12 @@
|
|||||||
# Written by Stefan Manteuffel
|
# Written by Stefan Manteuffel
|
||||||
|
|
||||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
|
||||||
DAEMON=/usr/local/bin/fhem.pl
|
DAEMON=/usr/bin/fhem.pl
|
||||||
PIDFILE=/var/run/fhem.pid
|
PIDFILE=/var/run/fhem.pid
|
||||||
|
|
||||||
# Arguments to atd
|
# Arguments to atd
|
||||||
#
|
#
|
||||||
ARGS="/etc/FHZ/fhem.cfg"
|
ARGS="/etc/fhem.cfg"
|
||||||
|
|
||||||
test -x $DAEMON || exit 0
|
test -x $DAEMON || exit 0
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
# define rolzwo_not_off notify rolwzo /usr/local/bin/rolwzo_not_off.sh
|
# define rolzwo_not_off notify rolwzo /usr/local/bin/rolwzo_not_off.sh
|
||||||
|
|
||||||
|
|
||||||
FHZ="/usr/local/bin/fhem.pl 7072"
|
FHZ="/usr/bin/fhem.pl 7072"
|
||||||
order="delete rolwzo_off"
|
order="delete rolwzo_off"
|
||||||
|
|
||||||
DATESTRING=`date +"%H"`
|
DATESTRING=`date +"%H"`
|
||||||
|
@ -43,7 +43,7 @@ even=(08:30 11:30 16:30 22:30)
|
|||||||
# (from1 to1 from2 to2)
|
# (from1 to1 from2 to2)
|
||||||
free=(08:30 23:50 24:00 24:00)
|
free=(08:30 23:50 24:00 24:00)
|
||||||
# define fhem.pl host:port
|
# define fhem.pl host:port
|
||||||
FHEM_BIN="/usr/local/bin/fhem.pl localhost:7072"
|
FHEM_BIN="/usr/bin/fhem.pl localhost:7072"
|
||||||
# define file for rotation
|
# define file for rotation
|
||||||
WEEKFILE="/var/fhem/week.save"
|
WEEKFILE="/var/fhem/week.save"
|
||||||
|
|
||||||
|
@ -50,12 +50,12 @@
|
|||||||
First install the Device::SerialPort (or Win32::SerialPort) perl module
|
First install the Device::SerialPort (or Win32::SerialPort) perl module
|
||||||
with the command <code>"sudo cpan Device::SerialPort"</code></br>
|
with the command <code>"sudo cpan Device::SerialPort"</code></br>
|
||||||
The default configuration will install fhem into /usr/bin,
|
The default configuration will install fhem into /usr/bin,
|
||||||
/usr/share/fhem and /var/log/fhem. Edit the Makefile to change
|
/usr/share/fhem and /var/log/fhem and /etc/fhem.cfg. Edit the Makefile to
|
||||||
this.
|
change this.
|
||||||
|
|
||||||
To install & start fhem type:<pre>
|
To install & start fhem type:<pre>
|
||||||
make install-pgm2
|
make install-pgm2
|
||||||
perl /usr/local/bin/fhem.pl /var/log/fhem/fhem.cfg</pre>
|
perl /usr/bin/fhem.pl /etc/fhem.cfg</pre>
|
||||||
|
|
||||||
After starting, the logfile should look like:<pre>
|
After starting, the logfile should look like:<pre>
|
||||||
2008.06.15 16:17:03 2: FHEMWEB port 8083 opened
|
2008.06.15 16:17:03 2: FHEMWEB port 8083 opened
|
||||||
|
@ -176,7 +176,7 @@ A minimal configuration file: <pre>
|
|||||||
attr global <a href="#statefile">statefile</a> /tmp/fhem.save
|
attr global <a href="#statefile">statefile</a> /tmp/fhem.save
|
||||||
attr global <a href="#verbose">verbose</a> 3
|
attr global <a href="#verbose">verbose</a> 3
|
||||||
attr global <a href="#port">port</a> 7072
|
attr global <a href="#port">port</a> 7072
|
||||||
attr global <a href="#modpath">modpath</a> /usr/local/lib
|
attr global <a href="#modpath">modpath</a> /usr/share/fhem
|
||||||
<a href="#define">define</a> FHZ FHZ /dev/tts/USB0
|
<a href="#define">define</a> FHZ FHZ /dev/tts/USB0
|
||||||
|
|
||||||
<a href="#define">define</a> lamp FS20 8765 01</pre>
|
<a href="#define">define</a> lamp FS20 8765 01</pre>
|
||||||
|
@ -63,7 +63,7 @@ quit # Ignore the rest of this file
|
|||||||
# instead.
|
# instead.
|
||||||
#
|
#
|
||||||
|
|
||||||
fhem=/usr/local/bin/fhem.pl
|
fhem=/usr/bin/fhem.pl
|
||||||
|
|
||||||
if test $1 = "on"; then
|
if test $1 = "on"; then
|
||||||
$fhem 7072 "set roll1 on-for-timer 10"
|
$fhem 7072 "set roll1 on-for-timer 10"
|
||||||
|
@ -70,7 +70,7 @@ attr global statefile /tmp/fhem.save
|
|||||||
attr global pidfilename /var/run/fhem.pid
|
attr global pidfilename /var/run/fhem.pid
|
||||||
attr global verbose 3
|
attr global verbose 3
|
||||||
attr global port 7072
|
attr global port 7072
|
||||||
attr global modpath /usr/local/libusr/local/lib
|
attr global modpath /usr/share/fhem
|
||||||
|
|
||||||
# Die Definition des Attributs "freigabe"
|
# Die Definition des Attributs "freigabe"
|
||||||
# definition of attribute "freigabe"
|
# definition of attribute "freigabe"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user