ZipatoPy: Zipato Python API
The Python library to interact with Zipato smarthome controllers.
Inspired by ggruner. Tested with Zipato Zipatile.
Main features:
- list devices, endpoints, attributes and attribute values
- manipulate virtual endpoints (create/get/set/delete)
- synchronization of Zipato controller
- local and cloud mode
- no external dependencies (build-in Python libs only)
- logging and verbose debug
TODO:
- integrate as Home Assistant sensor
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Python Version
Python 2.7
Python 3.6
Installation
From PyPI repository:
pip install --upgrade zipatopy
From source:
git clone https://github.com/goooroooX/ZipatoPy.git
Test run
Start with included samples:
- change USERNAME and PASSWORD to your my.zipato.com account information
- for test1.py change also DEVICE, ENDPOINT and ATTRIBUTE
python test1.py
python test2.py
API initialization for a cloud mode:
from zipatopy import ZipatoPy
api = ZipatoPy(USERNAME, PASSWORD, verbose=True)
print(api.get_devices())
API initialization for a local mode:
from zipatopy import ZipatoPy
api = ZipatoPy(USERNAME, PASSWORD, url='http://X.X.X.X:8080/zipato-web/v2/', verbose=True)
print(api.get_devices())
NOTE: local mode is limited comparing to cloud mode, but you will still be able to get attribute values when requesting directly with UUID.
Author
- Dmitry Nikolaenya - code base - gooorooo.com
License
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.
Metadata
Release files for zipatopy 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| zipatopy-0.1.tar.gz | 5.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zipatopy-0.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 11.6 kB
Release files / zipatopy-0.1.tar.gz
| Download URL | zipatopy-0.1.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd66d0e0aac8d7dc82fbfae50fd6909ea6c27aeec1d338335f231ca4bcb8b534
|
|
BLAKE2b-256 checksum How to use checksums |
a5aa0cb53fe87edd1bc7de0fe507618db892ab778ac00009b49d09773732a727
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.4
|
Release files / zipatopy-0.1-py2.py3-none-any.whl
| Download URL | zipatopy-0.1-py2.py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
3078eb0bf063bab42b8d35d5406979bc64a475a166ff2a7d8d6ac3f15a5c5458
|
|
BLAKE2b-256 checksum How to use checksums |
d7d1a07ac67ac560c9c0031f09079258c2865c66e09eafc1a858cef66a6cecea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.4
|
Security for zipatopy 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.