2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00
fhem-mirror/fhem/examples/01_fs20
pest b297a51616 Back to 1.3 - sorry.
git-svn-id: https://svn.fhem.de/fhem/trunk@68 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2007-05-28 17:56:53 +00:00

19 lines
706 B
Plaintext

#
# fhem.pl configfile
#
# Define a lamp (which is plugged in via an FS20ST).
# To program the FS20ST, start the server, plug the FS20ST in pressing its
# button, and then execute fhem.pl 7072 "set lamp on"
#
# Common part
attr global logfile /tmp/fhem-%Y-%m.log
attr global statefile /tmp/fhem.save # where to save the state of the devices
attr global verbose 3 # "normal" verbosity (min 1, max 5)
attr global port 7072 # our TCP/IP port (localhost only)
attr global modpath /usr/local/lib # where our FHEM directory is
define FHZ FHZ /dev/tts/USB0 # the serial port of an FHZ 1000 PC
define lamp FS20 8765 01 # type FS20, transmitter code 8765, button 2