hass-aarlo
hass-aarlo copied to clipboard
Feature Request: Make smart detection usable as attribute
I have noticed that when I view the thumbnails for a camera with the aarlo lovelace card, the tooltip on mouse-over actually shows what Arlo has recognized for the image:
Would it possible to show just the result in the () as an attribute in the binary sensor for motion or in the cam itself. It would then be possible for example when a person is recognized and no one is home to trigger something different as when an animal is recognized. For example, when an animal is recognized on my lawn I could start the sprinklers for a couple of minutes to keep cats from taking a dump there. :)
Thanks as usually!
This one is pretty simple, the value is already exposed in the attributes of the last
sensor. I'll take a look.
Ah, found it, was looking in the wrong place! It's attribute 'object_type' at sensor.aarlo_last_cam and it is a string with the object in english. It's easy to read that with a template sensor, so just for me you don't have to do anything (and can close this). Or do you want to put some functionality around that? If you want I can update the readme.md as it say that smart features are not supported?
Glad you can get it working for now. I've put it on my TODO list, the change isn't huge and hopefully I can find some time this week.
And sure, update the README.
Just to kick this old one up: Does the new MQTT backend make it possible to hand-over the smart detection results when the motion sensor is being triggered? In the past it was only in the attributes of the library item.