kovalev-sergey / homebridge-sony-audio

HomeKit integration for Sony Audio products
Apache License 2.0
15 stars 1 forks source link

Plugin not loading properly #37

Closed carlosgamezvillegas closed 1 year ago

carlosgamezvillegas commented 1 year ago

Describe The Bug: The problem started with the accessory not responding, I restarted hombridge to check if that solved the issue but I didn't have any luck, I uninstalled the plug in and reinstalled again but now I cannot add the accessory. I deleted the accessory's cache and still the Plugin is not loading properly. Hombridge logs says that is loading the plugin but I never get the "Please add... "message".

I stating having this problem in my raspberry pi and I can confirm that the same issue is present if I do a fresh hombridge install.

To Reproduce: Reinstall the plugin or install the plugin in a fresh hombridge install

Expected behavior: See the accessory when I try to add it in HomeKit (see the "Please add [Sony E769] manually in Home app. Setup Code: 936-80-558" in the Hombridge logs)

Logs: [Sony AVR] Initializing SonyAudio platform... Setup Payload: X-HM://0024U82DUKBGO Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 827-91-442 │     
└────────────┘     

[11/3/2023, 1:14:46 PM] Homebridge v1.6.1 (HAP v0.11.1) (Homebridge 3507) is running on port 51501.

Plugin Config:

{ "bridge": { "name": "Homebridge 3507", "username": "0E:87:A2:78:35:07", "port": 51501, "pin": "827-91-442", "advertiser": "bonjour-hap" }, "accessories": [], "platforms": [ { "name": "Config", "port": 8581, "platform": "config" }, { "name": "Sony AVR", "platform": "SonyAudio" } ] }

Screenshots:

Environment: