this post was submitted on 27 May 2024
74 points (95.1% liked)

homeassistant

12152 readers
54 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 2 years 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 8 comments
sorted by: hot top controversial new old
[–] sabreW4K3@lazysoci.al 7 points 6 months ago

I love posts like this. Thanks for sharing.

[–] ikidd@lemmy.world 7 points 6 months ago* (last edited 6 months ago) (1 children)

Radio interference from wireless charging makes Espresence shit?

Edit: OK, I've parsed that title again and understand what was meant.

[–] Lifebandit666 1 points 6 months ago

Yup exactly that.

I only figured it out after fine tuning for hours to try and stop it. But the fine tuning I did while I was getting interference has actually made espresence better.

It was bouncing around stations a lot, but by turning the absorbsion up on the station in my front room it's sorted all that out and now it's accurate.

[–] Lifebandit666 2 points 6 months ago

Anyone wondering about tuning:

Absorption is the amount of "stuff" between 2 base stations. Increasing the value seems to "attract" Bluetooth to it.

So if you're sat next to a station and it's saying you're nearer another, increasing absorption seems to help with that.

[–] spitfire@lemmy.world 2 points 6 months ago (2 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.

[–] Lifebandit666 1 points 6 months ago

I believe the other comment is correct, there's 2 ways of adding Bluetooth presence, one is espresence which I'm using and the other is a less feature filled version in esphome.

I have done a lot of moving my esp boards around though to improve it. They seem to work better when they're in different locations.

So for example I had one at the top of my stairs but I've moved it across the room, further away from the one on the floor below which was at the bottom of the same stairs. I also moved that one into a room and higher up because it was interfering with the one on the floor below that.

And that one I moved to the other side of the room, and the one on my ground floor has been dropped to floor level instead of sitting at waist height.

Point being, if you're putting it onto already placed sensors, ymmv

[–] Starfighter@discuss.tchncs.de 1 points 6 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 2 points 6 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.