Comments on: ESP32 Door Status Monitor with Telegram Notifications https://randomnerdtutorials.com/esp32-door-status-telegram/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Mon, 22 Jul 2024 14:49:09 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Tom https://randomnerdtutorials.com/esp32-door-status-telegram/#comment-940654 Mon, 22 Jul 2024 14:49:09 +0000 https://randomnerdtutorials.com/?p=106942#comment-940654 A bit of research about the ICACHE_RAM_ATTR attribute, since I was not familiar with it. The research suggested should be used with ESP8266 devices. However, it also suggested that when using an ESP32, the IRAM_ATTR attribute should be used instead. Do you agree with this recommendation? Just curious to know a bit more for future applications.

]]>
By: Harvey https://randomnerdtutorials.com/esp32-door-status-telegram/#comment-936715 Fri, 12 Jul 2024 17:56:40 +0000 https://randomnerdtutorials.com/?p=106942#comment-936715 I was wondering why you add an external 10K pulldown resistor. Your code uses an internal pullup resistor on that GPIO with:

pinMode(reedSwitch, INPUT_PULLUP);

and triggering the switch brings the GPIO high. The pulldown and pullup resistors are fighting each other. If you omit the external resistor and reverse the logic (1->0 instead of 0->1) I would think you could do the same thing with less wiring?

]]>
By: Robson Eduardo https://randomnerdtutorials.com/esp32-door-status-telegram/#comment-913877 Thu, 09 May 2024 14:17:27 +0000 https://randomnerdtutorials.com/?p=106942#comment-913877 Boa tarde a todos, estou com uma duvida que está me matando de raiva, já pesquisei já tentei de todas as formas fazer com que quando eu enviar uma mensagem para o Telegram ele pule uma linha, que haja um espaço entre as mensagens para melhor organização, um exemplo:

bot.sendMessage(CHAT_ID,”None_None_None_None_None.”, “”);
bot.sendMessage(CHAT_ID,”None_None_None_None_None_None_None.”, “”);

Onde eu colocaria tipo um \n para que pulasse uma linha entre as mensagens, coloque \ alfabeto inteiro e não pula de linha. alguém filho de DEUS pode ajudar? OBRIGADO !!!

]]>
By: Martin Relton https://randomnerdtutorials.com/esp32-door-status-telegram/#comment-857513 Sun, 27 Aug 2023 07:21:10 +0000 https://randomnerdtutorials.com/?p=106942#comment-857513 I have a LiFe PO4 3.2V battery I want to connect to the set up and use as a garage door open/close monitor via Telegram.

As there is only one 3.3v on the ESP32, do I need to splice into the pin connector wire along with the positive of the reed switch (I don’t want to use a breadboard).

Your advice would be appreciated.

Thanks

]]>
By: Martin https://randomnerdtutorials.com/esp32-door-status-telegram/#comment-857278 Sat, 26 Aug 2023 03:56:07 +0000 https://randomnerdtutorials.com/?p=106942#comment-857278 I like this project very much and it initially started well with no problems, however now I receive mainly “Bot started up” notifications and the occasional status. It seems very random.

Any suggestions as to why I should be receiving so many “Bot started up” messages but few actual status?

]]>
By: Abel Albors https://randomnerdtutorials.com/esp32-door-status-telegram/#comment-853017 Thu, 03 Aug 2023 19:50:07 +0000 https://randomnerdtutorials.com/?p=106942#comment-853017 In reply to Sara Santos.

Buenas tardes Sara
Muy bueno el proyecto. Como hago para agregar mas de un sensor en el codigo??.
Saludos

]]>
By: Abel Albors https://randomnerdtutorials.com/esp32-door-status-telegram/#comment-852385 Mon, 31 Jul 2023 19:51:12 +0000 https://randomnerdtutorials.com/?p=106942#comment-852385 Buenas tardes
Me gustaria que me asesoren o me indiquen. Quisiera hacer el circuito similar a este, pero de sensor magnetico por sensor de luz por la cantidad de 5 (sensores), que me envie un mensaje a telegram, con un mensaje distinto por cada sensor

Desde ya Muchas Gracias

]]>
By: BartCrimson https://randomnerdtutorials.com/esp32-door-status-telegram/#comment-837868 Mon, 29 May 2023 16:18:02 +0000 https://randomnerdtutorials.com/?p=106942#comment-837868 In reply to Svein.

I had the same before and came across the following on a site…
Arduino and other compilations now use the Python3 while Arduino and the likes use Python2
Go to the Synaptic package manager and install ” python3-lib2to3 ”
This package contains the lib2to3 library , a Python2 to Python3 converter
This resolved the issue.
Regards
Bart Crimson

]]>
By: Svein https://randomnerdtutorials.com/esp32-door-status-telegram/#comment-836700 Mon, 22 May 2023 04:45:01 +0000 https://randomnerdtutorials.com/?p=106942#comment-836700 I get this error when I am trying to compiling it:

exec: “python”: executable file not found in $PATH

Compilation error: exec: “python”: executable file not found in $PATH

]]>
By: Luca https://randomnerdtutorials.com/esp32-door-status-telegram/#comment-812922 Wed, 25 Jan 2023 13:17:51 +0000 https://randomnerdtutorials.com/?p=106942#comment-812922 hi, i would like to have a project, that when i press a button, it sends a notification on telegram, visible to many people.
How can I get this code?
Thank you

]]>