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.10.tar.gz
(4.4 kB
view hashes)
Built Distributions
Close
Hashes for itachip2ir-1.3.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8ded45ed0fdb5b0a6f7ed4fda9f0a8a88f0dfe6838d4c70513a53e616fceaae |
|
MD5 | 1c7ffc8269e3f47e5075a62673748f79 |
|
BLAKE2b-256 | 1afaee3d18926a1682c6a2b3786567ab86c6cb47bd826cfd9403e8bc4ea296dc |
Close
Hashes for itachip2ir-1.3.10-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57421b2e732e02977f7bc460e98aa649c5076ef04f64d9a79aecc6876fdfe763 |
|
MD5 | 77931b29e1a11b6c41052bf9fe0d108f |
|
BLAKE2b-256 | e2f4d490437c2f2fafa9c973e67bbc9a8e771775b2d241237defe6306c11480b |