oznu / homebridge-gsh

Allow Google Assistant to control your Homebridge accessories.
https://assistant.google.com/services/a/uid/000000b558f0d5d1?hl=en
GNU General Public License v3.0
400 stars 53 forks source link

Google Home App devices shows offline when added by homebridge #198

Open Meljohn0719 opened 1 year ago

Meljohn0719 commented 1 year ago

Devices are all offline in google home app when we integrate it using the homebridge. But, we do not have any issues in alexa and apple. they even controllable by siri and alexa. We tried to downgrade the version of the homebridge and it works fine. But some of our plug ins will not be compatible.

image


**Homebridge Config:**

```json
Show your homebridge config.json here. 
Remove any sensitive information, such as your homebridge-gsh / google-smarthome token.

Screenshots:

Environment:

londospark commented 9 months ago

I'm getting the same problem.

Homebridge Config

{
    "bridge": {
        "name": "Homebridge",
        "username": "<token>",
        "port": 51593,
        "pin": "<token>",
        "advertiser": "resolved",
        "bind": [
            "wlan0"
        ]
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "dark-mode-blue",
            "tempUnits": "c",
            "lang": "auto",
            "platform": "config"
        },
        {
            "name": "Alexa",
            "username": "<user>",
            "password": "<pass>",
            "pin": "<pin>",
            "routines": true,
            "blind": false,
            "door": false,
            "debug": true,
            "refresh": 900,
            "keepalive": 5,
            "CloudTransport": "mqtts",
            "deviceListHandling": "none",
            "platform": "Alexa"
        },
        {
            "name": "Lifx Plugin",
            "duration": 0,
            "brightnessDuration": 300,
            "colorDuration": 300,
            "default": "0.0.0.0",
            "broadcast": "192.168.1.255",
            "lightOfflineTolerance": 3,
            "messageHandlerTimeout": 45000,
            "resendPacketDelay": 150,
            "resendMaxTimes": 3,
            "updates": true,
            "debug": false,
            "autoDiscover": true,
            "bulbs": [
                {
                    "name": "Bedroom Light",
                    "address": "192.168.1.246"
                }
            ],
            "platform": "LifxPlugin"
        },
        {
            "devices": [
                {
                    "type": "RGBTWLight",
                    "name": "Outside Porch Light",
                    "id": "<token>",
                    "key": "<token>",
                    "manufacturer": "Globe"
                },
                {
                    "type": "RGBTWLight",
                    "name": "Indoor Porch Light",
                    "id": "<token>",
                    "key": "<token>",
                    "manufacturer": "Someone"
                },
                {
                    "type": "RGBTWLight",
                    "name": "Office Lamp",
                    "id": "<token>",
                    "key": "<token>",
                    "manufacturer": "Globe"
                }
            ],
            "platform": "TuyaLan"
        },
        {
            "name": "Google Smart Home",
            "token": "<token>",
            "notice": "Keep your token a secret!",
            "twoFactorAuthPin": "<pin>",
            "platform": "google-smarthome"
        }
    ]
}
bkarakashev commented 2 months ago

I am getting the same issue.