simpleisy
Python library for Universal Devices ISY994 Insteon/ZWave controller hub
This library transforms the XML from the ISY into more pythonic data structures and provides both an object model interface as well as a more procedural/lower interface for commands.
Usage
The ISYController object provides methods to get devices and programs. GetDevice and GetProgram return ISYDevice and ISYProgram objects, respectively, and those objects provide methods to tunr devices on/off, run programs, etc.
from simpleisy import ISYController
isy = ISYController("1.2.3.4", "admin", "password")
dev = isy.GetDevice("Living room lights")
print dev.GetState()
dev.TurnOn()
Output:
Off
You can also use device/program commands more directly if you want by directly calling NodeCommand or ProgramCommand
from simpleisy import ISYController
isy = ISYController("1.2.3.4", "admin", "password")
node_address = "1A 2B 3C"
# Turn on the device
isy.NodeCommand(node_address, "DON")
# Turn off the device
isy.NodeCommand(node_address, "DOF")
Metadata
Release files for simpleisy 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| simpleisy-1.0.tar.gz | 6.0 kB | Without provenance | Details for simpleisy-1.0.tar.gz |
Release files / simpleisy-1.0.tar.gz
| Download URL | simpleisy-1.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c348be5a1b6bbdc450d5ab65dd64deb884d3114ea8e98355007c740b94224dd7
|
|
BLAKE2b-256 checksum How to use checksums |
ca3bcb9a606f0a7325607c6822a81dad7f1f73b4807d871584ba922f2578810e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for simpleisy 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.