This new channel is a hidden gem on youtube! Excellent videos with really well structured top notch content and editing. Props sir! Thank you for sharing it. It really helps and inspire us. New subscriber and smashing the like button while binge watching your videos. Cheers
Very good job!!! A real good configuration, complete, secured... A professional job. In case anybody can add an answer to this question: How many magnetics sensors can be connected at the same time on the same Node MCU? (Same ESP8266) It seems to be only D1, D2, D5, D6 and D7 And of course on which GPIO? (considering that some cannot be used or make problems) Is there a way to use also one of the D0, D3, D4, D8 for the same purpose with may be a different programmation to escape the restrictions?
Thanks for watching. Pin D1, D2, D5, D6 and D7 correspond to GPIO 5, 4, 14, 12, 13 respectively. I once used one NodeMCU to connect 7 magnetic sensors. At first it worked well for months. Then, when there's a power outage, it stopped working. After long times of search, I realized that D0, D3, D4 and D8 pins have restrictions. Especially, some pins requires to be high or low voltage state during powering up. Otherwise, the NodeMCU will go to some special mode or just stop working. So, for my understanding, if you want connect sensors to such pins, you need to power up the NodeMCU first then connect sensor few moments later which would be very impractical for IoT application.
Thanks. Please be informed that one video will be uploaded soon to deal with adding NodeMCU in the newer version of ESPHome add-on since the method has been changed alot.
Please check below link and try to use on_boot automation and make the led switched off when ESP is booted. esphome.io/components/esphome.html?highlight=on_boot
how far wiring do you use from esp32 to magnetic door (in meter), i want to try to make 5 meter long from esp32 to magnetic door, maybe there are powerloss 5 volt.maybe you can share your experince about range your device, thanks
Hi, for my home, wires were preinstalled inside walls from the utility room to all the ways to the windows and doors. They are definitely longer than 5m, and using magnetic door switches at the end of this wire doesn't cause any problem for my esp8266 detects opening and closing of windows and doors.
If you are referring receiving and transmitting numerical value through sensor or display device, we usually use ESPHome library to do this. this is an example of getting distance info from Ultrasonic sensor attached to ESP device. esphome.io/components/sensor/ultrasonic.html If you want to send some character or number to a display device, you can refer to this example. esphome.io/components/display/max7219.html If you are referring different way of sending integer or float values, please give me more detail.
Great video! I followed step by step and when uploading I get this error: Cannot resolve pin name 'D4' for board esp01_1m. pin: D4 name: NodeMCU Internal LED id: internal_led This is also indicated in the yaml file. Any help would be highly appreciated!
Hi, thanks for watching my video. For my video, I used NodeMCU ESP8266 and the name of the pin such as D4 was defined for that device. However, if you are using NodeMCU ESP32, the name of the pin is defined differently like GPIOXX. If you use and selected different type of the device, please check below link and correct it. If the issue still persists, please let me know. Thank you. esphome.io/devices/
Hmm, my problem is, I have a reading in the esp protocol and the sensor shows up in HA, but it shows no value, instead it says on the Loveles card instead of value: unknown. (i made it with a distance sensor)
Hi, I don't know exactly which distance sensor you are using. But in order to use a sensor, it has to be supported by esphome. in my video, my example is a simple on/off switch so that one gpio pin could measure voltage status and send binary state to HA. For distance sensor, it cannot be a simple on/off status. Possibly there's some protocol between NodeMCU and distance sensor to exchange value of the distance. If the sensor you are using is a ultrasonic distance sensor which is commonly used in DIY project, such as HC-SR04, I suggest you read the link and follow example. if your distance sensor is not a kind of this type, it might not be easy to use ESPHome. esphome.io/components/sensor/ultrasonic.html
@@makeshiftsmarthome6748 Thank you very much for your kind reply. I really appreciate it. Also thank you for the link. Yes, I am using the sensor and have also followed the linked specifications so far. I have tried both with a D1 mini and now with the nodmcuv2 and always got the same result. Sensor is visible, but no values are transmitted. Your instruction was reproducible so far and works very well as far as LED control is concerned. I had hoped to be able to apply it to transmitting values as well, but I guess I can't. I will stop my ESP experiments now, after 2 weeks of unsuccessful research and attempts. But thank you for your answer.
Hi, thanks for watching my video and I am sorry to know that you are having a problem. Can you please tell me more specifically about 'being in download mode'? The way of adding ESP devices is keep changing in ESPHome and I uploaded another video(ruclips.net/video/nocvhj--l7s/видео.html) months ago to deal with a changed method. However, I noticed that there's some more changes afterwards.
wow really great video with great explanation. ❤❤ Actually am planning on making my home smart with home assistant and esp8266. I am a begginer and dont know much. So can you please help me through the steps. I have some ideas in my mind which i wanna make in real but dont know how to do that. How can i contact you? Can you provide your email id?
Hello Basil, thank you for watching my video. If you need a contact, you can click my channel page and hit information tab. There is a clickable text that reveals my e-mail address. Thank you.
This is a ridiculously well explained video. Thank you so much!
Thank you for watching my video! I hope it was helpful!
Amazing tutorial, saved £10 buying a door sensor and found a use for my 4 unused esp32s!
This new channel is a hidden gem on youtube! Excellent videos with really well structured top notch content and editing. Props sir! Thank you for sharing it. It really helps and inspire us. New subscriber and smashing the like button while binge watching your videos. Cheers
Thank you very much for your positive feedback. Will try harder to meet your expectations!
@@makeshiftsmarthome6748 just discovering your channel, immediately subbed. thank you
@@benoitbilliau5731 Thanks. This week, I uploaded one video after more than 1 year of hiatus. New videos are being prepared. Stay tuned!
Thanks. Finally someone describe ALL steps slow and understandable..
Thanks. I hope you enjoy my channel!
"No Coding Required" > Proceeds to show us how to Code.
Very good teaching. Thank you
Amazing video. I went from 0 regarding ESPHome and I've learned a lot with this video! Thanks!
Thanks for watching and I am glad that it is helpful!
pin: D4 does not work anymore with new ESP-01 use pin: GPIO2 instead
Thanks for your comment, it helps me, I'm using ESP-01
Thank you for your tutorial .. very clear for me
Bravo from Greece. Top Video.
Super erklärt
Schnell zum nachbauen
Bitte weiter Projekte mit Home Assistant und ESPHome (in Englisch)
Vielen Dank!
This is so well done, THANK YOU! If I had seen this video first, it would've saved me hours of watching not so helpful videos. Subscribed!👴
Thanks! I am glad to know that my video was useful.
Very good job!!! A real good configuration, complete, secured... A professional job.
In case anybody can add an answer to this question:
How many magnetics sensors can be connected at the same time on the same Node MCU? (Same ESP8266)
It seems to be only D1, D2, D5, D6 and D7
And of course on which GPIO? (considering that some cannot be used or make problems)
Is there a way to use also one of the D0, D3, D4, D8 for the same purpose with may be a different programmation to escape the restrictions?
Thanks for watching. Pin D1, D2, D5, D6 and D7 correspond to GPIO 5, 4, 14, 12, 13 respectively. I once used one NodeMCU to connect 7 magnetic sensors. At first it worked well for months. Then, when there's a power outage, it stopped working. After long times of search, I realized that D0, D3, D4 and D8 pins have restrictions. Especially, some pins requires to be high or low voltage state during powering up. Otherwise, the NodeMCU will go to some special mode or just stop working. So, for my understanding, if you want connect sensors to such pins, you need to power up the NodeMCU first then connect sensor few moments later which would be very impractical for IoT application.
very helpful,thank u
Thank you very much for watching my video!
Appreciate for your help
Thanks. Please be informed that one video will be uploaded soon to deal with adding NodeMCU in the newer version of ESPHome add-on since the method has been changed alot.
Thanks a lot!
How to make the initial setting for led OFF after rebooting the nodemcu?
Please check below link and try to use on_boot automation and make the led switched off when ESP is booted.
esphome.io/components/esphome.html?highlight=on_boot
how far wiring do you use from esp32 to magnetic door (in meter), i want to try to make 5 meter long from esp32 to magnetic door, maybe there are powerloss 5 volt.maybe you can share your experince about range your device, thanks
Hi, for my home, wires were preinstalled inside walls from the utility room to all the ways to the windows and doors. They are definitely longer than 5m, and using magnetic door switches at the end of this wire doesn't cause any problem for my esp8266 detects opening and closing of windows and doors.
@@makeshiftsmarthome6748 thanks alot.
OK, now I know how to send a boolean value to ESPHome. How do you send an integer or float value?
If you are referring receiving and transmitting numerical value through sensor or display device, we usually use ESPHome library to do this. this is an example of getting distance info from Ultrasonic sensor attached to ESP device. esphome.io/components/sensor/ultrasonic.html
If you want to send some character or number to a display device, you can refer to this example.
esphome.io/components/display/max7219.html
If you are referring different way of sending integer or float values, please give me more detail.
@@makeshiftsmarthome6748 Thank you.
Great video! I followed step by step and when uploading I get this error:
Cannot resolve pin name 'D4' for board esp01_1m.
pin: D4
name: NodeMCU Internal LED
id: internal_led
This is also indicated in the yaml file. Any help would be highly appreciated!
Hi, thanks for watching my video. For my video, I used NodeMCU ESP8266 and the name of the pin such as D4 was defined for that device. However, if you are using NodeMCU ESP32, the name of the pin is defined differently like GPIOXX. If you use and selected different type of the device, please check below link and correct it. If the issue still persists, please let me know. Thank you. esphome.io/devices/
@@makeshiftsmarthome6748 Thank you!
Hmm, my problem is, I have a reading in the esp protocol and the sensor shows up in HA, but it shows no value, instead it says on the Loveles card instead of value: unknown. (i made it with a distance sensor)
Hi, I don't know exactly which distance sensor you are using. But in order to use a sensor, it has to be supported by esphome. in my video, my example is a simple on/off switch so that one gpio pin could measure voltage status and send binary state to HA. For distance sensor, it cannot be a simple on/off status. Possibly there's some protocol between NodeMCU and distance sensor to exchange value of the distance. If the sensor you are using is a ultrasonic distance sensor which is commonly used in DIY project, such as HC-SR04, I suggest you read the link and follow example. if your distance sensor is not a kind of this type, it might not be easy to use ESPHome. esphome.io/components/sensor/ultrasonic.html
@@makeshiftsmarthome6748
Thank you very much for your kind reply. I really appreciate it. Also thank you for the link.
Yes, I am using the sensor and have also followed the linked specifications so far. I have tried both with a D1 mini and now with the nodmcuv2 and always got the same result.
Sensor is visible, but no values are transmitted. Your instruction was reproducible so far and works very well as far as LED control is concerned. I had hoped to be able to apply it to transmitting values as well, but I guess I can't.
I will stop my ESP experiments now, after 2 weeks of unsuccessful research and attempts.
But thank you for your answer.
Using an mcu without code is like eating vegan ice cream
I’m getting a fail needs to be in download mode message. Do you know what’s wrong?
Hi, thanks for watching my video and I am sorry to know that you are having a problem. Can you please tell me more specifically about 'being in download mode'? The way of adding ESP devices is keep changing in ESPHome and I uploaded another video(ruclips.net/video/nocvhj--l7s/видео.html) months ago to deal with a changed method. However, I noticed that there's some more changes afterwards.
Can this be done with a D1 Mini?
I didn't use D1 mini but since it is based on ESP8266, I think you can use it by selecting 'generic ESP8266' option from ESPHome.
wow really great video with great explanation. ❤❤
Actually am planning on making my home smart with home assistant and esp8266.
I am a begginer and dont know much. So can you please help me through the steps.
I have some ideas in my mind which i wanna make in real but dont know how to do that.
How can i contact you? Can you provide your email id?
Hello Basil, thank you for watching my video. If you need a contact, you can click my channel page and hit information tab. There is a clickable text that reveals my e-mail address. Thank you.