mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-25 22:15:09 +00:00

- Support update Modul git-svn-id: https://svn.fhem.de/fhem/trunk@3182 2b470e98-0d58-463d-a4d8-8e2adae1ed80
88 lines
3.2 KiB
INI
88 lines
3.2 KiB
INI
################################################################################
|
|
#
|
|
# fhem.cfg
|
|
# Exemplary fhem.cfg for demonstration purposes.
|
|
# Defines YAF and Floorplan and demonstrates the binding between the lamp widgets
|
|
# This file is not copied to /opt/fhem during the installation process!
|
|
#
|
|
# YAF - Yet Another Floorplan
|
|
# FHEM Projektgruppe Hochschule Karlsruhe, 2013
|
|
# Markus Mangei, Daniel Weisensee
|
|
#
|
|
################################################################################
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
#
|
|
################################################################################
|
|
|
|
attr global logfile ./log/fhem-%Y-%m.log
|
|
attr global modpath . # where our FHEM directory is
|
|
attr global statefile ./log/fhem.save # where to save the state of the devices
|
|
attr global verbose 3 # "normal" verbosity (min 1, max 5)
|
|
attr global motd none
|
|
|
|
define telnetPort telnet 7072 global # our TCP/IP port
|
|
|
|
define WEB FHEMWEB 8083 global
|
|
define WEBphone FHEMWEB 8084 global
|
|
attr WEBphone smallscreen
|
|
|
|
define WEBtablet FHEMWEB 8085 global
|
|
attr WEBtablet touchpad
|
|
|
|
# Fake FileLog entry, to access the fhem log from FHEMWEB
|
|
define Logfile FileLog ./log/fhem-%Y-%m.log fakelog
|
|
|
|
define autocreate autocreate
|
|
attr autocreate autosave
|
|
attr autocreate device_room %TYPE
|
|
attr autocreate filelog ./log/%NAME-%Y.log
|
|
attr autocreate weblink
|
|
attr autocreate weblink_room Plots
|
|
|
|
# Disable this to avoid looking for new USB devices on startup
|
|
define initialUsbCheck notify global:INITIALIZED usb create
|
|
|
|
|
|
# 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.
|
|
|
|
#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
|
|
|
|
################################################################################
|
|
# [YAF project] Configure YAF - Yet Another Floorplan
|
|
################################################################################
|
|
define yafVar YAF
|
|
|
|
################################################################################
|
|
# [YAF project] Configure Floorplan
|
|
################################################################################
|
|
define Erdgeschoss FLOORPLAN
|
|
attr Erdgeschoss fp_arrange 1
|
|
|
|
define ez_LichtRegal FS20 6969 01
|
|
attr ez_LichtRegal fp_Erdgeschoss 194,384,0,
|
|
attr ez_LichtRegal model fs20st
|
|
attr ez_LichtRegal room Schlafen
|
|
|
|
define ez_LichtRegal2 FS20 6969 02
|
|
attr ez_LichtRegal2 fp_Erdgeschoss 59,580,0,
|
|
attr ez_LichtRegal2 model fs20st
|
|
attr ez_LichtRegal2 room Bad |