Building My Perfect Smart Home Presence Detection Sensor!

Поделиться
HTML-код
  • Опубликовано: 1 дек 2024

Комментарии • 497

  • @wobbleszo
    @wobbleszo 2 года назад +137

    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.

    • @EverythingSmartHome
      @EverythingSmartHome  2 года назад +99

      Well you never know...

    • @chriscoulter1273
      @chriscoulter1273 2 года назад +3

      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.

    • @lNOFXlCronier
      @lNOFXlCronier 2 года назад +11

      oh geez me to! Id buy 4/5 right away! these things are great and i font have the time for building them.

    • @extreme456852
      @extreme456852 2 года назад +4

      ​@@EverythingSmartHome could these sensors work with hubitat too?

    • @TheBurnsiela
      @TheBurnsiela 2 года назад +12

      I would 100% buy a bunch of these!

  • @mosth8ed
    @mosth8ed 2 года назад +17

    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.

  • @SteveDOES
    @SteveDOES 2 года назад +18

    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.

  • @LavaughnPurdom
    @LavaughnPurdom 2 года назад +26

    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

  • @Fine_i_set_the_handle
    @Fine_i_set_the_handle 2 года назад +20

    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

    • @EverythingSmartHome
      @EverythingSmartHome  2 года назад

      Thanks!

    • @JohnVanderbeck
      @JohnVanderbeck 2 года назад

      Can I ask - because I don't see it - what the benefit is of being able to detect motion from a sleeping person?

    • @ezradmello7021
      @ezradmello7021 2 года назад +1

      @@JohnVanderbeck presence detection in a room after the occupant has gone motionless in bed

    • @JohnVanderbeck
      @JohnVanderbeck 2 года назад

      @@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.

  • @TestTest-sk4oj
    @TestTest-sk4oj 2 года назад +51

    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!

    • @CharredChar
      @CharredChar 2 года назад +4

      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.

    • @EverythingSmartHome
      @EverythingSmartHome  2 года назад +22

      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

    • @TestTest-sk4oj
      @TestTest-sk4oj 2 года назад

      @@EverythingSmartHome thanks for the great response! Awesome this project is still alive and kickin!

    • @l0gic23
      @l0gic23 2 года назад

      @@EverythingSmartHome really hope you can have a version with air quality sensor. Congrats BTW

    • @browaruspierogus2182
      @browaruspierogus2182 2 года назад +1

      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

  • @Sarvesh2910
    @Sarvesh2910 2 года назад +3

    Had this idea of combining sensor together per room since a while. The mm wave is a game changer. Thanks for the inspiration.

  • @neilos2085
    @neilos2085 2 года назад +15

    Great video. Do you have a diagram showing all of the connections you made from each component ?

  • @davidbronke5484
    @davidbronke5484 2 года назад +11

    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.

  • @microfx
    @microfx 2 года назад +3

    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.

  • @Gee-Dee-q1e
    @Gee-Dee-q1e 2 года назад +1

    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!

  • @dac8767
    @dac8767 2 года назад +1

    Dying for a build and programming guide on this! You're the best

  • @thatsTrudeau
    @thatsTrudeau 2 года назад

    RF Engineer here, seems like a fun project to put into one PCB. Thanks for sharing.

  • @krikkenstein
    @krikkenstein 2 года назад +4

    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…

    • @jeffmcadams6691
      @jeffmcadams6691 2 года назад +2

      This was essentially going to be my reply...swap out the bme280 for an scd41, and add co2 to the measurements I believe?

  • @PersonXes
    @PersonXes 2 года назад +3

    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.

  • @petersamios5409
    @petersamios5409 7 месяцев назад

    Great sensor. I can see having these all over my house. Well done.

  • @DonGerico
    @DonGerico 2 года назад +5

    Will you write this up as a guide for others to make their own? This is just what I've been looking for!

  • @rob1971
    @rob1971 2 года назад +6

    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.

    • @JohnnieHougaardNielsen
      @JohnnieHougaardNielsen 2 года назад +1

      If you don't mind the noise from the fan. Audible in a quiet room.

    • @EverythingSmartHome
      @EverythingSmartHome  2 года назад

      Thanks Rob, that's good to know! I think the added bulk would be too much but maybe there is a way!

  • @frankrollen2056
    @frankrollen2056 2 года назад +3

    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.

  • @Superwalloon
    @Superwalloon 2 года назад +1

    Great appetizer! Now what would be great is to have a project page with step by step guidance and code.

  • @StevenJonSmith
    @StevenJonSmith 2 года назад +10

    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.

  • @marceskenazi
    @marceskenazi 2 года назад +2

    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
      @EverythingSmartHome  2 года назад +2

      Haha apologies! At least you have the most important part already that is gold dust 😂

    • @marceskenazi
      @marceskenazi 2 года назад +1

      @@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.

  • @74Touchdown
    @74Touchdown 2 года назад

    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

  • @mortensentim511
    @mortensentim511 2 года назад +3

    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.

  • @mommasboyfilms
    @mommasboyfilms 2 года назад +11

    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.

    • @RaffBuilding
      @RaffBuilding 2 года назад

      Yeah, pcbway had to be cringing at the use of a proto board in a vid they sponsored.

  • @ynotwizard
    @ynotwizard 2 года назад +3

    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.

  • @benjidaniel5595
    @benjidaniel5595 2 года назад +3

    Awesome work! So when can we expect a Kickstarter project for this bad boy? 😀

  • @TiberiuCorbu
    @TiberiuCorbu Год назад

    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 :)

  • @MarkusRessel
    @MarkusRessel 4 дня назад

    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)!

  • @simonrussell4986
    @simonrussell4986 6 месяцев назад

    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.

  • @ch12831
    @ch12831 2 года назад +1

    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.

  • @AcrimoniousMirth
    @AcrimoniousMirth 2 года назад

    Knocking the ball out of the park with this one! Added to my project list.

  • @gidk204
    @gidk204 2 года назад +17

    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!

    • @gidk204
      @gidk204 2 года назад +1

      Any chance Lewis? :D

  • @Omegagrim
    @Omegagrim 2 года назад +2

    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.

    • @littleevilpro
      @littleevilpro 2 года назад

      Would you be selling the finished product?

    • @JohnnieHougaardNielsen
      @JohnnieHougaardNielsen 2 года назад

      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.

  • @plexcontractors3500
    @plexcontractors3500 2 года назад +1

    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.

    • @EverythingSmartHome
      @EverythingSmartHome  2 года назад +2

      Thanks - I'll see what I can do

    • @plexcontractors3500
      @plexcontractors3500 2 года назад

      @@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 💰💰

  • @matthewraymond65
    @matthewraymond65 2 года назад +1

    These are awesome and I would happily buy a few of these! Very Nice!

    • @EverythingSmartHome
      @EverythingSmartHome  2 года назад +1

      Thanks....soon!!

    • @ready-xi2os
      @ready-xi2os 2 года назад +2

      @@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 ;).

  • @JBothell_KF0IVQ
    @JBothell_KF0IVQ 2 года назад

    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

  • @MarkGhali
    @MarkGhali 2 года назад +3

    Lewis amazing video! Would love a v3 and a full build guide!

    • @EverythingSmartHome
      @EverythingSmartHome  2 года назад +5

      Thanks Mark!

    • @christianschreibvogl47
      @christianschreibvogl47 2 года назад +2

      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.

  • @tony113000
    @tony113000 2 года назад +1

    Another great video thanks - this is one I must build

  • @sumanthsekar1685
    @sumanthsekar1685 2 года назад +2

    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!

  • @jacekbezler7485
    @jacekbezler7485 2 года назад

    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.

  • @c0nsaw
    @c0nsaw 2 года назад

    You're a fricking legend man, can't wait to try this.

  • @iamborg3of9
    @iamborg3of9 2 года назад

    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.

  • @buf0rd
    @buf0rd 2 года назад +1

    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.

  • @GabrielAugendre
    @GabrielAugendre 2 года назад +3

    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?

  • @armlemos81
    @armlemos81 2 года назад +1

    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

    • @EverythingSmartHome
      @EverythingSmartHome  2 года назад

      AC isn't something I have in this country unfortunately but shouldn't be too difficult...in theory!

  • @victorvz
    @victorvz 2 года назад

    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

  • @rodneysmith1750
    @rodneysmith1750 Год назад

    Pretty cool idea and looks to be a fantastic solution, certainly will be on my upcoming build list.

  • @sergeik3476
    @sergeik3476 2 года назад

    Super sensor! Thanks for video! I'm going to try setup: light sensor, SCD41 (CO2, temp, humidity) and mmWave Radar

  • @ericesev
    @ericesev 2 года назад

    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.

  • @barerfont
    @barerfont 2 года назад

    Pet friendly PIR sensor and KNX integration board.. great stuff

  • @ReidProjects
    @ReidProjects 2 года назад +2

    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 !

    • @EverythingSmartHome
      @EverythingSmartHome  2 года назад +1

      Thanks, good luck with the To-do list 😅

    • @jamesmoon5632
      @jamesmoon5632 Год назад

      Also if something goes wrong its easy to replace a part

  • @chrisazz1988
    @chrisazz1988 2 года назад +2

    Would be great if you do a ceiling mount version of this.

  • @allaboutmygunner9762
    @allaboutmygunner9762 Год назад

    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.

  • @vincentverweij1053
    @vincentverweij1053 2 года назад +5

    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!

  • @nagarava
    @nagarava 2 года назад +1

    Sir, There is writen article in your web site on above article?

  • @simon0a0aubry
    @simon0a0aubry 2 года назад

    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.

    • @jeffmcadams6691
      @jeffmcadams6691 2 года назад +1

      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?

  • @zeddyorg
    @zeddyorg 2 года назад +1

    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

  • @geesharp6637
    @geesharp6637 2 года назад +2

    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.

  • @l3l4ckR4sp3rry2
    @l3l4ckR4sp3rry2 2 года назад +1

    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!

    • @EverythingSmartHome
      @EverythingSmartHome  2 года назад +3

      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!

    • @paulkelly8882
      @paulkelly8882 2 года назад +2

      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.

  • @pimw9805
    @pimw9805 2 года назад +1

    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.

    • @EverythingSmartHome
      @EverythingSmartHome  2 года назад +2

      I'll try at some point sure!

    • @MadeInJack
      @MadeInJack 2 года назад

      @@EverythingSmartHome I'm also interested about energy consumption! Maybe find some ways to hibernate the sensors when possible too. Great project!

  • @Nicoleise
    @Nicoleise 2 года назад +4

    @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.

    • @DutchFoxify
      @DutchFoxify 2 года назад +1

      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.

  • @tech.inspector
    @tech.inspector Год назад

    Awesome work!
    Btw: Where can I find the wiring diagram and the code for Home Assistant?

  • @microfx
    @microfx 2 года назад +2

    What I missed from your built: Nicer design. Does a closed enclosure work (of course with a hole(s) for the PIR/Microwaves)?

    • @EverythingSmartHome
      @EverythingSmartHome  2 года назад

      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

  • @MrMoo272
    @MrMoo272 2 года назад

    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.

    • @EverythingSmartHome
      @EverythingSmartHome  2 года назад +1

      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 😅

  • @Andrew-e8q5s
    @Andrew-e8q5s 10 месяцев назад +1

    Are you going to have kits available again soon?

  • @lee-he3ey
    @lee-he3ey 2 года назад

    Very impressive work, your skillz are to be admired. Please enlighten us on how we can build or optionally purchase this fabulous device

  • @googleuser1978
    @googleuser1978 2 года назад

    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.

  • @Dycell
    @Dycell 2 года назад

    Really nice work! I’ve been looking for a good presence solution for a while now and I was thinking about building an air quality sensor. Now I want to build both in the same device… and both are far beyond my skill level, but now I’m going to try anyway.

  • @jefffrilot9667
    @jefffrilot9667 2 года назад +2

    Every time I see a video about motion sensors I want to get one, then I remember I have a cat.

  • @AllenRobberson
    @AllenRobberson 2 года назад +3

    Can you give us the the esphome code you used please.

  • @TheDiabeticWay
    @TheDiabeticWay Год назад

    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

  • @ml.2770
    @ml.2770 Год назад +1

    I would like to build one, but can't find the written article on your webpage.

  • @tincanpete
    @tincanpete 2 года назад

    Outstanding video, wow! So many ideas. Thanks!!

  • @esenterre
    @esenterre 2 года назад

    Awesome! I really like your DIY videos! Thanks!

  • @kevkevMtl
    @kevkevMtl Год назад

    Very cool project. I wonder if a similar project would work with battery only?

  • @user-xu2pi6vx7o
    @user-xu2pi6vx7o 2 года назад +3

    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.

  • @joudatfd
    @joudatfd 2 года назад

    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.

  • @chadshirely4389
    @chadshirely4389 2 года назад +1

    Would it be possible use a POE connection to power and communicate with this sensor setup?

  • @aliaghil1
    @aliaghil1 2 года назад +1

    Thank you for sharing this project with us. As always, great video.
    Would you mind sharing the codes with us?

  • @patrickpaganini
    @patrickpaganini 2 года назад

    Excellent video - nice work!

  • @TiagoRamosVideos
    @TiagoRamosVideos Год назад

    Awesome 👌

  • @piuswyss8742
    @piuswyss8742 2 года назад +1

    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?

    • @EverythingSmartHome
      @EverythingSmartHome  2 года назад

      Thanks! I plan to at some point yes when I get some time, having said that...stay tuned for more!

  • @dfanica
    @dfanica Год назад

    This would make a good wall mounted sensor next to something like a light switch. Most light switches are placed in way to reach places and a great place for presence sensors. Would also be easy enough to wire.

  • @Grehund
    @Grehund 2 года назад

    awesome work, Lewis.

  • @BillyDickson
    @BillyDickson 2 года назад

    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).

  • @unfaix
    @unfaix 2 года назад +1

    This is what I needed thanks !

  • @TyroneDamShewlaces
    @TyroneDamShewlaces 2 года назад

    My god man! Clean your tip and maybe watch some soldering videos!
    I mean that, but awesome job on the module. I want this for sure. Simply great.

  • @cooperised
    @cooperised 2 года назад +1

    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...

  • @vaguedirector_7342
    @vaguedirector_7342 2 года назад +1

    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.

  • @a11aaa11a
    @a11aaa11a Год назад

    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.

  • @ulrar
    @ulrar 2 года назад

    I've been playing with one of those mmwave sensors for a while but haven't had time to make it usable. Looks like you've done all the heavy lifting, ordered the extra components thanks for your work!

    • @EverythingSmartHome
      @EverythingSmartHome  2 года назад

      Enjoy!

    • @ulrar
      @ulrar 2 года назад +1

      @@EverythingSmartHome So is the written article anywhere ? I'd love to take a look at the code

    • @irrinfo2011
      @irrinfo2011 Год назад

      @@ulrar me too! would be great if I can see the actual code and setup

  • @micware2
    @micware2 2 года назад +1

    i am inspired. Looking at this, I realise i still have a lot to learn. But I'm going to try to replicate this. i hope some more info comes out on how to put all these sensor together in esphome code.
    But for now Google is my Friend ;-) and thank you for sharing this

  • @videolan
    @videolan 2 года назад

    Excellent. Seems like you should start commercial production!

  • @mariuszpreiss
    @mariuszpreiss 2 года назад +1

    The only thing missing is battery power source. I would also change temperature sensor to something cheaper. This one is an overkill for controlling temperature in the room. You don’t need pressure sensor in each room ;)

    • @EverythingSmartHome
      @EverythingSmartHome  2 года назад +1

      Doesn't have a pressure sensor, it's temperature and humidity only ;)

  • @jimmywoody6962
    @jimmywoody6962 2 года назад +1

    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.

  • @philsson
    @philsson 2 года назад

    This sensor is genius, thanks for posting. I guess it's your fault these millimeter wave sensors are sold out. 😁
    I'd like to ask you if you could review how the bed occupancy works with the millimeter wave if it is mounted under the bed pointing to the floor. The reason I ask is because i don't want cabling on the floor, if not for other reasons it's the vacuum cleaner. Would be really nice if you could test this.

  • @richspoon6386
    @richspoon6386 2 года назад +1

    Is there someplace a ESPHome newbie can read about the specifics on how to build this? Wiring diagram, ESPHome configs, and .stl file for the 3d printed enclosure?

  • @DanielVegter
    @DanielVegter Год назад

    Please start calling it I square c, furthermore amazing video!

  • @Sparky_D
    @Sparky_D 2 года назад

    This is an awesome build. Thanks for sharing 👍