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.9.tar.gz
(4.3 kB
view hashes)
Built Distributions
Close
Hashes for itachip2ir-1.3.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec0dfeea5977e2d7852e16187b72c5874acadcee9575e055983c6422d70e3f9b |
|
MD5 | aa8b0a76c4a17e45ffc2a9fab2ac0652 |
|
BLAKE2b-256 | 23d2b267dfc65ed3405c81c4623163f1661355898df79e2c5fb73d0cb00b1837 |
Close
Hashes for itachip2ir-1.3.9-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3a3288aeb5d7c5e084a5e2361b6b76a181d51da3b286adac3854d4e08b72ba2 |
|
MD5 | c386a917739821548622623c323808c9 |
|
BLAKE2b-256 | b17e8055cebb32e01abb2efbe8f6aa6d73e7aef0bebea733d6a8065b30b2cf8c |