Coder Social home page Coder Social logo

homebridge-onkyo's People

Contributors

brutus-downunder avatar cbrandlehner avatar dependabot[bot] avatar gw-wiscon avatar jondthompson avatar mbbeaubi avatar toddgreenfield 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebridge-onkyo's Issues

question about zone

I want control main zone, zone 2 and zone 3.
How I set in the config.json?

Support for RZ models

I’m fairly new to homebridge and automations. I have this setup using the default model. My receiver is a TX-RZ810. When I connect to it via the eve app, the input selection is very flaky. Is there a better model to select or something I can do to improve compatibility?

This works for my Pioneer SX-S30 receiver, but I can't get the inputs to align

Describe the bug
A clear and concise description of what the bug is.
I am trying to figure out how to get a list of inputs for my Pioneer receiver, which happens to use the same protocol as Onkyo receivers. Once I have this, I would be able to add "STREAMBOX" (for example) to inputs so that it shows up and can be controlled by HomeKit.

To Reproduce
Information on your Onkyo receiver:

  1. Model information - Pioneer SX-S30

Information on your configuration:

  1. Homebridge config

{ "platform": "Onkyo", "receivers": [ { "model": "TX-NR609", "ip_address": "10.0.1.85", "poll_status_interval": "3000", "name": "Roundhouse AVR", "volume_dimmer": true, "map_volume": true, "filter_inputs": true, "inputs": [ { "input_name": "network", "display_name": "Network" }, { "input_name": "streambox", "display_name": "Apple TV" } ] } ] },

Information from the log:

  1. Homebridge log file showing relevant information. Experienced users are asked to turn debug on.

Mar 03 20:45:33 HOMEBRIDGE homebridge[4343]: [3/3/2020, 8:45:33 PM] [Onkyo] Event - System Power changed: on Mar 03 20:45:33 HOMEBRIDGE homebridge[4343]: [3/3/2020, 8:45:33 PM] [Onkyo] eventInput - ERROR - INVALID INPUT - Model does not support selected input.

seems code is not using rx-types.js at all

Describe the bug
The code in index.js has no reference to rx-types.js, only some remaining artifacts which are commented out.

To Reproduce
Information on your Onkyo receiver:

  1. Model information
    Onkyo TN-NR616

Information on your configuration:

  1. Homebridge config
    n/a

Information from the log:

  1. Homebridge log file showing relevant information. Experienced users are asked to turn debug on.
    n/a

Expected behavior
Probably we can delete the file?

Screenshots
n/a

Additional context
n/a

Input selector for Onkyo TR-NR609

Hi Todd,
thank you so much for your work, much appreciated.
One issue that I faced today. When I try to use the input selector in EVE app the plugin says "Command input-selector in zone main is not supported on this model". Can you please confirm that this is true. I thought I read that you tested this with TR-NR609. Is there any workaround to switch by scene to another input?

Regards
Volker

unable to install plugin with homebridge docker environment

get this error when I try to install the plugin through homebridge UI:

USER: root
DIR: /homebridge
CMD: npm install --save homebridge-onkyo@latest

npm ERR! code 1
npm ERR! Command failed: git clone --mirror -q git://github.com/tillbaks/node-eiscp.git /root/.npm/_cacache/tmp/git-clone-beacf4cb/.git
npm ERR! /root/.npm/_cacache/tmp/git-clone-beacf4cb/.git: Permission denied
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-03-07T12_28_35_357Z-debug.log

Command failed. Please review log for details.

Homebridge is running in a docker container on Synology DS216+

Cant get the Inputs list in HomeKit with Onkyo TX-NR686

        {
            "name": "Onkyo",
            "receivers": [
                {
                    "name": "Onkyo AVR",
                    "model": "TX-NR636",
                    "ip_address": "10.0.1.7",
                    "default_input": "dvd",
                    "zone": "main",
                    "default_volume": "40",
                    "max_volume": "80",
                    "poll_status_interval": "0",
                    "map_volume_100": false,
                    "volume_dimmer": false,
                    "switch_service": false,
                    "filter_inputs": true,
                    "inputs": [
                        {
                            "input_name": "tv",
                            "display_name": "TV"
                        },
                        {
                            "input_name": "dvd",
                            "display_name": "Apple TV"
                        },
                        {
                            "input_name": "game",
                            "display_name": "Game"
                        }
                    ]
                }
            ],
            "platform": "Onkyo"
        }

And I get only Apple TV option... How to get the TV and Game, and switch between them?

