This commit is contained in:
2025-11-23 00:05:37 +01:00
commit eb07073afe
7 changed files with 1599 additions and 0 deletions

30
fhem/db.conf Normal file
View File

@@ -0,0 +1,30 @@
#
# database configuration file
#
#
## for MySQL
################################################################
%dbconfig= (
connection => "mysql:database=fhem;host=nas;port=3306",
user => "fhemuser",
password => "fhempassword",
);
################################################################
#
## for PostgreSQL
################################################################
#%dbconfig= (
# connection => "Pg:database=fhem;host=localhost",
# user => "fhemuser",
# password => "fhempassword"
#);
################################################################
#
## for SQLite (username and password stay empty for SQLite)
################################################################
#%dbconfig= (
# connection => "SQLite:dbname=/opt/fhem/fhem.db",
# user => "",
# password => ""
#);
################################################################

44
fhem/kirchl.cfg Normal file
View File

@@ -0,0 +1,44 @@
define BalkonFen.Roll EnOcean 0004AF18
attr BalkonFen.Roll room wohnz
attr BalkonFen.Roll subType eltakoRoll
define FileLog_BalkonFen.Roll FileLog /var/log/fhem/BalkonFen.Roll-%Y-%m.log BalkonFen.Roll
attr FileLog_BalkonFen.Roll logtype text
attr FileLog_BalkonFen.Roll room EnOcean
define BalkonTuer.Roll EnOcean 008118FC
attr BalkonTuer.Roll room wohnz
attr BalkonTuer.Roll subType eltakoRoll
define FileLog_BalkonTuer.Roll FileLog /var/log/fhem/BalkonTuer.Roll-%Y-%m.log BalkonTuer.Roll
attr FileLog_BalkonTuer.Roll logtype text
attr FileLog_BalkonTuer.Roll room EnOcean
define Balkon.schalt EnOcean 001EE36F
attr Balkon.schalt room EnOcean
attr Balkon.schalt subType switch
define FileLog_Balkon.schalt FileLog /var/log/fhem/Balkon.schalt-%Y-%m.log Balkon.schalt
attr FileLog_Balkon.schalt logtype text
attr FileLog_Balkon.schalt room EnOcean
define Terr.Roll EnOcean 00813473
attr Terr.Roll room EnOcean
attr Terr.Roll subType switch
define FileLog_Terr.Roll FileLog /var/log/fhem/Terr.Roll-%Y-%m.log Terr.Roll
attr FileLog_Terr.Roll logtype text
attr FileLog_Terr.Roll room EnOcean
define Terr.schalt EnOcean 001EDD29
attr Terr.schalt room EnOcean
attr Terr.schalt subType switch
define FileLog_Terr.schalt FileLog /var/log/fhem/Terr.schalt-%Y-%m.log Terr.schalt
attr FileLog_Terr.schalt logtype text
attr FileLog_Terr.schalt room EnOcean
#define BalkonTuer.RollCtrl EnOcean FFA89590
#attr BalkonTuer.RollCtrl subType eltakoRollCtrl
#define BalkonFen.RollCtrl EnOcean FFA89591
#attr BalkonFen.RollCtrl subType eltakoRollCtrl
#define Terr.RollCtrl EnOcean FFA89592
#attr Terr.RollCtrl subType eltakoRollCtrl

25
fhem/licht.cfg Normal file
View File

@@ -0,0 +1,25 @@
define btntst EnOcean 00222B33
setuuid btntst 5c8c167e-f33f-f17f-5397-8fbbf6955e37bedb
attr btntst IODev EUL
attr btntst manufID 7FF
attr btntst room EnOcean
attr btntst subType switch
define ess.dimm EnOcean 01027D33
setuuid ess.dimm 5c8c167e-f33f-f17f-8365-75a4627ed08db69c
attr ess.dimm userattr lightSceneParamsToSave lightSceneRestoreOnlyIfChanged:1,0
attr ess.dimm IODev EUL
attr ess.dimm dimValueOn last
attr ess.dimm gwCmd dimming
attr ess.dimm manufID 00D
attr ess.dimm mqttName dimm
attr ess.dimm mqttRoom ess
attr ess.dimm room Licht,OG
attr ess.dimm subType gateway
attr ess.dimm webCmd dim
#define wohn.dimmCtrl EnOcean FFA89581
#attr wohn.dimmCtrl subId 1
#attr wohn.dimmCtrl subType dimmCtrl

