Von English mit KI übersetzt ·
Kevin hat recht, und das ist das Erste, was ich ändern würde. Ich betreibe eine Anlage, und wir hatten bereits zwei Auftragnehmer, die selbst gebaute Boxen dieser Art mitgebracht haben. Beide wurden zurückgeschickt.Grob zur Funktionsweise in Großbritannien. Das Inverkehrbringen elektrischer Betriebsmittel fällt unter die Electrical Equipment (Safety) Regulations 2016, daher braucht es eine UKCA- oder CE-Kennzeichnung mit einer dahinterliegenden technischen Dokumentation. Sie wären dann der Hersteller, was man für eine einzelne Box nicht unbedingt werden möchte. Wenn das Gerät fest im Heizraum verdrahtet wird, ist die Installation Arbeit nach BS 7671 durch eine fachkundige Elektrofachkraft, meist über eine abgesicherte Anschlussdose.Behalten Sie daher nur den Netzteil-Teil als Fertigprodukt. Ein UKCA/CE-gekennzeichnetes Hutschienen-Netzteil (ein Mean Well HDR-15-5 oder ähnlich), installiert von deren Elektrofachkraft, oder sogar ein gekennzeichneter Steckernetzteil-Adapter. Ihre Box arbeitet dann nur noch mit 5 V, und Sie können sie beliebig aufbauen.Gas ist das größere Problem. Ein MQ-4 ist in keinem Sicherheitssinn ein Gasmelder. Er driftet mit der Luftfeuchtigkeit, braucht eine Einbrennphase, und kein Versicherer wird ihn akzeptieren. Verwenden Sie einen zertifizierten fest installierten Melder (für Erdgas im Heizraum nach EN 60079-29-1 suchen) und verbinden Sie dessen potentialfreies Alarmrelais mit einem ESP32-Eingang mit Pull-up-Widerstand. Der Melder übernimmt die Sicherheitsfunktion und schließt das Gasventil, wenn er dafür spezifiziert ist. Ihr ESP32 meldet gas_alarm true/false und die Raumtemperatur, und eine Alarmregel im Profil übernimmt die Benachrichtigungen. Das Kesselverriegelungsrelais wird auf die gleiche Weise an einen zweiten Eingang angeschlossen.
Kevin’s right, and that’s the first thing I’d change. I run a plant and we’ve had two contractors bring in homemade boxes like this. Both went back.
Roughly how it works in the UK. Putting electrical equipment on the market falls under the Electrical Equipment (Safety) Regulations 2016, so it needs UKCA or CE marking with your technical file behind it. You’d be the manufacturer, which is not where you want to be for one box. If it’s hard-wired into the plant room, the installation is BS 7671 work for a competent electrician, usually off a fused connection unit.
So keep the only mains part off the shelf. A UKCA/CE-marked DIN-rail PSU (a Mean Well HDR-15-5 or similar) installed by their electrician, or even a marked plug-in adapter. Your box is then 5V only and you can build it however you like.
Gas is the bigger problem. An MQ-4 is not a gas detector in any safety sense. It drifts with humidity, needs burn-in, and no insurer will accept it. Use a certified fixed detector (for natural gas in a boiler room, look for EN 60079-29-1) and wire its volt-free alarm relay to an ESP32 input with a pull-up. The detector does the safety job and shuts the gas valve if it’s specified for that. Your ESP32 reports gas_alarm true/false and the room temperature, and an alarm rule on the profile handles notifications. The boiler lockout relay goes in the same way on a second input.

