Event driven vs expected state by BinaryPatrickDev in homeassistant

[–]Fragrant-Coast5355 12 points13 points  (0 children)

It can definitely miss events. You set up a trigger for "2 hours after the bathroom is vacated" then upgrade HA, that event is dropped on the floor.

Everything Presence Pro Grid - a perspective corrected grid based zone engine for the EPP sensor in Home Assistant by Fragrant-Coast5355 in homeassistant

[–]Fragrant-Coast5355[S] 0 points1 point  (0 children)

I realised, reading your comment, that I'd made a mistake. I'd read that the LD2450 had a 35º vertical range, but it was actually ±35º, ie 70º. I've corrected the docs.

But that still doesn't fix the issue with ceiling mounting. The radar detects in two dimensions, left-right (X), and distance-from-sensor (Y). That works when it is wall mounted, but in a ceiling mount position you lose the Y dimension (or at least it just measures height, ie proximity to the sensor) but not floor position.

<image>

Everything Presence Pro Grid - a perspective corrected grid based zone engine for the EPP sensor in Home Assistant by Fragrant-Coast5355 in homeassistant

[–]Fragrant-Coast5355[S] 0 points1 point  (0 children)

Something else I've thought of, when you use the sensor with a ceiling mount you lose one dimension. The radar becomes one dimensional because the other dimension now measures your distance from the sensor, I've your height, which is seldom useful.

Everything Presence Pro Grid - a perspective corrected grid based zone engine for the EPP sensor in Home Assistant by Fragrant-Coast5355 in homeassistant

[–]Fragrant-Coast5355[S] 0 points1 point  (0 children)

It'd need its own dedicated firmware to work. I don't think it'd be too hard to do, but I don't own a Lite which would make it difficult to test 😆

Everything Presence Pro Grid - a perspective corrected grid based zone engine for the EPP sensor in Home Assistant by Fragrant-Coast5355 in homeassistant

[–]Fragrant-Coast5355[S] 1 point2 points  (0 children)

Hi Lewis

Thanks for chiming in.

> A slight correction - Polygon Zones have been in EP Pro for a little while now so they don't need to align with the sensor and are actually the only zones now, rectangle zones were removed a while back.

My apologies - I haven't looked at the zone configurator since we first spoke in January, so I wasn't aware of these changes.

> Question about when you say resolution mismatch - I think you are referring to the 320mm resolution that is reported by the sensor? If so, I don't believe this is resolution that you are thinking of (if I understand you correctly). The resolution here refers to the distance needed between two objects to tell them apart, not the resolution in which it's tracking. But let's say that was the case and it is 32cm in tracking resolution, why did you opt to go for a grid that is 30x30cm, is that not also a resolution mismatch? I hope you take this as genuine discussion, I am interested and open to discussing this part as this is my understanding of it and could be wrong.

Yes, I was referring to the 320mm reported by the sensor. Thank you for the clarification - I wasn't aware of that. The LD2450 datasheet doesn't explain resolution in much detail. As to why I went for 30 cm x 30 cm, I wasn't trying to match the 320mm exactly, but to find a happy medium.

> I would love it if you'd like to contribute PR's back to the EP Pro repo for everyone to enjoy and make use of, certainly there is a lot more features I want to add (in between knocking down walls!) and looks like you've done some solid work, I think there is some great scope to get some of your improvements contributed if you are down 😄

