Comments on: ESP8266 NodeMCU Door Status Monitor with Email Notifications (IFTTT) https://randomnerdtutorials.com/door-status-monitor-using-the-esp8266/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Tue, 22 Nov 2022 17:47:09 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Joaquín https://randomnerdtutorials.com/door-status-monitor-using-the-esp8266/#comment-798733 Tue, 22 Nov 2022 17:47:09 +0000 http://randomnerdtutorials.com/?p=18043#comment-798733 Hola buenas tardes , felicidades por todos vuestros proyectos me gusta como lo explicais pero tengo algunas dudas con el proyecto “door_status” y espero que me las aclararais.
He hecho el proyecto primero con el NodeMcu (Esp8266) y algunas veces a través de IFTTT envia emails o notificaciones y otras veces no.
He probado con IFTTT desde “documentación” haciendo el correspondiente “TEXT” y envia correctamente los emails o las notificaciones
Una duda que tengo porque en el código está configurado el pin gpio5 como “PULL_UP” sin embargo en el dibujo hay colocada una resistencia en modo PULLDOWN, además si se programa la entrada en el código PULL_UP creo que sobra las resistencia física.
También lo he realizado con el Esp8266-01 copiando el código desde el vídeo el cual es diferente al que presentaÍs con el NodeMcu y me pasa lo mismo algunas veces manda los email y otras veces no. También observo que el código le falta la parte de “Setup” y lo he tenido que agregar yo, también en el esquema pregunto que sentido tiene que al pin gpio0 vaya a positivo 3,3 V. y también la resistencia en modo PULL_DOWN
Agradecería me dijerais donde puedo descargar el código que presentais en el video de demostración con el Esp8266-01 pués parece ser que no es el mismo que presentais con el NodeMcu.
Os pido porfavor me aclarareis todos estos puntos o me dijerais que es lo que estoy haciendo mal pués me interesa mucho este proyecto.
Muchas gracias
Un saludo

]]>
By: Pablo-7 https://randomnerdtutorials.com/door-status-monitor-using-the-esp8266/#comment-795912 Fri, 04 Nov 2022 18:49:02 +0000 http://randomnerdtutorials.com/?p=18043#comment-795912 Hola buenas tardes , felicidades por todos vuestro proyectos
He vuelto a retomar otra vez este proyecto “estado de puerta” el cual me interesa mucho y te agradecería me aclararas varios puntos.
Lo he hecho primero con el NodeMcu (Esp8266) y algunas veces envia emails a través de IFTTT y otra veces no.
No entiendo porque en el código está configurado el pin gpio5 como PULL_UP sin embargo en el dibujo hay colocada una resistencia en modo PULLDOWN, además si se programa en el código PULL_UP o PULL_DOWN creo que sobran las resistencias físicas.
También lo he realizado con el Esp8266-01 tal cómo se ve en el vídeo copiando el código desde el video y me pasa lo mismo algunas veces manda los email y otras veces no. También observo que el código le falta la parte de “Setup” y lo he tenido que añadir yo, también en el esquema pregunto que sentido tiene que al pin gpio0 vaya a positivo 3,3 V. y también la resistencia en modo PULL_DOWN
Agradecería me aclararas todos estos puntos y me dijeras si algo estoy haciendo mal
Muchas gracias
Un saludo

]]>
By: Matthias https://randomnerdtutorials.com/door-status-monitor-using-the-esp8266/#comment-771018 Mon, 25 Jul 2022 14:02:08 +0000 http://randomnerdtutorials.com/?p=18043#comment-771018 Hello,
it seems the Sketch is working correctly for me as I can see in the Serial Monitor. However I don´t receive emails by IFTTT. If I test the webhook manually it works.
Do I have to change the “Content-Length: 13\r\n\r\n” + since I changed the Event name?

BR
Matthias

]]>
By: Sara Santos https://randomnerdtutorials.com/door-status-monitor-using-the-esp8266/#comment-770422 Fri, 22 Jul 2022 10:44:34 +0000 http://randomnerdtutorials.com/?p=18043#comment-770422 In reply to Pablo-7.

Hi.
Maybe there is an issue with IFTTT?
Make sure you’re using the right links to send the email.

You can check if something is wrong with the applet itself. Go to this link: https://ifttt.com/my_applets
Click on the bell icon on the applet your’re using to send emails, then click on “view activity”.

Maybe you’ll get more information about why you’re not receiving the emails.

Additionally, you may want to consider sending the emails using SMTP without using IFTT: https://randomnerdtutorials.com/esp32-send-email-smtp-server-arduino-ide/

Regards,
Sara

]]>
By: Pablo-7 https://randomnerdtutorials.com/door-status-monitor-using-the-esp8266/#comment-770287 Thu, 21 Jul 2022 14:54:16 +0000 http://randomnerdtutorials.com/?p=18043#comment-770287 In reply to alan.

