/homelypy

A thin wrapper for the Homely alarm company API

Primary LanguagePythonMIT LicenseMIT

homelypy

A thin wrapper for the Homely alarm company API

Data dump

This can be used to easily extract a data dump from the API. Simply clone the repository or install from pypi (pip install homelypy) and run

python3 -m homelypy.homely <username>

The script will look for password in the HOMELY_PASS environment variable. If not set, you will be prompted for a password. Then it will dump all the locations and associated sensors in the system. It is gathered inappropriate location_<location_name>.json for convenience.

Building and packaging

rm -R dist
python3 -m build
python3 -m twine upload dist/* --verbose