this post was submitted on 27 May 2024
1 points (100.0% liked)

homeassistant

11706 readers
9 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

I woke up this morning at 6 am with IBS cramps. I tried to go back to bed but I'd woken fully up so by half 7 I was sat at my PC with a brew for some uninterrupted tinkering.

My espresence has been a bit finicky since ai set it up. I've been moving the nodes around to find better positions with slight improvements but nothing making it properly stable.

Well this morning was even worse than usual. I'm sat in my front room with my sensor flitting between the floor above and below me but never on the floor I'm on.

I moved the sensors again. I played with dwell time. I changed "wait until" up. I even dived into the rabbit hole of tuning the base stations by increasing rssi and absorbsion, which actually seemed to do the best at improving it.

So at this point my phone has been sitting on the desk for a few hours while I fine tune all this, when my wife comes down the stairs. Her beacon is firmly set to "frontroom" when she sits down but mine is bouncing around the house. Odd.

Then I finally figured it out!

The damn phone is sat on a wireless charging stand on my desk. This must be interfering with my Bluetooth!

I take my phone off the stand and voila, it's in a stable place in espresence.

So that's how I wasted 2 hours this morning.

I say wasted, I did manage to get it more stable on the charging stand before I realised, and this seems to have helped it's stability when it's off the stand. In fact, all my messing about this morning has made espresence correctly report my location ever since.

top 4 comments
sorted by: hot top controversial new old
[–] sabreW4K3@lazysoci.al 1 points 2 months ago

I love posts like this. Thanks for sharing.

[–] spitfire@lemmy.world 0 points 2 months ago (1 children)

Is there any alternative to ESPresence I can add to existing ESPHome devices? Some solution building around private BLE (which I did set up, but I’m not using) and stuff? I have quite a few ESPHome based devices doing their work and not using Bluetooth around my home.

[–] Starfighter@discuss.tchncs.de 0 points 2 months ago (1 children)

I don't have any experience with it but this might do something along those lines(?):

https://esphome.io/components/binary_sensor/ble_presence.html

Seems like you can just add it to one or more of your existing esphome devices.

[–] spitfire@lemmy.world 1 points 2 months ago

That wouldn’t really work for treacking Apple devices since they randomize their MAC addresses. Which is why I’ve added them using private ble integration in HA. It is able to detect their presence (or lack of it) via my ESPHome devices which are set up as Bluetooth proxies. What I would like though is know which room are they in - I have an ESP32 device in pretty much every room, and I wish I could leverage them without adding dedicated ESPresence ones.