Giter Club home page Giter Club logo

homebridge-denon-marantz-avr's People

Contributors

desvdp avatar luc-ass avatar moifort avatar muz avatar stfnhmplr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebridge-denon-marantz-avr's Issues

Homebridge crashes on startup

Homebridge crashes on startup if the respective accessory is inside the config.

Error: The requested accessory 'DenonMarantzAVR' was not registered by any plugin.

Homebridge works without it.

I installed this accessory using:

sudo npm install -g homebridge-denon

Part of the config:

"accessory": "DenonMarantzAVR",
"name": "Denon",
"ip": "192.168.178.9",
"defaultInput": "GAME",
"defaultVolume": 40,
"minVolume": 10,
"maxVolume": 70,
"doPolling": true,
"pollingInterval": 60

I already tried reinstalling homebridge-denon without success.

reduce volume timeout

Hey Stephan,

what's your experience on the volume update-rate? I think changing volume should feel live. In my plugin I have no rate limiter (causing up to 50 calls per second) wich might be over the top. I feel like we should decrease the rate from 4000 ms to about 500 ms. What do you think?

Service.Speaker is not a function

I am getting the following

/usr/lib/node_modules/homebridge-denon/index.js:140 this.speakerService = new Service.Speaker(this.name); ^ TypeError: Service.Speaker is not a function at DenonAVRAccessory.getServices (/usr/lib/node_modules/homebridge-denon/index.js:140:27) at Server._createAccessory (/usr/lib/node_modules/homebridge/lib/server.js:357:36) at Server._loadAccessories (/usr/lib/node_modules/homebridge/lib/server.js:245:26) at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:72:38) at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:40:10) at Object.<anonymous> (/usr/lib/node_modules/homebridge/bin/homebridge:17:22) at Module._compile (module.js:413:34) at Object.Module._extensions..js (module.js:422:10) at Module.load (module.js:357:32) at Function.Module._load (module.js:314:12)

When trying to run with homebridge 0.4.16 and it seems it installed:

[2/8/2017, 8:04:53 PM] Loaded plugin: homebridge-denon [2/8/2017, 8:04:53 PM] Registering accessory 'homebridge-denon-marantz-avr.DenonMarantzAVR'

Can't connect via telnet after update

Keep getting the following error after updating to the latest release.

{ Error: connect ECONNREFUSED 192.168.1.210:23
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1083:14)
errno: 'ECONNREFUSED',
code: 'ECONNREFUSED',
syscall: 'connect',
address: '192.168.1.210',
port: 23 }

I am able to use the AVR Remote app to connect to my AVR-X1300H. The X1300H is on the network and communicating properly with my Control4 system as well.

Getting repeat Can't Connect to device error

Hi, I am getting endless errors that Homebridge cannot connect. Furthermore the toggle in the Home app doesn't actually turn the Denon receiver on. I know I have the right IP address as the Marantz volume control plugin works fine.

thoughts? error below...

