2007-01-30 12:47:36 +00:00
|
|
|
#
|
|
|
|
# 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
|
2008-07-12 08:16:51 +00:00
|
|
|
# button (it starts blinking), and then execute fhem.pl 7072 "set lamp on"
|
2007-01-30 12:47:36 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# Common part
|
2009-12-02 20:38:00 +00:00
|
|
|
attr global logfile /tmp/fhem-%Y-%m.log
|
|
|
|
attr global statefile /tmp/fhem.save # where to save the state of the devices
|
2007-03-19 14:59:37 +00:00
|
|
|
attr global verbose 3 # "normal" verbosity (min 1, max 5)
|
|
|
|
attr global port 7072 # our TCP/IP port (localhost only)
|
2009-11-14 08:01:16 +00:00
|
|
|
attr global modpath . # where our FHEM directory is
|
2007-01-30 12:47:36 +00:00
|
|
|
|
2007-03-19 14:59:37 +00:00
|
|
|
define FHZ FHZ /dev/tts/USB0 # the serial port of an FHZ 1000 PC
|
2007-01-30 12:47:36 +00:00
|
|
|
|
|
|
|
define lamp FS20 8765 01 # type FS20, transmitter code 8765, button 2
|