Skip to main content

A python package that interacts with the Insteon Hub Cloud API

Project description

# insteon-hub An initial concept for a Python library for interfacing with the Insteon Hub2 Restful API http://docs.insteon.apiary.io/

This is mostly based off https://github.com/krkeegan/insteon-hub-python-lib which seems to be abandoned.

In order to use this, you’ll need to register for an Insteon [API key](http://www.insteon.com/become-an-insteon-developer).

## Installation Install instructions can be found here https://pypi.python.org/pypi/insteon_hub

## Usage

### Initialize the object `python >>> import insteon >>> i = insteon.Insteon("insteon_userid", "insteon_password", "insteon_api_key") `

### Examine devices `python >>> i.devices >>> i.devices[0] >>> i.devices[0].DeviceName `

see [Devices](http://docs.insteon.apiary.io/#reference/devices) for other properties

### Send a command `python >>> i.devices[0].send_command('on') ` see [Commands](http://docs.insteon.apiary.io/#reference/commands/commands-collection)

Project details


Download files

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

Source Distribution

insteon-hub-0.5.1.tar.gz (6.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page