Wie steuert Ihr Eure Lüftungsanlagen

Begonnen von guna83, 23 April 2016, 09:04:02

Vorheriges Thema - Nächstes Thema

guna83

Hallo,

nach welchen Parametern steuert Ihr Eure Lüftungsanlagen mit FHEM? Habe hier eine Vallox-Lüftungsanlage mit 8 Stufen, davon sind 4 auch Nachts brauchbar (sonst zu laut). Dazu Luftfeuchte-/Co2-Sensoren in Wohn- und Schlafzimmer sowie Taupunktbestimmung drinnen und draußen. Bisher steuer ich diese mittels DOIF - aber vielleicht gibts da ja schönere Lösungen.

Hier mal meine Steuerung:
define Taupunktverhaeltnis DOIF
attr Taupunktverhaeltnis state {(([Umwelt.Feuchte.Wohnen:Taupunkt:d]+[Umwelt.Feuchte.Schlafen:Taupunkt:d])/2)-[KS300:Taupunkt:d]}

define Auto.Funktion.Lueften DOIF ([Auto.Schalter.Lueften] eq "on" and (["^Umwelt"] or ["Taupunktverhaeltnis"]) and [Szene.Schlafen.Status] eq "off" and \
(([Umwelt.Co2.Wohnen:state:d] > 1500) or \
(([Taupunktverhaeltnis:state] > 0 ) and ([Umwelt.Feuchte.Wohnen:state:d] > 65 or [Umwelt.Feuchte.Schlafen:state:d] > 65)) or \
(([Taupunktverhaeltnis:state] < 0 ) and ([Umwelt.Feuchte.Wohnen:state:d] < 35 or [Umwelt.Feuchte.Schlafen:state:d] < 35))) ) \
(set Lueftung.Wert.Stufe value 50 g2) \
DOELSEIF ([Auto.Schalter.Lueften] eq "on" and (["^Umwelt"] or ["Taupunktverhaeltnis"]) and [Szene.Schlafen.Status] eq "off" and \
(([Umwelt.Co2.Wohnen:state:d] > 1000) or \
(([Taupunktverhaeltnis:state] > 0 ) and ([Umwelt.Feuchte.Wohnen:state:d] > 60 or [Umwelt.Feuchte.Schlafen:state:d] > 60)) or \
(([Taupunktverhaeltnis:state] < 0 ) and ([Umwelt.Feuchte.Wohnen:state:d] < 40 or [Umwelt.Feuchte.Schlafen:state:d] < 40))) ) \
(set Lueftung.Wert.Stufe value 37 g2) \
DOELSEIF ([Auto.Schalter.Lueften] eq "on" and (["^Umwelt"] or ["Taupunktverhaeltnis"]) and [Szene.Schlafen.Status] eq "off" and \
(([Umwelt.Co2.Wohnen:state:d] > 800) or \
(([Taupunktverhaeltnis:state] > 0 ) and ([Umwelt.Feuchte.Wohnen:state:d] > 55 or [Umwelt.Feuchte.Schlafen:state:d] > 55)) or \
(([Taupunktverhaeltnis:state] < 0 ) and ([Umwelt.Feuchte.Wohnen:state:d] < 45 or [Umwelt.Feuchte.Schlafen:state:d] < 45))) ) \
(set Lueftung.Wert.Stufe value 25 g2) \
DOELSEIF ([Auto.Schalter.Lueften] eq "on" and (["^Umwelt"] or ["Taupunktverhaeltnis"]) and [Szene.Schlafen.Status] eq "on" and \
(([Umwelt.Co2.Schlafen:state:d] > 1500) or \
(([Taupunktverhaeltnis:state] > 0 ) and ([Umwelt.Feuchte.Wohnen:state:d] > 65 or [Umwelt.Feuchte.Schlafen:state:d] > 65)) or \
(([Taupunktverhaeltnis:state] < 0 ) and ([Umwelt.Feuchte.Wohnen:state:d] < 35 or [Umwelt.Feuchte.Schlafen:state:d] < 35))) ) \
(set Lueftung.Wert.Stufe value 50 g2) \
DOELSEIF ([Auto.Schalter.Lueften] eq "on" and (["^Umwelt"] or ["Taupunktverhaeltnis"]) and [Szene.Schlafen.Status] eq "on" and \
(([Umwelt.Co2.Schlafen:state:d] > 1000) or \
(([Taupunktverhaeltnis:state] > 0 ) and ([Umwelt.Feuchte.Wohnen:state:d] > 60 or [Umwelt.Feuchte.Schlafen:state:d] > 60)) or \
(([Taupunktverhaeltnis:state] < 0 ) and ([Umwelt.Feuchte.Wohnen:state:d] < 40 or [Umwelt.Feuchte.Schlafen:state:d] < 40))) ) \
(set Lueftung.Wert.Stufe value 37 g2) \
DOELSEIF ([Auto.Schalter.Lueften] eq "on" and (["^Umwelt"] or ["Taupunktverhaeltnis"]) and [Szene.Schlafen.Status] eq "on" and \
(([Umwelt.Co2.Schlafen:state:d] > 800) or \
(([Taupunktverhaeltnis:state] > 0 ) and ([Umwelt.Feuchte.Wohnen:state:d] > 55 or [Umwelt.Feuchte.Schlafen:state:d] > 55)) or \
(([Taupunktverhaeltnis:state] < 0 ) and ([Umwelt.Feuchte.Wohnen:state:d] < 45 or [Umwelt.Feuchte.Schlafen:state:d] < 45))) ) \
(set Lueftung.Wert.Stufe value 25 g2) \
DOELSEIF ([Auto.Schalter.Lueften] eq "on" and (["^Umwelt"] or ["Taupunktverhaeltnis"] or ["Szene.Schlafen.Status"])) \
(set Lueftung.Wert.Stufe value 12 g2) \
DOELSE ()


Was habt Ihr für Lösungen zur Steuerung?

Viele Grüße
Andrea
1x Intel(R) Atom(TM) with FHEM@2.4GHz, CUNX/KS300, CUNO/Max, KNXD, FTUI 2.2
1x RasPi 2 mit 7" Touch-Display für FTUI