Page 1 of 10 123 ... LastLast
Results 1 to 10 of 94

Thread: Serial control of latest Denon AVR 's

  1. #1
    Join Date
    Jul 2005
    Location
    UK
    Posts
    29

    Default Serial control of latest Denon AVR 's

    Hi,

    I know there has been extensive work on this already in other threads but has anyone managed to acheive serial control over the latest Denon AVR's specifically 2807 and 3806 models?

    The thread appeared to die out in September.

    Rob

  2. #2
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    In theory my Denon plugin will work with both these models but it hasn't been tested as I only have access to a 2805
    --Rob

  3. #3
    Join Date
    Jul 2005
    Location
    UK
    Posts
    29

    Default

    rah99,

    Could you forward me the plugin and GML to test?

    Rob

  4. #4
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    I don't have a GML for the plugin, but it wouldn't be too difficult to create one I guess.

    Here's the plugin - you'll need to edit it and change the DefaultModel (line 19) to the appropriate model number.

    Let me know if anything doesn't work.
    Attached Files Attached Files
    --Rob

  5. #5
    Join Date
    Jul 2005
    Location
    UK
    Posts
    29

    Default

    rah99,

    How do you install your plugin?

    How do I edit line 19?

    How do I test the plugin?

    How do I create a command to control the amp?

    Thanks, Rob

  6. #6
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    Put it in the girder\plugins\serial directory

    Open it in a text editor (e.g. Notepad) and change the model number

    Then reset or start Girder, and go to File|Settings|Plugins and select the serial tab. From there, select the correct COM port and click the Change device button. Select Denon AVR from the list an press the OK Change button.
    How do I create a command to control the amp?
    Depends what you want to do. The basic principle is to create a scripting action, some of the common commands are

    Denon:PowerOn()
    Denon:PowerOff()
    Denon:VolUp()
    Denon:VolDown()
    Denon:SetPercentVol(percentage)
    Denon:MuteOn()
    Denon:MuteOff()

    There are similar commands for setting the input, all prefixed by Denon: e.g.
    Phono, CD, Tuner, DVD, VDP, TV, DBS (or DBS_SAT depending on model), VCR1 to VCR4, Aux, AuxNet, AuxIPod, CDRTape1 (or CDRTape), MDTape2, and DTU.

    There are equivalent commands for the individual channels and for multiple zones.

    I've tried to make it adapt to the different models in the Denon range.

    If you have any more questions let me know.

    This is all a lot simpler using the G5 Device Manager.
    --Rob

  7. #7
    Join Date
    Jul 2005
    Location
    UK
    Posts
    29

    Default

    Thanks Rob,

    I have followed your instructions.

    Serial plugin is installed and communicating OK on COM1

    For example if I change settinging on the AVR the logger shows the following:

    Time Date Source Details Payloads
    22:59:17:877 11/10/2006 Denon AVR Denon.Receiver.Surround:Mode DOLBY PL2 C
    22:59:17:831 11/10/2006 Denon AVR Denon.Receiver.Main:SignalMode AUTO
    22:59:17:784 11/10/2006 Denon AVR Denon.Receiver.Parameters:SurroundBackMode OFF
    22:59:17:737 11/10/2006 Denon AVR Denon.Receiver.Parameters:ToneDefeat OFF
    22:59:16:674 11/10/2006 Denon AVR Denon.Receiver.Main:Source CD
    22:59:07:190 11/10/2006 Denon AVR Denon.Receiver.Surround:Mode STEREO
    22:59:07:127 11/10/2006 Denon AVR Denon.Receiver.Main:SignalMode ANALOG
    22:59:07:081 11/10/2006 Denon AVR Denon.Receiver.Parameters:SurroundBackMode OFF
    22:59:07:034 11/10/2006 Denon AVR Denon.Receiver.Parameters:ToneDefeat ON
    22:59:05:971 11/10/2006 Denon AVR Denon.Receiver.Main:Source Phono
    22:58:55:549 11/10/2006 Denon AVR Denon.Receiver.Surround:Mode DOLBY PL2 C
    22:58:55:502 11/10/2006 Denon AVR Denon.Receiver.Parameters:SurroundBackMode OFF
    22:58:55:455 11/10/2006 Denon AVR Denon.Receiver.Parameters:ToneDefeat OFF
    22:58:54:393 11/10/2006 Denon AVR Denon.Receiver.Main:Source CD
    22:58:53:815 11/10/2006 Denon AVR Denon.Receiver.Surround:Mode STEREO
    22:58:53:768 11/10/2006 Denon AVR Denon.Receiver.Parameters:SurroundBackMode OFF
    22:58:53:721 11/10/2006 Denon AVR Denon.Receiver.Parameters:ToneDefeat ON
    22:58:51:127 11/10/2006 Denon AVR Denon.Receiver.Main:Source Tape
    22:58:50:065 11/10/2006 Denon AVR Denon.Receiver.Main:Source CD
    22:58:41:705 11/10/2006 Denon AVR Denon.Receiver.Main:Source Phono
    22:58:40:268 11/10/2006 Denon AVR Denon.Receiver.Main:Volume 43
    22:58:40:190 11/10/2006 Denon AVR Denon.Receiver.Main:Volume 43
    22:58:40:127 11/10/2006 Denon AVR Denon.Receiver.Main:Volume 44
    22:58:40:065 11/10/2006 Denon AVR Denon.Receiver.Main:Volume 44
    22:58:39:940 11/10/2006 Denon AVR Denon.Receiver.Main:Volume 45

    Writing and testing a scripting command to;

    Denon:PowerOff()
    or
    Denon:VolUp()

    There is no response from the AVR nor in the logger. Have I a config wrong?

    Rob

  8. #8
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    It looks as though you're getting responses correctly from the Denon which is a good start.

    What model of Denon do you have?

    Look for a line that sets LogLevel = false, change that to LogLevel = 0 and then try again and post the results from the Lua console when you try a PowerOn or PowerOff.

    I probably won't be able to respond until tomorrow as it's getting rather late here.
    --Rob

  9. #9
    Join Date
    Jul 2005
    Location
    UK
    Posts
    29

    Default

    Rob,

    Changed the log level to 0.

    Still no logger response tto vol up or poweroff

    Denon AVR 3806

    Rob

  10. #10
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    Yes, but what happens in the Lua console (View|Interactive Lua Scripting Console)?
    Last edited by Rob H; November 10th, 2006 at 07:06 PM.
    --Rob

Page 1 of 10 123 ... LastLast

Posting Permissions

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