A small Python module for interacting with the Global Cache iTach WF2IR or IP2IR
Project description
itachip2ir
A small module for interacting with the Global Caché iTach WF2IR or IP2IR
How To Use
from itachip2ir import VirtualDevice, iTach
commands = {
"toggle_power": "sendir,1:3,1,40192,1,1,97,23,49,23,25,23,49,23,25,23,49,23,25,23,25,23,25,23,49,23,25,23,49,23,49,23,25,23,49,23,25,23,25,23,25,23,49,23,49,23,49,529,96,23,49,23,25,23,49,23,25,23,49,23,25,23,25,23,25,23,49,23,25,23,49,23,49,23,25,23,49,23,25,23,25,23,25,23,49,23,49,23,49,528,96,23,49,23,25,23,49,23,25,23,49,23,25,23,25,23,25,23,49,23,25,23,49,23,49,23,25,23,49,23,25,23,25,23,25,23,49,23,49,23,49,553,97,23,49,23,25,23,49,23,25,23,49,23,25,23,25,23,25,23,49,23,25,23,49,23,49,23,25,23,49,23,25,23,25,23,25,23,49,23,49,23,49,554,97,23,49,23,25,23,49,23,25,23,49,23,25,23,25,23,25,23,49,23,25,23,49,23,49,23,25,23,49,23,25,23,25,23,25,23,49,23,49,23,49,554,97,23,49,23,25,23,49,23,25,23,49,23,25,23,25,23,25,23,49,23,25,23,49,23,49,23,25,23,49,23,25,23,25,23,25,23,49,23,49,23,49,554,97,23,49,23,25,23,49,23,25,23,49,23,25,23,25,23,25,23,49,23,25,23,49,23,49,23,25,23,49,23,25,23,25,23,25,23,49,23,49,23,49,4000"
}
itach = iTach(ipaddress="192.168.1.111", port=4998)
blueray = itach.add(VirtualDevice(
name="blueray", commands=commands))
if __name__ == "__main__":
print(blueray.toggle_power())
Check the examples/ folder for more
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.
Source Distribution
itachip2ir-1.3.5.tar.gz
(4.2 kB
view hashes)
Built Distributions
Close
Hashes for itachip2ir-1.3.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b705df9cc65845435826516b066366e7e1394c01f61eee6e99c6c584d191f726 |
|
MD5 | 4008d5ff383b508f2d5dbc87c241f8e9 |
|
BLAKE2b-256 | faaf4347dec7d59d00c1ad05986890c49d8d29fe81306a77e2067484f85471e6 |
Close
Hashes for itachip2ir-1.3.5-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f90f2d0acfa2f78a661f1245e95d8c96bba81f5d172bf4e7c87ae691d13c5cb |
|
MD5 | 50ff0cae74cb2272a9fe04fb58159cee |
|
BLAKE2b-256 | b27bc507b9a6bdae117d04b4791cb436f5fc0343c71190af6e9805e7e9f3ab12 |