Announcement

Collapse
No announcement yet.

Control JVC Dila Projector via globalCache serial port

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Control JVC Dila Projector via globalCache serial port

    Hello,

    I test homeseer and I don't arrive to control my jvc dla HD1 projector with the global cache serial port.

    Here is a lnk of the projector manual with rs232 commands.

    http://www.projectorcentral.com/pdf/...anual_3536.pdf

    It would be very nice if I could have some help!

    #2
    In fact, I would like to send a hex command

    21 89 01 52 43 37 33 32 45 0A

    in port 4999

    Comment


      #3
      I tried all this type of data but it doesn't works

      As you can see in the screenshot, it works in Itest with Hex data



      here is my script:


      Sub Main()
      Dim GC
      Set GC = hs.Plugin("Global Cache GC100")
      Dim serialIndex
      hs.writelog "Info", "GC = " & GC
      serialIndex = -1
      serialIndex = GC.GetSerialIndex("192.168.0.46", 1)
      hs.writelog "Info", "serialIndex = " & serialIndex
      Dim result
      Dim data
      data = chr(&h21)&chr(&h89)&chr(&h01)&chr(&h52)&chr(&h43)&chr(&h37)& chr(&h33)&chr(&h32)&chr(&h45)&chr(&h0A)
      hs.writelog "Info", "Sending data: " & data
      result = GC.SendSerialData(serialIndex, data )
      hs.writelog "Info", "The response for the command is: " & result
      End Sub

      Comment


        #4
        In fact, I think the JVC accept only HEX codes, and the gc plugin doesn"t traduct them

        I did my own script and it worked well.

        Comment


          #5
          Originally posted by ingalls View Post
          In fact, I think the JVC accept only HEX codes, and the gc plugin doesn"t traduct them

          I did my own script and it worked well.
          Can you share the script that you use to control the JVC Projector?
          Regards, Bob

          Comment


            #6
            My script is available in my blog.

            Http://revolutionnumerique.wordpress.com

            Comment


              #7
              I have a JVC HD-250. I just use a simple com port script to turn it off and on via my global cache.

              The script for on is:

              &hs.SendToComPort(20, chr(&H21) & chr(&H89) & chr(&H01) & chr(&H50) & chr(&H57) & chr(&H31) & chr(&H0A))


              The script for off is:

              &hs.SendToComPort(20, chr(&H21) & chr(&H89) & chr(&H01) & chr(&H50) & chr(&H57) & chr(&H30) & chr(&H0A))

              You should substitute the port you are using for the "20" in the script. If you have the JVC RS232 manual you should be able to figure out any kind of command with this as your base. Good luck.

              Comment

              Working...
              X