You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirm you have checked the WIKI for troubleshooting first
_Fill out and check ([x]) the boxes which apply.
Homebridge version: 1.3.4
Plugin version: v2021.32.1
OS, including release name/version: Alpine Linux (3.12.7)
Homebridge-Onkyo installed via OS/distribution mechanisms
You installed using homebridge-config-ui-x
You enabled homebridge debug output
Describe the bug
Full Error Message:
SyntaxError: Unexpected token ] in JSON at position 13
at JSON.parse (<anonymous>)
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 (<anonymous>)
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 /usr/local/lib/node_modules/homebridge/src/server.ts:440:40
at Array.forEach (<anonymous>)
at Server.loadPlatforms (/usr/local/lib/node_modules/homebridge/src/server.ts:372:27)
at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:159:29)
To Reproduce
Information on your Onkyo receiver:
HT-R990
Information on your configuration:
Using homebridge-config-ui-x this is the resulting config:
I did some experiments (also tried out different plugins) and now it works. Might be caused by the model not being present in the eiscp-commands.json.
My config:
I can confirm that when your listed model is not in the eiscp-commands.json, this is the error you get. It might be helpful for a lot of people to do a check up front to see if your listed model is in the list and if it is not, halt with an error or default to TX-NR609 with a warning in the log.
Confirm you have checked the WIKI for troubleshooting first
_Fill out and check (
[x]
) the boxes which apply.Describe the bug
Full Error Message:
To Reproduce
Information on your Onkyo receiver:
Information on your configuration:
Using
homebridge-config-ui-x
this is the resulting config:Information from the log:
A few log lines:
Expected behavior
Plugin shouldn't crash Homebridge
The text was updated successfully, but these errors were encountered: