joeyhage / homebridge-alexa-smarthome

Connect Alexa devices to HomeKit
MIT License
62 stars 20 forks source link

Schlage Lock Not Showing Up in App #104

Open AminaEmenena opened 5 months ago

AminaEmenena commented 5 months ago

Describe Your Problem:

I have gone through the trouble shooting steps and I am unable to see the schlage lock in the app. It seems to be connected as the logs are showing duplicates.

I would like my schlage encode lock to show in my homekit app. Logs:

[21/01/2024, 14:40:49] [Alexa] WARNING: Duplicate device name Backyard
[21/01/2024, 14:40:49] [Alexa] WARNING: Duplicate device name Backyard
[21/01/2024, 14:40:49] [Alexa] WARNING: Duplicate device name Base Station
[21/01/2024, 14:40:49] [Alexa] WARNING: Duplicate device name Downstairs
[21/01/2024, 14:40:49] [Alexa] WARNING: Duplicate device name Entryway Keypad
[21/01/2024, 14:40:49] [Alexa] WARNING: Duplicate device name Front Door
[21/01/2024, 14:40:49] [Alexa] WARNING: Duplicate device name Front Door
[21/01/2024, 14:40:49] [Alexa] WARNING: Duplicate device name Front Door
[21/01/2024, 14:40:49] [Alexa] WARNING: Duplicate device name Front
[21/01/2024, 14:40:49] [Alexa] WARNING: Duplicate device name Planty Cam 🌱
[21/01/2024, 14:40:49] [Alexa] WARNING: Duplicate device name Side
[21/01/2024, 14:40:49] [Alexa] WARNING: Duplicate device name Side
[21/01/2024, 14:40:49] [Alexa] alexaDiscovery - returned 47 devices

Plugin Config:

