2012-09-18 13:10:51 +00:00
|
|
|
attr global logfile ./log/fhem-%Y-%m.log
|
2009-12-22 11:00:54 +00:00
|
|
|
attr global modpath . # where our FHEM directory is
|
2012-09-18 13:10:51 +00:00
|
|
|
attr global statefile ./log/fhem.save # where to save the state of the devices
|
2008-07-25 15:49:31 +00:00
|
|
|
attr global verbose 3 # "normal" verbosity (min 1, max 5)
|
2009-12-22 11:00:54 +00:00
|
|
|
|
2012-07-05 07:11:04 +00:00
|
|
|
define telnetPort telnet 7072 global # our TCP/IP port
|
|
|
|
|
2009-05-23 07:32:08 +00:00
|
|
|
define WEB FHEMWEB 8083 global
|
2010-05-15 12:26:16 +00:00
|
|
|
|
2011-07-07 07:02:50 +00:00
|
|
|
define WEBphone FHEMWEB 8084 global
|
2013-02-22 17:41:29 +00:00
|
|
|
attr WEBphone stylesheetPrefix smallscreen
|
2011-07-07 07:02:50 +00:00
|
|
|
|
|
|
|
define WEBtablet FHEMWEB 8085 global
|
2013-02-22 17:41:29 +00:00
|
|
|
attr WEBtablet stylesheetPrefix touchpad
|
2008-08-08 10:46:25 +00:00
|
|
|
|
2011-12-26 14:13:57 +00:00
|
|
|
# Fake FileLog entry, to access the fhem log from FHEMWEB
|
2012-09-18 13:10:51 +00:00
|
|
|
define Logfile FileLog ./log/fhem-%Y-%m.log fakelog
|
2009-12-22 11:00:54 +00:00
|
|
|
|
|
|
|
define autocreate autocreate
|
|
|
|
attr autocreate autosave
|
|
|
|
attr autocreate device_room %TYPE
|
2012-09-18 13:10:51 +00:00
|
|
|
attr autocreate filelog ./log/%NAME-%Y.log
|
2009-12-22 11:00:54 +00:00
|
|
|
attr autocreate weblink
|
|
|
|
attr autocreate weblink_room Plots
|
2012-07-05 07:11:04 +00:00
|
|
|
|
2013-06-07 06:40:15 +00:00
|
|
|
define et eventTypes log/eventTypes.txt
|
|
|
|
|
2011-12-31 13:31:58 +00:00
|
|
|
# Disable this to avoid looking for new USB devices on startup
|
|
|
|
define initialUsbCheck notify global:INITIALIZED usb create
|
2011-12-26 14:13:57 +00:00
|
|
|
|
|
|
|
|
2011-12-31 13:31:58 +00:00
|
|
|
# If the above notify did not helped, then you probably have to enable some of
|
|
|
|
# the following lines. Verify first that /dev/xxx ist correct.
|
2011-12-26 14:13:57 +00:00
|
|
|
|
|
|
|
#define FHZ FHZ /dev/USB0
|
|
|
|
#define CUL CUL /dev/ttyACM0@9600 1234
|
|
|
|
#attr CUL rfmode HomeMatic
|
|
|
|
|
|
|
|
#define EUL TCM 310 /dev/ttyACM0@57600
|
|
|
|
#define BscBor TCM 120 /dev/ttyUSB0@9600
|
|
|
|
#define BscSmartConnect TCM 310 /dev/ttyUSB0@57600
|