Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError after updating to version 0.7.7 #43

Closed
BenS89 opened this issue Feb 13, 2020 · 1 comment
Closed

TypeError after updating to version 0.7.7 #43

BenS89 opened this issue Feb 13, 2020 · 1 comment

Comments

@BenS89
Copy link

BenS89 commented Feb 13, 2020

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 } ] }

@BenS89
Copy link
Author

BenS89 commented Feb 13, 2020

Adding the inputs array solved the problem. Seems like this parameter is not optional anymore.

@BenS89 BenS89 closed this as completed Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant