derek-miller / homebridge-unifi-smartpower

Homebridge UniFi SmartPower Plugin
Apache License 2.0
7 stars 1 forks source link

Getting API time out exceeded #38

Closed tbone7467 closed 1 month ago

tbone7467 commented 1 month ago

Describe Your Problem:

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

{
    "name": "UniFi SmartPower",
    "host": "10.0.1.1",
    "port": 443,
    "username": "12345",
    "password": "12345",
    "controlSwitch": {
        "create": true,
        "name": "UniFi Control Enabled",
        "timeout": 60,
        "guardOutlets": true,
        "guardSwitchPorts": true
    },
    "excludeOutlets": [
        "70A741923715.1",
        "70A741923715.2",
        "70A741923715.3",
        "70A741923715.4",
        "70A741923715.5",
        "70A741923715.6",
        "70A741923715.7",
        "70A741923715.8",
        "70A741923715.9",
        "70A741923715.11",
        "70A741923715.12",
        "70A741923715.13",
        "70A741923715.14",
        "70A741923715.15",
        "70A741923715.17",
        "70A741923715.18"
    ],
    "includePorts": [
        "F492BF9E144C.6"
    ],
    "excludePorts": [
        "E438837A6D1F.4",
        "E438837A6D1F.5",
        "E438837A6D1F.6",
        "E438837A6D1F.7",
        "E438837A6D1F.8"
    ],
    "includeInactivePorts": false,
    "refreshDevicesPollInterval": 600,
    "outletStatusCacheTtl": 15,
    "outletStatusPollInterval": 15,
    "logApiResponses": false,
    "_bridge": {
        "username": "0E:7E:D9:0E:9E:5D",
        "port": 32373
    },
    "platform": "UniFiSmartPower"
}

Screenshots:

Environment:

derek-miller commented 1 month ago

There are no known issues with the plugin and I am able to connect just fine. Timeouts are most likely related to incorrect configuration or firewall rules. Double check your configuration for any mistakes.

tbone7467 commented 1 month ago

Thank you. I appreciate the guidance. Sent from my iPhoneOn Jun 5, 2024, at 10:34 AM, Derek Miller @.***> wrote: Closed #38 as completed.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>