2019-1-27 10:42:50] [Denon LivingRoom] do poll..
[2019-1-27 10:42:50] [Denon LivingRoom] Can't connect to device: null
[2019-1-27 10:43:50] [Denon LivingRoom] do poll..
[2019-1-27 10:43:50] [Denon LivingRoom] Can't connect to device: null
[2019-1-27 10:44:50] [Denon LivingRoom] do poll..
[2019-1-27 10:44:50] [Denon LivingRoom] Can't connect to device: null
[2019-1-27 10:45:50] [Denon LivingRoom] do poll..
[2019-1-27 10:45:50] [Denon LivingRoom] Can't connect to device: null
[2019-1-27 10:46:50] [Denon LivingRoom] do poll..
[2019-1-27 10:46:50] [Denon LivingRoom] Can't connect to device: null
[2019-1-27 10:47:50] [Denon LivingRoom] do poll..
[2019-1-27 10:47:50] [Denon LivingRoom] Can't connect to device: null
[2019-1-27 10:48:50] [Denon LivingRoom] do poll..
[2019-1-27 10:48:50] [Denon LivingRoom] Can't connect to device: null
[2019-1-27 10:49:50] [Denon LivingRoom] do poll..
[2019-1-27 10:49:50] [Denon LivingRoom] Can't connect to device: null
[2019-1-27 10:50:50] [Denon LivingRoom] do poll..
[2019-1-27 10:50:50] [Denon LivingRoom] Can't connect to device: null
[2019-1-27 10:51:50] [Denon LivingRoom] do poll..
[2019-1-27 10:51:50] [Denon LivingRoom] Can't connect to device: null
[2019-1-27 10:52:50] [Denon LivingRoom] do poll..
[2019-1-27 10:52:50] [Denon LivingRoom] Can't connect to device: null
[2019-1-27 10:53:50] [Denon LivingRoom] do poll..
[2019-1-27 10:53:50] [Denon LivingRoom] Can't connect to device: null
[2019-1-27 10:54:50] [Denon LivingRoom] do poll..
[2019-1-27 10:54:50] [Denon LivingRoom] Can't connect to device: null
[2019-1-27 10:55:50] [Denon LivingRoom] do poll..
[2019-1-27 10:55:50] [Denon LivingRoom] Can't connect to device: null
[2019-1-27 10:56:50] [Denon LivingRoom] do poll..
[2019-1-27 10:56:50] [Denon LivingRoom] Can't connect to device: null
[2019-1-27 10:57:50] [Denon LivingRoom] do poll..

accessories no longer update in ios Home app - AVR accessory not working

I use homebridge on a raspberry pi with fibaro HC2, this works very well.
However, when adding the DenonMarantzAVR accessory (and rebooting), the original accessories (nor the DenonMarantzAVR accessory) no longer update in the ios Home app. After removing the accessory, everything is back to normal. "sudo systemctl status homebridge" does not give an error and indicates that the homebridge service is running and active.

Do you have any clue what can be the issue?

My AVR: Denon X1000

Volume on phone does not match volume on reciver

Hey there,

the volume on my phone does not match volume on the reciver. Should we just keep it like this or should we try to match it? I think it has somehting to do with the maximum volume (limitable for phones).

Perhaps we can browse the XML to find wether volume is set to db or percentage...

Not working for newer models

Hi there!

Seems your plugin is not working with the newer models of Denon AVR's. My X1400H doesn't work with this plugin. I've read that these receivers don't accept HTTP requests anymore, but they do still work with telnet commands which also works with the older models. Is there any chance you guys are able to support my receiver in the future?

Thanks in advance,

Bart

what is "type" in config for?

I think the title explains it quite well. Do we need this information? I was thinking about getting some more information out of the XML that can be polled from the reciever... for example the <FriendlyName>

Command List

Hi Guys,

Is anyone able to provide a list of commands for controlling Denon devices by Siri.

This would be highly appreciated.

:)

This callback function has already been called by someone else; it can only be called one time.

This used to work fine for a long time. Recently I get this error when I try to activate the denon receiver.

Any idea?

my config:

{
"accessory": "DenonMarantzAVR",
"name": "CaveDenon",
"ip": "192.168.0.234",
"type" : "Denon",
"defaultInput": "TUNER",
"defaultVolume": 35,
"minVolume": 10,
"maxVolume": 75
},

the error:

[2016-12-03 11:19:43] [CaveDenon] { [Error: connect EHOSTUNREACH 192.168.0.234:80]
code: 'EHOSTUNREACH',
errno: 'EHOSTUNREACH',
syscall: 'connect',
address: '192.168.0.234',
port: 80 }
/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:11
throw new Error("This callback function has already been called by someone else; it can only be called one time.");
^

