From d6e15b91dac6414ef82cae6232a91baa23f89b4a Mon Sep 17 00:00:00 2001 From: Michael Wagner Date: Fri, 21 Dec 2018 19:26:00 +0100 Subject: [PATCH] posaune --- Griesstatt/fhem.cfg | 33 ++++++++++++++ Vindelicia/fhem.cfg | 109 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 142 insertions(+) create mode 100644 Griesstatt/fhem.cfg create mode 100644 Vindelicia/fhem.cfg diff --git a/Griesstatt/fhem.cfg b/Griesstatt/fhem.cfg new file mode 100644 index 0000000..e216b66 --- /dev/null +++ b/Griesstatt/fhem.cfg @@ -0,0 +1,33 @@ +attr global userattr cmdIcon devStateIcon devStateStyle icon sortby webCmd webCmdLabel:textField-long widgetOverride +attr global autoload_undefined_devices 1 +attr global autosave 0 +attr global logfile ./log/fhem-%Y-%m.log +attr global modpath . +attr global motd Messages collected while initializing FHEM:\ +configfile: WEB: creating device allowed_WEB for attribute basicAuth\ +\ +Autosave deactivated +attr global statefile ./log/fhem.save +attr global verbose 3 + +define WEB FHEMWEB 8083 global +attr WEB editConfig 1 +define allowed_WEB allowed +attr allowed_WEB basicAuth cmFpbmVyOkZpbmtlbndlZzU= +attr allowed_WEB validFor WEB + +# Fake FileLog entry, to access the fhem log from FHEMWEB +define Logfile FileLog ./log/fhem-%Y-%m.log fakelog + +define autocreate autocreate +attr autocreate filelog ./log/%NAME-%Y.log + +define eventTypes eventTypes ./log/eventTypes.txt + +# Disable this to avoid looking for new USB devices on startup +define initialUsbCheck notify global:INITIALIZED usb create +define RPi GPIO4 BUSMASTER +define WohnzimmerTemp GPIO4 28-00000a54cd2a +attr WohnzimmerTemp model DS18B20 +attr WohnzimmerTemp room Temperaturen + diff --git a/Vindelicia/fhem.cfg b/Vindelicia/fhem.cfg new file mode 100644 index 0000000..688ea23 --- /dev/null +++ b/Vindelicia/fhem.cfg @@ -0,0 +1,109 @@ +attr global userattr cmdIcon devStateIcon devStateStyle icon sortby webCmd webCmdLabel:textField-long widgetOverride +attr global autoload_undefined_devices 1 +attr global logfile ./log/fhem-%Y-%m.log +attr global modpath . +attr global motd none +attr global statefile ./log/fhem.save +attr global updateInBackground 1 +attr global verbose 3 + +define telnetPort telnet 7072 global + +define WEB FHEMWEB 8083 global +attr WEB icon it_i-net + +define WEBphone FHEMWEB 8084 global +attr WEBphone stylesheetPrefix smallscreen + +define WEBtablet FHEMWEB 8085 global +attr WEBtablet stylesheetPrefix 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 filelog ./log/%NAME-%Y.log + +define eventTypes eventTypes ./log/eventTypes.txt + +# Disable this to avoid looking for new USB devices on startup +define initialUsbCheck notify global:INITIALIZED usb create +define hmUART HMUARTLGW /dev/ttyAMA0 +attr hmUART hmId 651487 +attr hmUART room CUL_HM +define HM.Saal.Wandthermostat CUL_HM 633FF9 +attr HM.Saal.Wandthermostat IODev hmUART +attr HM.Saal.Wandthermostat actCycle 000:10 +attr HM.Saal.Wandthermostat actStatus alive +attr HM.Saal.Wandthermostat autoReadReg 4_reqStatus +attr HM.Saal.Wandthermostat expert 3_allReg+raw +attr HM.Saal.Wandthermostat firmware 1.3 +attr HM.Saal.Wandthermostat model HM-TC-IT-WM-W-EU +attr HM.Saal.Wandthermostat msgRepeat 1 +attr HM.Saal.Wandthermostat room Heizung,CUL_HM +attr HM.Saal.Wandthermostat serialNr OEQ1675256 +attr HM.Saal.Wandthermostat subType thermostat +attr HM.Saal.Wandthermostat webCmd getConfig:clear msgEvents +define FileLog_HM.Saal.Wandthermostat FileLog ./log/HM.Saal.Wandthermostat-%Y.%m.log HM.Saal.Wandthermostat +attr FileLog_HM.Saal.Wandthermostat logtype text +attr FileLog_HM.Saal.Wandthermostat room Logfiles +define HM.Saal.Wandthermostat_Weather CUL_HM 633FF901 +attr HM.Saal.Wandthermostat_Weather model HM-TC-IT-WM-W-EU +attr HM.Saal.Wandthermostat_Weather peerIDs 00000000, +define HM.Saal.Wandthermostat_Climate CUL_HM 633FF902 +attr HM.Saal.Wandthermostat_Climate model HM-TC-IT-WM-W-EU +attr HM.Saal.Wandthermostat_Climate peerIDs 00000000, +attr HM.Saal.Wandthermostat_Climate room Heizung +define HM.Saal.Wandthermostat_WindowRec CUL_HM 633FF903 +attr HM.Saal.Wandthermostat_WindowRec model HM-TC-IT-WM-W-EU +attr HM.Saal.Wandthermostat_WindowRec peerIDs 00000000, +attr HM.Saal.Wandthermostat_WindowRec stateFormat last:trigLast +define HM.Saal.Wandthermostat_remote CUL_HM 633FF906 +attr HM.Saal.Wandthermostat_remote model HM-TC-IT-WM-W-EU +attr HM.Saal.Wandthermostat_remote peerIDs 00000000, +define HM.Saal.Wandthermostat_SwitchTr CUL_HM 633FF907 +attr HM.Saal.Wandthermostat_SwitchTr model HM-TC-IT-WM-W-EU +attr HM.Saal.Wandthermostat_SwitchTr peerIDs 00000000, +define ActionDetector CUL_HM 000000 +attr ActionDetector event-on-change-reading .* +attr ActionDetector model ActionDetector +define EIB TUL tul:/dev/ttyACM0@57600 1.1.255 +attr EIB room KNX +define HzTimer at *03:59 set HM.Saal.Wandthermostat_Climate controlMode auto +attr HzTimer room Timer,Heizung +attr HzTimer webCmd active:inactive +define SetSollTemp KNX 1/1/0:dpt9.001 +attr SetSollTemp IODev EIB +attr SetSollTemp room Heizung,KNX +define SetIstTemp KNX 1/1/1:dpt9.001 +attr SetIstTemp IODev EIB +attr SetIstTemp room Heizung,KNX +define TimerIst at +*00:01:00 set SetIstTemp value [HM.Saal.Wandthermostat:measured-temp] +attr TimerIst room Heizung,Timer +attr TimerIst webCmd active:inactive +define HeizActor FileLog ./log/HeizActor-%Y.%m.log SetIstTemp:.*|SetSollTemp:.* +attr HeizActor room Logfiles +define TempSollSetter notify HM.Saal.Wandthermostat set SetSollTemp value [HM.Saal.Wandthermostat:desired-temp] +attr TempSollSetter room Heizung,Timer +define BewegungsmelderWC KNX 1/0/1:dpt1.001 +attr BewegungsmelderWC IODev EIB +attr BewegungsmelderWC room KNX +define FileLog_BewegungsmelderWC FileLog ./log/BewegungsmelderWC-%Y.%m.log BewegungsmelderWC +attr FileLog_BewegungsmelderWC logtype text +attr FileLog_BewegungsmelderWC room KNX,Logfiles +define KNX_0100002 KNX 1/0/2:MODEL_NOT_DEFINED +attr KNX_0100002 IODev EIB +attr KNX_0100002 room KNX +define allowed_WEB allowed +attr allowed_WEB basicAuth aGF1c3ZlcndhbHRlcjp2aW5kZWxpY2lhKg== +attr allowed_WEB validFor WEB,WEBphone,WEBtablet,telnetPort +define KNX_1112017 KNX 11/12/17:MODEL_NOT_DEFINED +attr KNX_1112017 IODev EIB +attr KNX_1112017 room KNX +define FileLog_KNX_1112017 FileLog ./log/KNX_1112017-%Y.log KNX_1112017 +attr FileLog_KNX_1112017 logtype text +attr FileLog_KNX_1112017 room KNX +define FileLog_KNX_0100002 FileLog ./log/KNX_0100002-%Y.log KNX_0100002 +attr FileLog_KNX_0100002 logtype text +attr FileLog_KNX_0100002 room KNX + -- 2.20.1