Salaam Shameer, thanks for investing the time you put in in this greatly explained steps. I used your steps and code and it worked perfectly. A minor thing I spotted is that you've assigned 't' to v6 and 'h' to v5 in the code whereas in the video is the other way around. Code example Blynk.virtualWrite(V5, h); Blynk.virtualWrite(V6, t); Again just a minor typo but I thought leaving you a commend here. Thanks again and looking forward for more instructional videos. Cheers & Salam.
Waalaikumussalam. Thanks for watching the video and the comments. Really sorry for the confusion. I have updated the code with the correct virtual pin. Thanks for spotting the mistake.
i tried it but it keeps on sending me this Arduino: 1.8.19 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200" dht11:10:10: fatal error: DHT.h: No such file or directory 10 | #include | ^~~~~~~ compilation terminated. exit status 1 DHT.h: No such file or directory This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
Once again , great tutorial, my project is working great. Had to modify """timer.setInterval(2500L, sendSensor);"""" line of code however for myself. This line of code would send me a notification to my BLYNK app every 2 seconds. This very quickly used up all of my daily allowable notification limit. Not sure if there is a different way to modify this but I changed this line to """timer.setInterval(60000L, sendSensor);"""" and it changed the data transfer speed to every 1 minute instead or every 2 seconds. I'm using this for home monitoring so the data slow transfer speed is fine here for me.
Hi sir ,I am not getting alert message always as I didn't put the timer ..even it is not in normal range ..I am using max30100 sensor ..I have written my code fully in void loop() then how to put timer.setInterval()..
assalamualaikum brother sorry ill ask, if we want to make more than one notification, should we make other event or what ? i lil confuse please answer thanks
Sir, I have been trying to work with blynk for some time, and your code is the first one that works for me. Now I want to add BMP180, Rain Sensor and also want to display the data in a LCD (0*27) display. How can I do that ,sir? I have tried many ways, all in vain. Can you help me in any way, please?
Hello and thank you for sharing sir! I really struggled with the Blynk Iot 2.0 notifications. I followed your instructions to the letter, when I try unfortunately as soon as I send maximum 8 notifications I can't send another one it shows me (The events limit reached. You will no longer get new events today. What does it mean?) However I checked 1 notification every minute) and I have only sent 8 notifications. Your help will be really useful. Please tell me how to fix this problem. Thanks in advance
@@TechTrendsShameer First of all, thank you very much for answering. I've been struggling for weeks thanks to you I've been able to get it to work unfortunately just for a few alerts maximum 8. My code : if (Alarm_Value == LOW {Blynk.logEvent("intrusion");} I configured on the platform Blynk limit(Every: 1 message will trigger the event) and (Event will be sent to user only once per = 1 minute) So I have activated a total of 8 alerts. Impossible to send others. When I checked on (Timeline) it showed me (The events limit reached. You will no longer get new events today) But normally you can send 100 notifications every 24 hours
@@TechTrendsShameer First of all, thank you very much for answering. I've been struggling for weeks thanks to you I've been able to get it to work unfortunately just for a few alerts maximum 8. My code : if (Alarm_Value == LOW {Blynk.logEvent("intrusion");} I configured on the platform Blynk limit(Every: 1 message will trigger the event) and (Event will be sent to user only once per = 1 minute) So I have activated a total of 8 alerts. Impossible to send others. When I checked on (Timeline) it showed me (The events limit reached. You will no longer get new events today) But normally you can send 100 notifications every 24 hours
@@TechTrendsShameer Sorry at first I misunderstood your question. The time interval was from 8am to 3pm. Thanks again and sorry for the inconvenience you are nice
@@silexalger1284 I mean the time interval mentioned in the code. instead of this line timer.setInterval(2500L, sendSensor); use the below line timer.setInterval(3000L, sendSensor);
If I connect the data pin to d4 the code doesn't upload to the board. esptool.fatalerror failed to connect to esp8266 . Can I use any other pin instead of d4? If so how should the program code be altered?
Tried doing this project but with a LM35, LDR and gas sensor using an esp-01 wifi module.. The readings for LDR and gas sensor are correct but Lm35 is not showing correct temperature. If I just use the Lm35 only then it shows correct answer but with other sensors in circuit it shows wrong answer. What us the problem please help?
Could you paste your code please? I really appreciate your video, I am just having trouble understanding the code to make the notifications work. It would greatly help, thank you.
finished all of the steps now stuck on the blynk app. Its showing no reading/notification even tried heating the sensor still no reading both in app and web
how to save energy in this project ?? I power nodemcu from a 18650 battery. temperature reading every few minutes? how to change the code? will you help me ?
Please change the time in the below line of code. Increase the time as per your requirement. Below code will read for every 2.5 second. timer.setInterval(2500L, sendSensor);
Bro. Can you please reply the below? I will try to find the error. 1. Which pin you mentioned in the code? 2. In NodeMCU which pin you connected the out from DHT11 sensor? 3. In Blynk Dashboard, which pin you selected in Datastream? Is it digital?
@@TechTrendsShameer I seleced Virtual pin ,pin V5 and datatype integer .Still I am getting failed to read DHT11 error message ; Confirm faulty sensor could be a reason?
@@girishchandra2236 i asked you about 3 questions. pls reply for all 3. will find the issue 1. Which pin you mentioned in the code? 2. In NodeMCU which pin you connected the out from DHT11 sensor? 3. In Blynk Dashboard, which pin you selected in Datastream? Is it digital?
I don't see where you enter the 30 degrees as the threshold for sending the alert. Is it in the code? Please slow down for us American English speakers :-)
In the code, I am checking the condition if the temperature is > 30, send alert. The sensor will detect the temperature range continuously and if it is > 30, it will send an alert.
Hi Shameer, do you have any documentation for this project? I'd like to reference your work in school work if possible. Also thank you for creating this tutorial, it was very helpful in knowing how to do stuff in Blynk!
Salaam Shameer, thanks for investing the time you put in in this greatly explained steps. I used your steps and code and it worked perfectly. A minor thing I spotted is that you've assigned 't' to v6 and 'h' to v5 in the code whereas in the video is the other way around. Code example Blynk.virtualWrite(V5, h);
Blynk.virtualWrite(V6, t); Again just a minor typo but I thought leaving you a commend here. Thanks again and looking forward for more instructional videos. Cheers & Salam.
Waalaikumussalam. Thanks for watching the video and the comments.
Really sorry for the confusion. I have updated the code with the correct virtual pin.
Thanks for spotting the mistake.
i tried it but it keeps on sending me this
Arduino: 1.8.19 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
dht11:10:10: fatal error: DHT.h: No such file or directory
10 | #include
| ^~~~~~~
compilation terminated.
exit status 1
DHT.h: No such file or directory
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Please install the DHT library.
Thanks after manay hardels like directory not fount DHT not found etc and manay more finaly completed 😊😊
Great job. If you face issues like not found, you just need to install those libraries. ❤
Once again , great tutorial, my project is working great. Had to modify """timer.setInterval(2500L, sendSensor);"""" line of code however for myself. This line of code would send me a notification to my BLYNK app every 2 seconds. This very quickly used up all of my daily allowable notification limit. Not sure if there is a different way to modify this but I changed this line to """timer.setInterval(60000L, sendSensor);"""" and it changed the data transfer speed to every 1 minute instead or every 2 seconds. I'm using this for home monitoring so the data slow transfer speed is fine here for me.
Thank you so much.
hello how to select nodemcu board??
Thank u sir it worked!
Thank you
@@TechTrendsShameer sir do you have a code like this but for ph sensor to blynk
I haven't used PH sensor. Once I bought that, I will do a video on that.
Hi sir ,I am not getting alert message always as I didn't put the timer ..even it is not in normal range ..I am using max30100 sensor ..I have written my code fully in void loop() then how to put timer.setInterval()..
Hii please can u help me ...I am not getting any notification after doing all the steps well ...What can I do now
Did you setup all the configurations correctly?
please send your screens in instagram.com/tech_trends_shameer
Did your notification issue get fixed? Im also having the same issue
@@arafath_shxfin Did you setup all the configurations correctly?
please send your screens in instagram.com/tech_trends_shameer
@@TechTrendsShameer done texted u on Instagram
please sir , can you told me how to do the same project but the connection type in the blynk website ethernet not wifi pls tell me how ?
Please message me in instagram instagram.com/tech_trends_shameer
ok
assalamualaikum brother
sorry ill ask, if we want to make more than one notification, should we make other event or what ? i lil confuse
please answer thanks
You can create another event and try.
@@TechTrendsShameer thanks
exit status 1
a function-definition is not allowed here before '{' token
Sir, I have been trying to work with blynk for some time, and your code is the first one that works for me. Now I want to add BMP180, Rain Sensor and also want to display the data in a LCD (0*27) display. How can I do that ,sir? I have tried many ways, all in vain. Can you help me in any way, please?
Thank you. Please message me in Instagram
@@TechTrendsShameer Thank you sir for your response. I messaged you in instagram, please check it.
Hello and thank you for sharing sir! I really struggled with the Blynk Iot 2.0 notifications. I followed your instructions to the letter, when I try unfortunately as soon as I send maximum 8 notifications I can't send another one it shows me (The events limit reached. You will no longer get new events today. What does it mean?) However I checked 1 notification every minute) and I have only sent 8 notifications. Your help will be really useful. Please tell me how to fix this problem. Thanks in advance
Hi sir. There is a limit for notifications in a day. May I know how much time interval you gave in the code?
@@TechTrendsShameer First of all, thank you very much for answering. I've been struggling for weeks thanks to you I've been able to get it to work unfortunately just for a few alerts maximum 8.
My code : if (Alarm_Value == LOW {Blynk.logEvent("intrusion");}
I configured on the platform Blynk limit(Every: 1 message will trigger the event) and (Event will be sent to user only once per = 1 minute)
So I have activated a total of 8 alerts. Impossible to send others. When I checked on (Timeline) it showed me (The events limit reached. You will no longer get new events today) But normally you can send 100 notifications every 24 hours
@@TechTrendsShameer First of all, thank you very much for answering. I've been struggling for weeks thanks to you I've been able to get it to work unfortunately just for a few alerts maximum 8.
My code : if (Alarm_Value == LOW {Blynk.logEvent("intrusion");}
I configured on the platform Blynk limit(Every: 1 message will trigger the event) and (Event will be sent to user only once per = 1 minute)
So I have activated a total of 8 alerts. Impossible to send others. When I checked on (Timeline) it showed me (The events limit reached. You will no longer get new events today) But normally you can send 100 notifications every 24 hours
@@TechTrendsShameer Sorry at first I misunderstood your question. The time interval was from 8am to 3pm. Thanks again and sorry for the inconvenience you are nice
@@silexalger1284 I mean the time interval mentioned in the code.
instead of this line timer.setInterval(2500L, sendSensor); use the below line
timer.setInterval(3000L, sendSensor);
If I connect the data pin to d4 the code doesn't upload to the board. esptool.fatalerror failed to connect to esp8266 .
Can I use any other pin instead of d4?
If so how should the program code be altered?
Yes you can use other pins. Please check the pin configuration and based on that please change the code
Can you do the video about Motion alert notification using nodemcu 8266 with newer blynk app
Sure. Will do.
Hope soon.
@@hiransirisena4310 Sure
i want to add mq135 with this circuit , how is that possible?
Please message me in instagram.
Tried doing this project but with a LM35, LDR and gas sensor using an esp-01 wifi module.. The readings for LDR and gas sensor are correct but Lm35 is not showing correct temperature. If I just use the Lm35 only then it shows correct answer but with other sensors in circuit it shows wrong answer. What us the problem please help?
Great. Thank you
Hi sir instead of flash massage how to set that in label
Blynk will send only notification
i am getting alert message and after sometime not getting and again getting alert message ..i code is fine what to do ?
It depends on the temperature. May be the temperature there goes below the value mentioned in the condition
assalamualikum sir, can you provide the blinyk library? thanks
waalaikumsalam. You can install from Arduino IDE -> Tools -> Libraries
@@TechTrendsShameer what is the library that's to be downloaded, it shows errors
Could you paste your code please? I really appreciate your video, I am just having trouble understanding the code to make the notifications work. It would greatly help, thank you.
Please check this link for the code.
github.com/Tech-Trends-Shameer/Esp-8266-Projects/tree/main/Temperature-Alert-Notification-Using-Blynk-IOT
finished all of the steps now stuck on the blynk app. Its showing no reading/notification even tried heating the sensor still no reading both in app and web
Please contact me in instagram.
how to save energy in this project ?? I power nodemcu from a 18650 battery. temperature reading every few minutes? how to change the code? will you help me ?
Please change the time in the below line of code. Increase the time as per your requirement. Below code will read for every 2.5 second.
timer.setInterval(2500L, sendSensor);
@@TechTrendsShameer will this delay the reading? how to put nodemcu to sleep? wants to work on the battery for a long time.
@@bartekd3577 Yes. This will delay the reading.
@@TechTrendsShameer how to calculate the delay? 2500L how many seconds is it? 1 minute what is the value in the code?
Hi bro, I am getting the message 'Failed to read from DHT sensor' after uploading the programm.What may be the reason.?
Bro. Can you please reply the below? I will try to find the error.
1. Which pin you mentioned in the code?
2. In NodeMCU which pin you connected the out from DHT11 sensor?
3. In Blynk Dashboard, which pin you selected in Datastream? Is it digital?
@@TechTrendsShameer Out Of DHT11 connected to D04 of Nodemcu. I made change accordingly in code.3rd point will check.Thanks for the response.
Please reply for the 3 questions which I mentioned
@@TechTrendsShameer I seleced Virtual pin ,pin V5 and datatype integer .Still I am getting failed to read DHT11 error message ; Confirm faulty sensor could be a reason?
@@girishchandra2236 i asked you about 3 questions. pls reply for all 3. will find the issue
1. Which pin you mentioned in the code?
2. In NodeMCU which pin you connected the out from DHT11 sensor?
3. In Blynk Dashboard, which pin you selected in Datastream? Is it digital?
Sir how I need to set the max temperature value 30 for alert
You can change the value in the code
Hello, m project was working fine and suddenly today it gives "login timeout" and not connecting to blynk cloud. Can you help?
plz make a video smart irrigation using esp8266 humidity, temperature & soil moisture
Sure. Will do.
Hello sir. I need same process for ESP32 and DS18B20 temperature sensor
I don't see where you enter the 30 degrees as the threshold for sending the alert. Is it in the code? Please slow down for us American English speakers :-)
In the code, I am checking the condition if the temperature is > 30, send alert.
The sensor will detect the temperature range continuously and if it is > 30, it will send an alert.
How to make the device online after entering the code...
It will automatically appear online. If not press the RST button in the NodeMCU board and check.
@@TechTrendsShameer bro still the same issue althought i press RST d
Sir it’s showing error
I installed similar libraries
But it again showing error
Send me the error message.
Hi Shameer, do you have any documentation for this project? I'd like to reference your work in school work if possible. Also thank you for creating this tutorial, it was very helpful in knowing how to do stuff in Blynk!
Thank you. I don't have documentation for this project.
How are you my friend I have a problem and I want you to help me solve it
Sure. I will help. Please message me in instagram
instagram.com/tech_trends_shameer
Error compiling for board NodeMCU(ESP-12E module)
What is the solution sir ?
Please select the correct board.
@@TechTrendsShameer am selecting correct board
1.0 NodeMCUESP8266 -12E
@@0124akash solusinya gimana nih
where should i include wifi username and password and also can i get the complete code
Please check the video description for the full source code.
Didn't receiving email. Can u plz help
Are you getting any error?
Did you know how to send warning notification to telegram/whatsapp?
Not really. I will check about this and try to post a video related to that.
Why I can only get one notification
please change the time in the program
I cannot access the source code. Can you give it back to me please?
Source code link is given in the video description and it is accessible for everyone. Please check.
Temperature not updated
Please check your connection
Not working
Send me the error message.
fake code it is
If it's not working for you that doesn't mean it's fake code. Check what mistake you did, correct it. Learn to accept mistakes.
I kept on getting nan values. So I changed the float to int and I ended up getting crazy values like 2178436327. Is there any solution to this?
Please check the sensor and make sure you used the correct pin in the code.
@@TechTrendsShameerI am not able to use d4 pin so I tired with other digital pins. I ended up getting nan values.
How are you my friend I have a problem and I want you to help me solve it
Sure. I will help. Please message me in instagram
instagram.com/tech_trends_shameer