Temperature Alert Notification Using Blynk IOT | Blynk 2.0 Notification | ESP 8266 | IOT Projects

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024
  • Temperature Alert Notification Using Blynk IOT | Blynk 2.0 Notification | ESP 8266 | IOT Projects
    In this experiment we can see how to get the alert in Mobile and Email, if the temperature is above a particular value using DHT11 Sensor and Blynk IOT.
    Required Components
    ==================
    1. ESP8266
    2. DHT11 Sensor
    3. Connecting Cable
    Components Link
    ===============
    1. ESP8266 - www.electronic...
    2. Temperature and Humidity Sensor - www.electronic...
    3. Connecting Wires
    Software Required
    ===============
    1. Arduino IDE - www.arduino.cc...
    2. Programming Language - C Language
    Source Code
    ==========
    github.com/Tec...
    Reference Video of Arduino/ESP8266/ESP 32 Projects
    ==================================================
    Blynk 2.0/Blynk IOT Projects
    • Control LED using Blyn...
    ESP8266/NodeMCU Projects
    • ESP8266 - Node MCU Pro...
    LCD Display Projects | Arduino
    • How to Display Text in...
    GSM SIM Module Projects
    • GSM SIM 800 C Caller I...
    DHT11 Temperature Sensor Projects
    • Weather Station | Temp...
    Arduino IOT Cloud Projects
    • Temperature and Humidi...
    OLED Display Projects
    • Temperature Display in...
    ESP32 Projects
    • ESP32 Temperature Web ...
    Music: www.bensound.com
    ♥ Facebook: / techtrendsshameer
    ♥ Instagram: / tech_trends_shameer

