Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 15 12311 ... LastLast
Results 1 to 10 of 144
  1. #1
    Senior Member Aesculus's Avatar
    Join Date
    Jan 2008
    Posts
    270

    Announce: Denon AVP/AVR Control Plugin 1.5

    This Squeezebox plugin will turn on and off a Denon amplifier/receiver when the Squeezebox is turned on/off or a song is played. The plugin will optionally set one of the QuickSelect modes, and set the volume of the Squeezebox to match the amplifier volume. The user can also set a optional on or off delay timer and set the maximum volume level they wish the amplifier to be set to when controlling the Squeezebox.

    The plugin uses the Denon serial protocol over a wireless or wired network and therefore a network connection between the SqueezeCenter server and the Denon amplifier must be available.

    The plugin has only been tested with the Denon AVP-A1HD and the Squeezebox Receiver but it should work with any Denon receiver that supports the serial protocol over a network and the Squeezebox Classic as well. The plugin has also been tested with the Apple iPod Touch 2nd Gen using the iPeng native application.

    You will find the source for the plugin at:
    http://code.google.com/p/denonavpcontrol/

    EDIT: Now supports SBS 7.4x and iPeng players settings menus for audio adjustments
    Last edited by Aesculus; 2009-12-13 at 15:12. Reason: Update for SBS 7.4x
    Chris

  2. #2
    Chris, you might want to look at this feature request:
    http://bugs.slimdevices.com/show_bug.cgi?id=9804

    It would let your plugin control the Denon volume, leave the Squeezebox at a fixed level, and have the Controller, iPeng, the Squeezcenter web UI, etc. show the *Denon* volume...
    http://www.tux.org/~peterw/
    Note: The best way to reach me is email or PM, as I don't spend time on the forums.
    Free plugins: AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu DenonSerial
    FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher
    SettingsManager SleepFade StatusFirst SyncOptions VolumeLock

  3. #3
    Senior Member Aesculus's Avatar
    Join Date
    Jan 2008
    Posts
    270
    Quote Originally Posted by peterw View Post
    Chris, you might want to look at this feature request:
    http://bugs.slimdevices.com/show_bug.cgi?id=9804

    It would let your plugin control the Denon volume, leave the Squeezebox at a fixed level, and have the Controller, iPeng, the Squeezcenter web UI, etc. show the *Denon* volume...
    Interesting. I have heard that IR Blaster has a problem with the volume settings (it seems it can go down but not up). I don't use IR, but the Denon serial protocol via a wireless or wired network. Mine does everything that was described before. I don't have a problem with volume changes but I did have to delay setting the volume by 1/4 second as iPeng was overrunning the Denon amp.

    Currently I only set the Squeezebox display with the Denon volume when you turn it on. After that its controlled by the SqueezeCenter and Squeezebox. I could use the same feature to reset the display periodically (for example after a few moments or when a new song is played). Right now I don't feel that is an important feature as most users will either use iPeng for everything or if they adjust the volume of the amp they probably won't care that the Squeezebox is showing the exact level. I don't want to overrun the Denon amps with network traffic as they are not very efficient and have a fairly long latency. They also don't support any form of pub/sub so this feature would be pretty dirty.
    Last edited by Aesculus; 2009-02-14 at 22:17.
    Chris

  4. #4
    Senior Member Aesculus's Avatar
    Join Date
    Jan 2008
    Posts
    270
    Version 1.1 is now available that allows both multizone amplifier support as well as synchronizing the amplifier volume with SqueezeCenter when the user changes the amplifier volume directly.
    Last edited by Aesculus; 2009-02-23 at 21:48.
    Chris

  5. #5
    Junior Member
    Join Date
    Nov 2005
    Location
    Switzerland
    Posts
    6

    Denon Amps with Serial to ethernet Adapter

    I have a Denon 2807 amp who has the serial interface. I use a Sena LS110 Serial to ethernet converter to access my amp by ethernet. I can control it with telnet with the same commands as the AVP. But when i debug the avp Control plugin, i have the following error:
    "Plugins:enonAvpControl:enonAvpComms::_error (175) error connecting to url: error=Timed out waiting for data url=HTTP://10.41.237.25:23"
    Could the problem be the "http" in front of the ip Address?
    Could you help or instruct me how to modify the plugin so it works for me? TPerhaps we should only instruct it to use telnet instead of http?

    thanks for any help

    Stephane

  6. #6
    Senior Member Aesculus's Avatar
    Join Date
    Jan 2008
    Posts
    270
    Quote Originally Posted by trufy View Post
    I have a Denon 2807 amp who has the serial interface. I use a Sena LS110 Serial to ethernet converter to access my amp by ethernet. I can control it with telnet with the same commands as the AVP. But when i debug the avp Control plugin, i have the following error:
    "Plugins:enonAvpControl:enonAvpComms::_error (175) error connecting to url: error=Timed out waiting for data url=HTTP://10.41.237.25:23"
    Could the problem be the "http" in front of the ip Address?
    Could you help or instruct me how to modify the plugin so it works for me? TPerhaps we should only instruct it to use telnet instead of http?

    thanks for any help

    Stephane
    Look at the plugin.xml file. In the commandCallback method I preface the ip address with http:\\ and also append the port (23). You can try using telnet here but not sure how it would work. It calls the Async Method which is doing sockets.

    If you change the plugin.xml file you will have to restart SC for it to take effect.

    You can also turn debug mode on by swapping the # in these lines near the top:

    # 'defaultLevel' => 'DEBUG',
    'defaultLevel' => 'OFF',

    Then you can look at the server log and get some more info on whats happening.

    Good luck with your attempt.
    Chris

  7. #7
    Quote Originally Posted by trufy View Post
    I have a Denon 2807 amp who has the serial interface. I use a Sena LS110 Serial to ethernet converter to access my amp by ethernet. I can control it with telnet with the same commands as the AVP.
    So for instance you telnet to the Sena device and enter "PWSTANDBY" plus a carriage return to turn the amp off?
    http://www.tux.org/~peterw/
    Note: The best way to reach me is email or PM, as I don't spend time on the forums.
    Free plugins: AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu DenonSerial
    FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher
    SettingsManager SleepFade StatusFirst SyncOptions VolumeLock

  8. #8
    Quote Originally Posted by trufy View Post
    I have a Denon 2807 amp who has the serial interface. I use a Sena LS110 Serial to ethernet converter to access my amp by ethernet. I can control it with telnet with the same commands as the AVP.
    Stephane,

    If you're running SqueezeCenter 7.3, you might be interested in a Denon control plugin I've written separately from Aesculus' Denon AVP Control plugin. Mine, which I call DenonSerial, doesn't have as many features (no QuickSet, Zone 2, or delay timer support [well, there's untested logic to turn the Denon off after a period of apparent inactivity]), though I think it may offer one feature Aesculus' lacks -- the ability to use an Squeezebox IR remote's volume keys even when the Squeezebox is off (when watching a movie, I leave the SB3 off and displaying time & weather info). Mine has only been tested with a direct serial connection between SqueezeCenter and the Denon amp, and even there only for a few days, but it *should* support network connections to serial port servers like the Sena LS1x0 hardware.

    You can get the plugin from my Test repository (use the Extension Downloader), http://www.tux.org/~peterw/slim/slim7/repodata-test.xml

    On my personal system I'm also running a modified version of Michael Herger's latest MusicInfoScr screensaver. The modification is a new API in MIS that lets my plugin provide an alternate dB gain value to be displayed in the MIS alternate volume display -- so the MIS alternate volume display can show the Denon volume level (-80 to +18) rather than the normal Squeezebox variable output level (-49.5 to +0) for the Squeezebox connected to my Denon amp. I've only very recently sent a patch to Michael but hope he'll accept it or something like it, as both my plugin and Aesculus' could benefit from such an API.

    Stephane, if you try my DenonSerial plugin, please let me know how it goes.

    -Peter
    http://www.tux.org/~peterw/
    Note: The best way to reach me is email or PM, as I don't spend time on the forums.
    Free plugins: AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu DenonSerial
    FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher
    SettingsManager SleepFade StatusFirst SyncOptions VolumeLock

  9. #9
    Junior Member
    Join Date
    Nov 2005
    Location
    Switzerland
    Posts
    6
    Hello Peter
    There was a long summer break where i wasnt really motivated to sit behind the Screen :-). Now i saw your Plugin and tested it. Its' great! I used the LS110 in Telnet Server mode with a COM Port Redirector. I was unable to Adress the LS110 diectly from your Plugin using IP. Perhaps i have to setup the LS110 differently. There is also an UDP Server and TCP Server mode. When i use it with the COMO Port Redirector Software, it seems to work for a few minutes, then the plugin Stops sending "Orders". I will try to Debug to find out what could be cause. I would prefer to use IP Access directly...
    I'll keep you up to date.

    regards

    StÚphane

  10. #10
    Senior Member Aesculus's Avatar
    Join Date
    Jan 2008
    Posts
    270
    I posted a new version of the DenonAVPControl program yesterday that should help in performance and reliability, especially with multiple synchronized players and the iPeng 1.2 native master controller.
    Chris

Posting Permissions

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