homebridge-denon-heos icon indicating copy to clipboard operation
homebridge-denon-heos copied to clipboard

Request: Auto discover

Open siobhanellis opened this issue 5 years ago • 6 comments

The Denon-Marantz plugin can auto discover.

Any chance you can add that capability? Just less configuration :-)

siobhanellis avatar Jan 19 '20 22:01 siobhanellis

Can you explain how it would work? Because you need to specify what the inputs are, I would think that it is not very interesting, but maybe you have an idea to integrate it nicely?

Can you post the link to the correct plugin? The ones I found still needed an IP.

Martvvliet avatar Jan 20 '20 17:01 Martvvliet

It actually sniffed the internal network looking for amps, and when it found them, it configured them for you. There are some changes I'd like to have seen such as The ability to rename the Amp. Still, as an out of the box experience it was rather good.

Overall, though, yours is better, I just believe in simple configuration :-)

siobhanellis avatar Jan 20 '20 17:01 siobhanellis

And here's the zero config plugin:

https://github.com/k3erg/homebridge-marantz-denon-telnet

siobhanellis avatar Jan 21 '20 18:01 siobhanellis

@siobhanellis Thank you for the information. I did some checking and I started with some auto features already, but you will have to set the inputs you want to use. A complete autodiscovery will give a lesser user experience I think. Still, will try to improve the simplicity as much as I can. Thank you for feedback.

Martvvliet avatar Jan 26 '20 14:01 Martvvliet

Just letting you know that I used latest version and it correctly discovered my X1500H.

I think it might be a good idea to just autoconfig based on what is enabled on the amp. Then, maybe, turn off options by using the serial number, rather than the IP address. This way you do not have to reserve the IP address in the DHCP table.

Doing this would mean that there I no config to start. The plugin just works. Then you provide the option to turn off inputs, or change the name.

below would mean that on the amp identified by serial number (sn) "AYW27180709568" all inputs would be recognised, except the Tuner option which would be ignored.

e.g.

"platforms": [ { "platform": "DenonAVR", "pollInterval": 3, "devices": [ { "name": "Denon Amp", "sn": "AYW27180709568", "switchInfoMenu": true, "inputs": [ { "inputID": "TUNER", "ignore": true } ] } ]

siobhanellis avatar Jan 27 '20 00:01 siobhanellis

const heos = require('heos-api')
heos.discoverDevices({ timeout: 5000 }, console.log, () => { })

piejanssens avatar Oct 30 '20 11:10 piejanssens