Skip to main content

Lutron Homeworks Series 4 and 8 interface over Ethernet

Project description

pyhomeworks Package

Package to connect to Lutron Homeworks Series-4 and Series-8 systems. The controller is connected by an RS232 port to an Ethernet adaptor (NPort).

Example:

from time import sleep
from pyhomeworks import Homeworks

def callback(msg,data):
    print(msg,data)

hw = Homeworks( 'host.test.com', 4008, callback )
hw.start()

# Sleep for 10 seconds waiting for a callback
sleep(10.)

# Close the interface and stop the worker thread
hw.stop()

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

pyhomeworks-1.1.2.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

pyhomeworks-1.1.2-py3-none-any.whl (6.5 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 Sir Raditya Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page