Closed Hirador closed 1 year ago
Anyone with the same error?
Are you updated plugin to the latest version, if yes please enable debug mode in plugin Config advanced section and get the log
@IIHiradorII any info?
@IIHiradorII any info?
Today I'll check and let you know!
I've reinstalled everything first, the error is the same. The model is an AVR-3311 which uses port 80 for remote controlling, no known network issues. just to you knowledge, i've tried THIS plugin and, even if it has really limited functions, it worked at the first shot
log and Debug info:
[13/02/2023, 13:06:41] [homebridge-denon-tv] Launched child bridge with PID 60516
[13/02/2023, 13:06:41] Registering platform 'homebridge-denon-tv.DenonTv
[13/02/2023, 13:06:41] [homebridge-denon-tv] Loaded homebridge-denon-tv v3.24.0 child bridge successfully
[13/02/2023, 13:06:41] Loaded 0 cached accessories from cachedAccessories.0E996973D8FC.
[13/02/2023, 13:06:41] Homebridge v1.6.0 (HAP v0.11.0) (homebridge-denon-tv) is running on port 38440.
[13/02/2023, 13:06:41] [homebridge-denon-tv] Device: 192.168.1.109 DENON, debug: Info: undefined
[13/02/2023, 13:06:41] [homebridge-denon-tv] Device: 192.168.1.109 DENON, Info error: TypeError: Cannot read properties of undefined (reading 'BrandCode'), reconnect in 15s.
try this 3.24.1-beta.0 and get me log again
Try this in your browser and get the output:
http//ipaddress:port/goform/Deviceinfo.xml
http//ipaddress:port/goform/formMainZone_MainZoneXml.xml
http//ipaddress:60006/upnp/desc/aios_device/aios_device.xml
Hey, tried it in the browser, second line gives back: Error 403: Forbidden Access Forbidden
Also updated the plugin today, my log says Device: 192.xxx.xxx.xx Denon, State error: TypeError: Cannot read properties of undefined (reading '0'), reconnect in 15s.
what is output from other links?
Same error as @boffix, nothing worth noting when debug mode enabled. Will grab the output from the links you mentioned when I’m back home in a couple of hours
Hey output from the other links is here. Deviceinfo.txt aios_device.txt
@boffix are You report any problem? @salemsayed what same error as @boffix , @boffix do not report any error
I mean having this same message every 15s in the logs Device: 192.xxx.xxx.xx Denon, State error: TypeError: Cannot read properties of undefined (reading '0'), reconnect in 15s
@salemsayed its not the same error, please open new issue, enable debug mode in plugin settings advanced section and get the log please.
@IIHiradorII any output from other links?
also try http://ipaddress:port/goform/formMainZone_MainZoneXmlStatusLite.xml
since the update to version 4.0.0 I have the same problem. I'm back to version 3.25.21, the problem doesn't exist there.
25.2.2023, 06:11:45] [homebridge-denon-tv] Device: 192.168.0.7 AV Receiver, Info error: TypeError: Cannot read properties of undefined (reading '0'), reconnect in 15s.
@tobihoby debug log please
try 4.0.1-beta and let me know
Was getting the same error (TypeError: Cannot read properties of undefined (reading '0'), reconnect in 15s.) and 4.0.1-beta has resolved it for me.
4.0.1-beta has resolved it for me too
I'm terribly sorry for the late reply, I get no response from : http://ipaddress:port/goform/Deviceinfo.xml http://ipaddress:60006/upnp/desc/aios_device/aios_device.xml
From http://ipaddress:port/goform/formMainZone_MainZoneXml.xml i get this view-source_192.168.1.109_goform_formMainZone_MainZoneXml.txt
and from http://ipaddress:port/goform/formMainZone_MainZoneXmlStatusLite.xml i get this view-source_192.168.1.109_goform_formMainZone_MainZoneXmlStatusLite.txt
I've updated to the latest version 4.01, i think the problems rely on the deviceinfo.xml, maybe my specific DENON model (AVR-3311) do not store those informations that way
@IIHiradorII i will Try to add support for Your AVR
Please install 4.0.2-beta.11 enable Support for Old AVR and Debug mode in plugin settings advanced section and get the debug log.
Added old AVR Device support and debug, here's the log:
[25/02/2023, 14:42:13] [homebridge-denon-tv] Launched child bridge with PID 279219
[25/02/2023, 14:42:13] Registering platform 'homebridge-denon-tv.DenonTv'
[25/02/2023, 14:42:13] [homebridge-denon-tv] Loaded homebridge-denon-tv v4.0.2-beta.11 child bridge successfully
[25/02/2023, 14:42:13] Loaded 0 cached accessories from cachedAccessories.0E996973D8FC.
[25/02/2023, 14:42:13] Homebridge v1.6.0 (HAP v0.11.0) (homebridge-denon-tv) is running on port 38440.
[25/02/2023, 14:42:13] [homebridge-denon-tv] Device: 192.168.1.109 DENON, debug: Info: undefined
[25/02/2023, 14:42:13] [homebridge-denon-tv] Device: 192.168.1.109 DENON, Info error: TypeError: Cannot convert undefined or null to object, reconnect in 15s.
If it can be helpful, i can provide to you a mirror of the 3311 webserver (even if i think is not 100% complete)
My fault Try beta 12. the server access will be very helpfull
Updated, same error:
[25/02/2023, 14:55:37] [homebridge-denon-tv] Launched child bridge with PID 279670
[25/02/2023, 14:55:37] Registering platform 'homebridge-denon-tv.DenonTv'
[25/02/2023, 14:55:38] [homebridge-denon-tv] Loaded homebridge-denon-tv v4.0.2-beta.12 child bridge successfully
[25/02/2023, 14:55:38] Loaded 0 cached accessories from cachedAccessories.0E996973D8FC.
[25/02/2023, 14:55:38] Homebridge v1.6.0 (HAP v0.11.0) (homebridge-denon-tv) is running on port 38440.
[25/02/2023, 14:55:38] [homebridge-denon-tv] Device: 192.168.1.109 DENON, debug: Info: undefined
[25/02/2023, 14:55:38] [homebridge-denon-tv] Device: 192.168.1.109 DENON, Info error: TypeError: Cannot convert undefined or null to object, reconnect in 15s.
Here you have the mirror:
DENON-AVR3311.zip
Are you sure you have correct IP and Port
Try 13 please
I'm using ip 192.168.1.109 (My denon ip) and port 80 (the one where the webserver responds me as you can see with the screenshot)
Updated Logs:
[25/02/2023, 15:04:27] [homebridge-denon-tv] Launched child bridge with PID 280458
[25/02/2023, 15:04:27] Registering platform 'homebridge-denon-tv.DenonTv'
[25/02/2023, 15:04:28] [homebridge-denon-tv] Loaded homebridge-denon-tv v4.0.2-beta.13 child bridge successfully
[25/02/2023, 15:04:28] Loaded 0 cached accessories from cachedAccessories.0E996973D8FC.
[25/02/2023, 15:04:28] Homebridge v1.6.0 (HAP v0.11.0) (homebridge-denon-tv) is running on port 38440.
[25/02/2023, 15:04:28] [homebridge-denon-tv] Device: 192.168.1.109 DENON, Info error: TypeError: Converting circular structure to JSON --> starting at object with constructor 'ClientRequest' | property 'socket' -> object with constructor 'Socket' --- property '_httpMessage' closes the circle, reconnect in 15s.
14 ready
updated beta 14 logs:
[25/02/2023, 15:11:14] [homebridge-denon-tv] Launched child bridge with PID 280756 [25/02/2023, 15:11:14] Registering platform 'homebridge-denon-tv.DenonTv' [25/02/2023, 15:11:14] [homebridge-denon-tv] Loaded homebridge-denon-tv v4.0.2-beta.14 child bridge successfully [25/02/2023, 15:11:14] Loaded 0 cached accessories from cachedAccessories.0E996973D8FC. [25/02/2023, 15:11:14] Homebridge v1.6.0 (HAP v0.11.0) (homebridge-denon-tv) is running on port 38440. [25/02/2023, 15:11:14] [homebridge-denon-tv] Device: 192.168.1.109 DENON, debug: Info: "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<item>\n<Power><value>ON</value></Power>\n<ZonePower><value>ON</value></ZonePower>\n<InputFuncList>\n<value>SOURCE</value>\n<value>TUNER</value>\n<value>PHONO</value>\n<value>CD</value>\n<value>DVD</value>\n<value>BD</value>\n<value>TV</value>\n<value>SAT/CBL</value>\n<value>GAME</value>\n<value>DOCK</value>\n<value>DVR</value>\n<value>V.AUX</value>\n<value>NET/USB</value>\n<value>SIRIUS</value>\n<value>HDRADIO</value>\n</InputFuncList>\n<RenameSource>\n<value></value>\n<value>TUNER </value>\n<value>PHONO </value>\n<value> </value>\n<value>DVD </value>\n<value>APPLE TV</value>\n<value>TV </value>\n<value>COMPUTER</value>\n<value>PS4 </value>\n<value>DOCK </value>\n<value>DVR </value>\n<value>V.AUX </value>\n<value>NET/USB </value>\n<value></value>\n<value></value>\n</RenameSource>\n<RenameZone><value>MAIN ZONE \r</value></RenameZone>\n<SourceDelete>\n<value>DEL</value>\n<value>DEL</value>\n<value>DEL</value>\n<value>USE</value>\n<value>DEL</value>\n<value>USE</value>\n<value>DEL</value>\n<value>USE</value>\n<value>USE</value>\n<value>DEL</value>\n<value>USE</value>\n<value>DEL</value>\n<value>USE</value>\n<value>DEL</value>\n<value>DEL</value>\n</SourceDelete>\n<TopMenuLink><value>OFF</value></TopMenuLink>\n<ModelId><value>1</value></ModelId>\n<SalesArea><value>1</value></SalesArea>\n<InputFuncSelect><value>Media Server</value></InputFuncSelect>\n<NetFuncSelect><value>SERVER</value></NetFuncSelect>\n<InputFuncSelectMain><value>NET/USB</value></InputFuncSelectMain>\n<VolumeDisplay><value>Absolute</value></VolumeDisplay>\n<MasterVolume><value>-25.5</value></MasterVolume>\n<Mute><value>off</value></Mute>\n<RemoteMaintenance><value>OFF</value></RemoteMaintenance>\n<GameSourceDisplay><value>TRUE</value></GameSourceDisplay>\n<LastfmDisplay><value>TRUE</value></LastfmDisplay>\n<SubwooferDisplay><value>FALSE</value></SubwooferDisplay>\n</item>\n" [25/02/2023, 15:11:14] [homebridge-denon-tv] Device: 192.168.1.109 DENON, debug: Info1: { "item": { "Power": [ { "value": [ "ON" ] } ], "ZonePower": [ { "value": [ "ON" ] } ], "InputFuncList": [ { "value": [ "SOURCE", "TUNER", "PHONO", "CD", "DVD", "BD", "TV", "SAT/CBL", "GAME", "DOCK", "DVR", "V.AUX", "NET/USB", "SIRIUS", "HDRADIO" ] } ], "RenameSource": [ { "value": [ "", "TUNER ", "PHONO ", " ", "DVD ", "APPLE TV", "TV ", "COMPUTER", "PS4 ", "DOCK ", "DVR ", "V.AUX ", "NET/USB ", "", "" ] } ], "RenameZone": [ { "value": [ "MAIN ZONE \r" ] } ], "SourceDelete": [ { "value": [ "DEL", "DEL", "DEL", "USE", "DEL", "USE", "DEL", "USE", "USE", "DEL", "USE", "DEL", "USE", "DEL", "DEL" ] } ], "TopMenuLink": [ { "value": [ "OFF" ] } ], "ModelId": [ { "value": [ "1" ] } ], "SalesArea": [ { "value": [ "1" ] } ], "InputFuncSelect": [ { "value": [ "Media Server" ] } ], "NetFuncSelect": [ { "value": [ "SERVER" ] } ], "InputFuncSelectMain": [ { "value": [ "NET/USB" ] } ], "VolumeDisplay": [ { "value": [ "Absolute" ] } ], "MasterVolume": [ { "value": [ "-25.5" ] } ], "Mute": [ { "value": [ "off" ] } ], "RemoteMaintenance": [ { "value": [ "OFF" ] } ], "GameSourceDisplay": [ { "value": [ "TRUE" ] } ], "LastfmDisplay": [ { "value": [ "TRUE" ] } ], "SubwooferDisplay": [ { "value": [ "FALSE" ] } ] } } [25/02/2023, 15:11:14] [homebridge-denon-tv] Device: 192.168.1.109 DENON, Info error: ReferenceError: devInfo is not defined, reconnect in 15s.
Install beta 15 and again get the log
nice, try 18
We are quite there!!
Just one problem: added a new input but is not displaying in the homebridge accessoeries list Then added the bridge to homekit but no accessories are displayed at all
The inputs can be loaded from AVR direct go to the plugin config, section Inputs and enable load inputs from device then all inputs and its named will be loaded automatically.. Homebridge accesories do not support Television accessory so the inputs not be displayed here only in Home.app ass inputs list. If you want inputs in Homebridge displayed need to create Buttons. Beta 20 ready, all log please.
You need add the accessory itself not the bridge to the Homa.app This is external dynamic accessory
Yes i thougt it was me miss configuring something, i'm going to play it around bit and let you know first Here's the log, i think you have mistaken the version (is beta 28 not 20
yes actually beta 28, test and let me know if all passed
beta 29 fixed load renamed inputs names from device
Installed, everything seems to be working fine exept that there is no DVR in Reference section when creating manual inputs, in addition, i've tried to change source via Siri also creating specific buttons like ZM input Game (my actual ps4 channel) or at the same way with quick select (setting it up first on denon) with no luck, i see that the buttons seems to be working on zone 2 if i set the reference correctly like z2 quickselect 1)
Im pushed beta 31, added DVR and V.AUX inputs. Siri is irrelevant at this time, please write what is not working now. We need fixed the issues step by step because I don't have possibility to test it in my environment.
Okay DVR is now working but it is ignoring the custom name set by me
Where the name is ignored In Buttons or wheel ?
it's ignored in the denon input selector, the wheel i think
you can change it in Tile settings
Okay great, i'll continue testing and let you know
Hi! i'm facing this error with Denon AVR-3311
[homebridge-denon-tv] Device: 192.168.1.109 DENON AVR-3311, debug: Info: undefined
[homebridge-denon-tv] Device: 192.168.1.109 DENON AVR-3311, Info error: TypeError: Cannot read properties of undefined (reading 'BrandCode'), reconnect in 15s.
Just have made multiple attempts in both starndard and child bridge mode, even copied your configuration example and corrected Ip and port (80) but i still get this error.
Am I doing something wrong?