167
fhem/ow.cfg Normal file
View File

@@ -0,0 +1,167 @@
define ow OWServer localhost:4304
define OG_RL_Flur OWDevice 28.8EBF29050000 60
attr OG_RL_Flur IODev ow
attr OG_RL_Flur event-on-change-reading temperature
attr OG_RL_Flur model DS18B20
attr OG_RL_Flur room OWDevice
define logRlFlur FileLog /var/log/fhem/tempRlFlur-%Y-%m.log OG_RL_Flur:temperature.*
attr logRlFlur logtype temp4
define SVG_logRlFlur SVG logRlFlur:SVG_logRlFlur:CURRENT
attr SVG_logRlFlur room OWDevice
define OG_VL OWDevice 28.D48D34050000 60
attr OG_VL IODev ow
attr OG_VL event-on-change-reading temperature
attr OG_VL model DS18B20
attr OG_VL room OWDevice
define logOgVl FileLog /var/log/fhem/tempOgVl-%Y-%m.log OG_VL:temperature.*
attr logOgVl logtype temp4
define SVG_logOgVl SVG logOgVl:SVG_logOgVl:CURRENT
attr SVG_logOgVl room OWDevice
define OG_RL_Kueche OWDevice 28.217B35050000 60
attr OG_RL_Kueche IODev ow
attr OG_RL_Kueche event-on-change-reading temperature
attr OG_RL_Kueche model DS18B20
attr OG_RL_Kueche room OWDevice
define logRlKueche FileLog /var/log/fhem/tempRlKueche-%Y-%m.log OG_RL_Kueche:temperature.*
attr logRlKueche logtype temp4
define SVG_logRlKueche SVG logRlKueche:SVG_logRlKueche:CURRENT
attr SVG_logRlKueche room OWDevice
define OG_RL_Wohn1 OWDevice 28.B3E134050000 60
attr OG_RL_Wohn1 IODev ow
attr OG_RL_Wohn1 event-on-change-reading temperature
attr OG_RL_Wohn1 model DS18B20
attr OG_RL_Wohn1 room OWDevice
define logRlWohn1 FileLog /var/log/fhem/tempRlWohn1-%Y-%m.log OG_RL_Wohn1:temperature.*
attr logRlWohn1 logtype temp4
define SVG_logRlWohn1 SVG logRlWohn1:SVG_logRlWohn1:CURRENT
attr SVG_logRlWohn1 room OWDevice
define OG_RL_Wohn2 OWDevice 28.1BC035050000 60
attr OG_RL_Wohn2 IODev ow
attr OG_RL_Wohn2 event-on-change-reading temperature
attr OG_RL_Wohn2 model DS18B20
attr OG_RL_Wohn2 room OWDevice
define logRlWohn2 FileLog /var/log/fhem/tempRlWohn2-%Y-%m.log OG_RL_Wohn2:temperature.*
attr logRlWohn2 logtype temp4
define SVG_logRlWohn2 SVG logRlWohn2:SVG_logRlWohn2:CURRENT
attr SVG_logRlWohn2 room OWDevice
define rl7 OWDevice 28.5EEB34050000 60
attr rl7 IODev ow
attr rl7 event-on-change-reading temperature
attr rl7 model DS18B20
attr rl7 room OWDevice
define DG_VL OWDevice 28.0BC529050000 120
attr DG_VL IODev ow
attr DG_VL event-on-change-reading temperature
attr DG_VL model DS18B20
attr DG_VL room OWDevice
define rl9 OWDevice 28.CBA235050000 60
attr rl9 IODev ow
attr rl9 event-on-change-reading temperature
attr rl9 model DS18B20
attr rl9 room OWDevice
define RL_Bad OWDevice 28.E7ED35050000 60
attr RL_Bad IODev ow
attr RL_Bad event-on-change-reading temperature
attr RL_Bad model DS18B20
attr RL_Bad room OWDevice
define logDGHeizung FileLog /var/log/fhem/heizungDG-%Y-%m.log (DG_VL:temperature.*)|(rl7:temperature.*)|(RL_Bad:temperature.*)|(rl9:temperature.*)
attr logDGHeizung logtype temp4
define SVG_logDGHeizung_1 SVG logDGHeizung:SVG_logDGHeizung_1:CURRENT
attr SVG_logDGHeizung_1 room OWDevice
define SVG_logDGHeizungRL SVG logDGHeizung:SVG_logDGHeizungRL:CURRENT
attr SVG_logDGHeizungRL room OWDevice
define tempSchlaf OWDevice 28.486B35050000 120
attr tempSchlaf IODev ow
attr tempSchlaf event-on-change-reading temperature
attr tempSchlaf model DS18B20
attr tempSchlaf room DG,OWDevice
define logTempSchlaf FileLog /var/log/fhem/tempSchlaf-%Y-%m.log tempSchlaf:temperature.*
attr logTempSchlaf logtype temp4
define tempBad OWDevice 28.903A29070000 120
attr tempBad IODev ow
attr tempBad event-on-change-reading temperature
attr tempBad model DS18B20
attr tempBad room DG,OWDevice
define logTempBad FileLog /var/log/fhem/tempBad-%Y-%m.log tempBad:temperature.*
attr logTempBad logtype temp4
define SVG_logTempBad SVG logTempBad:SVG_logTempBad:CURRENT
attr SVG_logTempBad room Plots
define SVG_logTempSchlaf SVG logTempSchlaf:SVG_logTempSchlaf:CURRENT
attr SVG_logTempSchlaf room Plots
define tempStudio OWDevice 28.6E282A070000 120
attr tempStudio IODev ow
attr tempStudio event-on-change-reading temperature
attr tempStudio model DS18B20
attr tempStudio room DG,OWDevice
define logTempStudio FileLog /var/log/fhem/tempStudio-%Y-%m.log tempStudio:temperature.*
attr logTempStudio logtype temp4
define SVG_logTempStudio SVG logTempStudio:SVG_logTempStudio:CURRENT
attr SVG_logTempStudio room Plots
define tempKueche OWDevice 28.BB7A2A070000 120
attr tempKueche IODev ow
attr tempKueche event-on-change-reading 1
attr tempKueche model DS18B20
attr tempKueche room OG,OWDevice
define tempWohn OWDevice 28.9B9729070000 120
attr tempWohn IODev ow
attr tempWohn event-on-change-reading temperature
attr tempWohn model DS18B20
attr tempWohn room OG,OWDevice
define logTempWohn FileLog /var/log/fhem/tempWohn-%Y-%m.log tempWohn:temperature.*
attr logTempWohn logtype temp4
define SVG_logTempWohn SVG logTempWohn:SVG_logTempWohn_1:CURRENT
attr SVG_logTempWohn room Plots
define logTempKueche FileLog /var/log/fhem/tempKueche-%Y-%m.log tempKueche:temperature.*
attr logTempKueche logtype temp4
define SVG_logTempKueche_1 SVG logTempKueche:SVG_logTempKueche_1:CURRENT
attr SVG_logTempKueche_1 room Plots
define naInnen netatmo 70:ee:50:04:c0:08
attr naInnen IODev Netatmo
attr naInnen alias Innen
attr naInnen room netatmo
attr naInnen stateFormat T: temperature H: humidity
define naAussen netatmo MODULE 70:ee:50:04:c0:08 02:00:00:04:e5:8c
attr naAussen IODev Netatmo
attr naAussen alias Module
attr naAussen room netatmo
attr naAussen stateFormat T: temperature H: humidity
define logNetatmoAussen FileLog /var/log/fhem/netatmoAussen-%Y-%m.log naAussen:.*
attr logNetatmoAussen room netatmo
define logNetatmoInnen FileLog /var/log/fhem/netatmoInnen-%Y-%m.log naInnen:.*
attr logNetatmoInnen room netatmo
define SVG_logNetatmoAussen_1 SVG logNetatmoAussen:SVG_logNetatmoAussen_1:CURRENT
attr SVG_logNetatmoAussen_1 room Plots