Hola Buenas tardes
Ya me dirás por favor como has conseguido que tu proyecto envie emails, a mi no me funciona sin embargo si que me envia emails desde la página de IFTTT “documentación” haciendo clic en TEST y también introduciendo la Url completa con la clave correspondiente en el navegador. Pero cuando pongo en nivel bajo o alto el pin no me envia nada. En el monitor serial me indica bien la conexión y los cambios de estado, lo último que me dice es :
connecting to maker.ifttt.com
Requesting URL:/trigger/door_status/with/key/https://maker.ifttt.com/trigger/door_status/json/with/keyxxxxxxxxxxxxxxxxxxxxxxxxxx
Si me pudieras ayuda te lo agradecería
Un saludo

]]>
By: Sara Santos https://randomnerdtutorials.com/door-status-monitor-using-the-esp8266/#comment-768815 Wed, 13 Jul 2022 19:59:59 +0000 http://randomnerdtutorials.com/?p=18043#comment-768815 In reply to Mike Carroll.

Hi.
It is not related to the iPhone.

Did you check your spam folder?

Maybe there is an issue with IFTTT?
Make sure you’re using the right links to send the email.

You can check if something is wrong with the applet itself. Go to this link: https://ifttt.com/my_applets
Click on the bell icon on the applet your’re using to send emails, then click on “view activity”.

Maybe you’ll get more information about why you’re not receiving the emails.

Regards,
Sara

]]>
By: Mike Carroll https://randomnerdtutorials.com/door-status-monitor-using-the-esp8266/#comment-768556 Tue, 12 Jul 2022 16:04:35 +0000 http://randomnerdtutorials.com/?p=18043#comment-768556 HI RUI;
I don not know why I am not getting emails sent to my gmail?I am using an IPHONE- not sure if it matters.
There is a website to check the TEST and it show it working but I am not getting any emails (gmails) on my iPhone .
I read a comment a person with gmail had a problem but he got it working. He asked for another way to send it to his website. Replied from Sara sent him another website that will allow him to directly send email without the IFTTT-
https://randomnerdtutorials.com/esp32-esp8266-send-email-notification/
I will try it!
I appreciate if you can answer my question.
I enjoy your book.
Mike

]]>
By: Shivraj Ganesh Rajgure https://randomnerdtutorials.com/door-status-monitor-using-the-esp8266/#comment-743506 Mon, 02 May 2022 07:30:31 +0000 http://randomnerdtutorials.com/?p=18043#comment-743506 I have follow all steps as given above successfully. but i am facing problem with this project i haven’t receive email from IFTTT when I disconnect magnetic sensor.

]]>
By: Dave K https://randomnerdtutorials.com/door-status-monitor-using-the-esp8266/#comment-737585 Tue, 12 Apr 2022 03:27:26 +0000 http://randomnerdtutorials.com/?p=18043#comment-737585 In reply to Peter.

Always 11 changes is a clue for sure. Bouncing is not that regular. You also only get one report of “0” and “open”. There must be something else in the code driving the behavior…but only you can see that!
You might want to post it.
Dave

]]>
By: Peter https://randomnerdtutorials.com/door-status-monitor-using-the-esp8266/#comment-733895 Fri, 25 Mar 2022 14:21:52 +0000 http://randomnerdtutorials.com/?p=18043#comment-733895 Hi,
I’ve recently revisited this tutorial to adapt it to use a reed switch to capture gas meter pulses and report to Home Assistant via MQTT. I developed it initially using a push button and all works as expected, but I notice that when I use the reed switch, I get multiple state changes on the transition from ‘closed’ back to ‘open’ (reed switch is NC type, so this is when reed switch is closing again). See terminal extract below. first two transitions are using push button switch, second two are using reed switch.
14:10:27.951 -> State changed
14:10:27.951 -> 1
14:10:27.951 -> closed
14:10:29.275 -> State changed
14:10:29.275 -> 0
14:10:29.275 -> open
14:10:33.687 -> State changed
14:10:33.687 -> 1
14:10:33.687 -> closed
14:10:35.964 -> State changed
14:10:35.964 -> State changed
14:10:35.964 -> State changed
14:10:35.964 -> State changed
14:10:35.998 -> State changed
14:10:35.998 -> State changed
14:10:35.998 -> State changed
14:10:35.998 -> State changed
14:10:35.998 -> State changed
14:10:35.998 -> State changed
14:10:35.998 -> State changed
14:10:35.998 -> 0
14:10:35.998 -> open

I’m curious as why this happens – is is just bouncing of the reed contacts as they close again? The strange thing is that it is always 11x state changes before the result (after the debounce time) is reported. Changing the debounce delay makes no difference to the number of state changes logged.

Any ideas what could be going on here?

Regards,
Peter

]]>