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.11.tar.gz
(4.5 kB
view hashes)
Built Distributions
Close
Hashes for itachip2ir-1.3.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cf5dc18183f82376742ceb4ed0ea6994bba43a5557e744d98bb68b02cf72e04 |
|
MD5 | 949d66899129a8d457b5a2520c9eb1b7 |
|
BLAKE2b-256 | 73b34a0d1c111ef2b7f7310c329e4dcf28e1f09fb8c6bd68de8e1820df01fc9f |
Close
Hashes for itachip2ir-1.3.11-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07f26e5743bff0419f0cc7519db68fd452f46bbe394b3acc4d201a26409b2fe6 |
|
MD5 | f62adf22026dcd7388aa863190981791 |
|
BLAKE2b-256 | b31e17a1a90e9d304f6b621271b367b4fd344eba1706da5e2fb1050770195e46 |