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
|
|
|
|
attr global port 7072 # our TCP/IP port (localhost only)
|
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
|
|
|
|
|
|
|
#define CUL CUL /dev/ttyACM0
|
|
|
|
#define FHEM FHEM /dev/USB0
|
2008-07-25 15:49:31 +00:00
|
|
|
|
2009-05-23 07:32:08 +00:00
|
|
|
define WEB FHEMWEB 8083 global
|
2008-07-25 15:49:31 +00:00
|
|
|
attr WEB plotmode SVG
|
2009-12-22 11:00:54 +00:00
|
|
|
attr WEB plotsize 800,160
|
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
|