Pilot your Ezviz cameras with this module.
pip install pyezviz
pyezviz -u em@il -p PASS devices -r us -h
...
pyezviz -u em@il -p PASS --debug devices status
serial name status privacy audio ir_led state_led follow_move alarm_notify alarm_sound_mod encrypted local_ip detection_sensibility
0 D733333333 C6N(D73333333) 1 False True True True True False Software True 192.168.2.10 3
1 D733333333 C6N(D73333333) 1 False True True True True False Software True 192.168.2.13 4
2 D833333333 C6N(D83333333) 1 False True True True True False Disabled True 192.168.2.12 3
3 D833333333 C6N(D83333333) 1 False True True True False False Software True 192.168.2.11 3
4 D933333333 C6N(D93333333) 1 False True True True False False Software True 192.168.2.14 3
The tox configuration is already included. Simply launch:
$ tox
(Do not forget to 'pip install tox' if you do not have it.) Tests are written in the tests directory. tests/data folder contains samples of EzvizLife API for tests purposes.
As there is no official documentation on the API, I had to reverse-engineer what is the one used in the Ezviz IOS APP. Some Regions might operate on an isolated platform and require a url to be entered. Russia for example:
pyezviz -u username@domain.com -p PASS@123 -r apirus.ezvizru.com devices status
Any contribution is welcome, considering the number of features the API provides, there is room for improvement!
We use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the ASL 2.0 License - see the LICENSE.md file for details
Draft versions