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.2.tar.gz
(4.1 kB
view hashes)
Built Distributions
Close
Hashes for itachip2ir-1.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cd9e5c39f59f87a3b3e9063f3462d5eacb275392f591cee5f05c6ccf31bdccf |
|
MD5 | 1e182f92ab8f8c82ff99cf280d1a9a16 |
|
BLAKE2b-256 | 5ed1b91461f83bb7b158ba7dc8cb5cd8a21abb477f786297b86c9c3a13053029 |
Close
Hashes for itachip2ir-1.3.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16b7d0cace014756d27fab15986c83ff2baa853c9c705b6e755b1a617fa04a90 |
|
MD5 | dc603cc6be2934635e152df41cb8b925 |
|
BLAKE2b-256 | 8344766e9b9069ecdfb888e511dc55bf39380b01e99c70e55145c30c71a0f558 |