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
Add dahua access control #20
Comments
Hi, I'm working on this now :) |
BTW, face detection should be working now. As long as you selected the event when you setup the camera. If you did that, it'll create a sensor for the event. Can you confirm if that is working? You might need to remove the camera and add it back. Make sure to select |
Hello, |
Can you enable debug logging and send me the event that's found in the log for face detection? logger:
default: info
logs:
custom_components.dahua: debug |
Sorry for writing report here. I am new on GitHub. |
@rodaman no problem. Thank you, I'll update the readme. |
Have a look at the logs. The good news is that I can see the DoorStatus Event. so if you can just make this event as a binary sensor it will solve my problem. Home assistant will be notified if a person scanned his face. However, there is no log about face detection but i don't care too much about it. The most important thing for me is the DoorStatus Event. 2021-06-20 20:30:33 DEBUG (Thread-78) [custom_components.dahua] Data received: {'id': 8, 'method': 'client.notifyEventStream', 'params': {'SID': 513, 'eventList': [{'Action': 'Stop', 'Code': 'VideoMotion', 'Data': {'LocaleTime': '2021-04-11 21:33:49', 'UTC': 1618148029.0}, 'Index': 0}]}, 'session': 1691002159} |
Thanks so much. I already see the issue and I will fix this. Pretty easy fix now that you provided me the log. Thanks! I'll post back here once it is fixed. {
"id":8,
"method":"client.notifyEventStream",
"params":{
"SID":513,
"eventList":[
{
"Action":"Pulse",
"Code":"DoorStatus",
"Data":{
"LocaleTime":"2021-04-11 21:34:49",
"Status":"Open",
"UTC":1618148089
},
"Index":0
}
]
},
"session":1691002159
} {
"id":8,
"method":"client.notifyEventStream",
"params":{
"SID":513,
"eventList":[
{
"Action":"Pulse",
"Code":"DoorStatus",
"Data":{
"LocaleTime":"2021-04-11 21:34:52",
"Status":"Close",
"UTC":1618148092
},
"Index":0
}
]
},
"session":1691002159
} |
@hasan-fardan I've released 0.8.1 that will make the binary sensor work for the door status. It should show the door as opened or closed now. |
The door status works perfectly. thank you |
Awesome! Thanks. Closing, please open an issue if you have any more troubles. |
Hi,
After update to 0.8.2 DVI VTO02211G-P stoped working. I did not to known
how to downgrade integration so I did restore full snapshot of HA. Logs
lost but I remember it says "unit not ready yet" or something.
pon., 21 cze 2021, 07:20 użytkownik Ronnie ***@***.***>
napisał:
… Awesome! Thanks. Closing, please open an issue if you have any more
troubles.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#20 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGD7T5WC2XFUNQHZYOGY6ELTT3D23ANCNFSM467LCWYQ>
.
|
Ack. I can confirm the same. I will work on this immediately. |
I just released 0.8.3 to address this bug. Sorry for that! Please let me know how this goes |
Thanks. Not complaining... just report. Everything works great I am
appreciating your works and I am very grateful.
pt., 25 cze 2021, 19:09 użytkownik Ronnie ***@***.***>
napisał:
… Ack. I can confirm the same. I will work on this immediately.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#20 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGD7T5QRVSSZHPDM7HWG4Q3TUSZ47ANCNFSM467LCWYQ>
.
|
0.8.3 works fine. Thanks
pt., 25 cze 2021, 21:12 użytkownik Data Roman ***@***.***> napisał:
… Thanks. Not complaining... just report. Everything works great I am
appreciating your works and I am very grateful.
pt., 25 cze 2021, 19:09 użytkownik Ronnie ***@***.***>
napisał:
> Ack. I can confirm the same. I will work on this immediately.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#20 (comment)>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AGD7T5QRVSSZHPDM7HWG4Q3TUSZ47ANCNFSM467LCWYQ>
> .
>
|
Awesome. Thanks very much for reporting this issue. |
This integration will add dahua access control but not all features are supported. Some events work like the motion detection but face detection won't work. Also, I am looking for DoorStatus event but i couldn't find it.
can you make this integration support all events of the access control my model is ASI7213X.
there is an addon called DahuaVTO2MQTT "https://github.com/elad-bar/DahuaVTO2MQTT" it has the door status event but it can only handle one device and I have multiple devices. if you can use the same method to obtain DoorStatus event that will be great.
The text was updated successfully, but these errors were encountered: