Results 1 to 4 of 4

Thread: Control Boxee using TCP Protocol? AV Home Theater

  1. #1
    Join Date
    Dec 2011
    Posts
    3

    Default Control Boxee using TCP Protocol? AV Home Theater

    Hi Everyone, I am new to this forum. We are high end custom AV Home Theater Installers. We have recently started to use remote controls from Bitwise. We would like to ability to control the DLink Boxee Box sending string commands over TCP to a dedicated port on the boxee . . . any chance there is a way to do this? Bitwise does not have Telnet or Http built into it . . . just TCP or UDP String commands. Apparently this is the standard in the AV Business . . . Denon Receivers, etc. Any help would be appreciated . . . If I could get this fixed, we would be buying, selling and spec'ing boxee's in every theater install we do

  2. #2
    Join Date
    Feb 2011
    Posts
    11

    Default

    hi!

    you can send commands using raw tcp

    check my php app , it may help you:

    http://forums.boxee.tv/showthread.php?t=47857



    List of available commands :
    http://developper.boxee.tv/JSON_RPC


    and good luck!

  3. #3
    Join Date
    Dec 2011
    Posts
    3

    Default Figured it out

    Ok Guys,
    I've got it! You can control the Boxee Box via TCP/IP via a Java Command and then the correct command. I am posting below for any to use in the future. I used this with a Kindle Fire or Apple iPad using the BitwiseControl APP and the Bitwise BC4X1 hardware interface.

    WEB CONTROL:
    Direct Control Using Web Browser: Replace ??? with commands listed below
    http://192.168.5.139:8800/xbmcCmds/x...nd=SendKey(???)

    BITWISE CONTROL APPLICATION:
    The following Steps are for the Bitwise Control Program (assuming you have this app and are a custom installer with access to the Bitwise Controllers)

    If you don't have the Bitwise App & Hardware you may find some use for the JAVA code and commands listed below.

    IN BITWISE CONTROL PROGRAM (Windows PC Application)
    STEP#1:
    Add a SCRIPT to the DEVICE PAGE LIST

    STEP#2 Copy and paste the following script:
    (you must assign a static IP to the Boxee Box and enter that address in place of (192.168.5.139, typed below)

    function boxeeKey(x){
    var xmlhttp=new XMLHttpRequest();
    xmlhttp.open("GET","http://192.168.5.139:8800/xbmcCmds/xbmcHttp?command=SendKey("+ x +")", true);
    xmlhttp.send(null);
    }

    STEP#3:
    When adding a button on the boxee device pages . . . you must assign the button an "EXTERNAL JAVASCRIPT"
    and type in the following command:

    boxeeKey:

    After the colon: you have to type in one of the following commands as listed below:

    An example of the down arrow command is "boxeeKey:271"


    LIST OF COMMANDS:

    CHARACTER: ASCII: BOXEE COMMAND (add 61696 to the ascii value)
    UP N/A 270
    DOWN N/A 271
    LEFT N/A 272
    RIGHT N/A 273
    ENTER N/A 61453
    MENU N/A 257
    EXIT N/A 275
    Q 81 61777
    W 87 61783
    E 69 61765
    R 82 61778
    T 84 61780
    Y 89 61785
    U 85 61781
    I 73 61769
    O 79 61775
    P 80 61776
    A 65 61761
    S 83 61779
    D 68 61764
    F 70 61766
    G 71 61767
    H 72 61768
    J 74 61770
    K 75 61771
    L 76 61772
    Z 90 61786
    X 88 61784
    C 67 61763
    V 86 61782
    B 66 61762
    N 78 61774
    M 77 61773
    DEL 8 61704
    1 49 61745
    2 50 61746
    3 51 61747
    4 52 61748
    5 53 61749
    6 54 61750
    7 55 61751
    8 56 61752
    9 57 61753
    0 48 61744
    , 44 61740
    SPACE 32 61728
    . 46 61742
    ! 33 61729
    @ 64 61760
    # 35 61731
    $ 36 61732
    % 37 61733
    & 38 61734
    * 42 61738
    ( 40 61736
    ) 41 61737
    _ 95 61791
    - 45 61741
    + 43 61739
    ; 59 61755
    : 58 61754
    " 34 61730
    " ' " 39 61735
    / 47 61743
    ? 63 61759

  4. #4

    Default

    Are there any more commands? MENU seems to jump to the TV page and not the menu.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •