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.6.tar.gz
(4.2 kB
view hashes)
Built Distributions
Close
Hashes for itachip2ir-1.3.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae8b70857f63fe33e63053ca9f4eac1529db9b0fb90a0ac3c91eda256d6da9b5 |
|
MD5 | 2872e130be1fcc88dfa6f4636b4889ba |
|
BLAKE2b-256 | 2cd9f418de6fedba6eab61a6a0b8e4ec84fdcb77f27f4da6eadeb90b14d433f1 |
Close
Hashes for itachip2ir-1.3.6-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d194a22f5f009d8bf787a48c72cddd023b210ed3ed3280453edcab32add98439 |
|
MD5 | 77b9b9f9648ec73d3948bf5c35236299 |
|
BLAKE2b-256 | bfe6c2ac38d5bfd41cb63c3ccf26d8a689c69504292cfa9ac8757b06c9c720d4 |