Natural gas detection


I use gas boiler for heating, so I would appreciate the possibility to detect natural gas leak with AirGradient Pro. I tried to search for gas detectors that could be integrated to Home Assistant, but the only product I found was Shelly Gas with unfavourable reviews.

Would it be possible to add support for MQ-5 or similar sensor to AirGradient?

Best regards


1 Like

As the Airgradient code is open source you can find it here GitHub - airgradienthq/arduino and add your own code from GitHub - miguel5612/MQSensorsLib: We present a unified library for MQ sensors, this library allows to read MQ signals easily from Arduino, Genuino, ESP8266, ESP-32 boards whose references are MQ2, MQ3, MQ4, MQ5, MQ6, MQ7, MQ8, MQ9, MQ131, MQ135, MQ136, MQ303A, MQ309A. and let us know.

It is not too difficult to start with Arduino yourself. Just install it and try it out. You can always revert to the original code if it doesnt work.