Comments (5)
There are two options for this, first is to not verify certs at all, which is not something i'd like to add for the obvious security implications. Second is to allow the specification of the path to your local certificate file to allow it to be verified.
The 2nd is feasible, but requires changes not only in the library, but to the home assistant component to add the additional configuration parameter. If you're only doing this for alexa compatibility i'd recommend you leave the cameras alone and proxy them through something else to give you your https layer as it's generally not a great idea to give them direct access to the internet.
from pyhik.
Thank you for your quick response. When you say proxy, do you mean something like nginx? I just setup a nginx proxy but was under the impression that was giving things direct access to the internet.
from pyhik.
Sure, nginx would work with something like the rtmp module added (https://github.com/arut/nginx-rtmp-module). You can let it proxy internally without opening anything up your firewall.
from pyhik.
Hi, I'm trying to use the native hikvision binary_sensor
component in homeassistant and use a self-signed certificate. Surely by having a verify_ssl
option it could default be true
but changed to false
for someone like me who can't install the certificate in homeassistant to verify it?
from pyhik.
The problem is adding that option to flow into homeassistant requires a significant number of changes at this point. The edits to pyhik are not extensive, but config changes to homeassistant will require this component to adopt the new config flow and that is not something I have time to complete at the moment.
I'll always accept PR's if it's something you'd like to tackle on your own.
from pyhik.
Related Issues (20)
- HA Switch HOT 2
- New gen Hikvision WIFI-Cam not usable with pyHik? HOT 41
- 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
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.