homebridge-onkyo icon indicating copy to clipboard operation
homebridge-onkyo copied to clipboard

Support for Integra-DRX-5.4

Open Seexelas opened this issue 1 year ago • 0 comments

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]

  • [X] Homebridge-Onkyo installed via OS/distribution mechanisms

  • [X] You installed using homebridge-config-ui-x

  • [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 avatar Sep 18 '23 07:09 Seexelas