Git Product home page Git Product logo

com.moz.denon's Introduction

Control your Denon AVR network enabled receiver with your Homey.

This apps connects via Telnet to your Denon receiver. Please make sure your receiver set up to have a static IP address as well as enabling Network Control. (Setup->Network->Network Control on your receiver)

Features

Action Flow Cards:

  • Turn your Denon AVR on and off, or toggle
  • Increase or decrease volume by a relative amount
  • Set volume to a fixed dB value
  • Mute/Unmute or toggle mute
  • Set input source from a dropdown list.
  • Send customized commands. Add functionality that the app does not support by default: missing input sources for your specific device or setting surround mode for example.

Condition Flow Cards:

  • Is the Denon AVR powered on?
  • Is the Denon AVR set to a selected input source?

About Custom Commands

Custom commands allow you to specify custom data to send to your Denon device. These are generally uppercase short words like: MVUP, MVDOWN, SIDVD or Z2ON. You can look up commands that your device supports by doing a websearch for '(your_device_series e.g. X1200W) denon telnet protocol'. Denon provides PDF files for a lot of devices. Inside you will find the commands supported by your device. Note that the Denon AVR app will automatically terminate your commands with the required <CR>.

Supported Devices

Most Denon models that are network control enabled through Telnet should work.

Confirmed

  • AVR-X1000
  • AVR-X1200W
  • AVR-X1300W
  • AVR-X1600 DAB (custom commands required)
  • AVR-X1700H
  • AVR-X2200W
  • AVR-X2300W
  • AVR-X2600H DAB
  • AVR-X3000
  • AVR-X3100W
  • AVR-X3200W
  • AVR-X3500H
  • AVR-X4000
  • AVR-X4100W
  • AVR-X4200W
  • AVR-X4300H
  • AVR-X4500H
  • AVC-X4700H
  • AVR-X5200
  • AVR-X6200
  • AVR-3313
  • AVR-3808A
  • AVR-S960H
  • CEOL RCD-N8
  • DRA-800H

Please let me know if your Denon model is supported.

Future Things

Most important features are implemented but there are some things that would be nice to have. If there is some demand for it these might be implemented until then the base functionality remains as is.

  • Zone2 control; channel select and volume.
  • More trigger cards. (on/off trigger card is available)
  • More mobile controls; channel select.

For changelogs please visit: https://github.com/murderbeard/com.moz.denon

Version 1.2.1

  • Fixed an issue where adding a new device would fail.

Version 1.2.0

  • Upgrade to Homey SDK3.

Version 1.1.6

  • Deleted devices are handled correctly. All running tasks are killed and callbacks cleared. Before deleted devices would linger due to status and command timeouts.
  • Added titleFormatted to flow cards: Selected As Source, Adjust Volume, Set Volume and Select Source. For increased readability.

Version 1.1.5

  • Volume clamping added (both in app.json and ensuring it in device.js).
  • 'new Buffer' replaced with 'Buffer.alloc', due to deprecation.
  • Moved source asset files into .src to exclude it from builds.
  • Added brandColor, dark gray fitting Denon's overall look.

Version 1.1.4

  • Fixed crash when receiving an error when trying to use the muting capability.

Version 1.1.3

  • Fixed an issue where the volume action card could cause a crash if it received a 'dual line message' from the receiver.

Version 1.1.2

  • Fixed an issue where a volume response message from MV? could be discarded erroneously. Leaving the socket open and resulting in a confusing or possibly even broken series of events.
  • Command messages are given a number which makes it easier to follow the flow of events in the log file.
  • Changelogs removed from README.TXT per Athom request.

Version 1.1.0

  • Mobile control for volume setting and muting (volume_set, volume_up, volume_down, volume_mute capabilities added).
  • Polling feature added; will automatically detect changes to power, muting and volume.

Version 1.0.0

  • Updated icon to be centered properly in app.
  • Readability of advanced settings improved.
  • Reduced time before a receiver is considered unreachable. Reducing the time before a proper error shows.
  • Bumped version number to be semantically compatible with Athom's conventions.

Version 0.2.1

  • Power toggling could cause the socket not getting closed when the receiver returns an error message, blocking any new requests to the receiver.

Version 0.2.0

  • Custom command flow card added. Send your own data to your Denon device.
  • Converted to Homey SDK 2. Promises used where applicable.
  • Flow cards now show errors; failed to send, IP not found, etc.
  • Device specific settings are stored and not requested during each command request.
  • Command processing loop now stops when the command buffer is empty.

Version 0.1.9

  • Organized and cleaned up some code.
  • Value label for volume cards is now 'dB' instead of 'db'.
  • Updated compatibility list and some text in README.
  • Fixed JPEGs for the Athom app store having a white background of 253 instead of 255.

Version 0.1.8

  • Added mobile card for onoff, other capabilities such as volume are for a future release.

