Skip to content

tgm4883/insteon-hub

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Installation

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

Usage

Initialize the object

>>> import insteon
>>> i = insteon.Insteon("insteon_userid", "insteon_password", "insteon_api_key")

Examine devices

>>> i.devices
>>> i.devices[0]
>>> i.devices[0].DeviceName

see Devices for other properties

Send a command

>>> i.devices[0].send_command('on')

see Commands

Packages

No packages published

Languages

  • Python 100.0%