2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +00:00
fhem-mirror/fhem/examples/sample_pgm2
rudolfkoenig d1055e2b48 Ignore attribute added
git-svn-id: https://svn.fhem.de/fhem/trunk@532 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2010-01-01 14:53:03 +00:00

26 lines
844 B
Plaintext

#
# pgm2 / autocreate configfile. Take a look at the other examples for more.
#
attr global logfile /tmp/fhem-%Y-%m.log
attr global modpath . # where our FHEM directory is
attr global port 7072 # our TCP/IP port (localhost only)
attr global statefile /tmp/fhem.save # where to save the state of the devices
attr global verbose 3 # "normal" verbosity (min 1, max 5)
#define CUL CUL /dev/ttyACM0 1234
#define FHEM FHEM /dev/USB0
define WEB FHEMWEB 8083 global
attr WEB plotmode SVG
attr WEB plotsize 800,160
# Fake logfile, to access the global log
define Logfile FileLog /tmp/fhem-%Y-%m.log fakelog
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