Error: This callback function has already been called by someone else; it can only be called one time.
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:11:13
at DenonAVRAccessory. (/usr/local/lib/node_modules/homebridge-denon/index.js:92:13)
at Request._callback (/usr/local/lib/node_modules/homebridge-denon/lib/denon.js:95:13)
at self.callback (/usr/local/lib/node_modules/homebridge-denon/node_modules/request/request.js:186:22)
at emitOne (events.js:77:13)
at Request.emit (events.js:169:7)
at Request.onRequestError (/usr/local/lib/node_modules/homebridge-denon/node_modules/request/request.js:845:8)
at emitOne (events.js:77:13)
at ClientRequest.emit (events.js:169:7)
at Socket.socketErrorListener (_http_client.js:256:9)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at emitErrorNT (net.js:1255:8)
at nextTickCallbackWith2Args (node.js:437:9)
at process._tickCallback (node.js:351:17)

Compatibility...

Please post like this:

Marantz NR1504
Power: ok
Volume: works. Volme % defined by min/max of plugin
Mute: not implemented

Setting power state with Siri

Power state can only be changed by calling "Switch Power on/off".

It seems that Siri makes the power characteristic the name...

Homebridge reboot loop when Telnet can’t reach Receiver (v0.4.0)

When the Receiver is offline (No Network Connection) and Homebridge reboots the plug-in crashes Homebridge and Homebridge goes into a Reboot Loop.

[Denon] Error: connect EHOSTUNREACH x.x.x.x:23 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14) errno: 'EHOSTUNREACH', code: 'EHOSTUNREACH', syscall: 'connect', address: 'x.x.x.x', port: 23 }

[Denon]Cannot connect Denon]{ Error: connect EHOSTUNREACH x.x.x.x:23 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14) errno: 'EHOSTUNREACH', code: 'EHOSTUNREACH', syscall: 'connect', address: 'x.x.x.x', port: 23

Plugin Version 0.4.0

turning the amp on doesn't work if default input is set

Hey guys,

I noticed that turning the amp on doesn't currently work if a default input is set (turning it off works fine though).

That's because this code isn't calling the respective function from the denon lib in this case:

DenonAVRAccessory.prototype.setPowerState = function (powerState, callback) {
    if (powerState && this.defaultInput) {
        this.denon.setInput(this.defaultInput, function (err) {
            if (err) {
                this.log('Error setting default input');
                callback(err);
            }
        }.bind(this));
    } else {
        this.denon.setPowerState(powerState, function (err, state) {
            if (err) {
                this.log(err);
                callback(err);
            } else {
                this.log('denon avr powered %s', state);
            }
        }.bind(this));
    }

this.denon.setPowerState should be called in any case.

Thanks for the great work on this plugin!

Remote

Is it possible, so swtich the Input via Voicecontrol?
Right now, I can just use it as a power control; nothing else.

Second Zone

Good day,

I have installed the plugin and I get main zone and second zone in the homekit displayed. But if turn on main zone the second zone turns also on, and if turn off both zones go off. Turn second zone on means also turn on main zone and so on. It looks like both zones are paired together.

My receiver is Denon AVR-X3500H

Thank you

Zone Support

When will Zone 2 be available to use through this plugin?

Unable to setup Marantz

Hey there!

Newbie here, i want to make my stoopid Marantz:[M-CR603] a little smart and make it turn on via Siri, i installed the plugin and tried entering everything i could but i get the error:

TypeError: this.config.accessories is not iterable at DenonMarantzAVRPlatform.discoverAVR (/homebridge/node_modules/homebridge-denon-v3/src/platform.ts:91:64) at HomebridgeAPI.<anonymous> (/homebridge/node_modules/homebridge-denon-v3/src/platform.ts:42:18) at HomebridgeAPI.emit (node:events:525:35) at HomebridgeAPI.signalFinished (/homebridge/node_modules/homebridge/src/api.ts:275:10) at Server.start (/homebridge/node_modules/homebridge/src/server.ts:190:14)

My configeration is:

{ "bridge": { "name": "Homebridge ****", "username": "Admin", "port": ******, "pin": "*********" }, "description": "just an example config", "platforms": [ { "platform": "MarantzAVR", "name": "Marantz Max", "host": "***", "maxVolume": 60, "defaultVolume": 20, "defaultInput": "AUX4", "secondZone": false } ], "platform": "denon-marantz-avr" }

Hope you can help me

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.