this post was submitted on 19 May 2024
124 points (93.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
 

"Hur Hur that's what a timer on your phone is for dude"

Yeah but this was a smart plug that was going dusty in a drawer!

Anyway it's not the notification that makes my brain tickle in that special way, but the fact that my HA takes note of who was in the kitchen when the air fryer was started and only notifies the floor with that person on when it's done.

Now I've worked that logic out with a silly Air Fryer notification I can reuse it in all my other automations.

you are viewing a single comment's thread
view the rest of the comments
[–] Cyber 1 points 6 months ago (1 children)

Noice.

But... how much faffing did you have to do to get the tuning right?

I've recently started using this and have 3 different ESP modules and I'm having a hellofatime getting them to show near-enough results, let alone accurate.

1 of them literally has the phone on top of it and it thinks it's 4m away.

I've gone upto absorbtion factor 10 (Spock) with an RSSI adjustment of 6, and that's passible on 1 device, but not another

So... what's your secret?

[–] Lifebandit666 1 points 6 months ago* (last edited 6 months ago) (1 children)

The secret is not caring it's 4m away as long as it says you're closest to that one. It's not accurate, it's a guess made with software.

As I've said I've sat at my PC on the front room and watched it say I'm in my bedroom and kitchen.

So for example my front room lights are based around an input boolean. They're triggered on by motion but back off by whether the TV is on, my wife's laptop is connected to the WiFi, the pc is switched off, and everyone's presence is not in the front room. I already did all that and now I have presence as well.

It used to be that my wife would be sat there on her phone and the lights would go out, now because her phone is on her person they stay on.

Like I say, they're not perfect but they are better than not having them.

I don't think I'll ever have my music follow me around the house.

Oh also try instead of basing automations around whether you are in a room, instead use "is not"

So for example when I get out of bed and get up for work by bedroom lights come on with my alarm. When I go downstairs and make a brew I am no longer in the bedroom so my automations turn off the lights in there. Is not "bedroom"

It's triggered by the motion sensor outside my bedroom door, then it waits for my presence to be anything other than bedroom. Since I'm moving around the house it'll trigger at some point.

Similarly my sleep automation turns off when the bedroom is no longer occupied. But that's when my wife gets up 2 hours after me. It's also triggered by motion, but then waits until my bedroom presence sensor no longer reads anything

[–] Cyber 2 points 6 months ago (3 children)

Ah, ok... I see. I guess you've not filtering on distance then, ok. I see all my neighbours stuff on 1 sensor, so automatically started filtering (and then attempting to tune)

Good point on the negative room sensing, I think I need to start this again... but also ditch the crap module.

Thanks

[–] Lifebandit666 1 points 6 months ago* (last edited 6 months ago)

Yeah you certainly need more than one sensor. I have one per floor

[–] Lifebandit666 1 points 6 months ago

Yeah I have a million Bluetooth devices picked up but I've only put 4 of them so far into my Ha sensors. Fuck knows what the others are, but we have soany devices in the house that I can't keep track, then there's the neighbours' stuff too...

Interestingly I stumbled across a YouTube short yesterday about hacking an android device from only knowing it's Bluetooth Mac address, so theoretically I could really piss off my neighbours if they drove me to it.

[–] Lifebandit666 1 points 6 months ago* (last edited 6 months ago)

Just coming back in to say that yeah, now I've used it as a primary trigger instead of a secondary check it seems I'm all over the place in Bluetooth land...

I don't have a motion sensor in my bedroom. I do have an old phone on a charging stand that I use as a Smart Clock, and the camera of that can be used as a motion sensor. It's pointed at my head when I'm in bed so it's not in an optimal motion sensor position... Just setting the scene for you.

Now I had an automation that turns bedroom lights on based on motion so when I wake up in the middle of the night for a pee I have a lamp that turns on for five minutes.

Well of course I wanted MORE from this extra from my clock, so I've added presence in the room as a primary trigger of my lamps.

I'm stood in my room watching my lights popping on and off again every 30 seconds...

Not great as a primary trigger, more a secondary check.

Anyway I'm gonna try and change it by adding "in room FOR 30 seconds" to my sensors, seems to be helping so far.

Also limiting reporting distance in the settings for each node to 4-6 meters.

Or maybe stop trying to use it as a primary sensor lol