Metadata-Version: 2.1 Name: pyhomeworks Version: 1.1.2 Summary: Lutron Homeworks Series 4 and 8 interface over Ethernet Author-email: Michael Dubno License: MIT Project-URL: Homepage, https://github.com/dubnom/pyhomeworks Platform: any Classifier: Programming Language :: Python :: 3 Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Requires-Python: >=3.12.0 Description-Content-Type: text/markdown License-File: LICENSE # 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()