I put this in EVERY room! Smart room detection 😲
Вставка
- Опубліковано 15 чер 2024
- I put ESPresense around my entire house! Now I can automate based on what room I'm in with my Apple Watch.
ESP32: amzn.to/43WGEjE
3D printed case for the 30 pin version: www.thingiverse.com/thing:517...
Micro USB cables (that transfer data): amzn.to/3qH83rv
(affiliate links)
Everything Smart Home tutorial: • The BEST Smart Home Ro...
Install Espresense: espresense.com/firmware
If it says the WiFi doesn't connect, it might be a current bug so look for the device on your network and go to the IP address. Should be fine.
Connect the ESP device to Home Assistant: espresense.com/configuration/...
Update Use the IRK for Apple devices. Yes it can work without it but the IRK method is way more accurate.
For Apple watch: espresense.com/beacons/apple
For iPhone: community.home-assistant.io/t...
Then create a sensor in Home Assistant with the Bluetooth ID: espresense.com/home_assistant
FOLLOW ME
Subscribe to Reed's Smart Home: bit.ly/3EulO02
Subscribe to Smart Home Solver: bit.ly/3joO1dZ
Twitter: / smarthomesolver
Instagram: / smarthomesolver
TikTok: / smarthomesolver
---------
MUSIC
Operatic 3 by Vibe Mountain
**Update** I used this to automate my smart thermostat: ua-cam.com/video/snVQHsnG_V4/v-deo.html
Tip: use the IRK for Apple devices. Yes it can work without it but the IRK method is way more accurate.
For Apple watch: espresense.com/beacons/apple
For iPhone: community.home-assistant.io/t/espresense-device-id-how-to-get-them/403018/15
How long is the delay? Without irk there is maybe a 5seg delay.. The irk is not working for me..
I had a hard time with this a few months back. My Apple Watch kept changing Bluetooth id names. Did they fix that?
Have you adapted this device to have your audio follow you from room to room?
Love this channel. I've been learning and playing with esp32's for a few weeks now. Definitely something everyone should look into.
Hey, been watching your videos for many years now, you have helped me and my wife with some simple things we’ve done in our home, but I have a very interesting twist that might also help create content for your channels. I am totally blind and trying to create a blind friendly, smart home. Would love it if we could connect and speak more about it.
Hey Ricky thanks for watching over the years! That is an interesting twist and that would be great to connect. Hit me up on email.
I used to use ESPresense a lot, but recently it just can’t handle the amount of BLE devices in my neighborhood. Even when upgrading to ESP32s with more memory, I get reboot loops from it crashing. I just got some more of the ROVERs that have more memory on board, and I hope that will help. I love the project and miss having detection in my office.
We put an ESPresense in each room, and a tile tracker on both our cats. Added some fun automations like if an extrior door is open for too long, the assistant speakers will announce their last location. Took a bit of time to figure out the right settings, but its been great!
Did you use an AirTag?
@@DustyAfhe used a Tile (it’s like an AirTag)
Can you guide on how to do that
Thanks for reminding me to give these another go. Stuck them all over more than a year ago but never bothered to tweek the absortion. Working really good with my galaxy watch 4 and HA app.
Thank you Reed, I'm gonna work on this over the weekend.
Now that you have done that, you need to do the companion. Draw your home and watch items move around. Really cool to put a sensor on the dog and watch them move around the house during the day.
Ali Xpress has inexpensive ble tags. I affixed one to each of my bins and have an esp in the garage that picks them up. Reminds me if I forget to put them out, get the recycling fortnights mixed up or forget to bring them in.
There's also a build you can add extra sensors so you can measure light in the room, temps etc. With the same device
If you don't mind, what's the build for extra plugins like light sensors? Thanks
I wish esphome could do this...
Cool! Thanks Reed.
Thank you for sharing. Not sure if I want to take on this but do appreciate that I could if I wanted to. Motion sensors are working fine for now but we will see what future brings
This was genuinely helpful. I used ESP32 with Arduino with Bluetooth BLE iBeacon (BC021-MultiBeacon) for car detection.
yes want to see those setups for automations
This is great. Definitely will try it out. What recommendations to keep it powered on?
BTW, the Raspberry Pi device with the installed Home Assistant also has bluetooth and also should be suitable to be used for that..
I'm excited to apply these to track my cat. She loves finding new hiding spots, it would be nice to just know which room she is in.
Haha that would be a good use case!
First thing that popped into my mind was track the cats
Bluetooth cat collar? I like it.
which tracker are you usign for that?
Do air tags work with ESPresence? If so, it looks like there are a bunch of collars with air tags on them 🙂
Hi Reed, Can you please give a couple examples of automations. Possibly where two or more people in a room and one of more leave but light stays on until room is empty. Thanks mate.
Just throwing it out there. Currently, I'm using ESPhome and have installed motion sensors in various locations within my home, backyard, and garage. I have three ESP8266s running smoothly under HA/ESPhome, which effectively report back whenever motion is detected.
My objective is to create a central ESP8266, to which all the motion sensors can communicate. I plan to attach a circuit board with LEDs to this central ESP8266, allowing the LEDs to illuminate based on the specific location where motion was detected around the home.
Possible? Don't want to use Arduino solutions as I am only running Home Assistant and ESPhome.
It would be nice to be able to flash it on to an EP1.
How do you keep them boards up and running for long period of time? I found the ESP not to be that reliable over wifi. What is your experience? Did you apply any fancy changes / settings?
New to the field. Thought about getting the new aqara presence but would love an alternative. I’m on HomeKit, wondering could this be done on homebridge? is there a millimeter solution for HomeKit/homebridge that you know of?
I can't believe how good you are. Thank you for making these videos!
Brilliant - thanks!
I prefer to use the M5 Stack Atoms for this application as you can stick it directly to a small usb charger like those 5w iphone charger that most people already have laying around.
Even M5 stamps work. They are even smaller with USBC. I use them for this.
I always thought ESPresense would be able to combine the data of multiple sensors. I wanted to use it as an add on to the alarm.
It seemed to me, too, that it would be possible to use information from several sensors, and, for example, calculate with triangulation or triliteration additional information, and thus increase the precision and capabilities of the system.
You can make a hot and cold thing with lights when you're looking for things. "Find my phone" all lights are blue until you get closer to yellow lights and red lights for where it is...
Could you use an apple tracker instead of an iphone or apple watch? Does this routine work for family members when your not home?
Try using Wifi signal instead of bluetooth. By monitoring the relative signal strenght you get a pretty decent sensor.
Good video! Thanks
I think I still prefer the mmwave consider you don't need BT attached to you all the time.
I just got the chips. Do you have a more detailed guide on setting it up?
I think we will see great progress in the near future. There is software and tech out there, that can do this kinda stuff waaaay better. If you connect all the sensors you can detect at what exact point in a room are.
Where did you buy the cases? I went to the link, but nowhere to buy it from?
Does it also work with other smart watches like my Garmin forerunner245 ? Its has Bluetooth connection to my phone?
And do you have a video with the cheapest way to get(hardware)to run Home Assistant? Because raspberry pi's aren't available (sadly)
the fact that you guys consider Bluetooth detection as "Room detection" ..... No. Just No.
It is a "Person Tracking Detection" BEST case.
What about setting off an alarm when the presence of an *unknown* Bluetooth device is detected?
What if an intruder is creeping around your ground floor windows or the patio door? You could set the range to a meter or so and it would alert you that someone is looking in or actually breaking in.
Add a mm wave detector to increase the odds on your side (in case the intruder does not have any BT device on them).
Just make sure you never have friends over or anyone watching your house lol
If they are supposed to be there then you just ignore the alerts. It sounds like a nice addition to security@@StevoDesign
Any chance you could post the yaml for the dashboard?
This is cool. What I am also interested in is using an ESP32 for motion detection, so it activates when someone comes into a room.
I really wish Espresense worked with ESP Home, would love for it to just run on my EP1s without having to have a separate ESP32 in each room.
This might have been asked, but where can I purchase the cases for the ESP32's?
I suggest the irk method for apple devices, old method does not guarantee unique ids, thus wrong reporting
I am very interested in exploring these, but what is the real cost for deploying these 'everywhere'? Each location will need an ESP, a case (not all of us can 3D print and those that can have filament costs), and a power supply. Looks to be ~$15 per location? Still do-able foe me who only wants ~5 or 6.
Great video as always, Reed!
Although, I'm curious... Are you planning to use the ESPresence in conjunction WITH the Aqara FP2s? I'm setting up my FP2s now, and your ESPresence videos now has me thinking of running both!
Thanks! ESPresense will be an extra layer of customization for automations on top of using mmWave with the FP2.
@@reedssmarthome nice, that makes perfect sense! Thanks for the reply, man, and looking forward to seeing how you tie everything together!
So Reed, I know you synced or used your watch. Do you have to put every bluetooth device up to the unit to learn all the different people so it will know who is in the room?
is there any way to add a passcode protection to cards or pages in home assistant?
Completely new to these, and just realized I got ESP8266 instead of ESP32's, can these do the same thing? Did just order some also though.
Is there a way to get faster response? Or is it just something like BT beacon intervals
I have a far out idea if this could be used to turn lights on etc, put one waterproof case out at the gate so it knows you are home and like activates lights etc for you getting in to the house?
Is there a way of doing room presence that doesn't involve MQTT?
I'd love to set this up but the biggest issue I have is the looks.. Is there a case, cable, power combo that doesn't look so DIY? I'd love something as low-profile and 'one piece' as possible to look as though I just plugged a thing into the wall similar to a zigbee or zwave range extender, rather than a wall wart, usb cable, esp32.
I haven't tried these myself but another person commented about it shop.m5stack.com/products/atom-lite-esp32-development-kit seems like a good fit since it comes with case already and is really small.
Does anyone know if this can be used to just "sense" a BT device in a room indifferent of the address? im just more interested in knowing if a BT device is in a given room than to who or what its connected to, the reason being is one such BT device is a blood glucose transmitter, and that hardware address will change every time the transmitter expires and is replaced, so hard-coding a specific ID will only work for short periods of time.. why I was asking if its possible to just generically detect any BT device near by without needing a hardware address ..
I may try this with our princess cruise medallion. Their medallion class ships have something like this where you can use their app and find your family anywhere on the ship! It will even guide you to them google maps style.
Which 3D printer do you use?
Hey, I love your videos so much. The only issue for me it is that the wifi on my ESP32 keeps deconnecting, so I can't complete the configuration😔 I don't know what to do🤣
I would be so cool if this was possible with the current ZigBee devices, no extra esp module and extra power supply headache
Does this work with multiple people/devices in the same room?
I prefer the LD2410 mmWave sensors (about $7.00 USD on a test board for powering it on aliexpress) along with aome Enclosures (5 total) for about 3.50 USD. This way you don't need a 3D printer to print an enclosure and you don't have to wear or carry any kind of electronic device such as a watch or phone. Works great with no problems.
@@wojtek-33 don't care who it is really just need to know when someone enters a certain area and more importantly when everyone leaves a room or area. The later is where mmWave really shines.
@@wojtek-33 True but then i never said it was either 😃
How did you set your one up ? my sensors after a few hours or day just start doing false positives. im planning on trying to fix it next week when only i will be home
@@Ben-ou6cg if your using a Bluetooth proxy device like a esp32 then yes there is a bug that makes them go unavailable after a time. They are working on that problem i understand. One of mine is going through a Bluetooth proxy and does this. Reloading the integration for it makes it work again for a time, so i created a automation that when the sensor goes unavailable it forces a reload of the integration. I know this isn't ideal but it works until they can fix it. 😁
@@Ben-ou6cg Also i don't use this sensor to trigger the light to turn on, I use another sensor, either a door sensor if the room only has one exit/entrance or a standard PIR motion sensor. You can also configure the sensor to trigger when you want. Their is a program on the net that you can use to do this.
Can this detect any Bluetooth device as opposed to registering a specific one?
Looks really close to BLE Beacons
Still waiting for the scenario when even though you are connected to more than one of these sensors, it just shows your presence to the nearest one. From what you explained, it has to switch from one device to another.
That seems easy to fix though as the sensors report out range to device so just prefer the closer one or set a latch on your automations (don't trigger others until more than 3m away from current sensor etc).
Doable just more logic
🤔 would it also work with Tile? Or other devices
I want to control my a/v and any IR/RF devices for each room, please make a video with a how-to
This is my second time trying this today after seeing your video and for whatever reason I can not get my Apple Watch connected to mqtt I have no idea what I’m missing. I found the irk and everything but nothing shows up I tried messing with config files but I just get errors and when I don’t get errors it dosent work! Ahhh! This stuff can be so frustrating at times.
That's pretty cool but does it suck the watch battery?
2:40 Hello, I thought motion detection could be useful for security when sleeping, if someone breaks into the house or a room? What would be best, as I've seen thingies like esp, Aqara, motion sensors, millimetre wave. The esp delay would be too slow in a dangerous situation.
Did you find something useful?:)
How does this work across multiple floors? Will the max range help with vertical distance if I have a sensor in a room on a main floor and a different one in the room above it?
The max range will for sure help with that. I only have one story but there are also more settings to configure for Espresense to fine tune it even more. espresense.com/configuration/settings#calibration
Problem with ESPresence is that it doesn't really work for guests. You need millimeter-wave or something similar to have "real" room presence detection. But that is alot more expensive.
Oh that sucks 😂 or what if you just don't want to walk around with a smartwatch?
Hi the youtube is great, can you add some example automation, demonstrate how to do them?
Txs for yet another great video. Im just at the beginning of presence detection and have mmWave. I love the simplicity of this of only ot was quicker. Entering a room turn on the light won't work. Wonder why ot takes seconds to register.
Secondly goven this is person specific how would you register tje whole family?
I appreciate it Thomas! The speed of it just comes with the nature of bluetooth and how often it communicates with the devices.
You can register multiple devices. So I have my Apple watch, iPhone and my wife's iPhone. Then if someone is in the room and it doesn't have one of those I know it's my kids or Luna. Even though I might put on one Luna too.
Possible to use ESPresense AND Home Assistant BLE Proxy on a single ESP32?
How do you track your kids’ presence around the house? Kids that are too young to have electronic device of their own.
I'm not sure since when you flash Espresense it erases the board. Maybe there's a way that I don't know about though.
Do you plan on putting a Tile on Luna?
Hey reed, i have some espresence sensors too, but i seem to have neglected them, because i couldnt really figure out how to use the ibeacon tracking for automations, can you make a video on this?
Sure thing!
Reed, can you do a how to on your other channel? Stay cool in our AZ heat this weekend!
Why yes. This uses the METRIC system!
One possible issue I see with this is people with a basement. I am thinking about taking the dive with mmw device.
My wife is forever misplacing her phone. I can use something like this to figure out which room the phone was last in. Would be nice if there's a "beep" function for iphone.
Hey Reed, nice video. Like your bar stools..can you share make/model/purchase site info? Thanks.
Thanks, www.afw.com/bourbon-30-swivel-barstool-with-back
I made these a couple of months back. After having tweaked the distances it works amazingly :D
If you are using multiple phones or watches I can recommend pairing with the esp32 base stations for a 100% unique ID :)
Great tip, thanks!
What was your method of tweaking the distances? Ive got mine all installed, but Im finding that in a multistory house that its hard to tell what floor the device is located on exactly.
I really don't understand the purpose of this! So basically it detects your devices in your home, is it for lost and found case?
What does it add? If it does not de Lights?
Any recommendation for a beacon?
Reed- Doesn't the BT MAC change in Apple Watches? I thought that was an issue when I looked into doing this previously. Have you had any issues with it?
So far it hasn't been an issue. But if it ever does, there are guides to use the IRK number which I don't think changes. espresense.com/beacons/apple
community.home-assistant.io/t/espresense-device-id-how-to-get-them/403018/15?u=gwp1
@@reedssmarthome You're the coolest.
Is your Apple Watch permanently glued to your arm? So if you are not wearing your watch then the sensor is useless? Too bad you can’t power it by battery otherwise you have to find and use up a outlet in every room and limited to where you can put it
Very cool Reed. How can we use this in combination with mmWave sensors? This one is slow to respond, but it is individual specific. The mmWave sensor doesn't care who, but it's quicker. Any ideas on using both together? I guess mmWave for things like music, but ESPresence for music, etc.
Yes automation videos coming soon!
So you need to have MQTT up and running for this to work?
Do you know a good I depth MQTT walk through? I’ve tried looking at it before but so much just doesn’t make sense.
Yes you need MQTT up and running. It's been a while since I set mine up but I think I watched Lewis ua-cam.com/video/dqTn-Gk4Qeo/v-deo.html
MQTT can be difficult to wrap my head around. Basically it's a protocol or a way for the machines to talk to each other.
Nice one! Be good to add this to the current sensors that I've got, a couple questions though:
1. Can this feature be added to an existing esphome? (Just by adding some lines in the yaml for example)
2. Can this be done on an esp8266 or D1 wemo mini?
Thanks
Esp8266 doesnt have BT.
Im not an expert but I have added BT proxy to Lewis’ Everything Presence One and they work great.
I don't think you can add it to an existing esphome right now. I need to look into that more because I don't want multiple esp32 in every room.
@@reedssmarthomemy point exactly. I don't really have 2 of esp32s in every room as I've already got them as multisensors cum ble proxy
Any one got an idea how to find an Apple Watch IRK without a macOS device?
I'm wondering how well this works in a 2-story home. Trying to cover a 20'x20' livingroom upstairs without also getting the space below seems challenging...
You should be able to block out the signal from unwanted directions with some aluminum foil on/in the case.
Is this for in case you forgot where in the house you are?
I use this for a few week
Can you assign multiple BT devices? i.e. my phone, my watch, my wfies phone, my wifes watch... etc... nice what i go "where did i set my phone again? "
I’ve tried this, but the ESP presense tends to disconnect often. I had to use smart plugs with an automation to reser whenever each ESP would go offline, which was pretty often. Does this happen to you as well?
I have only one esp32 board that goes offline for about 4 seconds every 10 minutes or so. None of the other boards do that so it might be a faulty board or something going on with my WiFi. But none of them go offline and stay offline.
@@reedssmarthome good to know. I run my instance of HA through a VM and I think the Bluetooth dongle I have is causing issues with Bluetooth and disconnecting things so it might be a combination of the boards and my Bluetooth.
@@reedssmarthome Quick update. I switched to the boards you have yesterday and haven't experienced any disconnection. Also, these boards seem to reboot when they do lose connection versus the previous ones I had that didn't reboot on their own. What are your thoughts on using something like this in place of say an Aqara FP2? I just got some of them and they have their quirks, especially in small rooms.
Reed, the HA cards you show on your video, can you explain more about them?
same would love to know how he gets this working he has an article but its not really straight foward i feel like hes leaving some parts out.
Can you explain some uses for this? I'm not understanding.
You can turn on/off devices like lamps, ac, fan, play music, turn on coffee machine, etc
Any thoughts as to why I would only have RGB solids? No color blending and no white? Running ws8215 light strips and wled on an esp8266 board
It turns out it was a power issue. Powering 5 meters of 8215 from my USB apparently does not give enough juice to run white. Once I added a power supply everything looks great.
Do you have a recommendation for laundry machine use detection? Vibration sensor? Power detection for both 120 and 240 volts?
Use a smart plug(unless you have laundry machine plugged into 240V???(I'm Polish so in Europe this is pretty normal because 240V is standard and something about 400V is high voltage))
Most smart plugs can detect real time wattage so you can do something like this:
IF 'laundry machine' WATTAGE > 5(sample error + lights/screen)
Say start a timer for 1h
Say 'laundry machine completed cycle.'
Tried many ways, wash cycles were wildly varied. I've had 100% accuracy using a photoresistor hotglued to done led.
Couldn't they just communicate with each other? So you could 'train' it by walking around and the sensors save things like if i have 30% and sensor two has 80% he is in the living room.. wpuld be waaaay more complicated but also maybe more accurate?
Does this work with any Bluetooth device? Maybe like a Fitbit tracker?
Also what are the battery effects to you Apple Watch if it keeps connecting to these devices I’d expect it would have some sort of effect.
Wonder if there’s any other Bluetooth devices that could do work standalone so it’s not a battery drain issue.
Technically any Bluetooth enabled device should work. You mean Stand alone as in Bluetooth speakers or similar? What will be benefit of that? He is trying to bridge a gap where the Motion sensors have today. If you are standstill like reading or sleeping the motion sensors will switch off the devices. By combining with this presence detection you can keep it on.
It works surprisingly well...most of the time. ;-)
Cool!
I believe it's also possible with esphome, no? Using esphome it is a bit easier to manage all devices.
I would also be interested to learn more about tracking BLE devices with ESPhome. I played around with it a little, but I didn't manage to track my Apple watch.
Great idea.. cannot get it working but great idea. I get firmware installed but after that nothing else works as it should according to instructions...
I had the same experience. I added the wifi, and even though it says it's not able to connect, I see it show up on my network w/ a new IP address. From there, it won't join Home Assistant. I can see in the logs where it detects my watch when I get close to it, but without being added to Home Assistant, it's all for naught
@@MacDork suddenly is just working lol
@@TheCowboysdude lol ty
@@MacDork I'll take it lol