Really in depth and more importantly you are explaining WHY you are doing things. So many people forget about us Electronics Newbies. It's all well and good being told "put this here, then click here", but we don't learn anything that way. I'm going to be following this tutorial for sure! Not checked if you have yet, but if you could put a parts list in the description, this video would be perfect (even if they are affiliate links!).
In 2023 this may be thought of as an "Oldie, but a Goody," but it's an outstanding tutorial on ESPHome multi-sensor integration. Many thanks for your effort.
Spent last 10+ days trying to get head around HA and Tasmota...after many many attempts and hours of videos I finally have a handful of switches and plugs 'flashed' over. Great hard bit done I thought and just drop them into HA and have done with it. Nope. Couldn't get it. MQTT problems, syntax errors, authorisation issues, rebuilds etc. etc was at my whits end and the W.A.F at an all time low... Then I stumbled here....wow! I've picked up more just watching 10mins of your videos (not even meant to be configuration 'tutorials'!) than any of the half dozen I've struggled through these last few days. Thank you sir from a decidedly damp UK - subscribed :-)
Much appreciated! Glad you were able to utilize my bit of ramblings to fix things. I usually try to show a project I've done in the house and teach a few things while doing the project. I sometimes refer back to my own videos for content.
Awesome! The pun definitely fits! If you have any content you'd like to see feel free to let me know. Come join us on the discord chat as well if you haven't already. discord.gg/bNtTF2v
I just successfully programmed my first NodeMCU with ESPHome. Cannot that you enough for the lesson, really appreciate it. Now, time to buy a 3d printer.
You sir, are one of TH-cam's best teachers. I love your calm voice and accent too (the opposite of my Aussie accent!). Thanks for helping me understand all this.
I never would have been able to do this by myself. The explanation as to the why, and not just “do this, do that” really helped. I was able to set up my outdoor thermometer with temp and humidity, which is something I’ve been wanting to do for a long time, and until I saw your video, I didn’t think it could be done. This is now the second time I follow your instructions on a project, since I really started getting into the tinkering in July. By the way, in case this happens to someone else, when I was about to flash for the first time, the USB wasn’t being recognized. In the ESPHome instructions, it shows they you may have to restart the add on, for it to recognize the USB connection. After the second restart, it saw my usb connection and the flash was flawless. I also didn’t have to add the IP address when configuring the add on. Thanks for another great video!
Thanks! It makes my stuff a little longer but I do like to show the why especially for people to adapt the projects and make it their own. Glad you enjoyed it!
Thank you Travis for another, well explained DIY video. I was going to go into more explaining of why I like your clips but I see that I am not alone as Peter Ebenezer has posted everything I was about to write. I have been into all types of electronics, and many other things as a hobby and as work. I have been watching the top 5 video makers on Home Assistant, OpenHab, ESP****. Out of the top 5, you are the only one that will go back in time to repeat and explain all the basics and the "why's". I do understand that all of this information has already been explained by all of the other video's at some point in time. My problem is that I do not want to go through a 2 hour Live video, or scn through 2 years of earlier videos to find out the very basics of how to get a sensor going. By explaining and repeating each step there are some people that will complain about that fact that the topic has already been explained 2 years ago. I do not mind hearing topics that are "old news" to me, to help the new people getting into this hobby. It takes only a few extra minutes in the entire video, and it will attract a much larger following after time. If you are not up to speed with the other groups you need to spend hours going back in time before being able to complete the project. Bottom Line,,, PLEASE continue with explaining in DETAIL each step and the "WHY's" as you have been doing. I watch just about every flick of yours and will continue. Thanks again.
Wow! Your comments make it all worth it doing this journey of making How To videos sharing projects. I've always tried to make a video that I wanted to have when I was learning to throw up on the 2nd screen or tablet, pausing as I go. I figure if someone has already seen a part they can always fast forward around. I'm glad you enjoy the videos!
Finally got the last components, the Adafruit led's took a LOOOONG time to arrive. I've gotten three built, darned it's tight space in the box, I've had to cut the wires, and solder them instead of the cableconnectors, and also cut the pins from the DHT22 to get it at least a bit flush, but now they look really nice, and works perfectly. I do have an issue with the lux sensor, it's a bit recessed, so I'll have to experiment with the placement of the sensor. Thankyou very much for this excellent kit!
Yes it can be a chore to make it fit in the case all correctly, I've seen some other cube style ones on Thingiverse I'm going to try for my next one that has a bit more room to make it easier. Tempted to throw a BME280 I have just off the back of it away from things a bit as that sensor is super sensitive to temperature changes.
Greatest video I have seen for exposing in and outs of HA. Good form. Great teaching skills. More awesome the product you have built. I’m amazed. I can’t wait to try one myself.
What an excellent tutorial. You make the process really clear and have gone just to the right level of complexity for me to understand each step. Thanks for sharing your knowledge with us!
Thank you for this. I spent ages fighting MQTT to integrate some simple DHT22 sensors on a ESP8266 board into Home Assistant. After watching this, I managed it in 5 minutes ;) Now to go an splurge on some more sensors and monitor all the things...
@@digiblurDIY Did you have any problems running the NeoPixels? I can not get them to work following your instructions. The data sheet states that they need a 4.5-5V on the data pin, but the ESP8266 only has 3.3V data pins?
Thanks a lot! This is exactly what I needed. I was going to rewrite BRUHs whole C code to get things working properly. Thanks to you I could just flash ESPHome and configure the sensors. This keeps things simple and I don't have to mess around with C code.
@@robertpoynton9923 If all else fails, reboot your Home Assistant, and then before programming your node, hold the "boot" button on the node and continue to hold while doing a momentary press of the "EN" or reset button. Then release the boot button. One other semi-random thing is try a different USB cable. Some of the cheaper cables seem to be for charging devices only, and don't have the data in/out lines working in them.
THANKS Travis! Excellent work. I had to set SSL to 'true' and open port 6052 on my WiFi 'router', but this got me to the Compile and Upload stage so far....
Man you really just cleared up a lot of stuff for me I'm new to all of this but it's all pretty simple to me. There's a lot of gaps I still need to bridge though and I really want to thank you for doing that you just showed me a lot of the stuff I was wondering how to do.
Awesome video Travis, I never even looked into esphome before, assuming it was just a bunch of code I had to figure out and get working like everything else, but watching your videos, it really makes things easy to understand... Thanks Travis
Well and clear video, well done! I've been using ESPhome on my DIY dimmer boards using the ESP32 and it's really great to work with once you get the hang of it. It also provides the best integration with Home Assistant you could wish for.
Thanks! And I fully agree, Otto has done some great work in the ecosystem. Compiling in only what you need, automations, sensors and then on top of that making it all work with the esp32 as well. I love all the options we have out here to flash on the various ESP chips.
Very good tutorial! I managed to get it working by following it. One problem with the design, though. The LED might influence the light sensing sensor. Thank you!!
Wow. Awesome step by step video !! I just wanted to know, how to revert to normal NodeMCU firmware? Like, remove the firmware which the home assistant flashed and restore the original NodeMCU firmware. Thanks
This is an awesome project and the video explains so well you understand how it works and can add more sensors, i added an atmospheric pressure sensor so i know if it's going to rain, so i have used bus a and bus b which i learned how to read thanks to you, now i'm going for the 2nd and 3rd sensor box . Thanks a lot
Thanks for this, I tried to build almost this exact sensor yesterday, but had trouble with the DHT22 reading 1 or NaN for both temperature and humidity. Using the model keyword sorted my problem.
Another great video from digiblurDIY! I did have an issue with the Hassio Add-on seeing the Node MCU USB. Finally got the Raspberry Pi (my host) to recognize the NodeMCU plugged into it, however still could not flash over the USB; would not connect. I had to use the Hassio ESPhome add-on to create a new .bin file and then move it over to my windows machine and flash the NodeMCU using esphome-flasher. Seems there is something I am missing to get the usb to mount properly in the Raspberry Pi host. But all is well. In the Hassio Add-on ESPHome, I created a new device using the setup wizard, I then edited the .yaml file to add in the static IP information. I then compiled the new device from the Hassio Add-on ESPHome GUI and then downloaded the file, moving it over to my windows machine. I then took that bin file and flashed the NodeMCU using esphome-flasher, and bam....went right online in the Hassio ESPHome GUI.
Thanks! Yep, that's the issue I have on my docker core setup as I would have to pass that usb in each time and it becomes a pain. I just use the method you described and is much easier to just pull the bin over to my main machine and flash it that first time.
I finally got around to building my own Multisensor with ESPHome. Worked like a charm. Only issue I ran into was that one of my GROUND terminals on the NodeMCU did not work. So I had to make a jumper so I could ground two sensors to the same terminal on the board. I was going to put two motion detectors on the Multisensor (using two different GPIO pins), but I think I did something wrong and the "magic smoke" got out of one of my AM312's and it doesn't work anymore :( Either way, the Multisensor is a great project in ESPHome. Looking forward to writing some automations based on motion, lux and even temp/humidity. Thanks @digiblurDIY
Thank you very much for the video. Starter question: With a completely new NodeMCU, when you say in min 1:55 to attach with USB, you mean connect a USB cable from the computer to the USB of the NodeMCU?
You would connect the NodeMCU to whatever system is running your Home Assistant with ESPHome on it. I screwed this up several times in the past by plugging a new device into my PC thinking it would work... until it dawned on me I need to have it plugged into my Raspberry Pi running HA / ESPHome. Also, if it doesn't see your device hooked to the USB port, try and restart the ESPHome add-on. It seems to help detect new devices on the USB ports if not automatically.
Connect the ESP to where your Home Assistant (HA) is installed on... (rasp pi but using web interface of HA from a PC)... if you still don't see the second option in the upper right for "xxxx/ttyUSBx", restart ESPHome from within HA and refresh the PC browser.
LOL your microphone is very good. Your keystrokes are very subtly coming out of my subwoofer. Scared the hell out of me at first - it's so subtle and such a weird noise.
I noticed that as well last night during a playback on a better sound system. Thanks for the confirmation as I will make some adjustments to isolate things.
Very good and well explained video, congratulations, and the question I have is, what is the action that will be taken after the motion sensor is triggered , if you are going to turn on a light for some time, how the lite can be kept on while this pir sensor detects motion
got everything all set up and working great. Thank you for your detailed explanation the only question that I have is how do I set up the led for motion? I can turn it on and off and change the color but would like to turn it on and to blue when motion is detected. any help out be greatly appreciated.
You can make the automation on the device itself, HA or NodeRed. I use this to turn the led on with motion on the wemos. binary_sensor: - platform: gpio pin: D2 name: ${display_name} Motion device_class: motion on_press: then: - light.turn_on: ESPD4led on_release: then: - light.turn_off: ESPD4led
Correct. I used the API. Mqtt is an option though. I wanted to show how to do it differently with different software to folks. Adds those additonal tools to the mind for solving home automation issues.
That does depend on the router as some as smart enough to not try to double issue an IP. But since I have used routers like this I always assign them outside the dhcp scope just to be safe.
correct, it was on my machine I had the esphome GUI running on. You can also hit compile on the GUI then hit the download binary button and send the BIN file over with other means to the nodemcu.
Hi, great video again! I have some basic things like the Led Strip. For now these devices are controlled by Node-RED in MQTT, now with ESPHome, do you think there is a way to control these devices with the "Home Assistant" nodes? Thanks and thanks for videos.
@@digiblurDIY Thanks man. I read in the documentation of ESPhome that there is a way to enable mqtt on the some sensors, in your opinion, is it better to enable mqtt to use it in NODE-RED or better to use as Nodes "Home Assistant" in Node-RED? Do you have any videos showing Node-RED without mqtt? I searched but did not find. Thanks again!
Absolutely, I even mentioned it in the initial setup as it is in the board list. The project supports pretty much anything you can install the program on that is esp8266/esp8285 or esp32 based.
Do you happen to know if you can subscribe to multiple MQTT topics on single Esphome device (esp8266)? I was thinking about this when you mentioned LEDs that tell you if your alarm system is armed. In that scenario, one MQTT topic could be for alarm system, and when the multisensor would receive a message on that topic, it would turn the LED red/green.
Pretty sure you can based on how the esphome config is setup to be flexible with multiple sensors. Typically you would have one topic for that with multiple payloads but multiple topics should work same. Or you could push over data to it via NodeRed automations. So many ways to do things. esphome.io/components/text_sensor/mqtt_subscribe.html
following this video can i add a switch when pir tripped but switch is in ha not in esphome config file on_press: then: - switch.turn_on:switch.kitchen_lights on_release: then: - switch.turn_off:switch.kitchen_lights thanks
3 ปีที่แล้ว
Great tutorial and well explained! I managed to get all 3 sensors working with wemos d1 mini, however pir sensor always giving me "detected" state... any idea what could be?
Fantastic video just learnt so much, just started using esp home. With the sensors would you recommend a maximum cable distance from the sensor to the node mcu? Voltage drop will play a part at some point i guess
Thank you for the ESPHome videos. I am finding myself incredibly inspired by how quickly I can configure a new sensor. In fact I went a little wild and converted all of my SonOff plugs, and then did an ESP32 BLE hub (to bring outside MiFlora sensors into HA), and an ESP8285 Dog Water Bowl sensor. :D I have run into a problem with the SonOff S31 plugs though. If I enable the cse7766 power sensor then the plug stops reporting and is seen as offline by HA, and on my high quality metal floor fan I can hear the motor groan when the relay is toggled momentarily. The plugs work perfectly if I disable the sensor. Seeing you add an "update_interval" to your sensors makes me think that is worth a try. I was wondering if maybe it was freezing up because it is trying to push through more data than the chip can handle.
Thanks for a great video. I used the 5mm Neopixel LED with a Ultrasonic distance sensor to create a parking assistant and it worked great. Now I'm trying to create a second one but I cannot get the Neopixel LED to display the correct color unless it connected either directly to the breadboard or with cable no longer that 8-inches. If the cable is longer, the colors are just random. My setup is to change the light to GREEN when its safe to stop, ORANGE when getting too close for comfort and RED if it way-too close. Any suggestion would be greatly appreciated. I've tried different cables, NodeMCU ESP8266, breadboard and Neopixel LED, but all with the same random lights if the cables are longer.
That's usually due to the voltage drop of data signal. You might need to do a 5v level shifter and run the LEDs at 5v power and shift the 3v3 data line up to 5v.
Thank you for this video , I made 6 of this sensors and now working to create a new 3D printed enclosure and to include a SSD1306 , even if not really needed but it will be nice to have it on my new enclosure. The problem is how to add the display to this configuration? Thanks
Great guide. I do have a question. Will EspHome perform a function and check sensors at the same time? I am looking to use one to run a DC motor until a limit switch is met. Then stop the motor and display the status of the limit switch.
@@digiblurDIY after a little research, I found the "Endstop Cover" function was exactly what I was looking for. It works like a garage door with a limit switch at each end. Thanks for the help!
I'd love to see a video on how to automate this so the light turns on when there is motion but only when the light in the room is low. Or have you already done that?
Hi mate thanks for this great video. You say first sensor should be activated with usb attached to hassio system. I'm using a virtualized hassio, should I pass a usb port from the host to the hassio guest VM in order to follow your guidelines? Thanks for all your great work.
You don't have to. I just compile the bin using the interface there. Download it and flash it with my local computer. Then once it is on the network, all future changes are done over the air.
Great video Travis! ESPHome definitely looks like a simple enough interface to bring all these sensors together. I'll have to try it - and probably get some help with it from you ;) - when I put the new version of my Kube multi-sensor together - I'm going to make it work with ESPEasy for a start, since I already wrote a plugin for it to work with the TE AmbiMate sensor board, but I'm wondering how hard it would be to make that board work with ESPHome, as well (it is I2C though it requires some specific messages back/forth to get the data). Keep up the good work!
Probably talking about Bruh automation sensor module video. Edit. Yep. Since I talk about building a second one, my first was off the Bruh sensor and this one was a modification of things as well as using Esphome.
Awesome Video! I'm trying to do a version of this with a D1 mini. I purchased the same PIR sensor that you are using. When i get everything wired up the PIR sensor just reads motion detected. it never goes clear. I have tried pins D3 and D4. any ideas what I'm doing wrong?
Hello. Totally stumped by a 502 error when trying to start ESPHome addon web interface. No errors in the addon log but the system log shows 20-02-18 20:08:37 INFO (SyncWorker_19) [hassio.docker.addon] Start Docker add-on esphome/esphome-hassio-armv7 with version 1.14.3 20-02-18 20:08:37 INFO (MainThread) [hassio.api.security] /host/info access from 15ef4d2f_esphome 20-02-18 20:09:13 ERROR (MainThread) [hassio.api.ingress] Ingress error: Cannot connect to host 172.30.32.1:62939 ssl:None [Operation timed out] No solution found so far Googling or on Discord server :( Stumped :( (and stil 20 minutes of your video after that step)...
I just added ESPHome to a build a bit earlier, it did take a minute for the docker to start up even on the Pi4 but once it did I was able to hit add to sidebar and see the GUI.
Has anyone had luck with the Olimex ESP32-POE? It is documented in the esphome.io website. But when I put in the ethernet: section that the website says and I comment out the WIFI: section. It says it fails because this requires wifi. I was able to use esphome to upload and work as a wifi module. But I would like to get the hardwired option to work and move away from wifi.
Shouldn't you need a resistor between the MCU and the RGB led since the current output from the MCU is 40 milliAmp and the LED's forward current is 20 milliAmp (in which case the resistor needed would be around 100 Ohm since the pin outputs 3.3 Volts considering the LED's voltage drop) ?
Hey Travis, this was again, a great tutorial that was so easy that an idiot like me could follow it. I do have a question...is there a way to calibrate these sensors? The humidity has always worked well, but the temperature , which was correct at the start, is no longer working correctly. I’m hoping that maybe there’s a way to calibrate this sensor so that it works correctly again. Thanks again for all you do.
Man I’ve seen this video several times and I learn something new each time I see it. Thanks for sharing. Is there any advantage to use and I2C sensor, sorry if it is and stupid question.
Another thing I am looking to set up some smart LED.s that will display a Color for a temp IE" 60-65 Light blue, 66-70 Dark blue, 71-75 Pale Yellow" and so on ? can this be done with home assistant reading the temp for a weather service?
@@digiblurDIY Thank You. I was hoping I would not have to try and write a bunch of code "that I kind of understand but maybe only 30%" and then get so frstrustated and just leave it sitting there in a pile and give up . When I start installing . I hope if i have any questions I can Pick your brain for info. Thanks again you have set me on the right path for what I would like to do n my home
I wish someone would come up with a wizard-like configuration suite for ESPHome/Tasmota. I love iot stuff, but the amount of configuration involved is offputting to me. Even a GUI to view Tasmota rules and use a few dropdowns to change parameters would be game changing.
I am working on a similar project but with ESP32 board and enabling also Bluetooth BLE scanning. Instead of DHT22, I am using a sensor HTU21D which has pretty accurate readings the only problem is that after some X time it starts to report always the same value. I did a duplicate setup of the first one and the same issue appears, not sure what's causing this. The other sensors light (TEMT6000) and the RGB led remains responsive and work as should. Would be easier to move to DHT22 I think.
thanks for the vid,, it looks very easy...Do you know if its has Rules and can operate a MCP23017 ... looking through the site I do not see it... also after its up and running does it has a web UI like tasmota so you can look at all devices that are connected to the pins?
Looks like the closest you can get to that chip is the esphome.io/components/pcf8574.html I don't have one to know if it can be seen on the web UI. I had two segments showing a couple internal rules but I had to cut them due to length.
Hi, I've got a 8 pixel bar LED, how can I control each LED as though it was a seperate light with three channels? I can get it setup as a block by telling ESP that it has 8 pixels, but can't seem to work out how to expose each LED separately... Any ideas? thanks
nice, very well done :) but! Why prefer this to espeasy, which allows pretty much the same things without ever see a line of code/yaml, and without having to recompile anything or the need of a container or other to code it, and doing everything via a very easy web gui?
I haven't messed with ESPEasy too much as I found it had a few issues in the past which could be fixed by now then combined with the 2 step flashing thing for 1 meg ESP chips I haven't gone back to it much. I'll have to take a look at it again and see what has changed. Recompiling is no issue on ESPHome though it only takes 15-20 seconds on my older box and it also makes for small and efficient binary. Pros and cons to all the features of course.
Hi, thanks a lot for the video! I have tried this setup, but when flashing my board I get the warning "Invalid readings! Please check your wiring (pull-up resistor, pin number)." and both temperature and humidity sensors return nan. Is there something I could be doing wrong? I checked the wirings many times
@@digiblurDIY yes that works fine! The flashing in itself is also working with the sensors (it connects to the wifi and I can ping it from another device), it is just that the board reads some values it recognizes as nan from the DHT22 sensors
Hi, thank you for a very useful and clear tutorial. I've followed carefully all steps but I cannot figurate out what I'm doing wrong because the binary sensor refuses to be shown. I've integrated the DHT without any issue, I could add it to the Lovelace without any trouble, but I'm stuck with the PIR sensor. The yaml file contains the standard parameters for the NodeMcu and I have only added: sensor: - platform: dht pin: D7 model: dht11 temperature: name: "Temperature" humidity: name: "Humidity" update_interval: 20s binary_sensor: - platform: gpio pin: D8 name: "PIRNodeMcu" device_class: motion Any lead why the binary sensor doesn't work? Thank you in advance
@@digiblurDIY I've tried with D6 and the same behavior. I gave up for a while and could integrate an Oled display without any issue. It's really strange, it should be very easy to get a binary sensor working.. but still struggling with it :(
@@digiblurDIY I still cannot make it work. One thing I am using HACS version of Home asst. I there a way to make this work with HACS or only HASSIO? Sorry to be so lame but very new, so many acronyms. Thanks al
The NodeMCU has two onboard LEDs. I had video footage of showing how to add this and do an internal automation of triggering this LED when the motion was detected but ultimately had to cut it due to the video already being too long. I left it in the example for folks to play with.
Hello Travis, Does the clamp output an AC sine wave, and if it does, would the negative voltage affect the board when you connect it to A0. Would it be necessary to rectify the clamp output to DC before feeding it to A0 or would that be unnecessary.
You could do that as I have worked with some clamps in other fields that had a 1v-5vdc output. The current implementation of the CT clamp sensor in Esphome uses emonlib based off of adding a DC bias to the signal. learn.openenergymonitor.org/electricity-monitoring/ct-sensors/interface-with-arduino
Have you got or can you recomend a video on filters and calibration? I have lots of DHT22's that all read different temps when side by side....? Thanks
That's the nature of the beast with those DHT22's or really any temperature sensor. You can try to calibrate them but the calibration really isn't linear. Here's what I've used before: esphome.io/components/sensor/index.html#sensor-filters
So, why does the Home Assistants keep esphome configs separate from the main configuration.yaml? Does hass.io automatically include all the yaml configs from the esphome folder? No need to include them explicitly in the configuration.yaml?
ESPHome is a separate app and you don't even need Home Assistant to use ESPHome. They would have to build it into HA itself which that is probably not going to happen.
You can turn on MQTT over the API in Esphome. There's really a ton of differences. Pros and cons to both. Tasmota has a nice web GUI where Esphome does not. Esphome handles the ESP32 world with ease, Tasmota does not. The sensor setups are different. Esphome might offer some performance which would be noticeable on a PIR sensor for lighting. Tasmota offers a GUI/MQTT to change rules and settings on the fly, where Esphome you have to reflash. Many other differences, and I really won't say one is better than the other because it all depends on the type of smart home integration you attempting to solve with the unit.
Really in depth and more importantly you are explaining WHY you are doing things.
So many people forget about us Electronics Newbies. It's all well and good being told "put this here, then click here", but we don't learn anything that way. I'm going to be following this tutorial for sure!
Not checked if you have yet, but if you could put a parts list in the description, this video would be perfect (even if they are affiliate links!).
Thanks for the kind comments! And yes I included a parts list of the sensors I used. Many other choices to use as well.
@@digiblurDIY I'm stumped??? Where's the list?? Thanks in advance.
@@yourpalfranc
-=-=-=-=-=-=-Parts Used -=-=-=-=-=-=-
NodeMCU - amzn.to/2DqS4lb
TSL2561 LUX Sensor - amzn.to/3arcDgc
Jumper Wires - amzn.to/2UTDDNM
AM312 Motion Sensor - amzn.to/2I5HJkg
5mm Neopixel - amzn.to/2GlgtMX or 8mm Neopixel - amzn.to/2GlHb8a
DHT22 Temp/Humidity - amzn.to/2I4isa7
In 2023 this may be thought of as an "Oldie, but a Goody," but it's an outstanding tutorial on ESPHome multi-sensor integration. Many thanks for your effort.
Wow, thanks!
Spent last 10+ days trying to get head around HA and Tasmota...after many many attempts and hours of videos I finally have a handful of switches and plugs 'flashed' over. Great hard bit done I thought and just drop them into HA and have done with it. Nope. Couldn't get it. MQTT problems, syntax errors, authorisation issues, rebuilds etc. etc was at my whits end and the W.A.F at an all time low...
Then I stumbled here....wow! I've picked up more just watching 10mins of your videos (not even meant to be configuration 'tutorials'!) than any of the half dozen I've struggled through these last few days.
Thank you sir from a decidedly damp UK - subscribed :-)
Much appreciated! Glad you were able to utilize my bit of ramblings to fix things. I usually try to show a project I've done in the house and teach a few things while doing the project. I sometimes refer back to my own videos for content.
@@digiblurDIY Well certainly for me your videos were my 'light bulb' moment {excuse the terrible pun!} Much appreciated.
Awesome! The pun definitely fits! If you have any content you'd like to see feel free to let me know. Come join us on the discord chat as well if you haven't already. discord.gg/bNtTF2v
I just successfully programmed my first NodeMCU with ESPHome. Cannot that you enough for the lesson, really appreciate it. Now, time to buy a 3d printer.
You sir, are one of TH-cam's best teachers. I love your calm voice and accent too (the opposite of my Aussie accent!).
Thanks for helping me understand all this.
I never would have been able to do this by myself. The explanation as to the why, and not just “do this, do that” really helped.
I was able to set up my outdoor thermometer with temp and humidity, which is something I’ve been wanting to do for a long time, and until I saw your video, I didn’t think it could be done. This is now the second time I follow your instructions on a project, since I really started getting into the tinkering in July.
By the way, in case this happens to someone else, when I was about to flash for the first time, the USB wasn’t being recognized. In the ESPHome instructions, it shows they you may have to restart the add on, for it to recognize the USB connection. After the second restart, it saw my usb connection and the flash was flawless. I also didn’t have to add the IP address when configuring the add on.
Thanks for another great video!
Thanks! It makes my stuff a little longer but I do like to show the why especially for people to adapt the projects and make it their own. Glad you enjoyed it!
And will continue to enjoy...you are absolutely at fault for me getting hooked. See you on Discord! (Once my old brain figures it out)
Thank you Travis for another, well explained DIY video. I was going to go into more explaining of why I like your clips but I see that I am not alone as Peter Ebenezer has posted everything I was about to write. I have been into all types of electronics, and many other things as a hobby and as work. I have been watching the top 5 video makers on Home Assistant, OpenHab, ESP****. Out of the top 5, you are the only one that will go back in time to repeat and explain all the basics and the "why's". I do understand that all of this information has already been explained by all of the other video's at some point in time. My problem is that I do not want to go through a 2 hour Live video, or scn through 2 years of earlier videos to find out the very basics of how to get a sensor going. By explaining and repeating each step there are some people that will complain about that fact that the topic has already been explained 2 years ago. I do not mind hearing topics that are "old news" to me, to help the new people getting into this hobby. It takes only a few extra minutes in the entire video, and it will attract a much larger following after time. If you are not up to speed with the other groups you need to spend hours going back in time before being able to complete the project. Bottom Line,,, PLEASE continue with explaining in DETAIL each step and the "WHY's" as you have been doing. I watch just about every flick of yours and will continue. Thanks again.
Wow! Your comments make it all worth it doing this journey of making How To videos sharing projects. I've always tried to make a video that I wanted to have when I was learning to throw up on the 2nd screen or tablet, pausing as I go. I figure if someone has already seen a part they can always fast forward around. I'm glad you enjoy the videos!
Finally got the last components, the Adafruit led's took a LOOOONG time to arrive. I've gotten three built, darned it's tight space in the box, I've had to cut the wires, and solder them instead of the cableconnectors, and also cut the pins from the DHT22 to get it at least a bit flush, but now they look really nice, and works perfectly. I do have an issue with the lux sensor, it's a bit recessed, so I'll have to experiment with the placement of the sensor. Thankyou very much for this excellent kit!
Yes it can be a chore to make it fit in the case all correctly, I've seen some other cube style ones on Thingiverse I'm going to try for my next one that has a bit more room to make it easier. Tempted to throw a BME280 I have just off the back of it away from things a bit as that sensor is super sensitive to temperature changes.
@@digiblurDIY I can imagine, it would be a cool last piece of sensor :-)
Greatest video I have seen for exposing in and outs of HA. Good form. Great teaching skills. More awesome the product you have built. I’m amazed. I can’t wait to try one myself.
Super vidéo ! J'ai acheté un applaudissement à 5,00 € 👏👏
What an excellent tutorial. You make the process really clear and have gone just to the right level of complexity for me to understand each step. Thanks for sharing your knowledge with us!
Thank you for this. I spent ages fighting MQTT to integrate some simple DHT22 sensors on a ESP8266 board into Home Assistant. After watching this, I managed it in 5 minutes ;) Now to go an splurge on some more sensors and monitor all the things...
Excellent! It is addicting with all the sensor options!
@@digiblurDIY Did you have any problems running the NeoPixels? I can not get them to work following your instructions. The data sheet states that they need a 4.5-5V on the data pin, but the ESP8266 only has 3.3V data pins?
Thanks a lot! This is exactly what I needed. I was going to rewrite BRUHs whole C code to get things working properly. Thanks to you I could just flash ESPHome and configure the sensors. This keeps things simple and I don't have to mess around with C code.
Still have an old modified forked Bruh code multisensor I did a good while back running. I'll probably do a swap on it and upgrade to ESP32 soon.
Thank you very much for this video. I have been researching and procrastinating and you have now shown me that I too can do this. So grateful
So glad it helps. It is addicting to make some crazy cheap sensors.
Nice intro to ESP Home. I never really used it before and your video had me up and going in no time.
A quick note for anyone using this tutorial. You may need to restart the esphomeyaml after connecting a board to upload to if doing so over USB.
thanks for the heads up. but I still can't get it to work. the only option that it's giving me is OTA
@@robertpoynton9923 If all else fails, reboot your Home Assistant, and then before programming your node, hold the "boot" button on the node and continue to hold while doing a momentary press of the "EN" or reset button. Then release the boot button. One other semi-random thing is try a different USB cable. Some of the cheaper cables seem to be for charging devices only, and don't have the data in/out lines working in them.
THANKS Travis!
Excellent work.
I had to set SSL to 'true' and open port 6052 on my WiFi 'router', but this got me to the Compile and Upload stage so far....
Man you really just cleared up a lot of stuff for me I'm new to all of this but it's all pretty simple to me. There's a lot of gaps I still need to bridge though and I really want to thank you for doing that you just showed me a lot of the stuff I was wondering how to do.
Thanks!
Awesome video Travis, I never even looked into esphome before, assuming it was just a bunch of code I had to figure out and get working like everything else, but watching your videos, it really makes things easy to understand... Thanks Travis
Glad I could help! It's cool to use for a few different projects and have choices.
Well and clear video, well done! I've been using ESPhome on my DIY dimmer boards using the ESP32 and it's really great to work with once you get the hang of it. It also provides the best integration with Home Assistant you could wish for.
Thanks! And I fully agree, Otto has done some great work in the ecosystem. Compiling in only what you need, automations, sensors and then on top of that making it all work with the esp32 as well. I love all the options we have out here to flash on the various ESP chips.
Excellent job.. Thanks again for your time here..
My pleasure!
Thats really cool, and sooooo much easier then dealing with Arduino
Very good tutorial! I managed to get it working by following it. One problem with the design, though. The LED might influence the light sensing sensor.
Thank you!!
Yep. Keep the led low.
Wow. Awesome step by step video !!
I just wanted to know, how to revert to normal NodeMCU firmware? Like, remove the firmware which the home assistant flashed and restore the original NodeMCU firmware.
Thanks
You would need to back it up first but usually it's just a test pin firmware for factory testing.
@@digiblurDIY can you please tell me how to do that?
Or atleast suggest any video or article on how to do that?
Thanks !
Video wise.. Hmm.. I did it somewhere in the live stream of the POWR3 but this article talks about it. tasmota.github.io/docs/Esptool/
@@digiblurDIY thanks a lot man !
This is an awesome project and the video explains so well you understand how it works and can add more sensors, i added an atmospheric pressure sensor so i know if it's going to rain, so i have used bus a and bus b which i learned how to read thanks to you, now i'm going for the 2nd and 3rd sensor box . Thanks a lot
Thanks for this, I tried to build almost this exact sensor yesterday, but had trouble with the DHT22 reading 1 or NaN for both temperature and humidity. Using the model keyword sorted my problem.
this was ridiculously easy to follow through. thank you so much for doing this video!
Glad it was helpful!
Awesome and throrouh video. I can already see a use for that lux sensor. thanx again
You bet!
Another great video from digiblurDIY!
I did have an issue with the Hassio Add-on seeing the Node MCU USB. Finally got the Raspberry Pi (my host) to recognize the NodeMCU plugged into it, however still could not flash over the USB; would not connect.
I had to use the Hassio ESPhome add-on to create a new .bin file and then move it over to my windows machine and flash the NodeMCU using esphome-flasher. Seems there is something I am missing to get the usb to mount properly in the Raspberry Pi host. But all is well.
In the Hassio Add-on ESPHome, I created a new device using the setup wizard, I then edited the .yaml file to add in the static IP information. I then compiled the new device from the Hassio Add-on ESPHome GUI and then downloaded the file, moving it over to my windows machine. I then took that bin file and flashed the NodeMCU using esphome-flasher, and bam....went right online in the Hassio ESPHome GUI.
Thanks! Yep, that's the issue I have on my docker core setup as I would have to pass that usb in each time and it becomes a pain. I just use the method you described and is much easier to just pull the bin over to my main machine and flash it that first time.
I finally got around to building my own Multisensor with ESPHome. Worked like a charm. Only issue I ran into was that one of my GROUND terminals on the NodeMCU did not work. So I had to make a jumper so I could ground two sensors to the same terminal on the board.
I was going to put two motion detectors on the Multisensor (using two different GPIO pins), but I think I did something wrong and the "magic smoke" got out of one of my AM312's and it doesn't work anymore :(
Either way, the Multisensor is a great project in ESPHome. Looking forward to writing some automations based on motion, lux and even temp/humidity. Thanks @digiblurDIY
That sucks about the smoke. Luckily they aren't too expensive. Have several of these around the house for automated lighting.
Thanks for all the awesomely informative videos!!!!
Glad you like them!
Excellent video, wish I had seen this before I started. Look forward to watching you new and old videos.
Wonderful!!! Thank you for explaining in very easy way.
Glad it was helpful!
Thank you very much for the video. Starter question: With a completely new NodeMCU, when you say in min 1:55 to attach with USB, you mean connect a USB cable from the computer to the USB of the NodeMCU?
Yes, connect a usb cable with proper data and power lines to either your computer or Rpi.
You would connect the NodeMCU to whatever system is running your Home Assistant with ESPHome on it. I screwed this up several times in the past by plugging a new device into my PC thinking it would work... until it dawned on me I need to have it plugged into my Raspberry Pi running HA / ESPHome. Also, if it doesn't see your device hooked to the USB port, try and restart the ESPHome add-on. It seems to help detect new devices on the USB ports if not automatically.
Connect the ESP to where your Home Assistant (HA) is installed on... (rasp pi but using web interface of HA from a PC)... if you still don't see the second option in the upper right for "xxxx/ttyUSBx", restart ESPHome from within HA and refresh the PC browser.
LOVE IT! been imagining such a sensor cluster. And here it is step by step. Thank you very much!
amazing video thank you so much for all the great tips 🙏🏻
Glad it was helpful!
I'm working on building a number of ESP32 media player units and adding some of these sensors would save money, I would think.
Thanks for this, GOOD explanation for a long time! Cheers
My pleasure!
Awesome video man, finally getting back to home automation stuff since the flood back in June. Thanks for the video man ~ Johnny Danger
best demo that I have seen using ESPHome and Home Assitant. Can you also also add a IR Tx Sensor to this bundle
Absolutely, this is basically a base to get your feet wet and add whatever sensors you want to make it fit your needs.
Best explanation that I understand! Thank you
Great to hear!
LOL your microphone is very good. Your keystrokes are very subtly coming out of my subwoofer. Scared the hell out of me at first - it's so subtle and such a weird noise.
I noticed that as well last night during a playback on a better sound system. Thanks for the confirmation as I will make some adjustments to isolate things.
Very good and well explained video, congratulations, and the question I have is, what is the action that will be taken after the motion sensor is triggered , if you are going to turn on a light for some time, how the lite can be kept on while this pir sensor detects motion
You'd have to create an automation with delay for the time period you want to turn the light on.
esphome.io/guides/automations.html#delay-action
got everything all set up and working great. Thank you for your detailed explanation the only question that I have is how do I set up the led for motion? I can turn it on and off and change the color but would like to turn it on and to blue when motion is detected. any help out be greatly appreciated.
You can make the automation on the device itself, HA or NodeRed.
I use this to turn the led on with motion on the wemos.
binary_sensor:
- platform: gpio
pin: D2
name: ${display_name} Motion
device_class: motion
on_press:
then:
- light.turn_on: ESPD4led
on_release:
then:
- light.turn_off: ESPD4led
Such a great tutorial.
You are a legend
keep up the nice work! Verry well explained!! 😁
Bonjour
Svp pourrez-vous faire un tutoriel sur la configuration d'un capteur pzem-004t dans esphome ?
Merci d'avance
If this video had included a parts list, I'd give it a 10!!! Without it, I'm giving it a 7.5. Maybe 8?? ~Frank
Sounds like your TH-cam doesn't have a video description, definitely give that a 2 out of 10.
@@digiblurDIY My apology, sir. Maybe I needed to refresh the page, because I do see it now. I'm not as young as I used to be. 10! ~Frank
All good! No apology necessary. Always fun to shoot a little odd humor around.
Hi, Thanks! very helpful, i noticed you did not use any MQTT configuration?
Correct. I used the API. Mqtt is an option though. I wanted to show how to do it differently with different software to folks. Adds those additonal tools to the mind for solving home automation issues.
Thanks you for another great video! One question like to ask; when we assign static ip, should we always use the ip outside the DHCP.
That does depend on the router as some as smart enough to not try to double issue an IP. But since I have used routers like this I always assign them outside the dhcp scope just to be safe.
@@digiblurDIY Thanks very much!
Great video, every thing explained very well. Thanks
Glad you enjoyed it!
Great! Thanks for this Travis!
Just to be clear - the USB connection for a first time flash, that's to the HA server, right? Not to the machine you are accessing the front end from?
correct, it was on my machine I had the esphome GUI running on. You can also hit compile on the GUI then hit the download binary button and send the BIN file over with other means to the nodemcu.
Hi, great video again!
I have some basic things like the Led Strip. For now these devices are controlled by Node-RED in MQTT, now with ESPHome, do you think there is a way to control these devices with the "Home Assistant" nodes?
Thanks and thanks for videos.
Yes, as long as you have it configured in Home Assistant you can control it in NodeRed.
@@digiblurDIY Thanks man.
I read in the documentation of ESPhome that there is a way to enable mqtt on the some sensors, in your opinion, is it better to enable mqtt to use it in NODE-RED or better to use as Nodes "Home Assistant" in Node-RED?
Do you have any videos showing Node-RED without mqtt? I searched but did not find.
Thanks again!
Travis, yet another great video. Thanks for the effort. Can you use a D1mini instead of NODEMCU
Absolutely, I even mentioned it in the initial setup as it is in the board list. The project supports pretty much anything you can install the program on that is esp8266/esp8285 or esp32 based.
Do you happen to know if you can subscribe to multiple MQTT topics on single Esphome device (esp8266)? I was thinking about this when you mentioned LEDs that tell you if your alarm system is armed. In that scenario, one MQTT topic could be for alarm system, and when the multisensor would receive a message on that topic, it would turn the LED red/green.
Pretty sure you can based on how the esphome config is setup to be flexible with multiple sensors. Typically you would have one topic for that with multiple payloads but multiple topics should work same. Or you could push over data to it via NodeRed automations. So many ways to do things.
esphome.io/components/text_sensor/mqtt_subscribe.html
following this video can i add a switch when pir tripped but switch is in ha not in esphome config file on_press:
then:
- switch.turn_on:switch.kitchen_lights
on_release:
then:
- switch.turn_off:switch.kitchen_lights
thanks
Great tutorial and well explained! I managed to get all 3 sensors working with wemos d1 mini, however pir sensor always giving me "detected" state... any idea what could be?
I would pull the PIR and try to toggle it via gnd.
Fantastic video just learnt so much, just started using esp home. With the sensors would you recommend a maximum cable distance from the sensor to the node mcu? Voltage drop will play a part at some point i guess
I can't say I've used more than 12 to 16 inches from the nodemcu on projects.
Thank you for the ESPHome videos. I am finding myself incredibly inspired by how quickly I can configure a new sensor. In fact I went a little wild and converted all of my SonOff plugs, and then did an ESP32 BLE hub (to bring outside MiFlora sensors into HA), and an ESP8285 Dog Water Bowl sensor. :D
I have run into a problem with the SonOff S31 plugs though. If I enable the cse7766 power sensor then the plug stops reporting and is seen as offline by HA, and on my high quality metal floor fan I can hear the motor groan when the relay is toggled momentarily. The plugs work perfectly if I disable the sensor.
Seeing you add an "update_interval" to your sensors makes me think that is worth a try. I was wondering if maybe it was freezing up because it is trying to push through more data than the chip can handle.
Nevermind. I just checked the documentation and update_interval defaults to 60 seconds. So that shouldn't be the problem.
Thanks for a great video. I used the 5mm Neopixel LED with a Ultrasonic distance sensor to create a parking assistant and it worked great. Now I'm trying to create a second one but I cannot get the Neopixel LED to display the correct color unless it connected either directly to the breadboard or with cable no longer that 8-inches. If the cable is longer, the colors are just random.
My setup is to change the light to GREEN when its safe to stop, ORANGE when getting too close for comfort and RED if it way-too close. Any suggestion would be greatly appreciated.
I've tried different cables, NodeMCU ESP8266, breadboard and Neopixel LED, but all with the same random lights if the cables are longer.
That's usually due to the voltage drop of data signal. You might need to do a 5v level shifter and run the LEDs at 5v power and shift the 3v3 data line up to 5v.
Thank you for this video , I made 6 of this sensors and now working to create a new 3D printed enclosure and to include a SSD1306 , even if not really needed but it will be nice to have it on my new enclosure. The problem is how to add the display to this configuration? Thanks
Have you followed this? esphome.io/components/display/ssd1306.html?highlight=ssd1306
Great guide. I do have a question. Will EspHome perform a function and check sensors at the same time? I am looking to use one to run a DC motor until a limit switch is met. Then stop the motor and display the status of the limit switch.
Yes. You can get very flexible with things as people use them for many projects with motors and such.
@@digiblurDIY after a little research, I found the "Endstop Cover" function was exactly what I was looking for. It works like a garage door with a limit switch at each end. Thanks for the help!
I'd love to see a video on how to automate this so the light turns on when there is motion but only when the light in the room is low. Or have you already done that?
Have you looked at the NodeRed series? I showed how I did this with lights.
@@digiblurDIY Ok mate I will look at it now. Love your work mate. Cheers for Australia
Hi mate thanks for this great video. You say first sensor should be activated with usb attached to hassio system. I'm using a virtualized hassio, should I pass a usb port from the host to the hassio guest VM in order to follow your guidelines? Thanks for all your great work.
You don't have to. I just compile the bin using the interface there. Download it and flash it with my local computer. Then once it is on the network, all future changes are done over the air.
Great video Travis! ESPHome definitely looks like a simple enough interface to bring all these sensors together. I'll have to try it - and probably get some help with it from you ;) - when I put the new version of my Kube multi-sensor together - I'm going to make it work with ESPEasy for a start, since I already wrote a plugin for it to work with the TE AmbiMate sensor board, but I'm wondering how hard it would be to make that board work with ESPHome, as well (it is I2C though it requires some specific messages back/forth to get the data).
Keep up the good work!
Definitely hit me up! Had to look those sensor boards up and they are pretty cool! Love some i2c!
Great Video! You speak about an earlier Video about the LDR on Minute 20:23. But i cant find. Do you have a link?
Probably talking about Bruh automation sensor module video.
Edit. Yep. Since I talk about building a second one, my first was off the Bruh sensor and this one was a modification of things as well as using Esphome.
@@digiblurDIY wow, your fast :) ok, will have a look on Bruh's Site. Thanks and keep going.
Edited my reply after I saw your edit with the time.
esphome.io/cookbook/bruh.html
can you post some information about your energy monitoring? it looks neat.
Yes I do have that in the works!
Do you have a newer version of this? Asking because I know these things change a lot over the years.
Not much has changed to be honest but I did a newer form factor for in the wall on my DIY Smart Home series.
Awesome Video! I'm trying to do a version of this with a D1 mini. I purchased the same PIR sensor that you are using. When i get everything wired up the PIR sensor just reads motion detected. it never goes clear. I have tried pins D3 and D4. any ideas what I'm doing wrong?
Have you tried other pins? I know the D4 has an external pull up resistor and might stop it from pulling down.
Yep that was it! Of course the two pins I tried both had pull up resistors. Tried a third pin and it worked like a charm!
As always, amazing video by the boss! :)
Hello. Totally stumped by a 502 error when trying to start ESPHome addon web interface. No errors in the addon log but the system log shows 20-02-18 20:08:37 INFO (SyncWorker_19) [hassio.docker.addon] Start Docker add-on esphome/esphome-hassio-armv7 with version 1.14.3
20-02-18 20:08:37 INFO (MainThread) [hassio.api.security] /host/info access from 15ef4d2f_esphome
20-02-18 20:09:13 ERROR (MainThread) [hassio.api.ingress] Ingress error: Cannot connect to host 172.30.32.1:62939 ssl:None [Operation timed out]
No solution found so far Googling or on Discord server :( Stumped :( (and stil 20 minutes of your video after that step)...
I just added ESPHome to a build a bit earlier, it did take a minute for the docker to start up even on the Pi4 but once it did I was able to hit add to sidebar and see the GUI.
Has anyone had luck with the Olimex ESP32-POE? It is documented in the esphome.io website. But when I put in the ethernet: section that the website says and I comment out the WIFI: section. It says it fails because this requires wifi. I was able to use esphome to upload and work as a wifi module. But I would like to get the hardwired option to work and move away from wifi.
comment out the "captive portal:" and ESPhome loads perfectly.
Shouldn't you need a resistor between the MCU and the RGB led since the current output from the MCU is 40 milliAmp and the LED's forward current is 20 milliAmp (in which case the resistor needed would be around 100 Ohm since the pin outputs 3.3 Volts considering the LED's voltage drop) ?
Guess not. Have several working great for over a year now and some stay on 100%
excellent, thanks for sharing!
Very good video, very well explained.
Very nice video! I got a question. Is it possible to add Wled control to this configuration?
You can flash it with any firmware you want.
Hey Travis, this was again, a great tutorial that was so easy that an idiot like me could follow it.
I do have a question...is there a way to calibrate these sensors? The humidity has always worked well, but the temperature , which was correct at the start, is no longer working correctly. I’m hoping that maybe there’s a way to calibrate this sensor so that it works correctly again. Thanks again for all you do.
Yes, you could always apply a sensor filter to change any values as needed - esphome.io/components/sensor/index.html?highlight=filters#sensor-filters
@@digiblurDIY thank you very much! It’s amazing how much can be done with threes little devices.
Man I’ve seen this video several times and I learn something new each time I see it. Thanks for sharing. Is there any advantage to use and I2C sensor, sorry if it is and stupid question.
Nah.. Not stupid. I2C is usually just a tried and true protocol for integrated circuits doing sensors.
Another thing I am looking to set up some smart LED.s that will display a Color for a temp IE" 60-65 Light blue, 66-70 Dark blue, 71-75 Pale Yellow" and so on ? can this be done with home assistant reading the temp for a weather service?
Yes, definitely doable via an HA automation, NodeRed, etc.
@@digiblurDIY Thank You. I was hoping I would not have to try and write a bunch of code "that I kind of understand but maybe only 30%" and then get so frstrustated and just leave it sitting there in a pile and give up . When I start installing . I hope if i have any questions I can Pick your brain for info. Thanks again you have set me on the right path for what I would like to do n my home
I wish someone would come up with a wizard-like configuration suite for ESPHome/Tasmota. I love iot stuff, but the amount of configuration involved is offputting to me. Even a GUI to view Tasmota rules and use a few dropdowns to change parameters would be game changing.
Thanks for the video, can't wait to try this! Also, digiblur from SDX or nah?
SDX short for something?
@@digiblurDIY SDX Developers. But actually I might just have recognized your name from S4GRU it seems. Anyways, thanks for the video!
Used to do things on XDA and S4GRU as well. Small world.
I am working on a similar project but with ESP32 board and enabling also Bluetooth BLE scanning. Instead of DHT22, I am using a sensor HTU21D which has pretty accurate readings the only problem is that after some X time it starts to report always the same value. I did a duplicate setup of the first one and the same issue appears, not sure what's causing this. The other sensors light (TEMT6000) and the RGB led remains responsive and work as should. Would be easier to move to DHT22 I think.
thanks for the vid,, it looks very easy...Do you know if its has Rules and can operate a MCP23017 ...
looking through the site I do not see it...
also after its up and running does it has a web UI like tasmota so you can look at all devices that are connected to the pins?
Looks like the closest you can get to that chip is the esphome.io/components/pcf8574.html I don't have one to know if it can be seen on the web UI. I had two segments showing a couple internal rules but I had to cut them due to length.
Hi, I've got a 8 pixel bar LED, how can I control each LED as though it was a seperate light with three channels? I can get it setup as a block by telling ESP that it has 8 pixels, but can't seem to work out how to expose each LED separately... Any ideas? thanks
Any good co2 sensor? I know it's a old video 😂
I haven't researched any myself, just haven't had the need just yet.
@@digiblurDIY Found a TZT teng MQ7 MQ-7 Carbon Monoxide CO Gas Alarm Sensor on aliexpress :)
nice, very well done :)
but! Why prefer this to espeasy, which allows pretty much the same things without ever see a line of code/yaml, and without having to recompile anything or the need of a container or other to code it, and doing everything via a very easy web gui?
I haven't messed with ESPEasy too much as I found it had a few issues in the past which could be fixed by now then combined with the 2 step flashing thing for 1 meg ESP chips I haven't gone back to it much. I'll have to take a look at it again and see what has changed. Recompiling is no issue on ESPHome though it only takes 15-20 seconds on my older box and it also makes for small and efficient binary. Pros and cons to all the features of course.
@@digiblurDIY thanks
Hi, thanks a lot for the video! I have tried this setup, but when flashing my board I get the warning "Invalid readings! Please check your wiring (pull-up resistor, pin number)." and both temperature and humidity sensors return nan. Is there something I could be doing wrong? I checked the wirings many times
Will it flash without any sensors connected?
@@digiblurDIY yes that works fine! The flashing in itself is also working with the sensors (it connects to the wifi and I can ping it from another device), it is just that the board reads some values it recognizes as nan from the DHT22 sensors
Great Video...this work on wemos d1 mini?
Yes it does, just have to figure out a way to join the gnds and 3v3s.
Hi, thank you for a very useful and clear tutorial. I've followed carefully all steps but I cannot figurate out what I'm doing wrong because the binary sensor refuses to be shown. I've integrated the DHT without any issue, I could add it to the Lovelace without any trouble, but I'm stuck with the PIR sensor. The yaml file contains the standard parameters for the NodeMcu and I have only added:
sensor:
- platform: dht
pin: D7
model: dht11
temperature:
name: "Temperature"
humidity:
name: "Humidity"
update_interval: 20s
binary_sensor:
- platform: gpio
pin: D8
name: "PIRNodeMcu"
device_class: motion
Any lead why the binary sensor doesn't work?
Thank you in advance
Did you try another GPIO pin? I know D8 is different than others being a pull down.
@@digiblurDIY I've tried with D6 and the same behavior. I gave up for a while and could integrate an Oled display without any issue. It's really strange, it should be very easy to get a binary sensor working.. but still struggling with it :(
Try with just a jumper wire. The PIR typically is low when no motion.
@@digiblurDIY Sorry, I didn't get you... a jumper between which pins?
Depending on the pin you have used. Either 3v3 or GND to pull up or pull down the GPIO pin you have configured.
I have followed your video and have a question. I cannot find the esphomeyaml you show? Help
They changed the name to ESPHome a while back.
@@digiblurDIY I still cannot make it work. One thing I am using HACS version of Home asst. I there a way to make this work with HACS or only HASSIO? Sorry to be so lame but very new, so many acronyms. Thanks al
Does the PIR have any better function on 5v vs 3v3? I have 1 that doesn't detect as well as I think it should.
Not that I have found as it has a voltage regulator anyways. Mainly done since it can use 5vdc and other things needed the 3.3 pins.
How come you added ESPD4led for the light?
The NodeMCU has two onboard LEDs. I had video footage of showing how to add this and do an internal automation of triggering this LED when the motion was detected but ultimately had to cut it due to the video already being too long. I left it in the example for folks to play with.
Does it have to be a Static IP in the esp, or could it be a reserved address?
I have DHCP running, but .local addresses won't resolve correctly with my DNS setup so I have to use a static IP for ESPHome can know where to look.
What I do is, install first time w/o IP. Then reserve up on DHCP and then mention static ip in yaml
Hello Travis, Does the clamp output an AC sine wave, and if it does, would the negative voltage affect the board when you connect it to A0. Would it be necessary to rectify the clamp output to DC before feeding it to A0 or would that be unnecessary.
You could do that as I have worked with some clamps in other fields that had a 1v-5vdc output. The current implementation of the CT clamp sensor in Esphome uses emonlib based off of adding a DC bias to the signal. learn.openenergymonitor.org/electricity-monitoring/ct-sensors/interface-with-arduino
Have you got or can you recomend a video on filters and calibration? I have lots of DHT22's that all read different temps when side by side....? Thanks
That's the nature of the beast with those DHT22's or really any temperature sensor. You can try to calibrate them but the calibration really isn't linear. Here's what I've used before: esphome.io/components/sensor/index.html#sensor-filters
So, why does the Home Assistants keep esphome configs separate from the main configuration.yaml? Does hass.io automatically include all the yaml configs from the esphome folder? No need to include them explicitly in the configuration.yaml?
ESPHome is a separate app and you don't even need Home Assistant to use ESPHome. They would have to build it into HA itself which that is probably not going to happen.
hej, how does one attach a push button to this thing and to HA, latching and non latching
Besides not having to deal with MQTT, what are the main advantages of using ESPHOME instead of Tasmota?
You can turn on MQTT over the API in Esphome. There's really a ton of differences. Pros and cons to both. Tasmota has a nice web GUI where Esphome does not. Esphome handles the ESP32 world with ease, Tasmota does not. The sensor setups are different. Esphome might offer some performance which would be noticeable on a PIR sensor for lighting. Tasmota offers a GUI/MQTT to change rules and settings on the fly, where Esphome you have to reflash. Many other differences, and I really won't say one is better than the other because it all depends on the type of smart home integration you attempting to solve with the unit.
@@digiblurDIY thanks a lot. I really appreciated your explanation and your video. Keep up the good work!