Permission denied npm 5.7.1

Hi,

After doing a fresh install to npm 5.7.1, I am unable to install this plugin? (macos)

I am using sudo npm install -g homebridge-onkyo

code 1
npm ERR! Command failed: /usr/bin/git clone -q git://github.com/tillbaks/node-eiscp.git /Users/arielgeffen/.npm/_cacache/tmp/git-clone-e0f5adec
npm ERR! /Users/arielgeffen/.npm/_cacache/tmp/git-clone-e0f5adec/.git: Permission denied
npm ERR!

Can't install plugin

Hi, I cannot install the plugin (not 0.7.0 nor 0.6.5). "This is related to npm not being able to find a file." Am I doing something wrong?

Error Initialising Platform

Upon installing I get this error when rebooting Homebridge:

[2/19/2020, 4:02:01 AM] [Onkyo] Initializing Onkyo platform... [2/19/2020, 4:02:01 AM] TypeError: Cannot read property 'forEach' of undefined at new OnkyoAccessory (/usr/local/lib/node_modules/homebridge-onkyo/index.js:72:22) at receivers.forEach.receiver (/usr/local/lib/node_modules/homebridge-onkyo/index.js:36:22) at Array.forEach (<anonymous>) at OnkyoPlatform.createAccessories (/usr/local/lib/node_modules/homebridge-onkyo/index.js:35:13) at new OnkyoPlatform (/usr/local/lib/node_modules/homebridge-onkyo/index.js:28:8) at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:337:32) at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:90:36) at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:59:10) at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22) at Module._compile (internal/modules/cjs/loader.js:721:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:732:10) at Module.load (internal/modules/cjs/loader.js:620:32) at tryModuleLoad (internal/modules/cjs/loader.js:560:12) at Function.Module._load (internal/modules/cjs/loader.js:552:3) at Function.Module.runMain (internal/modules/cjs/loader.js:774:12) at executeUserCode (internal/bootstrap/node.js:342:17) at startExecution (internal/bootstrap/node.js:276:5) at startup (internal/bootstrap/node.js:227:5) at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3) [2/19/2020, 4:02:01 AM] Got SIGTERM, shutting down Homebridge...

I use Homebridge Config UI so I let that modify my config.json (below)
Is there something wrong with my config or is there a bug with homebridge-onkyo?

{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:20",
"port": 12345,
"pin": "123-45-678"
},
"accessories": [
{
"accessory": "Smartglass",
"name": "Xbox",
"liveid": "FD00B10BB08F55CC",
"consoleip": "10.0.0.42"
},
{
"accessory": "WeMo",
"name": "Fan",
"description": "Bedroom Fan",
"wemo_name": "Fan"
},
{
"accessory": "WeMo",
"name": "Horse Light",
"description": "Living Room Horse Light",
"wemo_name": "Horse Light"
},
{
"accessory": "WeMo",
"name": "Christmas Lights",
"description": "Bedroom Christmas Lights",
"wemo_name": "Fairy Lights"
},
{
"accessory": "SkyQ",
"name": "Sky Q",
"ipAddress": "10.0.0.118"
},
{
"name": "Living Room TV",
"ip": "10.0.0.250",
"mac": "C4:36:6C:A5:30:D2",
"keyFile": "",
"prefsDir": "~/.webosTv",
"pollingInterval": 5,
"legacyTvService": false,
"showInputButtons": false,
"volumeControl": "false",
"volumeLimit": 100,
"channelControl": false,
"mediaControl": false,
"inputs": [
{
"appId": "com.webos.app.hdmi1",
"name": "Apple TV"
},
{
"appId": "com.webos.app.hdmi2",
"name": "Sky"
}
],
"notificationButtons": [
"Motion Detected: Garden",
"Motion Detected: Garage"
],
"infoButtonAction": "INFO",
"accessory": "webostv"
}
],
"platforms": [
{
"name": "Config",
"port": 8080,
"auth": "form",
"theme": "red",
"tempUnits": "c",
"sudo": true,
"debug": false,
"log": {
"method": "file",
"path": "/Users/Hazza/.homebridge/homebridge.log"
},
"platform": "config"
},
{
"name": "Harmony Hub",
"hubIP": "10.0.0.57",
"cleanCache": false,
"publishAllTVAsExternalAccessory": true,
"TVAccessory": true,
"mainActivity": "Play Xbox",
"platform": "HarmonyHubWebSocket"
},
{
"name": "Onkyo",
"receivers": [
{
"name": "Onkyo AVR",
"model": "TX-L50",
"ip_address": "10.0.0.221",
"default_input": "net",
"default_volume": "10",
"max_volume": "35",
"poll_status_interval": "0",
"map_volume_100": true,
"volume_dimmer": false,
"switch_service": false,
"filter_inputs": false
}
],
"platform": "Onkyo"
}
]
}

