Comments (7)
The goal will be to let the user specify, so anything that shows up in the alert stream will be valid, this should include smart events.
from pyhik.
Any idea when the line crossing will be available?
from pyhik.
followed this over from "New gen Hikvision WIFI-Cam not usable with pyHik? #62"
Just upgraded to HomeAssistant 0.117, thank you very much for getting the basic motion binary sensor working :-)
Very much interested in getting the other sensors working (intrusion detection and line cross).
Looking into the possibility of using the human/vehicle triggers to automate outdoor lighting etc
Let me know if there is anything I can assist with on the testing front.
Seeing the same as the testing in #62 can see the triggers being posted when listening to the
curl http://ip/ISAPI/Event/notification/alertStream --digest -u username:password
<EventNotificationAlert version="1.0" xmlns="http://www.hikvision.com/ver10/XMLSchema"> <ipAddress> </ipAddress> <portNo>80</portNo> <protocol>HTTP</protocol> <macAddress> </macAddress> <channelID>1</channelID> <dateTime>2020-10-29T13:33:18+00:00</dateTime> <activePostCount>1</activePostCount> <channelName>Camera 01</channelName> <eventType>linedetection</eventType> <eventState>active</eventState> <eventDescription>linedetection alarm</eventDescription> <DetectionRegionList> <DetectionRegionEntry> <regionID>1</regionID> <sensitivityLevel>50</sensitivityLevel> <RegionCoordinatesList> <RegionCoordinates> <positionX>527</positionX> <positionY>986</positionY> </RegionCoordinates> <RegionCoordinates> <positionX>543</positionX> <positionY>432</positionY> </RegionCoordinates> </RegionCoordinatesList> <detectionTarget>human</detectionTarget> </DetectionRegionEntry> </DetectionRegionList> </EventNotificationAlert> --boundary
from pyhik.
I think it would be helpful to add all the sensors available from the capability list of the "smart" alarms even though the trigger might not be set to Surveillance Center. I currently have only basic motion sensor available in HA, and it's frustrating... Thanks for considering :)
http://ip/ISAPI/Smart/capabilities
<?xml version="1.0" encoding="UTF-8"?> <SmartCap version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema"> <isSupportROI>true</isSupportROI> <isSupportAudioDetection>false</isSupportAudioDetection> <isSupportFaceDetect>false</isSupportFaceDetect> <isSupportIntelliTrace>false</isSupportIntelliTrace> <isSupportFieldDetection>true</isSupportFieldDetection> <isSupportDefocusDetection>false</isSupportDefocusDetection> <isSupportSceneChangeDetection>true</isSupportSceneChangeDetection> <isSupportLineDetection>true</isSupportLineDetection> <isSupportRegionEntrance>true</isSupportRegionEntrance> <isSupportRegionExiting>true</isSupportRegionExiting> <isSupportLoitering>false</isSupportLoitering> <isSupportGroup>false</isSupportGroup> <isSupportRapidMove>false</isSupportRapidMove> <isSupportParking>false</isSupportParking> <isSupportUnattendedBaggage>false</isSupportUnattendedBaggage> <isSupportAttendedBaggage>false</isSupportAttendedBaggage> <isSupportPeopleDetection>false</isSupportPeopleDetection> <isSupportSmartCalibration>true</isSupportSmartCalibration> <isSupportStorageDetection>false</isSupportStorageDetection> <isSupportChannelResource>false</isSupportChannelResource> </SmartCap>
from pyhik.
Following. Wish there was a way I could help :(
from pyhik.
If you upgrade your camera firmware (5.5.160 worked for me) then the Smart Events work again. Looks like there was a firmware bug.
from pyhik.
The goal will be to let the user specify, so anything that shows up in the alert stream will be valid, this should include smart events.
Hi, is this still in development?
I have an intercom device , with events about the door status...
#77
from pyhik.
Related Issues (20)
- There was a problem: 'NoneType' object has no attribute 'text' HOT 6
- hikvision.py reference api document HOT 2
- Control PTZ
- Accessing Alarm trigger of camera in python code HOT 1
- /ISAPI/Event/triggers returning device error HOT 1
- Multiple detection stopped working in HA
- HomeAssistant 'Problem finding attribute: 'duration'' in logging HOT 3
- Request: Features for video Intercom HOT 1
- faceSnap sensor support HOT 11
- TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType' HOT 20
- Delay is receiving Events HOT 2
- Only usable with `admin` username HOT 1
- What about streaming through the NVR HOT 1
- Home Assistant 2022.12.0B0 HOT 16
- Trigger Light strobe / Alarm. Is it possible? HOT 1
- ANPR DS-2CD4A26FWD-IZS HOT 10
- binary sensor not created HOT 2
- etchannel_num = int(etchannel.text) - TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType' HOT 21
- Video Tampering Detection event not properly detected because of XML namespace problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyhik.