The fp1 is amazing. I spent months/years trying different combos of door contacts and motion detectors to detect presence in the bathroom and when in the shower, but nothing short of pressing a button to set my system into "shower mode" worked well. That all changed as soon as I received the fp1. Not only does it perfectly detect someone being in the bathroom, it detects through the shower curtain, and it even detected me in the shower when I accidentally put my clothes directly in front of the device. I was able to remove all other devices and complex node-red flows minus one aqara motion detector to more quickly trigger the lights to turn on as it takes a few seconds longer for the fp1 to determine that there is an actual person in the room, where as a normal motion detector is nearly instant. I then only have to use the fp1's "off" mode when presence is no longer detected to turn the light off. There is no trouble in between anymore of lights going off when using the toilet or in the shower.
9:00 by the way since you were speculating on this you are correct a 60ghz mmwave sensor is far more sensitive even being capable of detecting heartbeats and breathing which is why its so much more reliable than the 24ghz one when detecting sleeping humans, although it does this at a much lower range than a 24ghz module. To be fair the dfrobot sensor does specifically say in the instructions and even shows pictures to install the sensor directly above or under the bed when using it for that purpose. Seeed studio actually has a 60hz module for sale on amazon currently if you want to read about it maybe even test it. ............... seeed studio mr60fda1 60ghz mmwave sensor
@@ezradmello7021 Yeah I get that but for what purpose? Just curious. Usually you use these for turning on lights but you don't want lights on when you are sleeping.
2 ปีที่แล้ว +1
It's actually the opposite. You'd use this as a bed occupancy sensor so you can tell when you're in bed or sleeping. Ex: Slowly dim and turn off the lights if it's night time and presence is detected at the bed.
Would be much easier to use a breadboard and jumpers than soldering. It may seem daunting but it gets pretty fun (and maybe a little addicting) after a few attempts.
This is so awesome! Presence detection has always been a pain point but this seems to be the perfect solution. Cant wait for more commercially made projects to be readily available with MMW
This is awesome! Would be great to have some sort of documentation for this. So a buylist together with the step by step manual to put this together. Same for the STL file of printing a case. Maybe an idea when a V2 will be released? XD can't wait! Great idea!
I came back to this video for just half of this and I would be happy if that is all I found. The parts list in the description is decent but not very detailed, once the links die it will be harder to find later. The lack of STL files and the updated code mentioned in the video is the worst part though... I wanted to make 5 of these but make some tweaks and the lack of code really hurts. I am pretty disappointed as it seems this project is already been abandoned by Everything Smart Home.
Well, this comment didn't age well 😜 This project is very much alive as you can see :) I will make a DIY version available at some point - truth be told this video was never intended to be a "guide" on how to do it, I more wanted to show it off - but lots have asked for one so I will chuck some stuff up at some point, I am currently very busy making this a full fledged product for people to buy, but once that's done then I will try to make a DIY guide for those who prefer that route - I don't know how long that will be though, so meantime if you have any questions at all about how to make this, Discord is the best place - there is tons of information and discussion about this sensor there and more than happy to help
I don't think it is so awesome - incorporating few sensors as one and using lot of mcu interfaces is overkill. Probably better idea to use radar presence detector sensors like LD2410
I would absolutely love to see a zigbee version of this! I have a bunch of ESP32-CAM cameras already, and they're a bit unreliable with regards to connectivity. The zigbee devices I have seem to be much more consistent. Also, I love the lower power draw. If there was a zigbee version of this, I'd probably order a bunch.
Thanks for listening to my suggestion: This will be the most interesting upload you have done so far since this is such an important feature most smart homes lack.
Other than the fact that I might have to actually get better at soldering, this video and its predecessor are right up my alley. Well, at least it's where I want to be but need to put in some effort first. Thanks so much for this. Once again Kudos to you sir!
Air quality is something nice to add. Apart from your suggestion to add a particle sensor I would add a CO2 sensor like the SCD30. That will tell you when you have to ventilate the room. Forgot to compliment you on this nice video…
Congrats on the nice build! A few tips: For air quality rather than a PM sensor I use co2 sensors (the senseair s8). I use it to control my ventilation system. It also helps detect whether there are people in the house. For the update frequency of the sensors I have the esp32 check the value every few seconds but only report this value to home Assistant if there is a change bigger than a specific value. This way I get more or less instant updates but without spamming home Assistant and my wifi network. I've added a screen to my sensor where I can see the data of my sensors including charts. Took a while to figure out how to do it in ESPHOME but pretty cool. The screen is off by default and turns on when the PIR sensor or microwave sensors which I'm using detect me. I also have an RGB LED that at a glance shows me the air quality (a gradient from green to red). The brightness of the LED is controlled by the light sensor. I suspect you are not going to put a cover in front of your multisensor, but if you do: you'll need to place your BME280 outside the case, otherwise readings will be off. Same of course for light sensors etc. What I'm struggling the most with is finding a reliable humidity/temperature sensor, but I'm pretty sure the problem is that I'm a cheapskate and am buying from AliExpress which are probably knockoffs.
Verrrry nice! Good work! I‘d seen a link to your website with the words „written article“… but i can‘t find anything on the website…? A wiring diagram and a .bin file for the ESP would make it very easy to make one. I couldn’t help making a connection drawing if you want.
This is a pretty cool all in one sensor. I've been following crlogic's work over on HA too. I do have a few questions/challenges for you though: Why did you spend more money on STEMA/QT compatible sensors, proceed to solder them to a proto board, and them talk about the overall footprint being too big? In an effort to appeal to a larger audience, a fair number of the Pimoroni and Adafruit sensors are much larger than some of the more basic offerings, but offer more functionality (generally have a voltage regulator and level shifter to accept both 3.3V or 5V inputs, and have STEMA/QT connectors for no-solder connection options.) For example, a generic BME280 is 11x14mm vs 19x19 for the Pimoroni, and a generic BH1750 is 18.5x14mm vs 26x18mm for the Adafruit (~50% difference!). You do have to watch out for counterfeit sensors on some of the cheaper versions though. For a prototype board, why didn't you use headers for attaching the sensors to the board? You definitely had the room to do it for this iteration, and it would have allowed you to swap out sensors during testing and future iterations if need be. The BME280 sensor is very precise on its own, but most of the circuit implementations suffer from heatsoak that skew the temps at least 2* higher than actual. Putting the chip in sleep mode between readings, and adjusting the heater circuity can help, but mounting it directly above an inverted ESP32 chip is not going to do anything for accuracy.
Do you have your ESP firmware available to share? This is a great product, I want to test this setup and then I plan on making a nice compact custom PCB. Cheers for the video!
Another awesome project Lewis, well done! 👏🏻 Apparently the IKEA Vindriktning air quality sensor is reliable and can be hacked to connect to the ESP boards.
For rapid prototyping and permanent projects I got a fan of the wire wrapping and the glue gun. in comparison with a breadboard or a prototype board you can get quite quick a breakout board aggregate, works with most pin spacing and the glue gun fixes the wires on the pins and the position of the boards. Also most time no solder fumes :)
Thanks! I’m looking forward to build a couple of these for my home. Do you have any idea of the power consumption of a single unit? Can it be realistically powered off replaceable or rechargeable batteries?
Nice device. There are some sensors that I prefer to the ones you picked that might be of interest. Firstly, if you want to add PM10/PM2.5 the NOVA SDS011 is very good even compared with sensors several orders of magnitude more expensive, honestly, for £15 it's shockingly good. Second, for humidity measurement I've found the BME series sensors don't tend to give accurate humidity readings. The SI7021/HTU21D are good alternatives but lack atmospheric pressure so it's a trade off, it has a different I2C address so you could try both in the same device and see which gives the most sane readings or have both or use the BMP180 instead. For light levels the VEML6040 gives colour temperature as well as Lux which could be handy if you want your lights to match ambient conditions, unfortunately it's not built into ESPHome, but could be added as a custom sensor.
A lot of the industrial HVAC occupancy sensors use CO2. Because people breath roughly the same amount you can judge the amount of people based on the curve of CO2. It's also a fresh air thing. Cool project man. Keep up the good work
You should totally design a PCB for this! I’d love to make one, but I’m not great at PCB design. I’d hate to get started just to realize I have to restart due to a bad design.
I love it .. the mmwave is pure gold for presence, and getting the other sensors in there as well, really starts to make this a perfect smart home sensor solution
Yes I would like to have such sensor in my house. The only thing I'm questioning is how it would cope with pets (e.g. a cat). Is this something you would handle by software or could it be done differently? Great video, thanks!
You swine!! Just after I completed the first version using the mmWave sensor, you come out with this! Seriously, a great video and another fantastic project. I will be attempting this upgrade as soon as I can.
@@EverythingSmartHome Just snagged another mmwave sensor. When it comes, I'll have all the parts to build this multi-sensor. All I need is the schematic and the code to make it work!!! I can't figure it out from the video alone. Any chance you might make this available soon? Many thanks.
if you are into sensors, look at the mysensors project. it integrates well with HA. I have battery powered temp/hum/lux/pir all over my house. works great.
Great product! I understand your reasoning behind excluding it, but I would have loved to see an air quality, or at least CO2 sensor in here as well for automating fans or air circulators.
I'd love to see this more compact, in a unit like the Aeotec multi-sensor. I wonder how difficult it would be to reverse engineer those boards and create a single PCB with every component neatly installed together. I also wonder if there is redundancy across the boards, as I assume they'd have circuits performing similar functions and therefore using similar components repeatedly.
This video was extremely informative, thx! The speed comparison between PIR and mmWave was great, I never thought of testing it that way and always felt that mmWave was faster - guess that was confirmation bias after all (or something else entirely, like network or esphome related stuff)!
@Everything Smart Home - A lux sensor does allow you to decide whether to turn the lights on or off, as you mention. For enhancing this, consider using the lux sensor as an input to a PID regulator with whatever setpoint you'd like. This is called daylight regulation or daylight compensated lighting, and is common in commercial applications because it saves a lot of energy by only "supplementing" whatever light you need in addition to the natural light from windows and such. But it's also very comfortable since room-to-room, you'll experience less variation in brightness which makes transistions more comfortable. It also lets your lights dim slowly on as dusk falls with 100 % accuracy, rather than alternative solutions that fall short, such as sunset timers, etc. You'd typically set a minimum brightness level, so if the PID regulator for example outputs 8 %, you might have a minimum threshold of 10 or 15 %, and thus cut off the light instead. And you'd also often need an auto/manual helper object that automatically gets changed to manual whenever physical switches or UI switches change the light level. Often, it's good to transition back to auto if no presense for X minutes (typically a much longer value though, like 60-120 minutes). If you then want different responses from your lights in different situations (say; nightly visits to the WC), instead of implementing these as a set percentage of output, you can simply vary the setpoint of the PID regulator automatically. If you foresee the setpoints being changed while lights are on, add a numeric delay / ramp function to the setpoint input, so that it never changes faster than some rate, for example 5 lux per second. A common problem is that you'll have less uniform light in a home and say, an office. This is "fixed" by applying a percentage factor to each light to account for the lights contributing differently. For example, a table light might contribute less than your overhead lights. So it may get a 140 % factor, which enables it to shine brighter to compensate for this difference.
Interesting read, thanks! You can create an automation that can be something like trigger when lux < x with a condition that there is someone present in the room, I think that's what he meant.
I love the PIR esp8266 combo. Never thought of going w/ a higher quality sensor though. That is a huge step forward. Impressive project!!! Definitely something worth buying assembled to support/further your r&d. Well done.
Very nicely done! I've the same question as some other users: could you kindly measure the actual power usage of the device? I'm not convinced the power usage is minimal, especially if you would install sensors in all rooms in the house. Things can add up pretty fast.
Enjoying all the videos related to this DIY sensor. That's a great prototype case. Are the STL available? I can see it useful to prototype many different combinations.
This is absolutely fantastic! I'm going to give building one a go. I was looking to do room temperature sensors, and maybe figure out room presence, but WOW this does it all, plus light level. Air quality could be useful, but like you said to add that would greatly increase the bulk of the design, at least right now.
Yeah a full build would def. be appreciated. Any plans for that? :) especially the code is needed as I haven't had the chance to play around with esp home and that new Sensors so far.
Very nice build! I ended up using the energy meter that measures solar generation as a proxy for daylight levels. That avoids the light sensor picking up the brightness of the room lighting.
Nice job there Lewis! Those are the things a big brand needs to get running on PoE mountable as a "wall-switch"-sensor-module. Or even ZigBee and direct wired to the mains-voltage. I really wished you could say anything about the power-consumption of your projects, as energy is a big concern of mine when talking about those designs. Would love to hear from you!
Thanks! PoE would be cool! I usually would talk about power consumption, but it's literally so low on these projects it's generally not a concern, we are talking a very tiny amount of power that you won't notice at all in day to day, even in the current climate!
Poe would be ideal for these, have though about something like this, ceiling mounted and fully enclosed. Also an led chip for a nightlight. I love the very low level light a Ring Protect gives off at night when you walk under it. Perhaps when it has wired power, a zigbee repeater(for other devicesl, if there is something suitable that could fit into it.
@@EverythingSmartHome I guess you not done with it yet you seem like you will add 10 extra features on the next one you build for another room at yours. So would be great if we can see detailed build. Thank you. Ps have not spotted in your videos what you do for living but you should be paid big big money for making these. Make your own brand 💰💰
Ever considered getting a custom pcb made up so that you don’t have to stack a bunch of boards? You could even get pcway to solder it all together and make something tiny
Excellent video! I’ve had bad luck with the PIRs I’ve purchased. The link in your video should get me a decent PIR. Using a HiLink HLK-LD2410C-p for microwave sensor. BME280 for temp and humidity. Then VCNL 4010 proximity, light sensor. Replacing all my esp8266 project with ESP32’s. Some with Pi Pico’s, using Micropython.
Thank you for this very helpful video! I've not tried this setup yet but on many occasions struggle to solder properly due to the solders I have had or tried, would be helpful if you have a link to the one you use or one similar to get. Thanks
I'm definitely keen to try this, but I can't get hold of the sensor. Seeed have some interesting ones that might work. Perhaps I'll do some experimenting...
Great work, 👏 would be nice to see some content around how to setup automation between temp sensors and AC temperature control - keen to understand what would be the best approach to build such relationship considering energy efficiency for the AC
I have 2 ideas. First, have you ever heard of a volumetric sensor? it reads the volume of material in a room then triggers when that volume changes. Cars use these to set off the alarm should someone manage to get inside your vehicle without opening a door, if you've even stuck your arm through an open window of a locked car and had the alarm go off, this is the volumetric sensor doing its job. Secondly, could you use a series of Bluetooth BLE sensors placed strategically around the house to triangulate the precise location of any phone with BLE enabled? like if you put a Bluetooth module in each corner of the house and maybe one in the centre somewhere, you could theoretically use the distance data to let home assistant know exactly where you are, it would take quite a bit of setting up with trial and error but once you've figured out the numbers, I'm sure you could have a pretty decent presence detection system.
It's an interesting idea, I think I prefer the mmWave though for movement. And yep that's the whole idea behind Bluetooth being enabled on the device already 😅
Great video as always, just wished it was more detailed. For Example on what Pins was connect to what on the esp-wroom-32 and the mmsensor :/ But I look forward to the writting artikel :D Have one question: The mmsensor needs 3,6-5v, but the esp-wroom-32 only has 3,3v output pin, so did you connect the voldtage pin on the mmsensor to something else? 🤔 Ps. I have never done this before so might have misunderatood something :p
Yes! It's been weeks I 'm thinking that using an ESP should be for multiple purposes. I thought of many possibilities but the idea to put all sensors around one D1 mini is excellent. Maybe I would add a microphone.
Great video and work!! For me I would love to have an all in one solution. Your sensor paired with humidity, air quality, co2 and smoke sensor (with optional pinhole camera, where you can use the mic for Siri or Alexa). All working via a LAN cable (power and data) and all in a ceiling mounted Smoke Sensor enclosure. Of course HomeKit compatible 😀. No Switches no nothing just one sensor on the ceiling and some in wall speakers and underfloor heating
Nice build ! Might also add a perfect presence detection sensor to my ToDo list. I agree that even if the price is pretty much the same, functionnalities are way better. Thanks for the inspiration and keep up the good work !
Hi Lewis. Love the sensor build but I am seeking some advice. Living in Australia in the 3 main rooms I want to put them in we have ceiling fans. Ceiling fans run 24/7/365. Aqara PIR sensors do not pick up their movement. Have you done any testing or have experience on how fans impact on your sensor compared to the FP1. Thanks mate.
This is really a great video on a very interesting project. It seems to me that this sensor has all the functions I need. I would like to rebuild the sensor to use it in several rooms. Unfortunately, my knowledge of electronics is not sufficient to rebuild the project with the available information. Therefore the question, will you publish a detailed plan and if so, when?
Fantastic build, It make the Hive system look like a gimmick. (which I think it is) The problem I have notice with the radiator wax thermostats is by the time the radiator thermostat decides to turn down it is to late, the radiator is full of hot water and the room is too hot, eventually it levels off and works correctly. Is there a way of controlling this event from a cold start, of the radiator letting too much hot water through from cold. I realise I will need to get so called smart radiator thermostats, but how to control this is something else. Any thoughts would be great. thank you
Great video👍. As a tinkerer I'm would love to make a few of these rather than buy. Any chance of linking a circuit diagram in the description? And your pilot newsletter was 👍 thanks for that! I added a few automation from it. Just a thought the base, you could 3d print a plug mount so you can get the thing off the worktops like you can get for the Echo Dot.
This is absolutely awesome. Something I would love to build as well. But I have gone to your web site but cant find a wiring diagram and also not the code you used? Is this something you still have somewhere to share with us please?
Great vid! I’m keen to know more about your decisions on espresence vs straight esphome for Bluetooth detection. Was it just the limited range of sensors for espresence? And what does Esphome give you that espresence doesn’t? I’m a few days away from placing a parts order to do espresence so keen to know if I shouldn’t!
Thanks for the informative well explained video! I have the same experience like @mortensentim511 with the BME280 - hum% 15-25% too low and temperature about 4°C too high. Also putting apart from heat sources like the ESP and after conditioning. Maybe the special soldering process was not maintained, it was on such break-out board delivered. Alternative #1 I tried was a SHT31. Provides much more accurate hum% and temp values. Alternative #2 which works even better for my needs: BME680. Very accurate, plus it adds a nice extra of VOC measurement. Fully integrated in ESPHome! Recommendation - use the bme680_bsec library, not the standard one. You will enjoy the much better AQI and other calibration routines in the background and calibration status etc. Plus you get a "CO2 equivalent", which is not too far off from a real CO2 sensor, side-by-side compared. For my purpose, sitting in home office for hours and needing a kick in the pants when to open the window it is the perfect match :) BTW, particulate matter is interesting, but it will tell you that actually opening the window will *increase* the particle concentration, and it will get better when the window is closed. This is more for a kitchen or workshop I believe.
@@EverythingSmartHome ok understood, that's the reason why you don't react on questions like "Can we find the written article?" or "Could you please post the code?". It would be good if you openly communicate this (e.g. in your video description). Up to now I found your videos motivating and inspiring for DIY projects. But finally it's all about making money ;).
> "A few weeks ago, I took you through a custom built room presence sensor". I went back to look for that video and it doesn't seem to be there, did you remove it? As I recall, it had more informaiton on the build (or am I going mad). I now have all the components and wanted to build one myself, but i can't find the more detailed instrucitons (the written article doesn't seem to be on the website either). Can you point me in the direciton of more drtailed build instrucitons, or am i on my own now?
Inclusion of lux sensor is great, i have some zwave/zigbee pir sensors with lux and this value is slow to change, so i use this value as condition in automation only for one light. Would be great to include some battery, so it can work even when power goes out - to be able to use it as part of alarm system (alarmo) when i'm not at home.
10 หลายเดือนก่อน
Hello, will be sensors available to buy again please?
Hi Lewis , that is the greatest Presence Detection Sensor ever. the ones I ordered and installed had some delays in ditecting movement and presence and most of the time did not function as i hoped for. i wonder if I could buy from you a complete built "Smart Home Presence Detection Sensor" with the software? 🙏
I'd be interested to hear if you've used them both in a corner of a larger room. I have the DIY one setup in the far corner of our living room and even though the FOV and distance should be well within its range it does quite often fail to detect consistently. In your example of waving a hand in front of it, mine works fine too. Perhaps it's more suited to the office desk than a larger living room. Hopefully I'll pick up a FP1 when they drop to around the £30 mark!
Really cool! I'll probably wait to do something like this until thread is on esphome on the esp32-h2; the ZigBee functionally is pretty significant to me with an already-fun amount of devices on my wifi network.
The biggest value add for me would be using Bluetooth as a “human check” instead of a customization option. In the case of pets all of your examples would lead to a dance party in the event of cats or dogs in the house, is it possible to use Bluetooth to prevent that?
Great Video. I love this. I was just thinking of making something like this but I am just getting started on my automation journey. Do you have the plans for the wiring and the code somewhere we can check out and learn from.
Do you have a written guide? The link in the description takes me to your website, but despite searching for it and scrolling for a solid five minutes. I have been unable to locate any type of written guide on how to make this.
Brilliant! I really need to dig out my soldering iron, currently using Hubitat with Hue motion sensors and they do the job. But, at some point when I'm time rich, I'll be moving onto Home Assistant (assuming I can purchase the hardware, global chip shortage and all).
The fp1 is amazing. I spent months/years trying different combos of door contacts and motion detectors to detect presence in the bathroom and when in the shower, but nothing short of pressing a button to set my system into "shower mode" worked well. That all changed as soon as I received the fp1. Not only does it perfectly detect someone being in the bathroom, it detects through the shower curtain, and it even detected me in the shower when I accidentally put my clothes directly in front of the device.
I was able to remove all other devices and complex node-red flows minus one aqara motion detector to more quickly trigger the lights to turn on as it takes a few seconds longer for the fp1 to determine that there is an actual person in the room, where as a normal motion detector is nearly instant. I then only have to use the fp1's "off" mode when presence is no longer detected to turn the light off. There is no trouble in between anymore of lights going off when using the toilet or in the shower.
9:00 by the way since you were speculating on this you are correct a 60ghz mmwave sensor is far more sensitive even being capable of detecting heartbeats and breathing which is why its so much more reliable than the 24ghz one when detecting sleeping humans, although it does this at a much lower range than a 24ghz module. To be fair the dfrobot sensor does specifically say in the instructions and even shows pictures to install the sensor directly above or under the bed when using it for that purpose. Seeed studio actually has a 60hz module for sale on amazon currently if you want to read about it maybe even test it. ............... seeed studio mr60fda1 60ghz mmwave sensor
Thanks!
Can I ask - because I don't see it - what the benefit is of being able to detect motion from a sleeping person?
@@JohnVanderbeck presence detection in a room after the occupant has gone motionless in bed
@@ezradmello7021 Yeah I get that but for what purpose? Just curious. Usually you use these for turning on lights but you don't want lights on when you are sleeping.
It's actually the opposite.
You'd use this as a bed occupancy sensor so you can tell when you're in bed or sleeping.
Ex: Slowly dim and turn off the lights if it's night time and presence is detected at the bed.
Would love to buy a few of these without having to buy the components and assemble, but appreciate that this is such a great solution.
Well you never know...
Would be much easier to use a breadboard and jumpers than soldering. It may seem daunting but it gets pretty fun (and maybe a little addicting) after a few attempts.
oh geez me to! Id buy 4/5 right away! these things are great and i font have the time for building them.
@@EverythingSmartHome could these sensors work with hubitat too?
I would 100% buy a bunch of these!
Great video! I loved that you built your own sensor that does everything you need. Makes me want to build one for each room in my house.
Thanks Steve, appreciate that!
This is so awesome! Presence detection has always been a pain point but this seems to be the perfect solution. Cant wait for more commercially made projects to be readily available with MMW
Haha thanks, I agree!!
This is awesome! Would be great to have some sort of documentation for this. So a buylist together with the step by step manual to put this together. Same for the STL file of printing a case. Maybe an idea when a V2 will be released? XD can't wait! Great idea!
I came back to this video for just half of this and I would be happy if that is all I found.
The parts list in the description is decent but not very detailed, once the links die it will be harder to find later.
The lack of STL files and the updated code mentioned in the video is the worst part though... I wanted to make 5 of these but make some tweaks and the lack of code really hurts. I am pretty disappointed as it seems this project is already been abandoned by Everything Smart Home.
Well, this comment didn't age well 😜 This project is very much alive as you can see :)
I will make a DIY version available at some point - truth be told this video was never intended to be a "guide" on how to do it, I more wanted to show it off - but lots have asked for one so I will chuck some stuff up at some point, I am currently very busy making this a full fledged product for people to buy, but once that's done then I will try to make a DIY guide for those who prefer that route - I don't know how long that will be though, so meantime if you have any questions at all about how to make this, Discord is the best place - there is tons of information and discussion about this sensor there and more than happy to help
@@EverythingSmartHome thanks for the great response! Awesome this project is still alive and kickin!
@@EverythingSmartHome really hope you can have a version with air quality sensor. Congrats BTW
I don't think it is so awesome - incorporating few sensors as one and using lot of mcu interfaces is overkill. Probably better idea to use radar presence detector sensors like LD2410
Great video. Do you have a diagram showing all of the connections you made from each component ?
Had this idea of combining sensor together per room since a while. The mm wave is a game changer. Thanks for the inspiration.
Thanks for watching!
I would absolutely love to see a zigbee version of this! I have a bunch of ESP32-CAM cameras already, and they're a bit unreliable with regards to connectivity. The zigbee devices I have seem to be much more consistent. Also, I love the lower power draw.
If there was a zigbee version of this, I'd probably order a bunch.
Thanks for listening to my suggestion: This will be the most interesting upload you have done so far since this is such an important feature most smart homes lack.
Thanks, glad you liked it!
RF Engineer here, seems like a fun project to put into one PCB. Thanks for sharing.
Thanks, that was the whole idea! Appreciate it!
Other than the fact that I might have to actually get better at soldering, this video and its predecessor are right up my alley. Well, at least it's where I want to be but need to put in some effort first. Thanks so much for this. Once again Kudos to you sir!
Air quality is something nice to add. Apart from your suggestion to add a particle sensor I would add a CO2 sensor like the SCD30. That will tell you when you have to ventilate the room.
Forgot to compliment you on this nice video…
This was essentially going to be my reply...swap out the bme280 for an scd41, and add co2 to the measurements I believe?
Congrats on the nice build!
A few tips:
For air quality rather than a PM sensor I use co2 sensors (the senseair s8). I use it to control my ventilation system. It also helps detect whether there are people in the house.
For the update frequency of the sensors I have the esp32 check the value every few seconds but only report this value to home Assistant if there is a change bigger than a specific value. This way I get more or less instant updates but without spamming home Assistant and my wifi network.
I've added a screen to my sensor where I can see the data of my sensors including charts. Took a while to figure out how to do it in ESPHOME but pretty cool. The screen is off by default and turns on when the PIR sensor or microwave sensors which I'm using detect me.
I also have an RGB LED that at a glance shows me the air quality (a gradient from green to red). The brightness of the LED is controlled by the light sensor.
I suspect you are not going to put a cover in front of your multisensor, but if you do: you'll need to place your BME280 outside the case, otherwise readings will be off. Same of course for light sensors etc.
What I'm struggling the most with is finding a reliable humidity/temperature sensor, but I'm pretty sure the problem is that I'm a cheapskate and am buying from AliExpress which are probably knockoffs.
Do you have an video/photo of it?
Verrrry nice! Good work!
I‘d seen a link to your website with the words „written article“… but i can‘t find anything on the website…?
A wiring diagram and a .bin file for the ESP would make it very easy to make one.
I couldn’t help making a connection drawing if you want.
This is a pretty cool all in one sensor. I've been following crlogic's work over on HA too.
I do have a few questions/challenges for you though:
Why did you spend more money on STEMA/QT compatible sensors, proceed to solder them to a proto board, and them talk about the overall footprint being too big? In an effort to appeal to a larger audience, a fair number of the Pimoroni and Adafruit sensors are much larger than some of the more basic offerings, but offer more functionality (generally have a voltage regulator and level shifter to accept both 3.3V or 5V inputs, and have STEMA/QT connectors for no-solder connection options.) For example, a generic BME280 is 11x14mm vs 19x19 for the Pimoroni, and a generic BH1750 is 18.5x14mm vs 26x18mm for the Adafruit (~50% difference!). You do have to watch out for counterfeit sensors on some of the cheaper versions though.
For a prototype board, why didn't you use headers for attaching the sensors to the board? You definitely had the room to do it for this iteration, and it would have allowed you to swap out sensors during testing and future iterations if need be.
The BME280 sensor is very precise on its own, but most of the circuit implementations suffer from heatsoak that skew the temps at least 2* higher than actual. Putting the chip in sleep mode between readings, and adjusting the heater circuity can help, but mounting it directly above an inverted ESP32 chip is not going to do anything for accuracy.
Dying for a build and programming guide on this! You're the best
Will you write this up as a guide for others to make their own? This is just what I've been looking for!
yes please
Yes please
Yes please
Yes please
Do you have your ESP firmware available to share? This is a great product, I want to test this setup and then I plan on making a nice compact custom PCB.
Cheers for the video!
Any chance Lewis? :D
Another awesome project Lewis, well done! 👏🏻
Apparently the IKEA Vindriktning air quality sensor is reliable and can be hacked to connect to the ESP boards.
If you don't mind the noise from the fan. Audible in a quiet room.
Thanks Rob, that's good to know! I think the added bulk would be too much but maybe there is a way!
For rapid prototyping and permanent projects I got a fan of the wire wrapping and the glue gun. in comparison with a breadboard or a prototype board you can get quite quick a breakout board aggregate, works with most pin spacing and the glue gun fixes the wires on the pins and the position of the boards. Also most time no solder fumes :)
Thanks! I’m looking forward to build a couple of these for my home. Do you have any idea of the power consumption of a single unit? Can it be realistically powered off replaceable or rechargeable batteries?
Nice device. There are some sensors that I prefer to the ones you picked that might be of interest. Firstly, if you want to add PM10/PM2.5 the NOVA SDS011 is very good even compared with sensors several orders of magnitude more expensive, honestly, for £15 it's shockingly good. Second, for humidity measurement I've found the BME series sensors don't tend to give accurate humidity readings. The SI7021/HTU21D are good alternatives but lack atmospheric pressure so it's a trade off, it has a different I2C address so you could try both in the same device and see which gives the most sane readings or have both or use the BMP180 instead. For light levels the VEML6040 gives colour temperature as well as Lux which could be handy if you want your lights to match ambient conditions, unfortunately it's not built into ESPHome, but could be added as a custom sensor.
Thanks for the info, useful!
Of what benefit is a pressure sensor indoors?
A lot of the industrial HVAC occupancy sensors use CO2. Because people breath roughly the same amount you can judge the amount of people based on the curve of CO2. It's also a fresh air thing. Cool project man. Keep up the good work
Hey, do you have a written article on this project? I couldn't locate it on your website. Thank you. Your videos and tuts are much appreciated!
You should totally design a PCB for this! I’d love to make one, but I’m not great at PCB design. I’d hate to get started just to realize I have to restart due to a bad design.
Yeah, pcbway had to be cringing at the use of a proto board in a vid they sponsored.
I love it .. the mmwave is pure gold for presence, and getting the other sensors in there as well, really starts to make this a perfect smart home sensor solution
Thanks dude, appreciate it!
Yes I would like to have such sensor in my house. The only thing I'm questioning is how it would cope with pets (e.g. a cat). Is this something you would handle by software or could it be done differently? Great video, thanks!
You swine!! Just after I completed the first version using the mmWave sensor, you come out with this! Seriously, a great video and another fantastic project. I will be attempting this upgrade as soon as I can.
Haha apologies! At least you have the most important part already that is gold dust 😂
@@EverythingSmartHome Just snagged another mmwave sensor. When it comes, I'll have all the parts to build this multi-sensor. All I need is the schematic and the code to make it work!!! I can't figure it out from the video alone. Any chance you might make this available soon? Many thanks.
if you are into sensors, look at the mysensors project. it integrates well with HA. I have battery powered temp/hum/lux/pir all over my house. works great.
Awesome work! So when can we expect a Kickstarter project for this bad boy? 😀
Great product! I understand your reasoning behind excluding it, but I would have loved to see an air quality, or at least CO2 sensor in here as well for automating fans or air circulators.
Maybe for the v3...it'll be expensive though 😂 thanks!
Great sensor. I can see having these all over my house. Well done.
I'd love to see this more compact, in a unit like the Aeotec multi-sensor. I wonder how difficult it would be to reverse engineer those boards and create a single PCB with every component neatly installed together. I also wonder if there is redundancy across the boards, as I assume they'd have circuits performing similar functions and therefore using similar components repeatedly.
This video was extremely informative, thx! The speed comparison between PIR and mmWave was great, I never thought of testing it that way and always felt that mmWave was faster - guess that was confirmation bias after all (or something else entirely, like network or esphome related stuff)!
Great appetizer! Now what would be great is to have a project page with step by step guidance and code.
Can you PLEASE post the code for this?
Others have asked for this as well, but I can't find it, either on your github or you main page.
@Everything Smart Home - A lux sensor does allow you to decide whether to turn the lights on or off, as you mention. For enhancing this, consider using the lux sensor as an input to a PID regulator with whatever setpoint you'd like. This is called daylight regulation or daylight compensated lighting, and is common in commercial applications because it saves a lot of energy by only "supplementing" whatever light you need in addition to the natural light from windows and such. But it's also very comfortable since room-to-room, you'll experience less variation in brightness which makes transistions more comfortable. It also lets your lights dim slowly on as dusk falls with 100 % accuracy, rather than alternative solutions that fall short, such as sunset timers, etc.
You'd typically set a minimum brightness level, so if the PID regulator for example outputs 8 %, you might have a minimum threshold of 10 or 15 %, and thus cut off the light instead. And you'd also often need an auto/manual helper object that automatically gets changed to manual whenever physical switches or UI switches change the light level. Often, it's good to transition back to auto if no presense for X minutes (typically a much longer value though, like 60-120 minutes).
If you then want different responses from your lights in different situations (say; nightly visits to the WC), instead of implementing these as a set percentage of output, you can simply vary the setpoint of the PID regulator automatically. If you foresee the setpoints being changed while lights are on, add a numeric delay / ramp function to the setpoint input, so that it never changes faster than some rate, for example 5 lux per second.
A common problem is that you'll have less uniform light in a home and say, an office. This is "fixed" by applying a percentage factor to each light to account for the lights contributing differently. For example, a table light might contribute less than your overhead lights. So it may get a 140 % factor, which enables it to shine brighter to compensate for this difference.
Interesting read, thanks! You can create an automation that can be something like trigger when lux < x with a condition that there is someone present in the room, I think that's what he meant.
Knocking the ball out of the park with this one! Added to my project list.
I love the PIR esp8266 combo. Never thought of going w/ a higher quality sensor though. That is a huge step forward. Impressive project!!! Definitely something worth buying assembled to support/further your r&d. Well done.
Very nicely done! I've the same question as some other users: could you kindly measure the actual power usage of the device? I'm not convinced the power usage is minimal, especially if you would install sensors in all rooms in the house. Things can add up pretty fast.
I'll try at some point sure!
@@EverythingSmartHome I'm also interested about energy consumption! Maybe find some ways to hibernate the sensors when possible too. Great project!
Enjoying all the videos related to this DIY sensor. That's a great prototype case. Are the STL available? I can see it useful to prototype many different combinations.
Awesome work!
Btw: Where can I find the wiring diagram and the code for Home Assistant?
This is absolutely fantastic! I'm going to give building one a go. I was looking to do room temperature sensors, and maybe figure out room presence, but WOW this does it all, plus light level. Air quality could be useful, but like you said to add that would greatly increase the bulk of the design, at least right now.
Would you be selling the finished product?
For air quality, a CO2 sensor may be more useful than a PM sensor, and not at all bulky, but a sensor "good enough" is not the cheapest sensor.
Lewis amazing video! Would love a v3 and a full build guide!
Thanks Mark!
Yeah a full build would def. be appreciated. Any plans for that? :) especially the code is needed as I haven't had the chance to play around with esp home and that new Sensors so far.
Sir, There is writen article in your web site on above article?
Very cool project. I wonder if a similar project would work with battery only?
brilliant project. So I ordered 5 parts right away. I hope there will soon be an explanation of how to put the things into operation.
Very nice build! I ended up using the energy meter that measures solar generation as a proxy for daylight levels. That avoids the light sensor picking up the brightness of the room lighting.
Thats a good idea too!
This is brilliant, thank you. I know it's kinda outside the spec of this, but I'd love a battery version for the bathroom.
Nice job there Lewis! Those are the things a big brand needs to get running on PoE mountable as a "wall-switch"-sensor-module. Or even ZigBee and direct wired to the mains-voltage.
I really wished you could say anything about the power-consumption of your projects, as energy is a big concern of mine when talking about those designs. Would love to hear from you!
Thanks! PoE would be cool!
I usually would talk about power consumption, but it's literally so low on these projects it's generally not a concern, we are talking a very tiny amount of power that you won't notice at all in day to day, even in the current climate!
Poe would be ideal for these, have though about something like this, ceiling mounted and fully enclosed.
Also an led chip for a nightlight. I love the very low level light a Ring Protect gives off at night when you walk under it.
Perhaps when it has wired power, a zigbee repeater(for other devicesl, if there is something suitable that could fit into it.
wow this is definitely the all in one we all been looking for you are a genius. please could you do a full build and programming video on this one.
Thanks - I'll see what I can do
@@EverythingSmartHome I guess you not done with it yet you seem like you will add 10 extra features on the next one you build for another room at yours. So would be great if we can see detailed build. Thank you. Ps have not spotted in your videos what you do for living but you should be paid big big money for making these. Make your own brand 💰💰
Ever considered getting a custom pcb made up so that you don’t have to stack a bunch of boards? You could even get pcway to solder it all together and make something tiny
Excellent video! I’ve had bad luck with the PIRs I’ve purchased. The link in your video should get me a decent PIR. Using a HiLink HLK-LD2410C-p for microwave sensor. BME280 for temp and humidity. Then VCNL 4010 proximity, light sensor. Replacing all my esp8266 project with ESP32’s. Some with Pi Pico’s, using Micropython.
Thank you for this very helpful video! I've not tried this setup yet but on many occasions struggle to solder properly due to the solders I have had or tried, would be helpful if you have a link to the one you use or one similar to get. Thanks
I'm definitely keen to try this, but I can't get hold of the sensor. Seeed have some interesting ones that might work. Perhaps I'll do some experimenting...
What I missed from your built: Nicer design. Does a closed enclosure work (of course with a hole(s) for the PIR/Microwaves)?
I haven't got around to designing the faceplate for it yet. Slots are needed in the side for temperature and also light level to work
Great work, 👏 would be nice to see some content around how to setup automation between temp sensors and AC temperature control - keen to understand what would be the best approach to build such relationship considering energy efficiency for the AC
AC isn't something I have in this country unfortunately but shouldn't be too difficult...in theory!
Are you going to have kits available again soon?
I have 2 ideas. First, have you ever heard of a volumetric sensor? it reads the volume of material in a room then triggers when that volume changes. Cars use these to set off the alarm should someone manage to get inside your vehicle without opening a door, if you've even stuck your arm through an open window of a locked car and had the alarm go off, this is the volumetric sensor doing its job.
Secondly, could you use a series of Bluetooth BLE sensors placed strategically around the house to triangulate the precise location of any phone with BLE enabled? like if you put a Bluetooth module in each corner of the house and maybe one in the centre somewhere, you could theoretically use the distance data to let home assistant know exactly where you are, it would take quite a bit of setting up with trial and error but once you've figured out the numbers, I'm sure you could have a pretty decent presence detection system.
It's an interesting idea, I think I prefer the mmWave though for movement.
And yep that's the whole idea behind Bluetooth being enabled on the device already 😅
Would it be possible use a POE connection to power and communicate with this sensor setup?
Pet friendly PIR sensor and KNX integration board.. great stuff
Great video as always, just wished it was more detailed. For Example on what Pins was connect to what on the esp-wroom-32 and the mmsensor :/
But I look forward to the writting artikel :D
Have one question:
The mmsensor needs 3,6-5v, but the esp-wroom-32 only has 3,3v output pin, so did you connect the voldtage pin on the mmsensor to something else? 🤔
Ps. I have never done this before so might have misunderatood something :p
Super sensor! Thanks for video! I'm going to try setup: light sensor, SCD41 (CO2, temp, humidity) and mmWave Radar
I would like to build one, but can't find the written article on your webpage.
Yes! It's been weeks I 'm thinking that using an ESP should be for multiple purposes. I thought of many possibilities but the idea to put all sensors around one D1 mini is excellent. Maybe I would add a microphone.
Can't do much with mics in ESPHome, yet. No i2s input support (yet). They did just add i2s output, though, so maybe not too far away?
Great video and work!! For me I would love to have an all in one solution. Your sensor paired with humidity, air quality, co2 and smoke sensor (with optional pinhole camera, where you can use the mic for Siri or Alexa). All working via a LAN cable (power and data) and all in a ceiling mounted Smoke Sensor enclosure. Of course HomeKit compatible 😀. No Switches no nothing just one sensor on the ceiling and some in wall speakers and underfloor heating
Nice build ! Might also add a perfect presence detection sensor to my ToDo list. I agree that even if the price is pretty much the same, functionnalities are way better.
Thanks for the inspiration and keep up the good work !
Thanks, good luck with the To-do list 😅
Also if something goes wrong its easy to replace a part
Another great video thanks - this is one I must build
How difficult would it be to do a complete enclosure on something like this? I assume you'd need to tune the milimeter wave sensor?
Hi Lewis. Love the sensor build but I am seeking some advice. Living in Australia in the 3 main rooms I want to put them in we have ceiling fans. Ceiling fans run 24/7/365. Aqara PIR sensors do not pick up their movement. Have you done any testing or have experience on how fans impact on your sensor compared to the FP1. Thanks mate.
Outstanding! What about long term powering by battery?
This is really a great video on a very interesting project. It seems to me that this sensor has all the functions I need. I would like to rebuild the sensor to use it in several rooms. Unfortunately, my knowledge of electronics is not sufficient to rebuild the project with the available information. Therefore the question, will you publish a detailed plan and if so, when?
Thanks! I plan to at some point yes when I get some time, having said that...stay tuned for more!
Fantastic build, It make the Hive system look like a gimmick. (which I think it is)
The problem I have notice with the radiator wax thermostats is by the time the radiator thermostat decides to turn down it is to late, the radiator is full of hot water and the room is too hot, eventually it levels off and works correctly.
Is there a way of controlling this event from a cold start, of the radiator letting too much hot water through from cold.
I realise I will need to get so called smart radiator thermostats, but how to control this is something else.
Any thoughts would be great. thank you
Great video👍. As a tinkerer I'm would love to make a few of these rather than buy. Any chance of linking a circuit diagram in the description?
And your pilot newsletter was 👍 thanks for that! I added a few automation from it.
Just a thought the base, you could 3d print a plug mount so you can get the thing off the worktops like you can get for the Echo Dot.
This is absolutely awesome. Something I would love to build as well. But I have gone to your web site but cant find a wiring diagram and also not the code you used? Is this something you still have somewhere to share with us please?
You're a fricking legend man, can't wait to try this.
Can you give us the the esphome code you used please.
Very impressive work, your skillz are to be admired. Please enlighten us on how we can build or optionally purchase this fabulous device
Would be great if you do a ceiling mount version of this.
I have ordered some of this nice thingys.. but.. temp and humidity isnt needed for alot of us.. make em cheeper plz.. nice work!
Awesome 👌
Great vid! I’m keen to know more about your decisions on espresence vs straight esphome for Bluetooth detection. Was it just the limited range of sensors for espresence? And what does Esphome give you that espresence doesn’t? I’m a few days away from placing a parts order to do espresence so keen to know if I shouldn’t!
I see it's sold out. Will you be making anymore of these?
Thanks for the informative well explained video!
I have the same experience like @mortensentim511 with the BME280 - hum% 15-25% too low and temperature about 4°C too high. Also putting apart from heat sources like the ESP and after conditioning. Maybe the special soldering process was not maintained, it was on such break-out board delivered.
Alternative #1 I tried was a SHT31. Provides much more accurate hum% and temp values.
Alternative #2 which works even better for my needs: BME680. Very accurate, plus it adds a nice extra of VOC measurement. Fully integrated in ESPHome! Recommendation - use the bme680_bsec library, not the standard one. You will enjoy the much better AQI and other calibration routines in the background and calibration status etc. Plus you get a "CO2 equivalent", which is not too far off from a real CO2 sensor, side-by-side compared. For my purpose, sitting in home office for hours and needing a kick in the pants when to open the window it is the perfect match :)
BTW, particulate matter is interesting, but it will tell you that actually opening the window will *increase* the particle concentration, and it will get better when the window is closed. This is more for a kitchen or workshop I believe.
These are awesome and I would happily buy a few of these! Very Nice!
Thanks....soon!!
@@EverythingSmartHome ok understood, that's the reason why you don't react on questions like "Can we find the written article?" or "Could you please post the code?". It would be good if you openly communicate this (e.g. in your video description).
Up to now I found your videos motivating and inspiring for DIY projects. But finally it's all about making money ;).
> "A few weeks ago, I took you through a custom built room presence sensor". I went back to look for that video and it doesn't seem to be there, did you remove it? As I recall, it had more informaiton on the build (or am I going mad). I now have all the components and wanted to build one myself, but i can't find the more detailed instrucitons (the written article doesn't seem to be on the website either). Can you point me in the direciton of more drtailed build instrucitons, or am i on my own now?
hello. will this work outdoor? need for security alarm
Pretty cool idea and looks to be a fantastic solution, certainly will be on my upcoming build list.
🙏🏻🙌🏻
Inclusion of lux sensor is great, i have some zwave/zigbee pir sensors with lux and this value is slow to change, so i use this value as condition in automation only for one light.
Would be great to include some battery, so it can work even when power goes out - to be able to use it as part of alarm system (alarmo) when i'm not at home.
Hello, will be sensors available to buy again please?
FYI the temp sensor on the BME280 is not accurate at all because of self heating issues. It typically reads 2C or more over the actual air temp.
Hi Lewis ,
that is the greatest Presence Detection Sensor ever. the ones I ordered and installed had some delays in ditecting movement and presence and most of the time did not function as i hoped for.
i wonder if I could buy from you a complete built "Smart Home Presence Detection Sensor" with the software? 🙏
This is awsome. Gonne make some of theese. I cannot fint teh written article tho. Do you have a direct link?
I'd be interested to hear if you've used them both in a corner of a larger room. I have the DIY one setup in the far corner of our living room and even though the FOV and distance should be well within its range it does quite often fail to detect consistently. In your example of waving a hand in front of it, mine works fine too. Perhaps it's more suited to the office desk than a larger living room. Hopefully I'll pick up a FP1 when they drop to around the £30 mark!
Really cool! I'll probably wait to do something like this until thread is on esphome on the esp32-h2; the ZigBee functionally is pretty significant to me with an already-fun amount of devices on my wifi network.
The biggest value add for me would be using Bluetooth as a “human check” instead of a customization option. In the case of pets all of your examples would lead to a dance party in the event of cats or dogs in the house, is it possible to use Bluetooth to prevent that?
Cats are the main reason I cant do 90% of home automations :(
Great Video. I love this. I was just thinking of making something like this but I am just getting started on my automation journey. Do you have the plans for the wiring and the code somewhere we can check out and learn from.
Do you have a written guide? The link in the description takes me to your website, but despite searching for it and scrolling for a solid five minutes. I have been unable to locate any type of written guide on how to make this.
Brilliant! I really need to dig out my soldering iron, currently using Hubitat with Hue motion sensors and they do the job. But, at some point when I'm time rich, I'll be moving onto Home Assistant (assuming I can purchase the hardware, global chip shortage and all).
Thanks, look forward to seeing what you make!