Missing files?! (not an issue)

Hey,
i can only clone 4 files, and also here on the website i can only see 4, do i miss something??
index.js package.json README.md RxTypes.js

Thank you! (hope its not too stupid question..)

3.js fails

Hi Todd,

When I run 3.js to obtain available commands to add to the config.json I receive the following.

/usr/lib/node_modules/homebridge-onkyo/node_modules/eiscp/examples/3.js: 1: /usr/lib/node_modules/homebridge-onkyo/node_modules/eiscp/examples/3.js: /*jslint: not found
/usr/lib/node_modules/homebridge-onkyo/node_modules/eiscp/examples/3.js: 2: /usr/lib/node_modules/homebridge-onkyo/node_modules/eiscp/examples/3.js: use strict: not found
/usr/lib/node_modules/homebridge-onkyo/node_modules/eiscp/examples/3.js: 3: /usr/lib/node_modules/homebridge-onkyo/node_modules/eiscp/examples/3.js: Syntax error: "(" unexpected
am by no means a linux expert. This is on a pi3 running stretch

Any help you can provide will be greatly appreciated.

Thank you!

TypeError after updating to version 0.7.7

After updating to version 0.7.7, I get the following error in the homebridge log:

[2020-2-13 10:35:27] TypeError: Cannot read property 'forEach' of undefined at new OnkyoAccessory (/usr/lib/node_modules/homebridge-onkyo/index.js:72:22) at /usr/lib/node_modules/homebridge-onkyo/index.js:36:22 at Array.forEach (<anonymous>) at OnkyoPlatform.createAccessories (/usr/lib/node_modules/homebridge-onkyo/index.js:35:13) at new OnkyoPlatform (/usr/lib/node_modules/homebridge-onkyo/index.js:28:8) at Server._loadPlatforms (/usr/lib/node_modules/homebridge/lib/server.js:337:32) at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:90:36) at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:59:10) at Object.<anonymous> (/usr/lib/node_modules/homebridge/bin/homebridge:17:22) at Module._compile (internal/modules/cjs/loader.js:955:30)

The used config is the following

{ "platform": "Onkyo", "receivers": [ { "model": "TX-NR609", "ip_address": "192.168.xxx.xxx", "poll_status_interval": "3000", "name": "Anlage", "volume_dimmer": false, "switch_service": false, "filter_inputs": true } ] }

Plugin won't install

Hi

Every time i try to install this plugin i get the below errors :( Any help would be much appreciated.

npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm ERR! path git
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! syscall spawn git
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t git://github.com/tillbaks/node-eiscp.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

plugin configuration is broken

With the 0.7.x codestream, the config.schema.json file does not match the expected configuration, resulting in the user unable to configure the plugin using the GUI.
I am working on a fix.

Switching between several input crashes homebridge

I have model TX-NR656 but I am using TX-NR609 config and when I switch between several inputs it crashes the homebridge service. Below is the exception that is logged.

[Homebridge] [1/16/2020, 1:02:37 AM] TypeError: Cannot read property 'label' of undefined
at HttpStatusAccessory.setInputSource (/home/hoobs/.hoobs/node_modules/homebridge-onkyo/index.js:570:130)
at RxTypes.InputSource.emit (events.js:198:13)
at RxTypes.InputSource.Characteristic.setValue (/home/hoobs/.hoobs/node_modules/@hoobs/hap/lib/Characteristic.js:323:10)
at Bridge. (/home/hoobs/.hoobs/node_modules/@hoobs/hap/lib/Accessory.js:882:22)
at Array.forEach ()
at Bridge.Accessory._handleSetCharacteristics (/home/hoobs/.hoobs/node_modules/@hoobs/hap/lib/Accessory.js:822:8)
at HAPServer.emit (events.js:198:13)
at HAPServer._handleCharacteristics (/home/hoobs/.hoobs/node_modules/@hoobs/hap/lib/HAPServer.js:974:10)
at HAPServer. (/home/hoobs/.hoobs/node_modules/@hoobs/hap/lib/HAPServer.js:209:39)
at IncomingMessage.emit (events.js:198:13)
at endReadableNT (_stream_readable.js:1143:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
[Homebridge] [1/16/2020, 1:02:37 AM] Got SIGTERM, shutting down service...

plugin crashes if configuration is incorrect

If the configuration is incorrect, the plugin will crash. Killing Homebridge too.
Would like to see a more robust code that will log incorrect configuration and allow Homebridge to start.

rounding

The code currently loads an external dependency round which has not been updated in years. We should use native javascript rounding to replace the dependency.

Trying to connect to two receivers on same network

I have two Onkyo receivers on the same network. It seems that I can't get both to work at the same time as Eve will just control one of them (even if I choose the other). Has anyone gotten this to work? The JSON looks like this:

accessories": [{
"accessory": "Onkyo",
"name": "Basement Receiver",
"ip_address": "192.168.1.103",
"model": "TX-NR636",
"poll_status_interval": "900",

		"default_volume": "45",
		"max_volume": "100",
		"map_volume_100": true
	},
	{
		"accessory": "Onkyo",
		"name": "Family Room Receiver",
		"ip_address": "192.168.1.101",
		"model": "TX-NR636",
		"poll_status_interval": "900",

		"default_volume": "45",
		"max_volume": "100",
		"map_volume_100": true
	},
	{
		"accessory": "DelaySwitch",
		"name": "Sonos in the Basement",
		"delay": 5000
	},
	{
		"accessory": "DelaySwitch",
		"name": "Sonos in the Family Room",
		"delay": 5000
	},

Zone 2 Support

Hi,

Thanks for working on this, it's the missing piece for my home automation I think. If you had zone 2 support it would be perfect.

Should be easy enough to add, I read over the eISCP docs, it should be just a matter of prefixing all the commands you send with either main: or zone2:. Then all you'd need to do is add some config so the user can specify the zone.

If you're not already working on it I'm happy to test and contribute a fix.

Thanks

Install fails

It appears that the github.com/tillbaks/node-eiscp.git repo no longer exists

Log message below:
fetchPackageMetaData error for eiscp@git://github.com/tillbaks/node-eiscp.git Command failed: /usr/bin/git clone --depth=1 -q -b master git://github.com/tillbaks/node-eisc

Merge back fork (ToddGreenfield & SoloWalker) projects into ToddGreenfield as looks like Todd is now actively maintaining original codebase (will cross post)

Is your feature request related to a problem? Please describe.
Thanks for all your work on this. I moved to SoloWalker's plugin given issue with the Todd Greenfield's plugin on my Onkyo and to gain support for Platform.

Looks like Todd is now actively mantaining his original plugin that was forks (though seems he implemented the Platform definition slightly differently).

Request to have all changes made in SoloWalker fork integrated into the mainline codebase this unifying the root. This will allow SoloWalker to continue if he wishes to in the future push out any updates and if not at least the work done will not be lost and those of us who have been using and testing it can switch over to Todd's plug in with minimal disruption (at the moment since he published privately I unfortunately still see Todd's plugin as my installed plugin with he most recent update now as an available update via HomeBridgeUI/NPM.

Thanks both for all the great work! And as a former Apple Engineer please let me know if there is anything I can do to help.

Regards,
Tom

TX-NR636 not connecting

Hello,

I own a TX-NR636, i installed the plugin in homebridge and configured it, but unfortunately i cannot do anything with the plugin except turn on/off the receiver.

Am i doing something wrong?

Audio Control

i've got the TX-NR509 and i would love to control the sound from my apple homekit. is this possible? current config:

    {
        "name": "Receiver Onkyo",
        "ip_address": "192.168.2.1",
        "model": "TX-NR509",
        "poll_status_interval": "900",
        "default_input": "net",
        "default_volume": "10",
        "max_volume": "50",
        "map_volume_100": true,
        "zone": "main",
        "accessory": "Onkyo"
    }

Also, where can i find the default_input list?

install fails

Trying to install and getting the below:

C:\WINDOWS\system32>npm install -g homebridge-onkyo
npm ERR! Error while executing:
npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t git://github.com/tillbaks/node-eiscp.git
npm ERR!
npm ERR! fatal: unable to look up github.com (port 9418) (Either the application has not called WSAStartup, or WSAStartup failed. )
npm ERR!
npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\HTPC\AppData\Roaming\npm-cache_logs\2018-12-02T21_06_58_438Z-debug.log

Won't install on HOOBS 3

I try to install this plugin by HOOBS 3-versie. 3.1.10
But it doesn't show up in installed plugins

I use a Raspberry 3b

TX-NR646

Hi,

Does this support the TX-NR646?

Best regards,
Loïc

Update of EISCP commands

Is there a way to update the EISCP commands easily? I found a post commenting on updated commands that now support other inputs in a Home Assistant thread. Here's the body of that post? IS this possible?

In the master branch of the upstream repo here - https://github.com/miracle2k/onkyo-eiscp - there is an updated eiscp-commands.yaml and commands.py which includes support for the Streaming Box source as well as others. Grabbing the latest commands.py file here - https://github.com/miracle2k/onkyo-eiscp/blob/master/eiscp/commands.py - and replacing all occurrences of xrange with range so it works with Python3, I was able to drop this updated commands.py file in place of the current one in my HASS dependencies, and this fixes my issue. I'm not sure what the best way is to get the updated commands.py file into @danieljkemp's fork. Let me know if you want me to make a pull request with the latest file.

home-assistant/core#6022

Support DRC-R1

Great plugin! I'm only just getting into Homebridge and would love to automate my theater a bit more. My Integra DRC-R1 AVR isn't listed but I've got the basic ON/OFF functionality by using the recommended TX-NR609. Do you have another model you'd recommend I try (before I just start grabbing a few) or so you have any information on how to add models that I could somehow help contribute to?

Appreciate your work here. It's a great plugin regardless. Thanks!

Input selector maybe broke?

Upgraded the plugin today. I removed my old config and added the following config;
"name": "Onkyo", "receivers": [ { "name": "Stereo", "model": "TX-NR609", "ip_address": "172.16.1.120", "default_input": "DVD", "default_volume": "20", "max_volume": "55", "poll_status_interval": "0", "map_volume_100": true, "volume_dimmer": false, "switch_service": false, "filter_inputs": true, "inputs": [ { "input_name": "DVD", "display_name": "NFX" }, { "input_name": "SAT", "display_name": "TV" }, { "input_name": "NET", "display_name": "NET" }, { "input_name": "GAME", "display_name": "GAME" } ] } ], "platform": "Onkyo"

Everything seems to work, however the input selector is blank in the home app, and it was blank on my ipad. It's also blank on the watch app.

I have a TX-626, configured as a TX-609. I tried a couple of other models listed in the file, no luck.

I also see this error;
HAP Warning: Characteristic 0000011A-0000-1000-8000-0026BB765291 not in required or optional characteristics for service 000000D8-0000-1000-8000-0026BB765291. Adding anyway.

I'm not sure if that's related to Onkyo or another device.

I'd also like to add, that the receiver no longer shows in the EVE app....

config.json: inputs/switches/commands

Thanks for this great plugin!
Now I can ON/OFF my Onkyo NR636, but would you please tell how to select inputs, or the generic settings with inputs/switches/commands in config.json into e.g. wiki?

the initial config as accessories works, but for what reason it cannot reflect the correct status on/off in HomeKit like Samsung TV or my TP-link plug(which controls the Onkyo and TV, etc.) , at moment if I off TV, Onkyo will also off, which is also logical and correct by means of HDMI CEC.

@toshibochan: I tried your config as platform "onkyo", but error shows the platform is not recognized. Have you remove the accessories section for onkyo? could you elaborate a little more?

BTW: This is what I would like to reach:
https://midnite.im/de8965

Cannot find module

Any idea why I get this error (running Homebridge in a docker) :

[2018-12-4 22:59:01] [Stereo] Initializing Onkyo accessory...
module.js:538
throw err;
^

Error: Cannot find module './node_modules/eiscp/eiscp-commands.json'

at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at new HttpStatusAccessory (/root/.homebridge/node_modules/homebridge-onkyo/index.js:84:18)
at Server._loadAccessories (/root/.homebridge/node_modules/homebridge/lib/server.js:297:29)
at Server.run (/root/.homebridge/node_modules/homebridge/lib/server.js:87:38)
at module.exports (/root/.homebridge/node_modules/homebridge/lib/cli.js:45:10)
at Object. (/root/.homebridge/node_modules/homebridge/bin/homebridge:17:22)
_at Module._compile (module.js:635:30)

Polling Onkyo to make a fast 'Onkyo to homebridge' -connection

Hi,

When powering on the Onkyo with the original RC, the 'update to ON' in homebridge (and homekit) takes around 10 seconds. I want to have the info directly to make an automation in .home (to power on the TV + CableBox who are not on the network-with BroadlinkRM).
As a result, there only need to be pushed on one button, or talking only one sentence to the smart speaker, to turn on the television (video+ audio).

The polling interval is currently on '1'. But putting it on '3000' doesn't help.

any ideas?

Tv input not working

Hi @cbrandlehner

My receiver is recognised by the plugin and almost everything works as expected however it isn’t picking up the “TV”. Input. Any ideas ?
I have it set as model TX-NR609 in the plugin settings.
My audio unit is a pioneer vsx-831 using the onkyo protocol.

Regards Mark

Support for (TV) Power over CEC

Great plugin! Thanks for putting in the time. I've been doing some research, looking at all the eISCP stuff I can find, and wondering if it is possible to send the TV (or other) a power on/off signal as is possible with the Onkyo Remote3. I assume this is being done via CEC. Do you anticipate this being a possibility?

Error plugin

Please some helps ! It's not working :

MacBook-de-Users:~ Users$ homebridge

┌───────────────────────────────────────────────────────────┐
│ npm update check failed │
│ Try running with sudo or get access │
│ to the local update config store via │
│ sudo chown -R $USER:$(id -gn $USER) /Users/Users/.config │
└───────────────────────────────────────────────────────────┘
[2018-4-4 23:04:59] Loaded plugin: homebridge-foscamcamera
[2018-4-4 23:04:59] Registering platform 'homebridge-foscamcamera.FoscamCamera'
[2018-4-4 23:04:59] ---
[2018-4-4 23:04:59] Loaded plugin: homebridge-freemote
[2018-4-4 23:04:59] Registering accessory 'homebridge-freemote.Freemote'
[2018-4-4 23:04:59] ---
[2018-4-4 23:04:59] ====================
[2018-4-4 23:04:59] ERROR LOADING PLUGIN homebridge-onkyo:
[2018-4-4 23:04:59] Error: Cannot find module 'request'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/lib/node_modules/homebridge-onkyo/index.js:4:15)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Plugin.load (/usr/local/lib/node_modules/homebridge/lib/plugin.js:72:22)
at Server. (/usr/local/lib/node_modules/homebridge/lib/server.js:142:14)
at Array.forEach ()
at Server._loadPlugins (/usr/local/lib/node_modules/homebridge/lib/server.js:138:22)
at new Server (/usr/local/lib/node_modules/homebridge/lib/server.js:56:24)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:26:16)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
[2018-4-4 23:04:59] ====================
failed to load BLE module!
[2018-4-4 23:04:59] Loaded plugin: homebridge-yeelight
[2018-4-4 23:04:59] Registering platform 'homebridge-yeelight.yeelight'
[2018-4-4 23:04:59] ---
[2018-4-4 23:04:59] Loaded config.json with 1 accessories and 1 platforms.
[2018-4-4 23:04:59] ---
[2018-4-4 23:05:00] Loading 1 platforms...
[2018-4-4 23:05:00] [Foscam] Initializing FoscamCamera platform...
[2018-4-4 23:05:00] Loading 1 accessories...
/usr/local/lib/node_modules/homebridge/lib/api.js:64
throw new Error("The requested accessory '" + name + "' was not registered by any plugin.");
^

Error: The requested accessory 'Onkyo' was not registered by any plugin.
at API.accessory (/usr/local/lib/node_modules/homebridge/lib/api.js:64:13)
at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:264:42)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:86:38)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3

Default input types

I can only set the input to net, otherwise the homekit button wont respond. Where can I find the right input values?

Input list on

Hi,

First of all, this homebridge plugin is a master piece, congrats to the team. I was looking for this since a very long time.

I used Eve slider to find the input values I need on my TX-NR656 (I set TX-NR609 as my onkyo model is not listed). I can find AM, Aux, Bluetooth, CBL, CD,DVD, FM, multiple input Net, Net USB, input PC but I can't find STRM BOX.

Any advice on what to do please?

install npm code 128

Hello, when i want to install the beautiful homebridge-onkyo i have a error npm see below :

pi@casarasp:~ $ sudo npm i -g homebridge-onkyo
npm ERR! code 128
npm ERR! Command failed: git clone --mirror -q https://github.com/tillbaks/node-eiscp.git /root/.npm/_cacache/tmp/git-clone-e1cea99f/.git
npm ERR! fatal: impossible de créer les répertoires de premier niveau dans '/root/.npm/_cacache/tmp/git-clone-e1cea99f/.git'
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-03-02T10_16_08_511Z-debug.log`

Can you help me please, Thank you node v10.15.2 and npm v6.14.1

Capture d’écran 2020-03-02 à 10 51 59

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.