kovalev-sergey / homebridge-sony-audio

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

Connection Refused #21

Open akagarwal opened 2 years ago

akagarwal commented 2 years ago

Describe Your Problem:

Connection is refused. I don't see the Sony device discovered in HomeKit. Unable to add it. It was working for a day and then just stopped today.

Logs:

Error: from server 192.168.86.21:46725 Error: connect ECONNREFUSED 192.168.86.21:46725
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.86.21',
  port: 46725
}

Plugin Config

      {
            "name": "Sony Audio Platform",
            "platform": "SonyAudio",
            "_bridge": {
                "username": "0E:CE:A1:67:BA:36",
                "port": 57695
            }
        }
  **

**json
{
    "bridge": {
        "name": "Homebridge 85D5",
        "username": "0E:BC:56:3C:85:D5",
        "port": 51600,
        "pin": "927-29-112"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "auto",
            "tempUnits": "f",
            "lang": "auto",
            "platform": "config"
        },
        {
            "name": "Nest",
            "refreshToken": "xxx",
            "options": [
                "HomeAway.Disable",
                "Thermostat.Eco.Disable",
                "Thermostat.Fan.Disable"
            ],
            "platform": "Nest"
        },
        {
            "name": "Nest-cam",
            "refreshToken": "xxx",
            "options": {
                "ffmpegCodec": "libx264",
                "streamQuality": 3,
                "alertCheckRate": 10,
                "alertCooldownRate": 180,
                "alertTypes": [
                    "Motion",
                    "Sound",
                    "Person",
                    "Package Delivered",
                    "Package Retrieved",
                    "Face",
                    "Zone"
                ],
                "importantOnly": true,
                "motionDetection": false,
                "streamingSwitch": false,
                "chimeSwitch": false,
                "announcementsSwitch": false,
                "doorbellAlerts": false,
                "doorbellSwitch": false,
                "audioSwitch": false
            },
            "platform": "Nest-cam"
        },
        {
            "name": "Google Smart Home",
            "token": "xxx",
            "notice": "Keep your token a secret!",
            "accessoryFilter": [
                "Foyer Thermostat",
                "Foyer Temperature",
                "Front Door Doorbell Streaming",
                "Front Door Doorbell Audio"
            ],
            "_bridge": {
                "username": "0E:A2:EE:EB:6C:24",
                "port": 47696
            },
            "platform": "google-smarthome"
        },
        {
            "name": "Wemo",
            "mode": "auto",
            "_bridge": {
                "username": "0E:C5:6A:8B:2D:18",
                "port": 36993
            },
            "platform": "Wemo"
        },
        {
            "name": "Sony Audio Platform",
            "platform": "SonyAudio",
            "_bridge": {
                "username": "0E:CE:A1:67:BA:36",
                "port": 57695
            }
        }
    ]
}

Screenshots:

jniclas commented 1 year ago

Hey, have the same issue with an Aqara Hub E1. Is it running again on your side?

jniclas commented 1 year ago

After deinstalling the adapter and reinstaliing it, it found the hub again automatically, and it connected flawlessly. Restarting did not help.