A small Python module for interacting with the Global Cache iTach WF2IR or IP2IR
Project description
itachip2ir v1.3.0
A small Python 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.1.tar.gz
(4.5 kB
view hashes)
Built Distributions
Close
Hashes for itachip2ir-1.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f853f29b6340164e53c9e9288a0f5d2592bdd4f7975b43f18d4cc91c324c8e00 |
|
MD5 | 9c297199da7e7b772f33f8c459631019 |
|
BLAKE2b-256 | ab1bd168c82b9554bdf9eee8131fa6e6668eb8c32bb937676a141bdcee609573 |
Close
Hashes for itachip2ir-1.3.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64522d71dc83435e5bf4d0ab319498b3ab437a7cd457c1c674a69234b4355caa |
|
MD5 | 554f673338432bb3e8df97c866cf6b52 |
|
BLAKE2b-256 | 37336a9b6aa86634132ba1d0417b101e993bd85e31ee49c4c7f2ff99b083a0bf |