Comments (11)
The Ezviz cloud sends mqtt messages when motion is detected.
pyEzviz supports an mqtt option that listens for these events.
I've no experience of battery operated camera's - but assume that these events will be sent.
from pyezviz.
Hello,
thank you for your answer, I simply don't know how to use it...
Would it be possible to provide a guide /wiki ? list of possible command ?
Possible to propose a docker file or a container for this whole beautiful project ?
from pyezviz.
This library is primarily a tool that allows camera features to dis/enabled or changed in some other way.
I believe many use pyezviz as part of home assistant.
https://www.home-assistant.io/integrations/ezviz/
Home assistant is responsible for invoking the libary to change camera settings.
Personally I use the command line; this command prints usage information:
python3 pyezviz -h
To run the code from this repo I made these changes:
e914b8c
from pyezviz.
thank you,
Could you indicate me how to use the MQTT option ?
From my perspective, the best "added-value" is to receive events from Ezviz to Domoticz, because "arming" the camera can be done using a simulated google vocal command, from Domoticz.
Is it possible to receive a snapshot as well ? or the recording ? or the link to the recording?
from pyezviz.
The mqtt option prints the mqtt events to standard output.
If you wish to use these events then you could either:
- parse standard output using some other command line tool or script
- update the code to use the events directly.
I can't remember exactly what information is returned, but I'm pretty sure there is a link to an image - check the information that is printed to std out for exact details.
I have no experience with Domoticz.
from pyezviz.
Hi all,
I try mqtt feature without success. I don't receive any event in the standard output :
DEBUG:urllib3.connectionpool:https://apiieu.ezvizlife.com:443 "PUT /v3/apigateway/login HTTP/1.1" 200 785
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): pusheu.ezvizlife.com:443
DEBUG:urllib3.connectionpool:https://pusheu.ezvizlife.com:443 "POST /v1/getClientId HTTP/1.1" 200 None
DEBUG:urllib3.connectionpool:https://pusheu.ezvizlife.com:443 "POST /api/push/start HTTP/1.1" 200 None
INFO:pyezviz.mqtt:Connected OK with return code 0
INFO:pyezviz.mqtt:Subscribed: 1 (2,)
INFO:pyezviz.mqtt:Connected OK with return code 0
INFO:pyezviz.mqtt:Connected OK with return code 0
INFO:pyezviz.mqtt:Connected OK with return code 0
from pyezviz.
Push mode was disable. After enabling, it' sworking.
Sorry for that.
from pyezviz.
The mqtt option prints the mqtt events to standard output.
If you wish to use these events then you could either:
- parse standard output using some other command line tool or script
- update the code to use the events directly.
I can't remember exactly what information is returned, but I'm pretty sure there is a link to an image - check the information that is printed to std out for exact details.
I have no experience with Domoticz.
@andrewcoo101 ; thank you. I have modified the code and use Domoticz API to trigger a dummy motion detection device.
from pyezviz.
Related Issues (20)
- Alarm picture HOT 5
- access stream video with opencv? HOT 3
- SSL Error HOT 2
- disable/decouple detection_sensibility api from the main status function HOT 2
- Wake up a battery Cam (C3a) HOT 5
- Max Number of Cameras HOT 1
- Google Login HOT 2
- Error with pyezviz -u em@il -p PASS devices status command
- Camera is not moving for Y-axis
- Question: Rtsp stream from Ezviz Cloud
- Support for CP4 HOT 1
- Is there a way to get camera feed in python program realtime?
- Pypi deployment workflow requires address verification.
- Call PTZ preset
- add support for python 3.10 required by home assistant 2022.7.0
- pyEzviz-master>python pyezviz -u *** -p *** devices status HOT 6
- Trigger Light HOT 1
- Ezviz smart plug - power consumption? HOT 1
- No doorbell camera events on MQTT HOT 2
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 pyezviz.