The Python library to interact with Zipato smarthome controllers.
Inspired by ggruner. Tested with Zipato Zipatile.
Main features:
TODO:
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Python 2.7
Python 3.6
From PyPI repository:
pip install --upgrade zipatopy
From source:
git clone https://github.com/goooroooX/ZipatoPy.git
Start with included samples:
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.
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.