{
    "bridge": {
        "name": "Homebridge DB10",
        "username": "",
        "port":,
        "pin": "",
        "advertiser": ""
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "dark-mode-pink",
            "tempUnits": "f",
            "lang": "auto",
            "platform": "config"
        },
        {
            "refreshToken": "",
            "hideDeviceIds": [
                "",
                ""
            ],
            "platform": "Ring"
        },
        {
            "name": "iRobot",
            "email": "",
            "password": "",
            "roombas": [
                {
                    "autoConfig": true,
                    "info": {
                        "ver": 2
                    }
                }
            ],
            "manualDiscovery": false,
            "lowBattery": 20,
            "offAction": "pause:dock",
            "status": "cycle:clean",
            "eveStatus": "inverted:cycle:clean",
            "bin": "filter:contact",
            "ignoreMultiRoomBin": true,
            "hideStuckSensor": false,
            "disableMultiRoom": false,
            "platform": "iRobotPlatform"
        },
        {
            "name": "SwitchBot",
            "credentials": {
                "token": "",
                "secret": "",
                "notice": "Keep your Token & Secret a secret!"
            },
            "options": {
                "devices": [
                    {
                        "deviceId": "",
                        "configDeviceName": "Hallway",
                        "configDeviceType": "Bot",
                        "connectionType": "OpenAPI",
                        "bot": {
                            "mode": "switch",
                            "deviceType": "switch",
                            "allowPush": true
                        }
                    },
                    {
                        "deviceId": "",
                        "configDeviceName": "Laundry Room",
                        "configDeviceType": "Bot",
                        "connectionType": "OpenAPI",
                        "bot": {
                            "mode": "press",
                            "deviceType": "switch",
                            "allowPush": true
                        }
                    },
                    {
                        "deviceId": "",
                        "configDeviceName": "Living Room Lights",
                        "configDeviceType": "Bot",
                        "connectionType": "OpenAPI",
                        "bot": {
                            "mode": "switch",
                            "deviceType": "switch",
                            "allowPush": true
                        }
                    },
                    {
                        "deviceId": "",
                        "configDeviceName": "Master Bedroom",
                        "configDeviceType": "Bot",
                        "connectionType": "OpenAPI",
                        "bot": {
                            "mode": "switch",
                            "deviceType": "switch",
                            "allowPush": true
                        }
                    },
                    {
                        "deviceId": "",
                        "configDeviceName": "Stairs Lights",
                        "configDeviceType": "Bot",
                        "connectionType": "OpenAPI",
                        "bot": {
                            "mode": "switch",
                            "deviceType": "switch",
                            "allowPush": true
                        }
                    },
                    {
                        "deviceId": "",
                        "configDeviceName": "Dining Room Light",
                        "configDeviceType": "Bot",
                        "connectionType": "OpenAPI",
                        "bot": {
                            "mode": "switch",
                            "deviceType": "switch",
                            "allowPush": true
                        }
                    },
                    {
                        "deviceId": "",
                        "configDeviceName": "Entryway",
                        "configDeviceType": "Bot",
                        "connectionType": "OpenAPI",
                        "bot": {
                            "mode": "switch",
                            "deviceType": "switch",
                            "allowPush": true
                        }
                    },
                    {
                        "deviceId": "",
                        "configDeviceName": "Kitchen Light",
                        "configDeviceType": "Bot",
                        "connectionType": "OpenAPI",
                        "bot": {
                            "mode": "switch",
                            "deviceType": "switch",
                            "allowPush": true
                        }
                    },
                    {
                        "deviceId": "",
                        "configDeviceName": "Loft Light",
                        "configDeviceType": "Bot",
                        "connectionType": "OpenAPI",
                        "bot": {
                            "mode": "switch",
                            "deviceType": "switch",
                            "allowPush": true
                        }
                    },
                    {
                        "deviceId": "",
                        "configDeviceName": "Master Bath",
                        "configDeviceType": "Bot",
                        "connectionType": "OpenAPI",
                        "bot": {
                            "mode": "press",
                            "deviceType": "switch",
                            "doublePress": 1
                        }
                    },
                    {
                        "deviceId": "",
                        "configDeviceName": "Master Bedroom Closet",
                        "configDeviceType": "Bot",
                        "connectionType": "OpenAPI",
                        "bot": {
                            "mode": "switch",
                            "deviceType": "switch",
                            "allowPush": true
                        }
                    },
                    {
                        "deviceId": "",
                        "configDeviceName": "Pantry Lights",
                        "configDeviceType": "Bot",
                        "connectionType": "OpenAPI",
                        "bot": {
                            "mode": "switch",
                            "deviceType": "switch",
                            "allowPush": true
                        }
                    }
                ]
            },
            "platform": "SwitchBot"
        },
        {
            "name": "TplinkSmarthome",
            "addCustomCharacteristics": true,
            "deviceTypes": [
                "plug",
                "bulb"
            ],
            "devicesUseDiscoveryPort": false,
            "platform": "TplinkSmarthome"
        },
        {
            "name": "Alexa",
            "username": "",
            "password": "",
            "pin": "",
            "refresh": 900,
            "keepalive": 5,
            "CloudTransport": "mqtts",
            "deviceListHandling": "none",
            "platform": "Alexa"
        },
        {
            "devices": [
                "Front Door Lock"
            ],
            "auth": {
                "refreshInterval": 4,
                "proxy": {
                    "clientHost": "http://:8581",
                    "port": 9000
                }
            },
            "amazonDomain": "amazon.com",
            "language": "en-US",
            "performance": {
                "cacheTTL": 30,
                "backgroundRefresh": false
            },
            "debug": true,
            "platform": "HomebridgeAlexaSmartHome"
        }
    ]
}

Screenshots:

Environment:

AminaEmenena commented 5 months ago

Sorry I looked for the npm version, I am guessing its self contained in homebridge

joeyhage commented 5 months ago

@AminaEmenena those Alexa logs are from the Alexa plugin. Looking at the config you shared, it looks like your HomebridgeAlexaSmarthome config is wrong.

Client host should not have a port number