mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
98c1a04525
git-svn-id: https://svn.fhem.de/fhem/trunk@216 2b470e98-0d58-463d-a4d8-8e2adae1ed80
26 lines
941 B
Plaintext
26 lines
941 B
Plaintext
#
|
|
# fhem.pl configfile
|
|
#
|
|
# Define RM100-2 devices:
|
|
#
|
|
# As the RM100-2 changes its code after the battery is changed (or the switch
|
|
# on the device itself is changed), we map _all_ RM100-2 to the device id 1001
|
|
# if there is no definition for it. Check the commandref.html define, Type HMS
|
|
# section for details
|
|
|
|
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 . # where our FHEM directory is
|
|
|
|
define FHZ FHZ /dev/tts/USB0 # the serial port of an FHZ 1000 PC
|
|
|
|
|
|
define rm100 HMS 1001 # type HMS
|
|
define rm100log FileLog /var/log/wz-%Y-%U.log rm100:.*
|
|
define smokealarm notify rm100:smoke.*on "wall "FIRE: @ %""
|
|
|
|
# Test the log/notify
|
|
# fhem.pl 7072 'trigger rm100 smoke on'
|