Closed SawkeeReemo closed 7 months ago
I don't see this error on my side, can you post debug log, go to plugin settings Advanced Section>>>System>>>Debug enable it and restart plugin.
I am seeing the same thing since 4.4.0. No response in homekit as a result. Going back to 4.3.33 resolves the error.
Can you try 4.5.0
OK probably found what is going wrong, please try 4.5.1-beta
Still happening with the beta unfortunately. https://hastebin.com/share/iqojusiwar.csharp Also, I have to go to bed now, been up all night working on this. (almost 4:30am here) Thanks again for taking a look. I'll check back in once I get some sleep.
Very strange because I can not reproduce this issue on my side
beta.1 ready to test
I will grab it, but then I gotta hit the sheets. Here's my new config if it helps you trouble shoot: https://hastebin.com/share/qaperimube.json
beta.1 ready to test
Beta1 does not resolve unfortunately.
[1/2/2024, 7:36:36 AM] [DenonTv] Device: 192.168.10.39 Denon AVR, Read saved Input Names error: SyntaxError: Unexpected end of JSON input [1/2/2024, 7:36:36 AM] [DenonTv] Device: 192.168.10.39 Denon AVR, Read saved Input Target Visibility error: SyntaxError: Unexpected end of JSON input
[1/2/2024, 7:36:39 AM] [homebridge-denon-tv] This plugin threw an error from the characteristic 'Active Identifier': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'name'). See https://homebridge.io/w/JtMGR for more info.
My Config:
{
"platform": "DenonTv",
"devices": [
{
"name": "Denon AVR",
"host": "192.168.10.39",
"port": 8080,
"zoneControl": 0,
"supportOldAvr": false,
"getInputsFromDevice": false,
"getFavoritesFromDevice": false,
"getQuickSmartSelectFromDevice": false
}
please remove inputsNames and inputsTargetVisibility files from home bridge/denonTv folder and restart plugin again
please remove inputsNames and inputsTargetVisibility files from home bridge/denonTv folder and restart plugin again
Deleted the 2 files as requested....restarted plug in and the error presists. Also saw beta 2 and updated.
try beta.14 please
Installed beta.14 and this error remains along with no response in homekit.
[1/2/2024, 12:39:42 PM] [homebridge-denon-tv] This plugin threw an error from the characteristic 'Active Identifier': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'name'). See https://homebridge.io/w/JtMGR for more info.
Interesting though I no longer get the SyntaxError's I included above. I did delete the two files as you requested so I wonder if that solved that particular part.
Again falling back to 4.3.33 solves the issues. Thanks for you continued support with this.
Really strange, I can’t reproduce this issue on my side.
FYI: The issue has not returned for me so far. I'll report back here if I see it again. Thanks again for being such a great developer.
Just want to let you know I solved this by removing the plug-in and deleting any cache in Homebridge then re-adding v4.5.1. I had to use Safari to save the plug-in configuration as it wasn't sticking in chrome per this issue:
https://github.com/grzegorz914/homebridge-denon-tv/issues/190
Thank you for your hard work on this!
I'm pretty sure you already know about this and are working on a fix, but I figured I'd log it here as a bug so we can see once you've addressed it. Thanks again for all your work on this! It's pretty great!