I know there are lots of vids out there explaining HAS, MQTT and NodeRed but for some reason, I understand it better here and your code works for me. Thanks from a struggling (but determined) old guy
Beautiful project I congratulate you. I wanted to ask if it was possible to operate a relay in order to give an acoustic signal to exceed the limits of carbon monoxide in the air. Thank you very much for your attention I await your news.
Elettronica 2000 Yes, it is very easy to do that. Add similar code to sketch to achieve this. After "float co= mq7.getPPM();" line add follwoing code. if(co>=){ //set relay GPIO to high }else{ //set relay GPIO to low }
Is Blynk mandatory for this to work? Say I don't want my data go over Internet. Just home assistant. Node red mqtt should work with same sketch? Please clarify
Its not necessary. Just modify your arduino sketch, enter the credentials for your mqtt server and wifi. On home assistant access to the same mqtt server, and make a sensor out of the mqtt topic -> done. I even dont understand why to use blynk or node red...
Christian Fuchs is right. Blynk not required. I only did it since some folks requested a tutorial on it. Just remove the following lines from sketch to use it without Blynk. #define BLYNK_PRINT Serial #include Blynk.begin(auth, ssid, password); timer.setInterval(1000L, myTimerEvent); Blynk.virtualWrite(V5, mq7.getPPM()); Blynk.run(); timer.run(); // Initiates BlynkTimer
Thanks, another great tutorial. Have you seen MySensors.org website? Some great info on setting up sensors, integrates into Home Assistant as well. Cheers
Прошу Вас дополнить этот проект звуковым сигналом (Buzzer) и сигнальными светодиодами. I ask you to supplement this project with a sound signal (Buzzer) and signaling LEDs.
I know there are lots of vids out there explaining HAS, MQTT and NodeRed but for some reason, I understand it better here and your code works for me. Thanks from a struggling (but determined) old guy
Thank you
man, I have waited so long about this! Thank you so much!
Acording to the datasheet aren't you supposed to heat it up for a certain period of time before you start taking your reading?
Beautiful project I congratulate you. I wanted to ask if it was possible to operate a relay in order to give an acoustic signal to exceed the limits of carbon monoxide in the air. Thank you very much for your attention I await your news.
Elettronica 2000 Yes, it is very easy to do that. Add similar code to sketch to achieve this.
After "float co= mq7.getPPM();" line add follwoing code.
if(co>=){
//set relay GPIO to high
}else{
//set relay GPIO to low
}
Hi! great video! Do you have some similar for Mq-6?
hi. i am curious to know if using WeMos mini instead of NodeMCU for home automation is better in terms of cost and simplicity?
I prefer WeMos mini due to its form factor
hey man can't HA directly send notification on HA app?
Make a project with raspberry Pi as a hub. And multiple Arduino controlling relay. And communication with xbee. It will be a great project
Sure, I will look into it.
Is Blynk mandatory for this to work? Say I don't want my data go over Internet. Just home assistant. Node red mqtt should work with same sketch? Please clarify
Its not necessary. Just modify your arduino sketch, enter the credentials for your mqtt server and wifi. On home assistant access to the same mqtt server, and make a sensor out of the mqtt topic -> done. I even dont understand why to use blynk or node red...
Christian Fuchs is right. Blynk not required. I only did it since some folks requested a tutorial on it.
Just remove the following lines from sketch to use it without Blynk.
#define BLYNK_PRINT Serial
#include
Blynk.begin(auth, ssid, password);
timer.setInterval(1000L, myTimerEvent);
Blynk.virtualWrite(V5, mq7.getPPM());
Blynk.run();
timer.run(); // Initiates BlynkTimer
Can i use ESP8266 Board ?
Hello Sir. Mq7 library can be used for other mq sensors ?
No
Can you make a video about Alexa control Linear Actuator please
Sure, video coming soon.
Thanks, another great tutorial. Have you seen MySensors.org website? Some great info on setting up sensors, integrates into Home Assistant as well. Cheers
Shaun Whiteley Thank you. I will take a look.
Will this work with a nodemcu with esp8266 builtin?
Yes it will work with NodeMcu. Good luck.
How did you calibrate the sensor?
I can used sonoff tasmota replace wemos d1 ?
Yes, but you will need to change the code a bit.
@@netmedias7657 thanks, Can you do the tutorial? because it is very popular and cheap
Прошу Вас дополнить этот проект звуковым сигналом (Buzzer) и сигнальными светодиодами.
I ask you to supplement this project with a sound signal (Buzzer) and signaling LEDs.
Nub Slowpoke
I will do it in next tutorial. It will be a while thanks