Easy Aqara bed sensor vs ESPHome

  Рет қаралды 115,322

Home Automation Guy

Home Automation Guy

9 ай бұрын

Making a bed sensor out of a pressure mat and an Aqara Leak Sensor, or level up your smart home game and do it with ESPHome.
❤️ Found this video useful and want to support the channel? I'd love a donation at paypal.me/homeautomationguy
In this video I show you why I have a bed sensor, what I use it for, and two ways that you can make one for your own smart home! They both work perfectly with Home Assistant!
I show you how to create one out of an Aqara leak detector, and I also show you how to use this project as the perfect excuse to learn more about ESP Devices and ESPHome!
More information, including links to the equipment I used, screenshots, and code samples used in this video can be found on my website: www.homeautomationguy.io/

Пікірлер: 182
@valleyboy3000
@valleyboy3000 4 ай бұрын
Excellent works! I learned so much from you in the past week looking into Home Assistant. Thank you!
@DrewLawton
@DrewLawton 9 ай бұрын
Just wanted to say thanks for putting this video together. I had an ESP32 laying around so I went the ESPHome route with the config from your site and I just got it working!
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Amazing! Congratulations!
@Joshi787
@Joshi787 9 ай бұрын
Just stopping by to say your videos rock, I've watched them all and they've helped me improve my HA setup. Super easy to follow, always pretty witty and just a good ol time. Thank you for taking the time to make these videos and educate some of us on how to improve our automations and homes!
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Thanks so much for the comment! It's comments like this that make me keep going and continue to put the effort in
@fabiocopani8311
@fabiocopani8311 4 ай бұрын
@@HomeAutomationGuy Hi Alan, I opted for a pair of DIY pressure mats, filters lines made a huge improvement to my automations, but I have a very tight threshold setup on ESPHome due to mattress, duvet and my wife's countless pillows. How is sensitivity on this pressure mats you used?
@Joseph-ko2kl
@Joseph-ko2kl 9 ай бұрын
Love this. would never had thought of using the leak sensor!
@marcs.8384
@marcs.8384 8 ай бұрын
I followed your recommendations and it works perfectly. Thanks!
@HomeAutomationGuy
@HomeAutomationGuy 8 ай бұрын
I'm so glad it was helpful! Thanks for sharing!
@DarkRehabOfficial
@DarkRehabOfficial 9 ай бұрын
First when i started with ESPHome, I thought it was really hard to understand. But once i got into it, it was easier than i expected. 😀 Thank you for a great video as always!
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
I felt the same way - I thought it was really daunting and avoided it. As usual, once I discovered a project like this that I could use to test it out with that actually added value to my home, it became easier to understand and use!
@kevingrellus7463
@kevingrellus7463 2 ай бұрын
Thanks for the great video! I have build it myself with ESPHome and I found that the "delayed_on_off" filter works much better than "delayed_on" and "delayed_off" because "delayed_on_off" is intended to debounce binary switches, while the others are intended to debounce push buttons.
@HomeAutomationGuy
@HomeAutomationGuy 2 ай бұрын
Great tip! I didn't know about that one. I'll switch my code now and see how it goes. Thanks for sharing! 🙏
@NewHavenMotorsports
@NewHavenMotorsports 9 ай бұрын
Now i can finally make a "Whoopie cushion" for HA .... lol
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
🤣🤣🤣
@MarkDavisNo1
@MarkDavisNo1 4 ай бұрын
Yes! I love this! Pressure pad so when somebody sits on a seat Alexa will make a fart noise! Using this at my next party!
@MAMDAVEM
@MAMDAVEM 9 ай бұрын
That a good alternative use for the leak detector, I've used one like this as a rain detector connected to a rain sensor board. You can of course also use a lower cost window/door sensor just by by-passing the reed switch. I use such a device to detect when my front door is locked (not closed ... . actually locked).
@veritanuda
@veritanuda 9 ай бұрын
FWIW the mat you chose was an alarm mat. That means the other 2 wires you could not figure out what they were, were the break-detect lines. All alarm equipment have them, from door switches to PIR sensors. It basically ensures the integrity of the alarm state should someone tamper with the sensor. Cool vid and yes ESP devices can be a very easy and low power way to set up smart sensors.
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Makes sense! Thanks for the info, there was 0 documentation with the mat itself so I had no idea 😃
@EsotericArctos
@EsotericArctos 9 ай бұрын
I have several ESPHome devices. One is a small relay based on a Sonoff SV that unlocks the main security door with a toggle that keeps it powered for 5 seconds then releases. This door would normally be controlled via a push button on the intercom system, but I use it as a remote control so I don't need to worry about finding my key all the time for the common area doors. I also have several LED Strips, analogue and digital, that are controlled via ESPHome. I originally was using Tasmota on the door relay, but found ESPHome to be an easier option to maintain within Home Assistant.
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Cool use of ESPHome for the door lock! I love it!
@hughjardon5101
@hughjardon5101 9 ай бұрын
The other 2 wires are for a security loop, when used in alarm systems. They are powered from the alarm system and will 'always' be live unless the wires to the mat are cut, alerting the alarm system to a problem with that sensor.
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Well that's good to know. Thank you!
@tonynorman3780
@tonynorman3780 9 ай бұрын
If you look carefully you can see, and feel through the plastic coating, the two wires that are just a loop
@DrewLawton
@DrewLawton 9 ай бұрын
I just wanted to mention that the version of this same sensor mat that they sell on Amazon in US only has two wires. The wires terminate in a plug that connects to a small alarm/chime box. I cut the wires a few feet from the female plug connected to the alarm box so I can disconnect it in the future and then connected those to my ESP32 and it worked great
@rae_charles50
@rae_charles50 9 ай бұрын
Can’t wait to try this!
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Have fun with it!
@Codeaholic1
@Codeaholic1 9 ай бұрын
Sounds like a great use for a mm wave sensor.
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Yep, you could use a mmWave sensor here too instead of the pressure mat.
@lets-automate
@lets-automate 9 ай бұрын
Haha. I'll take this video off my list that I was going to do shortly 😅 Great video.
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
It's a fun project!
@renevogelvang8546
@renevogelvang8546 5 ай бұрын
I use ESPHome for almost everything. I now use about 130 different ones, ranging from controlling an LED strip to ESPs that have different sensors attached to them, but now also several with a Tuya chipset that I have flashed to get them from the cloud. .
@gnumengor
@gnumengor 9 ай бұрын
I am using an Esphome device with an infrared receiver and an emitter to control the Air Conditioned with the "climate" module. It even detects when I control the Ac via the remote control and the settings are sent to HomeAssistant!
@Nick_1976
@Nick_1976 9 ай бұрын
Brilliant mate !!
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Thank you!
@GianfrancoDegrandi
@GianfrancoDegrandi 9 ай бұрын
I'm using an Aqara door sensor with a (much smaller) pressure mat. My goal was to have the nightstand light on when I wake up at night, but there are too much false positives and the light will turn on randomly during my sleep. Of course for this purpose I cannot use long delays, in fact in my automation the light will turn on after 2 seconds of "bed not occupied", otherwise I should stand still to wait for the light to turn on before moving away from the bed. So I use the sensor for the mornin wake up routine: if I'm not out of the bed after 10 minutes from the routine start, my bedroom light will turn on and the echo dot clock (playing my favorite radio station) volume will go up.
@AKC-81
@AKC-81 9 ай бұрын
Great video! Am going to try this out. The method using Aqara's water leak sensor is a good approach but I do also like the ESP32 option. The only drawback is that the ESP32 would need to be powered via USB.. unlike Aqara's water leak sensor on CR32 batt.
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Yeah. That's true. But I'm on a mission to try and get rid of my battery powered devices. I'm also not sure how long a water leak sensor battery will last if it's constantly triggered via the bed sensor
@aledmorris6235
@aledmorris6235 9 ай бұрын
You can get ESP32 modules with built-in support for connecting a LiPo battery (including a charging circuit) Great video, by the way, Alan! 🙂
@frogjmon
@frogjmon 8 ай бұрын
I made an accent/night light in my bathroom which turns on via motion sensor and adjust brightness based on time of day. I also made an IR receiver which listens for specific buttons on my TV remote which the TV doesn't actually respond to. My TV remote has a numpad and so far as I can tell it is not used at all by the TV. I programmed HA to do various things like turn on or off lights in the area of that box, convenient diy universal remote for when you just sat down and forgot to turn the light off and you have the remote in your hand
@vynraskopf3088
@vynraskopf3088 9 ай бұрын
I'm using ESPHome with an ultrasonic sensor in my water softener to give me the raw distance to the top of the salt pellets, then calculate the used and remaining height in cm and % of salt used vs remaining. I also used the same setup to measure the amount of water in the Christmas tree reservoir and sent alerts when it got too low.
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Do you have a guide you followed for that? I have a water softener and I always forget to refill the salt blocks. The softener came with a Mobile App, but it sucks so bad and requires internet connectivity which is really annoying. I assume the softener already has ultrasonic sensors it for the inbuilt app, and I wish I could just wire into those!
@2024301
@2024301 9 ай бұрын
Really useful thanks
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
You are most welcome!
@creativemindframe
@creativemindframe 7 ай бұрын
This was great - I got set up in an afternoon following your guide and now have the alarm automatically arm and lights shut off for these. Still trying to figure out the right positioning for the pads. Has anyone done any adjustment to sensitivity for heavier mattresses? If not may build a container around the mat to alleviate some pressure
@hattanbashir
@hattanbashir 9 ай бұрын
I’ve been using it for approximately a month now and it’s been awesome so far! I’m using the Aqara method and using the sensor to only trigger the waking up automations like turning on the lights and blasting the alarm and lifting the shades only when I am already in bed.. and it doesn’t turn off the lights and keeps annoying me with the alarm until I get out of bed (eliminating the spaming snooze dilemma 😅) But lately I’ve been facing an issue where it stays on occupied even when I get up, and then I’ll have to hit the mat multiple times until it gets fixed.. it’s like the mat gets bent down and the circuit stays closed for some reason.. any ideas how I might fix it?
@ashtech1184
@ashtech1184 9 ай бұрын
Love this leak sensor idea to make it zigbee compatible. I actually already had a very cheap zigbee leak sensor I wasn't using that had two contact prongs on the end. I cut that off to expose the wires and they can then be connected to the pressure pad. Benefit of this is that the prong was on a long wire so it's more flexible where I place the zigbee transmitter.
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Great stuff! Good re-using of unused smart home tech!
@bogorad
@bogorad 9 ай бұрын
Here's an idea for your next project: try using 60GHz mmwave sensor to monitor your breathing/heartbeat while asleep, since you already have the contraption under your bed ;-)
@MrDead1975
@MrDead1975 9 ай бұрын
I went the half load cell method, turns the bed into a massive weighing scale so you can work out if it's just you, the wife or both in bed and run different automations
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
I agree that this is a much more accurate method. But it's a lot more work to set up. On the plus side, you can then use your bed to weigh your suitcase before you go on a trip!
@psylenced
@psylenced 9 ай бұрын
@@HomeAutomationGuy or yourself - esp after a big dinner.
@silvarod
@silvarod 9 ай бұрын
Nice video
@DaxiDE
@DaxiDE 9 ай бұрын
I plan to use ESPHome for multiple different things like: - Water leak detection - CO2 fill grade and leakage detection for the water dispencer - Bed occupancy - Irrigation/Sprinkler system - Parcel and Letter box - Weather station (with multiple sensors including lightning detection, rain, wind, temp, uv etc) - Air quality (Airrohr, Sensor Community) - Air freshener - BT proxy for radoneye and for sure more upcomming. ESPHome is a great system with a huge amount of possibilities. Sometimes at smart homes you have to think about possible data and how to interpretate them like my temperature sensors at water pipes to detect if somebody uses the shower or bathtube.
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
What a great list of future projects I can try! Thanks for sharing!
@Weeem
@Weeem 9 ай бұрын
Using the leak sensors as the trigger is genious. I'd be tempted to set this up except worried that on a date night, if the dog walked into the room, it'd have a seizure with the lights strobing off and on (/j)
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
🍆👉👌
@hobbles3927
@hobbles3927 9 ай бұрын
Didn't know this was even possible!
@elmonte7834
@elmonte7834 9 ай бұрын
Nice video. Question, if I put the pressure sensor between my mattress and box spring, won't the weight of mattress trigger the pressure sensor on all the time?
@MarkDavisNo1
@MarkDavisNo1 4 ай бұрын
I would imagine you would be able to calibrate the pad but that will come with the intructions
@1985Cratos
@1985Cratos 9 ай бұрын
I really enjoy your content. Also it comes in the perfect moment for me, as I bought a bunch of ESP8266 D1 mini for a BME280 and stuff. How would you take care of the power for the ESP? Usually I'd love to rebuild the ESP version but having several cables under my bed sounds a bit unsafe to me.
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
I just plugged it into a USB power adapter. I've got loads of cables under my bed already for charging my phone, and other devices. So I personally wasn't worried about adding one more
@pOpYTube
@pOpYTube 5 ай бұрын
Hey, also used those mats (sensor) under our bed and they worked quite a while. But after some months the triggered fals alarms or dont go from occupied to unoccupied sometimes. Now i am using two FSR stripes and ADC meassuring, but also have sometimes issues with fals triggers (after making bed...). I think the holes between the wood "destroying" them over time with the person weight on top. I think a solution would be to use some sort of thin plastic under the pressure mat to support it and not squeeze it into the holes between the wood. Do you guy's have those issues with the mat? What do you think about the idea? thx
@diystu14
@diystu14 9 ай бұрын
Honestly have just started with esphome, about to reconfigure 3 devices I built and one Tuya device I rechipped to esp yet programmed all to Tasmota. Then learned Tasmota needed MQTT... then learned I was running Container HA.... Then pulled a Nuk off the shelf, fought the HA OS install to get on the M2 with live disk.. Now just starting on ESPHOME or any other plugins. Want cloud free as much as I can, but it's a learning curve for someone with "Basic" skills... No I really mean the last programming language I learned played the theme to MASH over the PC speaker in DOS.. 30 years of catching up.
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
I love when a simple Home Project like this turns into a massive rabbit hole of "yak shaving". And kudos to the Basic skills, this is exactly where I started a few decades ago - re-writing parts of the Gorilla QBasic game to make the banana explosions have a massive radius. Keep it up Hawkeye 😉
@diystu14
@diystu14 8 ай бұрын
@@HomeAutomationGuy Geeze talk of Qbasic and such... Sorry I got kicked out for rigging all the lab computers to play different parts of AxelF when the tardy bell rang... Entire 8 minutes. that was my best back then... go away from it all... OK kicked from class.. Now realizing I need to learn some code. Been fun learning for sure.
@user-nm6nc2od6g
@user-nm6nc2od6g 9 ай бұрын
Great video. I started with door sensor but the batter didn’t last long. Am no using your ESPHome method which is working great. Does any one knows a way to turn off the power LED?
@eugsmiley
@eugsmiley 9 ай бұрын
I have the even more expensive sensor option. We own a Select Comfort SleepNumber bed and HA has an integration for their SleepIQ app. I do find that due to movements I can't rely on the occupancy state. Just thinking out loud, but in order to 'filter' the state (like you demo with the esphome sensor), I need to increase the "Duration" in the Automation for both both state changes.
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Oooh. Smart bed! A whole device I'd never even considered before!
@KalvinJack
@KalvinJack 9 ай бұрын
@@HomeAutomationGuycheckout eightsleep
@eugsmiley
@eugsmiley 9 ай бұрын
@@HomeAutomationGuy This is my second Select Comfort bed. The first was bought over twenty years ago before home automation's current push into all facets of our homes. When we needed to replace the aging bed 5 years ago, I was excited to find out they moved away from RF bed controls to a phone app. Only after getting into Home Assistant did I find out that there was an integration for HA to control the bed -- under-bed light, bed firmness, head/foot position, and I am guessing bed temperature. We don't have that feature, but in the winter I dream of how nice it would be to crawl into a toasty warm automation-controlled bed.
@waynemoate9401
@waynemoate9401 9 ай бұрын
The other two wires are used to form a tamper loop for a wired intruder mode.
@grahamshaw5531
@grahamshaw5531 9 ай бұрын
At the moment i use ESP for a M5 stack with voice assist a bluetooth proxy & everything presence one.
@bat3332
@bat3332 9 ай бұрын
hope the future sensor comes discounted with a factor for humper bed 😉
@TutoDS2014
@TutoDS2014 7 ай бұрын
How you close your curtain? I have one of the manual models, but mine is covering the entire window, instead of installed on the window space.
@Dylan_Lanckman
@Dylan_Lanckman 8 ай бұрын
I never thought that flood sensors could be used like that. in the end it's just a capacitive sensor actually.
@NerdCyclist
@NerdCyclist 9 ай бұрын
How does this work with a heavy mattress? Would it constantly be on?
@_L.L.
@_L.L. 7 ай бұрын
Which power cable do you recommend for the ESP32?
@dudefromkeene
@dudefromkeene 8 ай бұрын
If you run your HA on a pi, you could also hardwire it using the raspberry pi's GPIO pins and make a binary sensor. That way you could make one dirt cheap
@HomeAutomationGuy
@HomeAutomationGuy 8 ай бұрын
Good suggestion! Thank you!
@elmonte7834
@elmonte7834 9 ай бұрын
I clicked on the link to pressure sensor in your blog article and it's already listed as unavailable on Amazon. What other sensors would work?
@zombiemann
@zombiemann 9 ай бұрын
I've got a 4 switch box near my keyboard with an ESP8266 running ESPHome. One switch is set to toggle both of my Pi-Hole instances on or off (some website comments sections are blocked by Pi-Hole). The other switches control my WLED lights through Home Assistant.
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Home made smart switch - I like it!
@babakhallajian684
@babakhallajian684 9 ай бұрын
Use velostat (Linqstat) more cheaper, more accurate and more flexible and finally you have choice to measure how much pressure as well!! (with ESPhome project)
@Don86NL
@Don86NL 8 ай бұрын
I ordered 2 defender doormats to pair with the aqara sensors, but they only trigger when I'm standing on them.. A slight push or laying on my bed with the sensors underneath doesnt do anything. Any ideas?
@schford
@schford Ай бұрын
Great writeup / video! Just having a play with one and find that it works when I get into bed but then thinks I get out when I lay down. I am guessing positioning is important - it looks like you have yours folded over -0 is that the key? Cheers!
@HomeAutomationGuy
@HomeAutomationGuy Ай бұрын
I had to fold/move/adjust mine a few times to get it working accurately. I found placing it at "butt level" in a folded way worked best for me and my mattress
@schford
@schford Ай бұрын
@@HomeAutomationGuy Thanks will try with me tonight before the wife!
@wesleykirkland7150
@wesleykirkland7150 9 ай бұрын
This is very interesting and I've been wanting a bed sensor. The part i wished you covered was why this method over a load cell? For example how does this work eith say a heavy bed?
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
I've not tried the load cell method. It's a lot of effort and the pressure mat method works perfectly well for my use case
@wesleykirkland7150
@wesleykirkland7150 9 ай бұрын
@@HomeAutomationGuy Hmm. I ended up watching Lewis's video on it and got some clarification where he was talking about the best slats distributing the load and such. I went ahead and ordered the pressure pad as I really want this solution to work for me. I did like how easy you made it. I didn't realize using the ESP32 GPIO was this easy.
@MortenVindingSvendse
@MortenVindingSvendse 9 ай бұрын
Ventil aktuator er nok det mest korrekte navn. Jeg har haft en siddende i 6-7 år, fungere perfekt, og har massere af kræfter. Det er så udgaven uden nogen kontroller (styres bare med 12v direkte, men har microswitches til endestop). Det var den eneste jeg kunne få for under 80kr fra Kina, den gang det var beløbs grænsen 😆
@fizyk1769
@fizyk1769 9 ай бұрын
Hi Mate, great vid! I have a question though :) bed is not only for sleeping right? So how those sensors react when there are 2 person on one side of the bed in jumping motion? :> And how sensitive is it, I have 2 cats and I'm curious if they would trigger it.
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
I have an automation that detects if two people are on one side of the bed in jumping motion, to automatically dim the lights and start playing Barry White on the Sonos. In my experience you need to put at least 8-10kg of weight on it to trigger the sensor, so it depends how heavy the cat is.
@fizyk1769
@fizyk1769 9 ай бұрын
@@HomeAutomationGuy Thanks Alan, Barry White is fine choice :D
@chigsy
@chigsy 9 ай бұрын
When you place the mattress on the sensor, doesn't it just trigger anyway? Or is there a way of fine tuning how much pressure is required?
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Mine isn't triggered by the mattress weight if I spread the mat out under the mattress. Mine only triggers when a lump like myself gets on top of the bed too. There's no way to control the sensitivity of it, but I was able to get it working consistently by fiddling around with the placement of the mat under the mattress over the course of a few nights
@NickAskew
@NickAskew 8 ай бұрын
My immediate thought when I saw this was about a system we tried to use for an elderly relative that lives on their own. To be clear, it is not Aqara based an had very few settings and none that we could tweak ourselves. It only allowed us to specify when the person should be in bed and when they should be getting out of bed. If they went to bed earlier that was fine and if they got up in the night and returned within an acceptable window of time then that was fine too. If they did not go to bed on time or they got up in the night and stayed out of bed then an alarm was triggered with a call centre. The problem was that it was not 100% reliable and would give false positives meaning the call centre would call the house in the night only to wake up the occupant. Getting to 100% reliability with elderly care is very nearly impossible but false positive (and indeed worse false negatives) are a nightmare and we gave up on that system. I'm more tempted by the millimeter wave presence sensors that Aqara makes but even those cannot be 100% accurate so then it might need to be a combination of sensors, pressure, millimeter wave, and possibly something that could go under the bed legs to weigh the bed.
@HomeAutomationGuy
@HomeAutomationGuy 8 ай бұрын
I think a combination of sensors would work ideally here. You could also use BLE presence to track what room someone is in if they have a fitbit or smart watch or similar
@keviincosmos
@keviincosmos 9 ай бұрын
Sweet 👏
@hanh2161
@hanh2161 12 күн бұрын
I am wondering if it is somehow possible to tell which person is on which side based on weight difference? Are there alternatives to these pressure mats that can actually differentiate by weight rather than just on or off?
@HomeAutomationGuy
@HomeAutomationGuy 11 күн бұрын
A force sensitive resistor might be able to, I'm not sure
@PersonXes
@PersonXes 9 ай бұрын
I use ESPHOME to get the water levels of my swimming pond and water tank using pressure sensors. Also outdoor and pond water temperatures. I get co2 values around the house to determine how hard my ventilation system should work. I have light sensors, buttons, humidity sensors, the built in Bluetooth captures the i go from my xiaomi scale... Esphome can do it all! How do you power your esp32 bed sensor? Usb power plug or battery?
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Those are cool ESPHome Projects! I use a USB Power Plug to power it - have you had much luck getting the devices to work on batteries?
@PersonXes
@PersonXes 9 ай бұрын
@@HomeAutomationGuy I have not tried using battery power 😉 all are USB powered.
@_A_T
@_A_T 9 ай бұрын
Question: if you place the pressure mat underneath a mattress, won't the weight of the mattress trigger the pressure mat sensor mistakenly sending a message that someone is on bed?
@ebenezervalvi1009
@ebenezervalvi1009 9 ай бұрын
I think you can change the pressure level to some extent allowing you to "Tare" the mattress pressure. My issue was with using a temperpedic which doesnt nessarly translate all the weight directly enough, which equated to needing a much higher sensitive device.
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
I was worried about that too, but my mattress doesn't trigger it on its own
@joshuakelly2665
@joshuakelly2665 9 ай бұрын
​@@ebenezervalvi1009We have a Tempur-Pedic and what I used was an esp wired to 2 load cell modules wired with a 4 cell H bridge configuration. I put three of the cells from each module on the side rails under the box spring and the 4th cell under the middle support about a 1/3 of the way in (basically where each person roughly lays). using ESPhome, I found the base signal (i.e. the matress/box spring weight), set this to equal 0 as a tare weight, the added 50lbs to 1 side to calibrate that side, the the other. It's not 100% accurate, but it works well enough that it knows who is in bed based off the weight. My only 2 complaints with the system is that the wires on the load cell are incredibly thin so they are fragile and difficult to work with. the other complaint is that box spring slides since the frame is metal and the load cell is metal.
@vynraskopf3088
@vynraskopf3088 9 ай бұрын
I have a pressure mat under a foam mattress, which is much heavier than a conventional spring mattress, and it still doesn't register as occupied with the weight of the mattress alone.
@johndekoven7549
@johndekoven7549 9 ай бұрын
​@ebenezervalvi1009 thanks I have a temperpidic and this is what I was worried about. Did you find a sensor pad that works?
@spy00at
@spy00at 9 ай бұрын
3:00 the other two wires are there for the tamper alarm
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Thanks for letting me know!
@kaikanna
@kaikanna 9 ай бұрын
I have had plans to create such a sensor. for a long time. I just don't know how I'm going to integrate it into smartthings. There does seem to be a way to put an ESP 32 into the smart home platform, but I have. not had time to try it out. It seems kind of confusing. If you have any ideas, I'd be happy to hear.
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
The Aqara water leak sensor should be easy to link to SmartThings
@ABnSuItan
@ABnSuItan 9 ай бұрын
I'm confused, wont the weight of the bed itself will trigger the pressure mats? can I control the sensitivity?
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Mine isn't triggered by the mattress weight if I spread the mat out under the mattress. Mine only triggers when a lump like myself gets on top of the bed too. There's no way to control the sensitivity of it, but I was able to get it working consistently by fiddling around with the placement of the mat under the mattress over the course of a few nights
@loric7618
@loric7618 9 ай бұрын
Great video. Love the idea of repurposing Aqara leak sensors for this! Does anyone know where to source the mat in Canada without overpaying? Not available on Amazon here and Google searches result in webstores with zero stock or eBay listings with 1000% markups lol. Direct purchase from the manufacturer (Switch Electronics, linked in article) is a great price, but the shipping costs are way too high for a single unit.
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Oh bummer. Maybe check out some alarm stores or those targeted towards home care?
@gerryf7015
@gerryf7015 9 ай бұрын
I got mine from Walmart. I'm in the US.
@StefanManjakov
@StefanManjakov 9 ай бұрын
Maybe add a moisture sensor too.
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
In case I wet the bed?
@frogjmon
@frogjmon 8 ай бұрын
How sensitive are these? I have a dog and a cat. Dog weighs about 45lbs and they both sleep on my bed so I expect I would get a lot of false triggers
@fred7flinstone
@fred7flinstone 9 ай бұрын
Does the sensor not trigger when a heavy mattress is placed upon it?
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Nope
@fred7flinstone
@fred7flinstone 9 ай бұрын
@@HomeAutomationGuy gr8, I’m going to give this a try. Thanks for the tutorial.
@artursilva7635
@artursilva7635 9 ай бұрын
Hi, link for pressure mat please... Thanks!
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
It's in the article that's linked in the video description
@tv848
@tv848 9 ай бұрын
I'm using ESPHome to convert a dumb doorbell into a smart doorbell
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
That's really clever! Thanks for sharing!
@MartinHiggs84
@MartinHiggs84 9 ай бұрын
I wish esp home and esp presence could be merged 😊
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
I use the FormatBLE HACS integration, and now I can track my BLE presence using the same ESPHome devices around my house. My bed sensor, and my Everything Presence One devices all track the BLE beacons. It works great! github.com/formatBCE/Format-BLE-Tracker
@cutebutnotthatfly
@cutebutnotthatfly 9 ай бұрын
@@HomeAutomationGuy never heard of this before. New video idea? 😉
@michaelthompson657
@michaelthompson657 9 ай бұрын
Is it better to use an Aqara contact sensor rather than a leak detector?
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
The outcome would be the same, but it means you need to crack open the contact sensor and do some soldering. The leak sensor terminals are really convenient
@michaelthompson657
@michaelthompson657 9 ай бұрын
@@HomeAutomationGuy ah yeah, great point! I never thought of it that way 👍🏻
@taavi470
@taavi470 9 ай бұрын
I used the Aqara contact sensors for this, didn't even occur to me to try the leak detectors, once all wired up the input is inverted, so "clear" means someone is in the bed, easy enough to use a template binary sensor to invert, but a little annoying, so would definitely recommend the leak sensor over contact sensor
@michaelthompson657
@michaelthompson657 9 ай бұрын
@@taavi470 can you invert the contact sensor in the ui or is it just a template using Yaml? I think I’ll use a contact sensor because I want to get back into soldering again
@taavi470
@taavi470 9 ай бұрын
@@michaelthompson657 I didn't find a way to do it in the UI, not sure did I miss something, I'm using a template binary sensor in yaml with a state like {{ is_state('binary_sensor.bed_occupancy', 'off') }}
@phil18boydell
@phil18boydell 9 ай бұрын
As a alarm engineer of 35 years , I would not trust the pressure mats to be reliable over a period of time., The industry does not allow them, All they are are 2 layers of foil seperated by a thin layer of foam with holes in, that allow the 2 foil layers to connect together. The life time will be severly reduced with them draped over the bed latts as the foil will be folded at that point. Great use case though, I use water leak sensors too, to get the lock / unlock status of our cars
@xiaorulez
@xiaorulez 9 ай бұрын
What is a more reliable solution?
@rtlongthegeek
@rtlongthegeek 9 ай бұрын
I'd try using strain gauges under each foot. Basically make the bed into a giant scale.
@gerryf7015
@gerryf7015 9 ай бұрын
Car seat sensors, Thin Film Pressure Sensor, SF15-600, or a whetstone pressure bridge under the bed legs.
@invinciblemode
@invinciblemode 8 ай бұрын
What’s an alarm engineer, and how could you be one for THIRTY FIVE years!!!?
@phil18boydell
@phil18boydell 8 ай бұрын
@@invinciblemode I would imagine the correct title would be an electronic security engineer, and I started work as one with a national company when I was 16 years old so that's how.
@BootlegEL
@BootlegEL 5 ай бұрын
Why expensive pressure pad and not MM wave ESP32?
@HomeAutomationGuy
@HomeAutomationGuy 4 ай бұрын
Firstly, I wanted to use it as an excuse to learn about ESPHome, and secondly I actually built it in the days before the MMWaves were as affordable as they are today. mmWave is a good option though if all you care about is occupied or not.
@tianenliu1265
@tianenliu1265 9 ай бұрын
What if my purpose in bed is not sleeping?
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Then adjust your automations accordingly
@roygift
@roygift 2 ай бұрын
Can it detect an unknown person in a bed? 😀
@HomeAutomationGuy
@HomeAutomationGuy 2 ай бұрын
Yep, I call it Goldilocks detection
@theattorney6072
@theattorney6072 9 ай бұрын
But sometimes you go to bed but still need light to read for exemple ...
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Yep - that's very true. Then you can use a combination of Conditions or Wait For Trigger in your automations to customise them to your own habits and environment. For example, you could not run the night time routine if the reading light is on - or better yet use the Wait For Trigger action in your automation actions to wait until the reading light gets turned off for 10 mins before it does the rest of the routine. There are a lot of flexible options for this type of automation - I just tried to show a generic starting point automation that people can use to build on top of.
@theattorney6072
@theattorney6072 9 ай бұрын
@@HomeAutomationGuy ok, I get the point, thx !
@ethzero
@ethzero 9 ай бұрын
Of course you make a bed sensor self-powered by er, "movements".
@moritzi
@moritzi 9 ай бұрын
I read "bad" sensor 😂
@Badg0r
@Badg0r 8 ай бұрын
Please teach us how to make the in bed helper for 30 minutes. This is something what isn't well documented.
@HomeAutomationGuy
@HomeAutomationGuy 8 ай бұрын
Is there anything I can add to the explainer at the end of the video to make it more clear?
@-vermin-
@-vermin- 5 ай бұрын
Pressure mats are not good. They eventually compress and give false positives. Use an FSR instead.
@TechySpeaking
@TechySpeaking 9 ай бұрын
first
@zeljkopopovic4470
@zeljkopopovic4470 9 ай бұрын
Does someone found this ? I cant found it anywhere on internet. large pressure mat alarm switch pad 720x390
@elmonte7834
@elmonte7834 9 ай бұрын
Yeah, I clicked on product link in article and product is listed as unavailable on Amazon UK
@LNprod12
@LNprod12 3 ай бұрын
would it work with a diy pressure pad :0 , these ones are really hard to find here soo i was wondering if i made a simple one like kzfaq.info/get/bejne/mZyCi9hh1b-5hn0.html
@jeremygmail
@jeremygmail 9 ай бұрын
Question about bed pressure sensors which I have been wondering for a while... how do you automate it but not have it trigger when you and your partner are having "fun time"?
@Leonvolt28
@Leonvolt28 9 ай бұрын
Thats why he added a 30 second delay😉
@lewiskelly14
@lewiskelly14 9 ай бұрын
That mat has questionable reviews
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
It's been fine for my use case, and I've been using it for three or four months
@Chris-jf9dv
@Chris-jf9dv 9 ай бұрын
Any decent mattress makes this useless as the pressure is never enough to close the circuit. If the circuit closes, your mattress is shit mate and it will hurt your back sooner or later ;)
@garethwatson874
@garethwatson874 9 ай бұрын
May I suggest that you also include the buymeacoffee method of supporting you? I'd like to give you a little gesture of appreciation, but the superthanks stuff is too complicated.
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Thanks for the suggestion, that's a great idea
@cateyenebula
@cateyenebula 9 ай бұрын
Systematic experimentation is pretty scientific 🤔 Not very professional though [/youtube_wanker_mode] Very interesting video and one on the todo list!
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
🤣 fair play!
Hack the IKEA Air Quality Sensor: 7-in-1- Full ESPHome Tutorial
27:38
3ATIVE VFX Studio
Рет қаралды 123 М.
STOP Your Home Automation Right Now with Conditions!
8:21
Smart Home Solver
Рет қаралды 172 М.
Homemade Professional Spy Trick To Unlock A Phone 🔍
00:55
Crafty Champions
Рет қаралды 28 МЛН
FOOLED THE GUARD🤢
00:54
INO
Рет қаралды 15 МЛН
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 40 МЛН
4 Simple Wireless Bed Sensors (AQARA HACK)
14:33
Mark Watt Tech
Рет қаралды 51 М.
The TRUTH About Home Assistant [Vs SmartThings]
11:39
ManicMods
Рет қаралды 44 М.
Smart Home Frustrations : What they don't tell you
14:31
Fritz Home Tech Solutions
Рет қаралды 3,4 М.
I added 10 NEW Home Automation Ideas for 2024! (EASY)
9:55
Smart Home Solver
Рет қаралды 197 М.
This is Surprisingly Better Than MMWave Sensors?
10:20
Technithusiast
Рет қаралды 40 М.
Automate Your Smart Home With This Easy Bed Sensor
10:34
Everything Smart Home
Рет қаралды 68 М.
5 ways Presence Detection makes Home Assistant Smarter
8:59
SlackerLabs
Рет қаралды 13 М.
The ULTIMATE Home Assistant Tag Reader
7:21
Mark Watt Tech
Рет қаралды 29 М.
This Smart Home Sensor is INCREDIBLE! Aqara FP2 mmwave
8:43
Smart Home Solver
Рет қаралды 661 М.
Which one of them is cooler?😎 @potapova_blog
0:45
Filaretiki
Рет қаралды 6 МЛН
Уникальный пистолет🔥 #freekino
0:36
FreeKino
Рет қаралды 11 МЛН
THEY TOOK ALL THE SWEETS FROM DAD🤪
0:18
JULI_PROETO
Рет қаралды 5 МЛН