Yapay zekâ tarafından English dilinden çevrildi ·
Kevin haklı ve değiştirmem gereken ilk şey bu. Bir tesisi işletiyorum ve şimdiye kadar iki yüklenici bu tür ev yapımı kutular getirdi. İkisi de geri gönderildi.İngiltere’de işleyiş kabaca şöyle. Elektrikli ekipmanı piyasaya sunmak, 2016 tarihli Elektrikli Ekipman (Güvenlik) Yönetmelikleri kapsamına girer; bu nedenle arkasında teknik dosya bulunan UKCA veya CE işareti gerekir. Bu durumda üretici konumuna gelirsiniz ki tek bir kutu için bu pek istenen bir durum değildir. Cihaz kazan dairesine sabit bağlantıyla kurulacaksa, kurulum yetkin bir elektrikçi tarafından yapılması gereken BS 7671 işidir ve genellikle sigortalı bağlantı ünitesinden beslenir.Bu yüzden şebekeye bağlı tek parçayı hazır ürün olarak alın. Onların elektrikçisi tarafından kurulan, UKCA/CE işaretli bir DIN raylı PSU (Mean Well HDR-15-5 veya benzeri) ya da işaretli bir fişli adaptör kullanın. Kutunuz böylece yalnızca 5V ile çalışır ve geri kalanını istediğiniz gibi tasarlayabilirsiniz.Gaz daha büyük sorun. MQ-4, herhangi bir güvenlik anlamında gaz dedektörü değildir. Nem nedeniyle kayar, ısınma süresi gerektirir ve hiçbir sigortacı bunu kabul etmez. Sertifikalı sabit bir dedektör kullanın (kazan dairesinde doğal gaz için EN 60079-29-1 arayın) ve onun potansiyelsiz alarm rölesini, çekme dirençli bir ESP32 girişine bağlayın. Güvenlik işini dedektör yapar ve bu amaç için belirtilmişse gaz vanasını kapatır. ESP32’niz gas_alarm true/false ve oda sıcaklığını raporlar; profildeki bir alarm kuralı bildirimleri yönetir. Kazan kilitleme rölesi de aynı şekilde ikinci bir girişe bağlanır.
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.