Комментарии • 120

  • @ibrahimyusuf2442
    @ibrahimyusuf2442 2 года назад +3

    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.

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      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.

  • @u-martkharian5786
    @u-martkharian5786 2 года назад +1

    Thanks after manay hardels like directory not fount DHT not found etc and manay more finaly completed 😊😊

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      Great job. If you face issues like not found, you just need to install those libraries. ❤

  • @shourjyajitmaiti2490
    @shourjyajitmaiti2490 2 года назад +1

    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()..

  • @ChubbaBoastinTone766
    @ChubbaBoastinTone766 Год назад +1

    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.

  • @gabo8683
    @gabo8683 Год назад +1

    Thank u sir it worked!

    • @TechTrendsShameer
      @TechTrendsShameer  Год назад

      Thank you

    • @gabo8683
      @gabo8683 Год назад +1

      @@TechTrendsShameer sir do you have a code like this but for ph sensor to blynk

    • @TechTrendsShameer
      @TechTrendsShameer  Год назад +1

      I haven't used PH sensor. Once I bought that, I will do a video on that.

  • @bhavanamulatkar7387
    @bhavanamulatkar7387 2 года назад +3

    Hii please can u help me ...I am not getting any notification after doing all the steps well ...What can I do now

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      Did you setup all the configurations correctly?
      please send your screens in instagram.com/tech_trends_shameer

    • @arafath_shxfin
      @arafath_shxfin 2 года назад +1

      Did your notification issue get fixed? Im also having the same issue

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      @@arafath_shxfin Did you setup all the configurations correctly?
      please send your screens in instagram.com/tech_trends_shameer

    • @arafath_shxfin
      @arafath_shxfin 2 года назад

      @@TechTrendsShameer done texted u on Instagram

  • @phoebiencanete1761
    @phoebiencanete1761 2 года назад +1

    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.

  • @mun5660
    @mun5660 2 года назад +1

    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?

  • @Mr-lb2rt
    @Mr-lb2rt 2 года назад +1

    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?

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      Yes you can use other pins. Please check the pin configuration and based on that please change the code

  • @hebaeid145
    @hebaeid145 2 года назад +1

    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 ?

  • @Twizington
    @Twizington 2 года назад +2

    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.

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад +1

      Please check this link for the code.
      github.com/Tech-Trends-Shameer/Esp-8266-Projects/tree/main/Temperature-Alert-Notification-Using-Blynk-IOT

  • @user-es5eh1gu6f
    @user-es5eh1gu6f 2 года назад +1

    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?

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад +1

      Thank you. Please message me in Instagram

    • @user-es5eh1gu6f
      @user-es5eh1gu6f 2 года назад

      @@TechTrendsShameer Thank you sir for your response. I messaged you in instagram, please check it.

  • @faiqahmadkhan6009
    @faiqahmadkhan6009 Год назад

    Hello, m project was working fine and suddenly today it gives "login timeout" and not connecting to blynk cloud. Can you help?

  • @irfanhakimi3947
    @irfanhakimi3947 2 года назад +1

    exit status 1
    a function-definition is not allowed here before '{' token

  • @arafath_shxfin
    @arafath_shxfin 2 года назад +1

    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

  • @abhikankipati1258
    @abhikankipati1258 4 месяца назад +1

    Sir it’s showing error
    I installed similar libraries
    But it again showing error

  • @shourjyajitmaiti2490
    @shourjyajitmaiti2490 2 года назад +1

    i am getting alert message and after sometime not getting and again getting alert message ..i code is fine what to do ?

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      It depends on the temperature. May be the temperature there goes below the value mentioned in the condition

  • @balbirsinghheer1370
    @balbirsinghheer1370 2 года назад +2

    Hi sir instead of flash massage how to set that in label

  • @johnroland51
    @johnroland51 2 года назад +1

    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 :-)

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      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.

  • @bartekd3577
    @bartekd3577 Год назад +1

    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 ?

    • @TechTrendsShameer
      @TechTrendsShameer  Год назад

      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);

    • @bartekd3577
      @bartekd3577 Год назад +1

      @@TechTrendsShameer will this delay the reading? how to put nodemcu to sleep? wants to work on the battery for a long time.

    • @TechTrendsShameer
      @TechTrendsShameer  Год назад

      @@bartekd3577 Yes. This will delay the reading.

    • @bartekd3577
      @bartekd3577 Год назад +1

      @@TechTrendsShameer how to calculate the delay? 2500L how many seconds is it? 1 minute what is the value in the code?

  • @febrijayamehendra3792
    @febrijayamehendra3792 2 года назад +1

    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

  • @iniinfoboss3463
    @iniinfoboss3463 2 года назад +2

    assalamualikum sir, can you provide the blinyk library? thanks

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      waalaikumsalam. You can install from Arduino IDE -> Tools -> Libraries

    • @aadhiash
      @aadhiash 2 года назад

      @@TechTrendsShameer what is the library that's to be downloaded, it shows errors

  • @mufeedu4099
    @mufeedu4099 2 года назад +1

    i want to add mq135 with this circuit , how is that possible?

  • @girishchandra2236
    @girishchandra2236 2 года назад +1

    Hi bro, I am getting the message 'Failed to read from DHT sensor' after uploading the programm.What may be the reason.?

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад +1

      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?

    • @girishchandra2236
      @girishchandra2236 2 года назад +1

      @@TechTrendsShameer Out Of DHT11 connected to D04 of Nodemcu. I made change accordingly in code.3rd point will check.Thanks for the response.

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      Please reply for the 3 questions which I mentioned

    • @girishchandra2236
      @girishchandra2236 2 года назад +1

      @@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?

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад +1

      @@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?

  • @silexalger1284
    @silexalger1284 Год назад +1

    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
      @TechTrendsShameer  Год назад

      Hi sir. There is a limit for notifications in a day. May I know how much time interval you gave in the code?

    • @silexalger1284
      @silexalger1284 Год назад

      @@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

    • @silexalger1284
      @silexalger1284 Год назад

      @@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

    • @silexalger1284
      @silexalger1284 Год назад +1

      @@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

    • @TechTrendsShameer
      @TechTrendsShameer  Год назад

      @@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);

  • @rachanakoyyala9975
    @rachanakoyyala9975 2 года назад +2

    Sir how I need to set the max temperature value 30 for alert

  • @hiransirisena4310
    @hiransirisena4310 2 года назад +1

    Can you do the video about Motion alert notification using nodemcu 8266 with newer blynk app

  • @RahulKumar-sn3wd
    @RahulKumar-sn3wd 2 года назад +1

    plz make a video smart irrigation using esp8266 humidity, temperature & soil moisture

  • @sobikar8078
    @sobikar8078 5 месяцев назад

    Hello sir. I need same process for ESP32 and DS18B20 temperature sensor

  • @matthew2696
    @matthew2696 Год назад +1

    Didn't receiving email. Can u plz help

  • @MtMd-be4kd
    @MtMd-be4kd 2 года назад +1

    How are you my friend I have a problem and I want you to help me solve it

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      Sure. I will help. Please message me in instagram
      instagram.com/tech_trends_shameer

  • @whaThirukkovalluruSripriya
    @whaThirukkovalluruSripriya 2 года назад +1

    where should i include wifi username and password and also can i get the complete code

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      Please check the video description for the full source code.

  • @0124akash
    @0124akash 2 года назад +1

    Error compiling for board NodeMCU(ESP-12E module)
    What is the solution sir ?

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      Please select the correct board.

    • @0124akash
      @0124akash 2 года назад

      @@TechTrendsShameer am selecting correct board
      1.0 NodeMCUESP8266 -12E

    • @akirarestu1121
      @akirarestu1121 2 года назад

      @@0124akash solusinya gimana nih

  • @Mr-lb2rt
    @Mr-lb2rt 2 года назад +1

    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?

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      Please check the sensor and make sure you used the correct pin in the code.

    • @Mr-lb2rt
      @Mr-lb2rt 2 года назад

      @@TechTrendsShameerI am not able to use d4 pin so I tired with other digital pins. I ended up getting nan values.

  • @Kevllarr
    @Kevllarr Год назад +1

    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!

  • @ariellihan999
    @ariellihan999 Год назад +1

    Why I can only get one notification

  • @ashishb1810
    @ashishb1810 2 года назад +1

    How to make the device online after entering the code...

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      It will automatically appear online. If not press the RST button in the NodeMCU board and check.

    • @fazilchand9213
      @fazilchand9213 Год назад

      @@TechTrendsShameer bro still the same issue althought i press RST d

  • @donbroady5171
    @donbroady5171 2 года назад +1

    Did you know how to send warning notification to telegram/whatsapp?

    • @TechTrendsShameer
      @TechTrendsShameer  Год назад

      Not really. I will check about this and try to post a video related to that.

  • @BDCDT-TranMinhHieu
    @BDCDT-TranMinhHieu Год назад +1

    I cannot access the source code. Can you give it back to me please?

    • @TechTrendsShameer
      @TechTrendsShameer  Год назад

      Source code link is given in the video description and it is accessible for everyone. Please check.

  • @SUPRATIKMONDAL
    @SUPRATIKMONDAL 3 месяца назад +1

    Not working

  • @mohitbhangale8229
    @mohitbhangale8229 Год назад +1

    Temperature not updated

  • @SUPRATIKMONDAL
    @SUPRATIKMONDAL 3 месяца назад

    fake code it is

    • @TechTrendsShameer
      @TechTrendsShameer  3 месяца назад

      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.

  • @MtMd-be4kd
    @MtMd-be4kd 2 года назад +1

    How are you my friend I have a problem and I want you to help me solve it

    • @TechTrendsShameer
      @TechTrendsShameer  2 года назад

      Sure. I will help. Please message me in instagram
      instagram.com/tech_trends_shameer