Coder Social home page Coder Social logo

thehappydinoa / itachip2ir Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 7.0 204 KB

A small Python module for interacting with the Global Caché iTach WF2IR or IP2IR

Home Page: https://pypi.org/project/itachip2ir/

License: MIT License

Python 98.46% Shell 1.54%
python pip itach ir

itachip2ir's Introduction

itachip2ir

https://travis-ci.org/thehappydinoa/itachip2ir.svg?branch=master

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

The source for this project is available here.

itachip2ir's People

Contributors

thehappydinoa avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

itachip2ir's Issues

Hi

Hi,
This is a fantastic little library. Well done. Have been hacking away at python for 4 years now and find it extremely useful for
Audio / Visual use.
My question, is it possible to use more than 1 IP2IR box at a time using this library ?
Was hoping to use up to 8 of these together. ( yes its alot of wiring too ! )

Cheers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.