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

Buttons not getting name from HB config #187

Closed GeoAlta-admin closed 1 year ago

GeoAlta-admin commented 1 year ago

All the Button's that I configure are being loaded in HomeKit as the name of the room they are assigned in and "Speakers", not the name given in the configuration. As an example:

  1. Multi-Channel Stereo
  2. Source Direct

The following is the JSON config: { "devices": [ { "name": "Denon Living Room", "host": "10.0.1.45", "port": 80, "zoneControl": 0, "getInputsFromDevice": false, "getFavoritesFromDevice": false, "getQuickSmartSelectFromDevice": false, "inputs": [ { "name": "AppleTV", "reference": "MPLAY", "mode": "SI" } ], "buttons": [ { "name": "Multi-Channel Stereo", "reference": "0MSMCH STEREO", "displayType": 1 }, { "name": "Source Direct", "reference": "0MSPURE DIRECT", "displayType": 0 } ], "sensorPower": false, "sensorVolume": false, "sensorMute": false, "sensorInput": false, "enableDebugMode": false, "disableLogInfo": false, "disableLogDeviceInfo": false, "disableLogConnectError": false, "supportOldAvr": false, "masterPower": false, "masterVolume": false, "masterMute": true, "infoButtonCommand": "MNINF", "volumeControl": 0, "refreshInterval": 5, "enableMqtt": false, "mqttDebug": false, "mqttAuth": false }, { "name": "Denon Dining Room", "host": "10.0.1.45", "port": 80, "zoneControl": 1, "getInputsFromDevice": false, "getFavoritesFromDevice": false, "getQuickSmartSelectFromDevice": false, "inputs": [ { "name": "Power On", "reference": "MPLAY", "mode": "SI" } ], "sensorPower": false, "sensorVolume": false, "sensorMute": false, "sensorInput": false, "enableDebugMode": false, "disableLogInfo": false, "disableLogDeviceInfo": false, "disableLogConnectError": false, "supportOldAvr": false, "masterPower": false, "masterVolume": false, "masterMute": true, "volumeControl": 0, "refreshInterval": 5, "enableMqtt": false, "mqttDebug": false, "mqttAuth": false } ], "platform": "DenonTv" }

If you go into the Home app and edit the name, when you delete the name the underlying name appears to be what the button is connected to, but not the name that is configured in HB.

grzegorz914 commented 1 year ago

This is know issue with HB and iOS16 https://github.com/homebridge/homebridge/issues/3210

grzegorz914 commented 1 year ago

fixed in latest version