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.4.tar.gz
(4.2 kB
view hashes)
Built Distributions
Close
Hashes for itachip2ir-1.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85c874ce3400a066af8a9e1f0e3ea438061b2609026b424e79fbcd43c0db9f64 |
|
MD5 | bd7a08dcbc8615fcd7f41131adf991fc |
|
BLAKE2b-256 | 6b4ad05b8f7ef2a799769d921594bf9b6c55d0e934da5ffa581acd5687e538f5 |
Close
Hashes for itachip2ir-1.3.4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b13761db24a54095a546ca3be8434ed3b929495631a82c417a4858d183ef9e7 |
|
MD5 | c9098add70f64d0e3b1ec96824ba2538 |
|
BLAKE2b-256 | 17c13c8edfdb7bedd5e880e8ec06f0d2d0b871cde20a4efeaafe5120381ccf25 |