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 IYS994-Homie-Bridge, an MQTT Client to serve ISY devices to a MQTT broker using the 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.