Version 0.1.7

  • Added option to use ZM instead of PW to only control the Main Zone. Zone2 would also get turned on/off on devices with multiple zones, single zone devices should use PW.
  • Added more AUX channels for 3100-W and N8: AUX2, AUXA, AUXB, AUXC and AUXD.

Version 0.1.6

  • Fixed crash in capabilities.onoff.set.
  • Power flow cards now use module.exports.capabilities, removing duplicate code and making the onoff state data available for insights.

Version 0.1.5

  • A change in Homey meant device status could be requested before settings were saved when pairing. Failsafe added.

Version 0.1.4

  • Fix for volume adjust not parsing whole dB numbers correctly which could cause large jumps in dB.
  • Fix for volume adjust sending negative dB values, which is ignored by the AVR but makes no sense to let happen.
  • Reponse packet telling that the AVR is on max volume is not considered a real volume request response. (Caused no problems but still a bug.)

Version 0.1.3

  • Fix 'substring' of null crash for channel condition flow card.

com.moz.denon's People

Contributors

murderbeard avatar

Stargazers

Marco van den Hout avatar  avatar  avatar

Watchers

 avatar  avatar

com.moz.denon's Issues

AVR-3808 power toggle

If I use the Homey power button toggle to turn off my AVR-3808 I cannot turn it back on.

I get an error message in the red banner of the Homey app saying it could no longer make a connection to the Denon amp on the specified IP address.

Is there any way to debug this app further regarding connection attempts and commands being sent?

When AVR is manually powered on/off the power state tag is not updated

Hi Ralph,

Kind of a feature request, not a real issue ...

I noticed that the power state tag is only changed when the AVR power state has been set by Homey (e.g. a flow). My AVR is powered on/off manually directly most of the times by my family that does not update the tag in Homey. Is it possible that Homey gets notified of a power change or a changed channel when this is done manually on the AVR that updates tags? Depending on power state of the zones (main, zone2, zone3) or set channels better flow conditions can be used for advanced scenarios.

Regards,
Jeroen

Add CD to DENON AVR

Hi Ralph

Excellent app, works fine with my DENON X4400H on main channels. It's a shame the CD channel is missing in the Cards. Is this easy to add?

Thanks

Marcel

Devise control

Hi,
Is there a way of implementing control of zone 2 with buttons under devise instead of Flows? Zone 2on/off, zone 2 volume up/down?

Migrating to SDK3 and Marantz support

Hi!

I'm having a question. As Homey Pro 2023 will only support SDK3 apps, I am wondering if you will update your app to this new standard.

Athom says that it is really simple to upgrade apps from SDK2 to SDK3, so I hope you will. ๐Ÿค—

I am using a Marantz receiver, and had some contact with the developer of the Marantz app for Homey. He stopped using Homey so that app is not supported anymore.

However, I tried your app and it is working the same. So, Marantz is also supported by your app. Maybe you can rename your app to Denon/Marantz. This may be lead to a bigger install base for your app. ๐Ÿ‘๐Ÿป

Cheers en best regards,
Marcel

Denon AVR-X3500H confirmed, with issues

The app seems to work with AVR-X3500H (i.e. I'm able to connect, turn on/off etc).

However, I'd like to create a flow based on on/off triggers from the Denon and the app seems to lose connection with equipment. If the app is restarted the connection is reset and correct status from the device is reported again.

main page Volume Button

loving the app but there is one thing i really hate; the main page shows the volume which is fine but when you press the "+" button it instantly jumps to 100%. I literally almost blew up my speakers and became deaf. As you can understand this is a pretty dangerous button.

Was wondering if you could either remove this option or make it jump like 5% at a time rather than setting the volume to 100%?

Thanks and keep up the great app!

App stopped working

Really not sure where the problem is yet, but Homey Pro 2019 no longer can communicate with my Denon 4500H. Seems like the requests are timing out. I can access the web interface for Denon and the IP is the same like configured in Homey for the app.
What is the best way to debug?

Support New Denon AVR

Hi Murderbeard/Ralph

Can you add support for Denon AVR-X2400H?
This is a 'new' model that not support telnet but http on port 8080.
I Search some info and i found this:

ol-iver/denonavr#32

The commands power/volume works for me.

Want you give it a try?

Thanks in advanced.

Greetz Jaap-Jan

Denon AVR-1600h - can't set source and volume for Z2

Hello,

I have in bar two receivers denon.
Denon AVR-1700h - Z2 change source and volume via custom commands works perfectly.
Denon AVR-1600h - Z2 change source and volume doesn't work. Can you advice? I use the same commands as for AVR-1700h. Only custom command Z2ON works for Denon AVR-1600h.

Report if device is unavailable

I have come across a situation where the device reported to be OFF, while in reality the device had disconnected from the network. Would it be possible to have a trigger or a condition to check if a device is actually connected available on the network?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.