-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
faceSnap sensor support #81
Comments
It can potentially be added as long as the responses it produces are formatted in the same manner as other events. Can you supply a curl output from your triggers endpoint as well as a snippet from the eventstream containing a "faceSnap" event? |
I have this error, but new to HikVision - if you can give some instructions on how to get the information you require I am happy to help :) |
Sure thing. Can you run a curl on the expected trigger path and post the output? Change that last flag if you're not using digest auth.
This will let you monitor the alertStream, I'd expect the first one to work, but please try both and let me know what the outputs are.
|
|
Ok, got it working:
Nothing else is showing up, no motion and no facial identification |
The alertStream endpoint should be a continuous stream of data. If faceSnap is what I think it is you should start logging the endpoint and then walk in front of the camera to see if it throws a faceSnap event. |
No, don’t see anything else exact the line’s I’ve posted above.
…Sent from my iPhone
On 21 Jan 2022, at 21:35, mezz64 ***@***.***> wrote:
The alertStream endpoint should be a continuous stream of data. If faceSnap is what I think it is you should start logging the endpoint and then walk in front of the camera to see if it throws a faceSnap event.
—
Reply to this email directly, view it on GitHub<#81 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AN3SBV6XJF6LJXTJRYNSOFDUXG7SHANCNFSM5KPTXU4A>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Can you post the curl command you are using? If you only get that output and then the connection closes when attaching to the alertStream i'm afraid this component isn't going to work for you since we rely on a continuous stream of events from the device to process. |
Ok, got something
When I walk past the camera this is coming up:" |
@mezz64 - any update on this? I am seeing the following which I believe is related to this issue: Logger: pyhik.hikvision Sensor type "faceContrast" is unsupported. |
Sorry for the slow follow-up on this one, can @EvertJob and @Symbiot78 try out the changes on this branch (https://github.com/mezz64/pyHik/tree/face_sens)? From what I can tell the event log formatting is the same so we should be able to pick these up without issue. Just need someone to test. |
Every time I boot Home Assistant, I get this error:
WARNING (SyncWorker_1) [pyhik.hikvision] Sensor type "faceSnap" is unsupported.
I think it has to do with the 'Face Capture' function in the 'VCA Resource':
Is it possible to make a sensor for this function available in the Home Assistant?
The text was updated successfully, but these errors were encountered: