Skip to main content

ISY99 Controller Rest and Websocket client v5 firmware

Project description

ISY994v5

Class based interface to the ISY994 device with V5 firmware.

Provides a common interface to all devices, variables, programs, and scenes on an ISY controller.

Currently supports Insteon dimmers, switches, keypadlincs, fanlincs, and contact devices.

Designed to be easy to expand support to other device types and technologies such as zWave.

Requires 5.xx firmware. Tested against 5.12

An event handler is supplied when the controller is started. All device events (add, remove, property) can be captured through the event handler for processing as needed.

This library is used in [https://pypi.org/project/ISY994-Homie3-Bridge/] (IYS994-Homie-Bridge), an MQTT Client to serve ISY devices to a MQTT broker using the [https://homieiot.github.io/] (Homie 3) protocol.

Example usage:

import time

from isy.controller import Controller

url = 'xxx.xxx.xxx.xxx'
#url = None # use autodiscovery

def print_events(container,item,event,*args):
    print ('Event {} from {}: {} {}'.format(event,container.container_type,item.name,*args))

try:
    c = Controller(url,username='admin',password='admin',use_https=False,event_handler=print_events)

    while True:
        time.sleep(2)

except KeyboardInterrupt:
    print("KeyboardInterrupt has been caught.")

This package requires further development and testing.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

ISY994v5-0.3.1.tar.gz (14.4 kB view hashes)

Uploaded Source

Built Distribution

ISY994v5-0.3.1-py3-none-any.whl (30.1 kB view hashes)

Uploaded Python 3

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