wie Brennerstörung im Programm erkennen?!? #103
-
Hallo, Kann mir jemand weiterhelfen wie ich im Programm / per Programm erkenne, dass eine Brennerstörung vorliegt? Danke + Gruss Stefan |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hi, Wie würdest du den die Aktion zum Brenner Reset umsetzten wollen? Würdest dazu einen Kanal vom Board als Ausgang nutzen wollen? Und dieser Ausgang soll dann von der Software getriggert werden wenn eine Brennerstörung vorliegt? Das wäre dann nur eine spezielle Lösung für dich und du müsstest das dann für dich im Code umsetzten und könntest dann nur schwierig auf neue Versionen Updaten. Einfacher und flexibler wäre aus meiner Sicht, wenn du die bereits existierenden MQTT Nachrichten nutzen würdest und dann in einer externen Software wie Home Assistant, ioBroker, Node-Red oder ähnlichem darauf reagierst und einen entsprechenden Aktor ansteuerst. Kommt aber immer darauf an was du hier ggf. schon im Einsatz hast. Grüße Sven |
Beta Was this translation helpful? Give feedback.
-
Hallo Sven, bisherige Lösung: Vor dem Display des Steuergeräts steht eine Webcam. Die macht alle 10 Minuten ein Bild und überträgt es per ftp an meinen Server. Dort äuft ein Script, welches das Bild analysiert und erkennt, wenn es nicht "Sommer" oder "Automatik" ist (-> "Brenner"). Dann wird per http request der Alarmausgang der Webcam getriggert (die hat sowas, da liegen dann 5V an). Dieser Alarmausgang aktiviert ein Relais welches dann einen Schütz (ein etwas stärkeres Relais) aktiviert der dann den Entstörknopf am Brenner drückt. Dadurch wird die Heizung dann entstört. Wenn ich das per ESP / KM271 mache, dann spare ich mir die Kamera, das Script, das damit verbunde notwendige Licht und das permanente nachjustieren, wenn mal irgendwas gewackelt hat (sich Licht und Kameraposition verändert haben). Jetzt fehlt mir - wie geschrieben - nur noch die Stelle wo ich meinem Programmteil sage, dass eine Brennerstörung vorliegt, also eine Variable auf "true" setze. Mehr will ich nicht, auch keine Softwareupdate etc. Wenn diese Lösung so funktioniert, und ich die Kamera abbauen kann, dann bin ich glücklich und zufrieden. Gruss |
Beta Was this translation helpful? Give feedback.
-
ok, das war mir nach dem ersten Post noch nicht so klar. Die Information kannst du denke ich aus der Variablen Bit1 = "Brennerstoerung" So könntest du darauf zugreifen: #include <km271.h>
s_km271_status *pkmStatus = km271GetStatusValueAdr();
void checkError() {
if (bitRead(pkmStatus->BoilerErrorStates, 0)) {
// Fehler Brennerstoerung
}
} |
Beta Was this translation helpful? Give feedback.
-
Hallo Sven,
Gruss |
Beta Was this translation helpful? Give feedback.
ok, das war mir nach dem ersten Post noch nicht so klar.
Die Information kannst du denke ich aus der Variablen
kmStatus.BoilerErrorStates
rausziehen. Diese Variable ist bitcodiert und wie folgt definiert:Bit1 = "Brennerstoerung"
Bit2 = "Kesselfuehler"
Bit3 = "Zusatzfuehler"
Bit4 = "Kessel bleibt kalt"
Bit5 = "Abgasfuehler"
Bit6 = "Abgas ueber Grenzwert"
Bit7 = "Sicherungskette ausgeloest"
Bit8 = "Externe Stoerung"
So könntest du darauf zugreifen: