Comments (8)
Try going to this URL in a browser and logging in with your credentials. Does it work?
http://10.0.1.200/ISAPI/System/deviceInfo
from pyhik.
Yes, that works with login. I do get xml...
Garaz 16c685bf-0117-11b4-8267-c42f90425f1a IPCamera hangzhou Hikvision.China DS-2CD2032F-I DS-2CD2032F-I20150615CCWR523830719 c4:2f:90:42:5f:1a V5.4.5 build 170123 V5.0 build 170105 V1.3.4 100316 0x0 IPCamera 88 false falsefrom pyhik.
Can you post the full formatted XML response?
from pyhik.
<DeviceInfo xmlns="http://www.hikvision.com/ver20/XMLSchema" version="2.0"> <deviceName>Garaz</deviceName> <deviceID>16c685bf-0117-11b4-8267-c42f90425f1a</deviceID> <deviceDescription>IPCamera</deviceDescription> <deviceLocation>hangzhou</deviceLocation> <systemContact>Hikvision.China</systemContact> <model>DS-2CD2032F-I</model> <serialNumber>DS-2CD2032F-I20150615CCWR523830719</serialNumber> <macAddress>c4:2f:90:42:5f:1a</macAddress> <firmwareVersion>V5.4.5</firmwareVersion> <firmwareReleasedDate>build 170123</firmwareReleasedDate> <encoderVersion>V5.0</encoderVersion> <encoderReleasedDate>build 170105</encoderReleasedDate> <bootVersion>V1.3.4</bootVersion> <bootReleasedDate>100316</bootReleasedDate> <hardwareVersion>0x0</hardwareVersion> <deviceType>IPCamera</deviceType> <telecontrolID>88</telecontrolID> <supportBeep>false</supportBeep> <supportVideoLoss>false</supportVideoLoss> </DeviceInfo>
from pyhik.
Thanks. Can you check in the camera GUI on the Configuration tab, then the Advanced Configuration category and finally the Security menu option and let me know what type of Authentication is configured for the camera?
from pyhik.
Sure. This firmware allows to set for RTSP Disable or Basic. Behavior is the same for both values.
from pyhik.
Oh, crap. I found it. I haven't noticed HA warned me about two binary_sensor definitions. And f course, second one defined the same one under same IP, but different password and lower in the config file. It took this last credentials I haven't noticed as valid. Sorry for wasting your time.
from pyhik.
No problem. Seems like Hikvision is always changing things and not updating the API docs so anything can happen.
from pyhik.
Related Issues (20)
- There was a problem: 'NoneType' object has no attribute 'text' HOT 6
- Track events not shown in triggers XML endpoint HOT 7
- 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.