Closed jeffehobbs closed 3 years ago
I second this. I just got my nvr system to process pictures through home-assistants internal sighthound component. So i did a google search to see if anyone added vehicles. Then i found this component.
my coding skills are weak, lol. But before i try adding the vehicle stuff myself, can you add it?
As a suggestion;
it seems like for each type of image scan. it needs to use another api call. It would be good if the integration had two places to specify camera entities. One for people, one vehicles. then the ability to add a camera in both spots. that way if the camera can only people or only vehicles it can save api calls.
As you mention this requires calling a different API endpoint, and would require a resonable amount of work. I think it would be better to have a seperate integration, rather than making one complex integration to handle vehicles and people. Ideally the vehicle integration would detect the vehicle and identify its number plate. Note that number plate reading is already supported by HA
I have one of my cameras pointed at my driveway. Adding in an additional event for "vehicle detected" -- ideally passing the additional metadata representing the vehicle and license plate -- would allow me to know who is coming and going. We could even trigger automations based on specific license plates (!)
https://www.sighthound.com/docs/cloud/recognition/#vehicle-recognition