Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Building an Android volume control widget.

Is it possible for an app other than iRule to send a command to an iTach IR module? If so, where is this ability documented?

I ask because I'd like to build a volume control widget for Android. It would only have Vol+, Vol- and Mute and only for one device (my Onkyo receiver). I want to build a widget, because it takes about 5-6 seconds to load iRule on my Galaxy S4. Although the S4 has been surpassed, it's still one of the fastest phones on the market. If it takes that long to load on an S4, it must be that long or longer on other Android devices.

When the phone rings and I want to lower or mute the volume IMMEDIATELY, it's frustrating that iRule is not effective. But maybe if I can build a widget, I can eliminate this bottleneck.
1 person has
this question
+1
Reply
  • Any Onkyo built in the last few years will support TCP directly, so you don't have to use an iTach assuming that you can connect your Onkyo to the network. Send commands using a TCP connection on port 60128.

    ISCP\x00\x00\x00\x10\x00\x00\x00\x10\x01\x00\x00\x00!1MVLDOWN\x0D = volume down. Replace MVLDOWN with MVLUP for... well, volume up. AMT00 is mute off, AMT01 is mute on. AMTTG is mute toggle.

    \x above represent hex, so \x00 is a 0 byte.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned

  • My Onkyo receiver (2008 model TX-SR806) was the last year made without an ethernet connection. On mine, RS232 control is possible, but since I don't own an iTach RS232 control module, I control my receiver by IR only.

    Although I'm tempted to buy a new receiver with IP control (e.g. Denon AVR-E400), even though it would mean spending upwards of $400, I am fairly closed minded about spending $50 for a RS232 control module just to extend the functionality of my current receiver.

    Subsequent to my original post, I'm now looking at finding a way to use the IR emitter in my Galaxy S4 to accomplish my original goal: a quick and immediate way to control system volume.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned

  • Well, in case they're still useful to you:

    Vol Up
    sendir,1:2,17,38000,3,69,342,171,21,21,21,63,21,21,21,21,21,63,21,21,21,63,21,63,21,63,21,21,21,63,21,63,21,21,21,63,21,63,21,21,21,21,21,63,21,21,21,21,21,21,21,21,21,21,21,21,21,63,21,21,21,63,21,63,21,63,21,63,21,63,21,63,21,1484,342,85,21,3655\x0d

    Down
    sendir,1:2,18,38000,3,69,342,171,21,21,21,63,21,21,21,21,21,63,21,21,21,63,21,63,21,63,21,21,21,63,21,63,21,21,21,63,21,63,21,21,21,63,21,63,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,63,21,63,21,63,21,63,21,63,21,63,21,1484,342,85,21,3655\x0d

    Mute
    sendir,1:2,19,38000,3,69,342,171,21,21,21,63,21,21,21,21,21,63,21,21,21,63,21,63,21,63,21,21,21,63,21,63,21,21,21,63,21,63,21,21,21,63,21,21,21,63,21,21,21,21,21,21,21,21,21,21,21,21,21,63,21,21,21,63,21,63,21,63,21,63,21,63,21,1484,342,85,21,3655\x0d

    The "1:2" part represents a module and channel number... so for an IP2IR the module is always 1, and the channel is 1, 2 or 3 depending on which output you want. The next number is a sequence number which you can set to anything really because it's just returned back. You use TCP port 4998. If you want positive feedback then the iTach will respond with a "completeir" with the sequence number you specified ( from memory. )
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned

  • Very useful - thank you very much.

    Now I just have to figure out how to implement it.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned