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

Support for Integra-DRX-5.4 #215

Open
3 tasks done
Seexelas opened this issue Sep 18, 2023 · 0 comments
Open
3 tasks done

Support for Integra-DRX-5.4 #215

Seexelas opened this issue Sep 18, 2023 · 0 comments
Labels
bug A CONFIRMED bug in the plugin code

Comments

@Seexelas
Copy link

Seexelas commented Sep 18, 2023

Confirm you have checked the WIKI for troubleshooting first
_Fill out and check ([x]) the boxes which apply.

  • Homebridge version: v1.6.1

  • Plugin version: v2022.18.1

  • OS, including release name/version: Hyper-V Vm, Ubuntu Focal Fossa (20.04.5 LTS), Node.JS : [v18.17.1]

  • Homebridge-Onkyo installed via OS/distribution mechanisms

  • You installed using homebridge-config-ui-x

  • You enabled homebridge debug output

Describe the bug
The plugin is not working for me, error in logs

To Reproduce
Information on your Onkyo receiver:

  1. Model information :

Integra-DRX-5.4

Information on your configuration:

  1. Homebridge config :

receivers": [
{
"name": "Receiver",
"model": "Integra-DRX-5_4",
"ip_address": "192.168.1.11",
"inputs": [
{
"input_name": "STRMBox",
"display_name": "Apple Tv"
}
],
"filter_inputs": true,
"max_volume": 0,
"volume_type": "dimmer",
"zone": "Main"
}
],
"platform": "Onkyo"

Information from the log:

[9/18/2023, 9:11:41 AM] [Onkyo] Initializing Onkyo platform...
[9/18/2023, 9:11:41 AM] [Onkyo] Creating 1 receivers...
[9/18/2023, 9:11:41 AM] [Onkyo] Creating new connection for ip 192.168.1.11
[9/18/2023, 9:11:41 AM] [Onkyo] **************************************************************
[9/18/2023, 9:11:41 AM] [Onkyo] homebridge-onkyo version 2022.18.1
[9/18/2023, 9:11:41 AM] [Onkyo] GitHub: https://github.com/ToddGreenfield/homebridge-onkyo
[9/18/2023, 9:11:41 AM] [Onkyo] **************************************************************
[9/18/2023, 9:11:41 AM] [Onkyo] start success...
[9/18/2023, 9:11:41 AM] [Onkyo] Debug mode enabled
[9/18/2023, 9:11:41 AM] [Onkyo] name Receiver
[9/18/2023, 9:11:41 AM] [Onkyo] IP 192.168.1.11
[9/18/2023, 9:11:41 AM] [Onkyo] Model Integra-DRX-5_4
[9/18/2023, 9:11:41 AM] [Onkyo] Zone main
[9/18/2023, 9:11:41 AM] [Onkyo] volume_type: dimmer
[9/18/2023, 9:11:41 AM] [Onkyo] filter_inputs: true
[9/18/2023, 9:11:41 AM] [Onkyo] poll_status_interval: 0
[9/18/2023, 9:11:41 AM] [Onkyo] defaultInput: undefined
[9/18/2023, 9:11:41 AM] [Onkyo] defaultVolume: undefined
[9/18/2023, 9:11:41 AM] [Onkyo] maxVolume: 60
[9/18/2023, 9:11:41 AM] [Onkyo] mapVolume100: true
[9/18/2023, 9:11:41 AM] [Onkyo] avrSerial: 192.168.1.11
[9/18/2023, 9:11:41 AM] SyntaxError: Unexpected token ] in JSON at position 13
at JSON.parse ()
at OnkyoAccessory.createRxInput (/homebridge/node_modules/homebridge-onkyo/index.js:218:19)
at OnkyoAccessory.setUp (/homebridge/node_modules/homebridge-onkyo/index.js:149:8)
at new OnkyoAccessory (/homebridge/node_modules/homebridge-onkyo/index.js:145:8)
at /homebridge/node_modules/homebridge-onkyo/index.js:37:22
at Array.forEach ()
at OnkyoPlatform.createAccessories (/homebridge/node_modules/homebridge-onkyo/index.js:30:13)
at new OnkyoPlatform (/homebridge/node_modules/homebridge-onkyo/index.js:23:8)
at /homebridge/node_modules/homebridge/src/server.ts:474:40
at Array.forEach ()
[9/18/2023, 9:11:41 AM] Got SIGTERM, shutting down Homebridge...
[9/18/2023, 9:11:41 AM] [Harmony-Hub] INFO - shutdown
[9/18/2023, 9:11:41 AM] AssertionError [ERR_ASSERTION]: Cannot generate setupURI on an accessory that isn't published yet!
at Bridge.Accessory.setupURI (/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:994:11)
at Server.setServerStatus (/homebridge/node_modules/homebridge/src/server.ts:155:45)
at Server.teardown (/homebridge/node_modules/homebridge/src/server.ts:199:10)
at signalHandler (/homebridge/node_modules/homebridge/src/cli.ts:93:12)
at process.emit (node:events:514:28)
at process.emit (/homebridge/node_modules/homebridge/node_modules/source-map-support/source-map-support.js:516:21)
[9/18/2023, 9:11:41 AM] [Onkyo] eventDebug: INFO (connected) Connected to 192.168.1.11:60128 (model: Integra-DRX-5_4)
[9/18/2023, 9:11:41 AM] [Onkyo] eventConnect: 192.168.1.11

Expected behavior
Working with my model

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Thanks for the help,

@Seexelas Seexelas added the bug A CONFIRMED bug in the plugin code label Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A CONFIRMED bug in the plugin code
Projects
None yet
Development

No branches or pull requests

1 participant