ESP-MQTT-JSON-Multisensor icon indicating copy to clipboard operation
ESP-MQTT-JSON-Multisensor copied to clipboard

Add MQ2 and MQ135 Support

Open firstof9 opened this issue 8 years ago • 6 comments

Added code to support MQ2 and MQ135 sensors.

Support is togglable via defines in the code and are commented out (left off) for compatibility.

firstof9 avatar Jul 20 '17 18:07 firstof9

Why is the diff function not working for this pull request? Linux vs Windows?

DanielXYZ2000 avatar Oct 03 '17 17:10 DanielXYZ2000

No idea.

firstof9 avatar Oct 03 '17 19:10 firstof9

Hi, I tried to compile this verison with MQ135 - but I have no MQ135 installed. Could you add in the comment, which library must be added.

DanielXYZ2000 avatar Oct 05 '17 22:10 DanielXYZ2000

Sorry this was linked to a post on Home-Assistant.io which library to add, here's the one to use for MQ135: https://github.com/GeorgK/MQ135

firstof9 avatar Oct 06 '17 00:10 firstof9

Thank you very much for sharing this, noob questions:

  1. Would u please consider adding a buzzer alert when gas leak detected?
  2. Does MQ other type like MQ6 and MQ9 can also use this? Thanks

kevinshane avatar Nov 27 '17 14:11 kevinshane

@kevinshane Give this version a try with your MQ6 or MQ9. No buzzer added yet.

firstof9 avatar Nov 28 '17 23:11 firstof9