grzegorz914 / homebridge-denon-tv

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

FirmwareRevision not published #106

Closed bob-lobster closed 3 years ago

bob-lobster commented 3 years ago

After a restart I started getting this log message:

HAP-NodeJS WARNING: The accessory 'Marantz A40C' is getting published with the characteristic 'FirmwareRevision' (of the AccessoryInformation service) not having a value set. This might prevent the accessory from being added to the Home App or leading to the accessory being unresponsive!

I have gotten this message in the past and had manually set a value in the configuration, but now whether I have a value entered or not the above message appears and the receiver is not showing up in the Home app anymore (Homebridge UI controls still work).

Config: `

          "devices": [
              {
                  "name": "Marantz",
                  "host": "192.168.2.233",
                  "port": 80,
                  "refreshInterval": 5,
                  "zoneControl": 0,
                  "volumeControl": 0,
                  "masterPower": false,
                  "masterVolume": false,
                  "masterMute": false,
                  "switchInfoMenu": true,
                  "disableLogInfo": false,
                  "inputs": [
                      {
                          "name": "TV",
                          "reference": "TV",
                          "mode": "SI"
                      },
                      {
                          "name": "Apple TV",
                          "reference": "MPLAY",
                          "mode": "SI"
                      },
                      {
                          "name": "Switch",
                          "reference": "GAME",
                          "mode": "SI"
                      },
                      {
                          "name": "AirPlay",
                          "reference": "AirPlay",
                          "mode": "SI"
                      },
                      {
                          "name": "Spotify",
                          "reference": "Spotify",
                          "mode": "SI"
                      }
                  ]
              }
          ],
          "platform": "DenonTv"

`

Happy to prove any other info.

grzegorz914 commented 3 years ago

Please enable debug mode in Homebridge and post the log after restart HB.

bob-lobster commented 3 years ago

homebridge.log.txt

Thanks for the quick reply. Debug log is attached.

After some more restarts, cache clearings and opening Home on other devices, the receiver has reappeared in the Home app. So this may not be directly related.

grzegorz914 commented 3 years ago

OK, all looks good, some info in Your receiver api is missing but this is irrelevantly. This warning will be solved in the in next update. In future if U have problem to show receiver in Home app try change its name, clear cache and restart Homebridge.

bob-lobster commented 3 years ago

Thanks, will do. And thank you for making this excellent plugin!