A simple Python library for controlling a Ketra-brand system for lighting, etc.
Greg Badros (gjbadros on github) built this package for the Vantage Controller lighting systems.
Get the source from github, or use from pypi.
import pyketra
v = Ketra("192.168.0.x", "xxxxxx", 'Home')
v.load_json_db(True)
print v.outputs
# use v to control lights
This code is released under the MIT license.