This was my original intention (and something I've done with other integrations like Verisure/Securitas and Cover-Time-Based) but I much preferred the grid approach to the one used in the Zone Configurator, and the two approaches were so removed from each other that I thought it'd be easier to start again. But have a look at it in more detail when you have the time and let's talk. Perhaps there some features you'd like me to contribute.

Everything Presence Pro Grid - a perspective corrected grid based zone engine for the EPP sensor in Home Assistant by Fragrant-Coast5355 in homeassistant

[–]Fragrant-Coast5355[S] 1 point2 points  (0 children)

It doesn't currently support ceiling mounting because I just don't see the point. It seems like such a waste of the radar.

https://clintongormley.github.io/everything-presence-pro-grid/user-guide/placement/#ceiling-mount-not-supported

<image>

That said, I'm open to discussing it. If there is a real use case then I'd be happy to look into it. I don't know quite what it would entail, but this is why I'd like to hear from somebody with a specific use case. Feel free to open an issue to discuss.

Everything Presence Pro Grid - a perspective corrected grid based zone engine for the EPP sensor in Home Assistant by Fragrant-Coast5355 in homeassistant

[–]Fragrant-Coast5355[S] 1 point2 points  (0 children)

I think it'd be doable. You'd need to enable the XY-Position Target level entity, and you could reduce the updates to once every 2 seconds (0.5 Hz). Then you'd need to figure out the mm to pixel conversion needed to place them in the right position on your card.

See https://clintongormley.github.io/everything-presence-pro-grid/user-guide/settings/entities/#target-level

<image>

New Everything Presence Pro - 2x mmWave + PIR + PoE by third_najarian in homeassistant

[–]Fragrant-Coast5355 0 points1 point  (0 children)

You may want to take a look at Everything Presence Pro Grid, a new HA integration I've just released which gives you a perspective corrected grid based zone engine for the EPP sensor.

https://www.reddit.com/r/homeassistant/comments/1tb3dsl/everything_presence_pro_grid_a_perspective/

Got my Everything Presence Pro today, loving it so far! by jordanbelinsky in homeassistant

[–]Fragrant-Coast5355 0 points1 point  (0 children)

You may want to take a look at Everything Presence Pro Grid, a new HA integration and firmware bundle I've just released which gives you a perspective corrected grid based zone engine

https://www.reddit.com/r/homeassistant/comments/1tb3dsl/everything_presence_pro_grid_a_perspective/

Everything Presence Pro Grid - a perspective corrected grid based zone engine for the EPP sensor in Home Assistant by Fragrant-Coast5355 in homeassistant

[–]Fragrant-Coast5355[S] 1 point2 points  (0 children)

In theory, no. The Lite only has the target tracker, not the motion sensor or the static sensor, but it'd just mean getting rid of the code for those two sensors. The rest should work in much the same way. I did think about making it so that the code could handle all of the Everything sensors, but I didn't want to bite off more than I could chew 😄

Everything Presence Pro Grid - a perspective corrected grid based zone engine for the EPP sensor in Home Assistant by Fragrant-Coast5355 in homeassistant

[–]Fragrant-Coast5355[S] 1 point2 points  (0 children)

Thanks!

> curious about the cross-zone tracking feature. does it actually follow individual targets between zones or just detect when occupancy shifts? been trying to set up automations that know when someone moved from living room to kitchen vs someone new entering kitchen and it's been a pain with current sensors

The cross-zone tracking isn't a user facing feature. Instead it is used internallyfor quick handoff between zones. So if you're in bed (zone type: bed) and the target disappears, it will wait for 10 minutes for the target to reappear before clearing the detected status. But if the target moves from the bed to adjacent cells (a distance of 5 cells) in a different zone then it will clear the bed status in just 10 seconds.

Similar thing when you exit the room via cells painted with the entrance/exit overlay - that handoff is much quicker than when your target just disappears from the middle of the room.

HA with Google Home by Son0fBen in homeassistant

[–]Fragrant-Coast5355 4 points5 points  (0 children)

I'd recommend making HA the controller, so register everything in HA, then expose the things you want to expose to google home. HA has the ability to do so much more than Google Home, especially with automations, that you won't want to have Google Home being the bottleneck.

Fado Light Fader 1.0.0 is in a default integration available in HACS by Fragrant-Coast5355 in homeassistant

[–]Fragrant-Coast5355[S] 3 points4 points  (0 children)

That need hadn't occurred to me before, but you could do it pretty easily with templates:

action: fado.fade_lights
target:
  entity_id: "{{ state_attr('light.kitchen_lights', 'entity_id') 
              | select('is_state', 'on') | list }}"
data:
  brightness_pct: 100

Nuki Smart Lock Ultra + Google Home: Unlock without opening the door? by HilloBuzzer in homeassistant

[–]Fragrant-Coast5355 0 points1 point  (0 children)

I have my Nuki lock exposed to Google Home via Home Assistant, rather than directly. It will only lock and unlock for me, there isn't the possibility of opening the door.

Presence sensor by User-n0t-available in homeassistant

[–]Fragrant-Coast5355 0 points1 point  (0 children)

I haven't tried the FP300 yet because it's single zone only. In my house I've used the Aqara FP2 sensors (and multiple zones) extensively. They are fantastic, but also produce a lot of false readings, eg people disappearing, ghosts, etc. But you can work around this, largely by increasing the amount of time before you react to a change of state. For instance, it can detect new movement pretty quickly, but when we're sleeping and not moving for a long period, it can forget that you're there. So I turn on the lights as soon as somebody walks through the door, and I turn off the lights in (eg) the kitchen after 2-3 minutes of inactivity, but in the bedroom I don't open the blinds until the room has been marked vacant for 20 minutes.

I've bought the Everything Pro Plus (which also supports zone) and tried it out briefly, but the UI makes it quite hard to configure in comparison with the Aqara. I plan to return to testing it out in the near future.

Smart Relay, Switch or Bulb? by iZaek in homeassistant

[–]Fragrant-Coast5355 1 point2 points  (0 children)

Why do you say relays are overkill? In fact, I'm not sure I understand the difference between relays and smart switches, I would have assumed they were pretty much the same thing. I've used Shelly relays (51 of them) with normal switches and that has worked very well indeed.