This repository was archived by the owner on Dec 8, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 152
Add MQ2 and MQ135 Support #30
Open
firstof9
wants to merge
6
commits into
bruhautomation:master
Choose a base branch
from
firstof9:MQ-support
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Added support for a MQ135 gas sensor
* Added define for MQ2 Sensors * Added define for MQ135 Sensors
Why is the diff function not working for this pull request? Linux vs Windows? |
No idea. |
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. |
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 |
Thank you very much for sharing this, noob questions:
|
Returns in PPM * LPG * CO * Smoke
@kevinshane Give this version a try with your MQ6 or MQ9. No buzzer added yet. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added code to support MQ2 and MQ135 sensors.
Support is togglable via defines in the code and are commented out (left off) for compatibility.