144
fhem/roll.cfg Normal file
View File

@@ -0,0 +1,144 @@
define wohn.rollTerrR EnOcean 018630AC
setuuid wohn.rollTerrR 5c8c167e-f33f-f17f-d19b-7b230d059ec20a6e
attr wohn.rollTerrR IODev EUL
attr wohn.rollTerrR manufID 00D
attr wohn.rollTerrR model FSB61
attr wohn.rollTerrR mqttName rollTerrR
attr wohn.rollTerrR mqttRoom wohn
attr wohn.rollTerrR room OG,Rolladen
attr wohn.rollTerrR shutTime 35
attr wohn.rollTerrR subDef FFBA6C02
attr wohn.rollTerrR subType manufProfile
attr wohn.rollTerrR webCmd opens:closes:stop:slot
define wohn.rollTerrL EnOcean 0186101E
setuuid wohn.rollTerrL 5c8c167e-f33f-f17f-ba55-bbc45a5e5511a385
attr wohn.rollTerrL IODev EUL
attr wohn.rollTerrL manufID 00D
attr wohn.rollTerrL model FSB61
attr wohn.rollTerrL mqttName rollTerrL
attr wohn.rollTerrL mqttRoom wohn
attr wohn.rollTerrL room OG,Rolladen
attr wohn.rollTerrL shutTime 30
attr wohn.rollTerrL subDef FFBA6C03
attr wohn.rollTerrL subType manufProfile
attr wohn.rollTerrL webCmd opens:closes:stop:slot
define wohn.rollSofa EnOcean 01863ABA
setuuid wohn.rollSofa 5c8c167e-f33f-f17f-3680-43b91c35f74821fe
attr wohn.rollSofa IODev EUL
attr wohn.rollSofa manufID 00D
attr wohn.rollSofa model FSB61
attr wohn.rollSofa mqttName rollSofa
attr wohn.rollSofa mqttRoom wohn
attr wohn.rollSofa room OG,Rolladen
attr wohn.rollSofa shutTime 30
attr wohn.rollSofa subDef FFBA6C04
attr wohn.rollSofa subType manufProfile
attr wohn.rollSofa webCmd opens:closes:stop:slot
define ess.roll EnOcean 018635DF
setuuid ess.roll 5c8c167e-f33f-f17f-39b0-0f24994dcd62d303
attr ess.roll IODev EUL
attr ess.roll manufID 00D
attr ess.roll model FSB61
attr ess.roll mqttName roll
attr ess.roll mqttRoom ess
attr ess.roll room OG,Rolladen
attr ess.roll shutTime 30
attr ess.roll subDef FFBA6C05
attr ess.roll subType manufProfile
attr ess.roll webCmd opens:closes:stop:slot
define kuch.rollBar EnOcean 018635B3
setuuid kuch.rollBar 5c8c167f-f33f-f17f-bd1a-a7464aae1c82d067
attr kuch.rollBar IODev EUL
attr kuch.rollBar manufID 00D
attr kuch.rollBar model FSB61
attr kuch.rollBar mqttName rollBar
attr kuch.rollBar mqttRoom kuch
attr kuch.rollBar room Rolladen,OG
attr kuch.rollBar shutTime 30
attr kuch.rollBar subDef FFBA6C06
attr kuch.rollBar subType manufProfile
attr kuch.rollBar webCmd opens:closes:stop:slot
define kuch.rollStr EnOcean 018637D4
setuuid kuch.rollStr 5c8c167f-f33f-f17f-e287-b9380dd560278af5
attr kuch.rollStr IODev EUL
attr kuch.rollStr manufID 00D
attr kuch.rollStr model FSB61
attr kuch.rollStr mqttName rollStr
attr kuch.rollStr mqttRoom kuch
attr kuch.rollStr room OG,Rolladen
attr kuch.rollStr shutTime 30
attr kuch.rollStr subDef FFBA6C07
attr kuch.rollStr subType manufProfile
attr kuch.rollStr webCmd opens:closes:stop:slot
define arb.rollTerr EnOcean 01861C22
setuuid arb.rollTerr 5c8c167f-f33f-f17f-a3d3-27f09bec7c456540
attr arb.rollTerr IODev EUL
attr arb.rollTerr manufID 00D
attr arb.rollTerr model FSB61
attr arb.rollTerr mqttName rollTerr
attr arb.rollTerr mqttRoom arb
attr arb.rollTerr room DG,Rolladen
attr arb.rollTerr shutTime 30
attr arb.rollTerr subDef FFBA6C08
attr arb.rollTerr subType manufProfile
attr arb.rollTerr webCmd opens:closes:stop:slot
define arb.rollWeg EnOcean 0184BEFB
setuuid arb.rollWeg 5c8c167f-f33f-f17f-8e00-67140697cb2fd457
attr arb.rollWeg IODev EUL
attr arb.rollWeg manufID 00D
attr arb.rollWeg model FSB61
attr arb.rollWeg mqttName rollWeg
attr arb.rollWeg mqttRoom arb
attr arb.rollWeg room DG,Rolladen
attr arb.rollWeg shutTime 30
attr arb.rollWeg subDef FFBA6C09
attr arb.rollWeg subType manufProfile
attr arb.rollWeg webCmd opens:closes:stop:slot
define bad.roll EnOcean 0184BB7B
setuuid bad.roll 5c8c167f-f33f-f17f-6a06-fc2b8ae229af7e7d
attr bad.roll IODev EUL
attr bad.roll manufID 00D
attr bad.roll model FSB61
attr bad.roll mqttName roll
attr bad.roll mqttRoom bad
attr bad.roll room DG,Rolladen
attr bad.roll shutTime 30
attr bad.roll subDef FFBA6C0A
attr bad.roll subType manufProfile
attr bad.roll webCmd opens:closes:stop:slot
define schlaf.rollWeg EnOcean 01861C07
setuuid schlaf.rollWeg 5c8c167f-f33f-f17f-ef56-3beb0769479affe5
attr schlaf.rollWeg IODev EUL
attr schlaf.rollWeg manufID 00D
attr schlaf.rollWeg model FSB61
attr schlaf.rollWeg mqttName rollWeg
attr schlaf.rollWeg mqttRoom schlaf
attr schlaf.rollWeg room DG,Rolladen
attr schlaf.rollWeg shutTime 30
attr schlaf.rollWeg subDef FFBA6C0B
attr schlaf.rollWeg subType manufProfile
attr schlaf.rollWeg webCmd opens:closes:stop:slot
define schlaf.rollStr EnOcean 0184BE23
setuuid schlaf.rollStr 5c8c167f-f33f-f17f-2920-945b6313aabd4b1b
attr schlaf.rollStr IODev EUL
attr schlaf.rollStr manufID 00D
attr schlaf.rollStr model FSB61
attr schlaf.rollStr mqttName rollStr
attr schlaf.rollStr mqttRoom schlaf
attr schlaf.rollStr room DG,Rolladen
attr schlaf.rollStr shutTime 30
attr schlaf.rollStr subDef FFBA6C0C
attr schlaf.rollStr subType manufProfile
attr schlaf.rollStr webCmd opens:closes:stop:slot