grzegorz914 / homebridge-denon-tv

Homebridge plugin for Denon/Marantz AV Receivers, publish as independent external platform accessory.
MIT License
75 stars 16 forks source link

Error after upgrading to lates version #276

Closed madegn closed 2 months ago

madegn commented 2 months ago

After upgrading I get the following error:

9/2/2024, 12:48:00 PMDenon Tv BridgeDenonTvWARNINGDevice: 192.168.1.148 Denon AV, unknoen zone: 0.

In the past I've had to roll back to version 4.3.28 and this would resolve the problem. I like to get this resolved once and for all so that I can continue to be on current version

grzegorz914 commented 2 months ago

zone 0. change to 0

madegn commented 2 months ago

zone 0. change to 0

Unfortunately that did not make a difference.

grzegorz914 commented 2 months ago

Post the config.jaon please

madegn commented 2 months ago

{ "accessories": [], "platforms": [ { "platform": "DenonTv", "devices": [ { "name": "Denon-AVR", "host": "192.168.1.148", "port": 8080, "zoneControl": 0, "volumeControl": 0, "inputs": [ { "name": "Xfinity", "reference": "SAT/CBL", "mode": "SI" }, { "name": "Stream", "reference": "DVD", "mode": "SI" }, { "name": "Blu-Ray", "reference": "BD", "mode": "SI" } ] } ] } ] }

grzegorz914 commented 2 months ago

In your config are missing some required properties like generation

madegn commented 2 months ago

In your config are missing some required properties like generation

Im using Hoobs for configuration. So Hoobs generated the config.jaon file from the Hoobs UI interface. So I'm unsure of what the Config file needs to have other that what Hoobs generated.

grzegorz914 commented 2 months ago

Why you not install Config UI X

madegn commented 2 months ago

Why you not install Config UI X

I've used Hoobs for several years. Outside of the issue with the Denon TV plugin I've had no issue using Hoobs. I have 3 devices that I load into HomeKit via Hoobs and not looking to change from this. Can you offer any help of what my 'config.jaon should be.

grzegorz914 commented 2 months ago

You can just use sample config, adapt your purpose

grzegorz914 commented 2 months ago
"devices": [
                {
                    "name": "AV Main Zone",
                    "host": "192.168.1.5",
                    "port": 8080,
                    "generation": 1,
                    "zoneControl": 0,
                    "getInputsFromDevice": false,
                    "getFavoritesFromDevice": false,
                    "getQuickSmartSelectFromDevice": false,
                    "inputsDisplayOrder": 0,
                    "inputs": [
                        {
                            "name": "Xbox One",
                            "reference": "GAME"
                        },
                        {
                            "name": "Television",
                            "reference": "TV"
                        }
                    ],
                    "sensorPower": false,
                    "sensorVolume": false,
                    "sensorMute": false,
                    "sensorInput": false,
                    "infoButtonCommand": "MNINF",
                    "masterPower": false,
                    "volumeControlNamePrefix": false,
                    "volumeControlName": "Volume",
                    "volumeControl": 0,
                    "volumeMax": 0,
                    "refreshInterval": 5,
                    "enableDebugMode": false,
                    "disableLogInfo": false,
                    "disableLogDeviceInfo": false,
                    "disableLogConnectError": false,
                    "enableRestFul": false,
                    "restFulPort": 3000,
                    "restFulDebug": false,
                    "enableMqtt": false,
                    "mqttDebug": false,
                    "mqttHost": "192.168.1.33",
                    "mqttPort": 1883,
                    "mqttPrefix": "home/denon",
                    "mqttAuth": false,
                    "mqttUser": "user",
                    "mqttPass": "password"
             ]
madegn commented 2 months ago
"devices": [
                {
                    "name": "AV Main Zone",
                    "host": "192.168.1.5",
                    "port": 8080,
                    "generation": 1,
                    "zoneControl": 0,
                    "getInputsFromDevice": false,
                    "getFavoritesFromDevice": false,
                    "getQuickSmartSelectFromDevice": false,
                    "inputsDisplayOrder": 0,
                    "inputs": [
                        {
                            "name": "Xbox One",
                            "reference": "GAME"
                        },
                        {
                            "name": "Television",
                            "reference": "TV"
                        }
                    ],
                    "sensorPower": false,
                    "sensorVolume": false,
                    "sensorMute": false,
                    "sensorInput": false,
                    "infoButtonCommand": "MNINF",
                    "masterPower": false,
                    "volumeControlNamePrefix": false,
                    "volumeControlName": "Volume",
                    "volumeControl": 0,
                    "volumeMax": 0,
                    "refreshInterval": 5,
                    "enableDebugMode": false,
                    "disableLogInfo": false,
                    "disableLogDeviceInfo": false,
                    "disableLogConnectError": false,
                    "enableRestFul": false,
                    "restFulPort": 3000,
                    "restFulDebug": false,
                    "enableMqtt": false,
                    "mqttDebug": false,
                    "mqttHost": "192.168.1.33",
                    "mqttPort": 1883,
                    "mqttPrefix": "home/denon",
                    "mqttAuth": false,
                    "mqttUser": "user",
                    "mqttPass": "password"
             ]

Thanks