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

IP control HDAnywhere

Hi All
I have an HDAnywhere 8x8 matrix (Same as a 4x4 but bigger)
I downloaded iRule and have been having a play. However I cannot seem to control my HDAnywhere system with iRule.
The HDAnywhere system has a web interface that can control the unit so I'm sure there is some way to use the app for it.
I have got the gateway up correctly using the IP and port number and have tried lots of different codes/strings/URL's etc to make it work but nothing yet. Does anyone know if it can be done?
2 people have
this question
+1
Reply
  • Hi Mathew,

    Can you tell me exactly which model of HD Anywhere switcher you have? I want to double-check the model before I give any additional information.

    Regards,
    SC
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • Hi Steve
    The model number of my unit is HKHDA88P. I think it runs the same OS as the 44P also.

    Cheers
    Mathew
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • Hi Matthew,

    OK, thanks. Are you using the protocol doc from here?:

    HKHA414SW_V3-HKHDA44P-RS232-Serial-Codes-and-Port-Settings.pdf.

    Looking at that doc, it's a little short on detail... It doesn't even describe the format of the protocol well. It does indicate UDP on port 3050, but they don't go into any detail on what kind of UDP.

    The manual shows one of the codes, like this:
    <code>
    09 00 00 00 FB 00 00 00 09 BA BA BF C6 03 00 01 01 BC 00 00 00 00 00 00 00 00 00 00 00
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C7 04 00 00


    That's the code for Output 1 Input 1.

    Now, the manual doesn't say so, but it looks like hex bytes. In that case, iRule denotes hex bytes with a backslash-x, so the command would look this formatted for iRule:
    <code>
    \x09\x00\x00\x00\xFB\x00\x00\x00\x09\xBA\xBA\xBF\xC6\x03\x00\x01\x01\xBC\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xC7\x04\x00\x00


    You can use a word processor and replace the spaces with the \x.

    Create a new code under the 'Network Codes' heading, and paste the formatted code into the data field. Make sure the code has no leading or trailing spaces or clean them up if you do.

    Drag the command to test button and sync the handset.

    From there, create a Network Gateway
    * The IP address should be the switcher's IP address, but with the fourth octect modified to 255. So, if your swticher's IP address is 192.168.1.77, the gateway IP address should be 192.168.1.255.
    * Port 3050

    Attach the device to your gateway and let me know how it goes.

    If it works, your next problem will be getting all the additional protocol, since the doc only covers 4x4, and the protocol isn't human-readable.

    Regards,
    SC
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • Hi Steve

    Thanks for helping me out.
    I have tried what you suggested above and sadly its not playing ball.

    Gateway settings:
    IP: 192.168.0.255 (The Matrix IP is 192.168.0.4)
    Port: 3050
    Do I need a username or password? The login to the web page of the device is just admin, No password yet.
    Also I assume I use method 'GET'

    Now in iBuilder I have chucked an image on a blank page. Created a new device and network code with the data field \x09\x00\x00\x00\xFB\x00\x00\x00\x09\xBA\xBA\xBF\xC6\x03\x00\x01\x01\xBC\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xC7\x04\x00\x00

    However nothing happens. I obviously mix up the input & outputs so I can see the change happen.
    Strange one as I cannot see what is wrong.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • Hi Matthew,

    If you've done everything correctly, control may not be working because the switcher's IP interface may be using UDP multicast. If so, iRule currently doesn't support multicast, as there are literally almost no devices using it. See if you can reach out to HD Anywhere and find out any additional info, as their documentation is really on the thin side.

    What you may want to consider is just control the switcher with RS-232. It's another piece of hardware you have to buy, but it's not expensive, the protocol is simple, an iTach IP2SL supports (4) simultaneous client connects, it's completely supported, and should be bulletproof. Just a thought to let you know you have another good option if we can't get the network control working.

    Regards,
    SC
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • Hi,

    I've tried the above advice also with no luck.

    Looking at their site, this should work:

    http://www.hdanywhere.co.uk/control.html (scroll down to iRule HDanywhere iOS/Android App)

    Is there any further advice here to get this working?

    Thanks
    Matt
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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