2008-07-25 15:49:31 +00:00
|
|
|
#
|
2009-12-22 11:00:54 +00:00
|
|
|
# pgm2 / autocreate configfile. Take a look at the other examples for more.
|
2008-07-25 15:49:31 +00:00
|
|
|
#
|
2009-12-02 20:38:00 +00:00
|
|
|
attr global logfile /tmp/fhem-%Y-%m.log
|
2009-12-22 11:00:54 +00:00
|
|
|
attr global modpath . # where our FHEM directory is
|
2011-07-26 14:00:09 +00:00
|
|
|
attr global port 7072 global # our TCP/IP port
|
2009-12-02 20:38:00 +00:00
|
|
|
attr global statefile /tmp/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
|
|
|
|
2010-01-01 14:53:03 +00:00
|
|
|
#define CUL CUL /dev/ttyACM0 1234
|
2011-07-07 07:02:50 +00:00
|
|
|
#define FHZ FHZ /dev/USB0
|
2008-07-25 15:49:31 +00:00
|
|
|
|
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
|
|
|
|
attr WEBphone smallscreen
|
|
|
|
|
|
|
|
define WEBtablet FHEMWEB 8085 global
|
|
|
|
attr WEBtablet touchpad
|
2008-08-08 10:46:25 +00:00
|
|
|
|
|
|
|
# Fake logfile, to access the global log
|
2009-12-02 20:38:00 +00:00
|
|
|
define Logfile FileLog /tmp/fhem-%Y-%m.log fakelog
|
2009-12-22 11:00:54 +00:00
|
|
|
|
|
|
|
define autocreate autocreate
|
|
|
|
attr autocreate autosave
|
|
|
|
attr autocreate device_room %TYPE
|
|
|
|
attr autocreate filelog /tmp/%NAME-%Y.log
|
|
|
|
attr autocreate weblink
|
|
|
|
attr autocreate weblink_room Plots
|