How to create and add new devices which are listed in iRule Builder ?

If devices are not listed in iRule builder, how do I create and upload to iRule builder ? A step by step guide will be appreciated.
1 person has
this question
+1
Reply
  • You can use the builder itself to add a device and then manually add each code. This can be tedious and cumbersome, but is often the most "user friendly" way to get your device into the builder.

    If you want to do more advacned things you should take a look at the Device Upload tutorial. You may be able to do what you want with this example device file, which can be imported to the builder.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • Your response to this user's question is about as useful as that "Device Upload" tutorial. It's like saying to some one, here's how you drive, here's the key, just sit in that seat there, push the one on the right to move, and the one on the left when you want to stop. HOW DO YOU USE THE BUILDER then if this is a good user friendly way to do so? Should I go and press the "manually add each code" button once I've added a new device? That lousy "Device Upload" tutorial takes you to the point of making the edits in the xml, and then that's it. Same thing with your response above. So again I'll ask, "A step by step guide will be appreciated"?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • I share the same view as Allen. Tutorial on adding new devices should be provided in more detail step by step guide and not just a general statement. I bought IRule Builder a year ago and still cannot control my Daikin Air Conditioning system because I don't know how to add this device. I have given up because I couldn't find proper instructions from IRule's tutorials. Very disappointing indeed.
    • Do you know what commands or codes you need to send to you Daikin Air Conditioning System.

      Capturing codes and figuring out what you need to put in each Device Code is a little more advanced than just adding a device in the builder.

      I will work on a simpler step by step guide to Adding a Device.
    • Hi Alex,

      I bought a piece of hardware CoolMaster 1000D ( http://www.coolautomation.com/product... ) which one end of it is connected to the Daikin Air-con system and the other end (a serial port) is connected to my PC. I then use hyper terminal in my PC to type commands to control air con indoor units in my home. e.g if I type "ALLON" all the indoor air-con units will turn on. "ALLOFF" all the units will be turned off. There is a bunch of other commands to control the air-con temperature and turn on/off each individual indoor air-con units etc. Since CoolMaster 1000D has serial connection, I thought I can connect it to the serial port of Global Cache GC-100 and then use iPhone to send command to the CoolMaster 1000D via Global Cache instead of using PC. The problem I encountered was not knowing how to add device (CoolMaster 1000D) in iRule Builder. Appreciate if you can provide me step-by-step instructions to make this happen.

      Thank you and Merry Christmas !

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

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

  • 1
    Guys,

    There is a step-by-step guide on learning commands on the support site:
    http://support.iruleathome.com/custom...

    Adding a device to the Builder requires two main steps: Learning the IR codes, and adding those learned codes to a device in iRule Builder. Since iRule Builder is a web application, and since learning IR codes is something that very few of our customers actually need to do, the process isn't as "automated" as perhaps it could be.

    For software, you'll need to download iLearn from Global Caché or our site (Support > Downloads). For hardware, you'll need an iTach (easiest), a PC with a serial port (or a Mac with a USB serial adapter) plus a GC-IRL, or a GC-100 plus a GC-IRL plugged into one of its serial ports.

    You then learn the codes one-by-one with iLearn, then either copy/paste the codes into Builder one-by-one or use the Device Upload tutorial Alex posted to paste each command/code into an XML file. Which approach you use kind of depends on how many commands you need to learn. If it's half a dozen for an air conditioner, you can copy/paste individual commands into iRule Builder. If it's 20 or 30 commands for a switcher or something, then the XML file and Device Upload probably makes the most sense.

    Take a crack at it, and if you still have questions, let us know.

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

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

  • Hi Steve,

    Thanks for your guidance which I have already successfully implemented on my other equipment which require IR control. What I need to know is how to add device which uses ASCII / text command.

    Thanks

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

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

  • Hi Danny,

    Adding ASCII commands for an RS-232 device is even easier than IR. The
    main thing that's different besides the commands themselves is that
    you'll add the commands under the Network device type (as opposed to
    Global Cache or Pronto Hex).

    The other thing that can be tricky is special characters. For
    instance, a carriage return is ASCII 13, or hex 0D. In iRule Builder,
    you express that as \x0D. The \x prefix tells the builder the
    following to bytes are to be sent as hex, not as ASCII.

    So, for instance, if some documentation says a command is:
    PWRON

    Then, the command Builder would be:
    PWRON\x0D

    There are many IP and RS-232 devices in the Builder which you can
    refer to for examples. Let me know if you need assistance, and/or post
    a link to a protocol doc, and we can help you create the device.

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

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

  • I think others have been stuck at how to actually upload the file. The tutorial does not complete this step.

    Once you have created the XML file. Go to the Devices tab on the Right Panel. Click on the Actions menu on the upper left of the Devices tab. Then select the Upload devices option. You can then browse for your local XML file and upload. If there are no errors in your file, your new device should be listed in the Devices tab.

    Hopefully this saves someone else a few minutes of searching.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • So the tutorial still has not been updated adding this last step that Bruce laid out. The tutorial's title is "Custom Device Upload". It teaches you how to: "download a template" and "edit commands", but does not teach you how to upload a custom device. Can you please update the tutorial so people don't have to dig deep to find this thread?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • Updated the tutorial to add the last step in adding the .xml file into builder. Thank you for letting us know that step was overlooked so we could get that adjusted.

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

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

  • I friend i need your help,

    I am setting up a SHARP TV line AQUOS line. I can not send commands via RS232 or IP, I am using an iTachFlexEthernet
    to send the commands to the TV.

    If you use the iTest application, it works perfectly sending commands
    IAVD 1 / x0d
    in this way, I have a doubt why it works using the option
    MIXED, but not the LITERAL or HEX option.

    when I copy these commands in ibuilder and paste it to the button, it does not generate any action.

    your help please

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

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

  • Be sure to put spaces only where they are present in the actual command. Try following the command with \x0D (no spaces, backslash) instead of {command}{space}{forward slash}{space}x0d.

    No promises, but easy to try.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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