Skip to main content

Unofficial Python bindings and helpers for the unpublished Cozify API.

Project description

# python-cozify
Unofficial Python3 API bindings for the (unpublished) Cozify API. Includes 1:1 API calls plus helper functions to string together an authentication flow.

## Installation
The recommended way is to install from PyPi:
sudo -H pip3 install cozify
or clone this repo (master branch may contain unstable features!) and:
sudo python3 install

## Basic usage
### read devices, extract multisensor data
from cozify import hub, multisensor
devices = hub.getDevices()
### only authenticate
from cozify import cloud
# authenticate() is interactive and usually triggered automatically
# authentication data is stored in ~/.config/python-cozify.cfg
### authenticate with a non-default state storage
from cozify import cloud, config
# authentication and other useful data is now stored in the defined location instead of ~/.config/python-cozify.cfg

## Current limitations
* Right now tokens are assumed to never expire and their functionality is not questioned.
* For now there are only read calls. New API call requests are welcome as issues or pull requests!
* authentication flow is as automatic as possible but still a bit fragile. Any reported issues are very welcome.

## Sample projects
* []( - Store Multisensor data into InfluxDB
* Report an issue to get your project added here

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cozify, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size cozify-0.2.2.tar.gz (5.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page