Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not all supported types show up in Google Home app #197

Open
marcusboon opened this issue Apr 16, 2023 · 0 comments
Open

Not all supported types show up in Google Home app #197

marcusboon opened this issue Apr 16, 2023 · 0 comments
Labels
question Further information is requested

Comments

@marcusboon
Copy link

Describe Your Problem:
I've got a couple of lightbulbs (Nanoleaf), switches/sensors (Eve), air purifiers (Sensibo) and garage door openers (Meross) that are HomeKit native yet they do not show up in the Google Home app after a sync. Insecure mode is already enabled and I've both set a pin and disabled the pin requirement (although setting one or the other does not seem to have any effect).

To Reproduce:

  1. Setup Homebridge
  2. Install homebridge-gsh plugin
  3. Configure homebridge-gsh plugin
  4. Link accounts

Expected behavior:
All supported device types show up in Google home

Logs:

2023-04-16T21:59:18.669Z hapNodeJSClient Starting Homebridge instance discovery
2023-04-16T21:59:18.671Z hapNodeJSClient HAP Device discovered Homebridge Malachor AE32
2023-04-16T21:59:18.671Z hapNodeJSClient HAP Device address Homebridge Malachor AE32 ->  {
  host: '10.10.10.12',
  port: 53567,
  url: 'http://10.10.10.12:53567',
  deviceID: '<a device id>',
  txt: {
    'c#': '20',
    ff: '0',
    id: '<a device id>',
    md: 'homebridge',
    pv: '1.1',
    's#': '1',
    sf: '0',
    ci: '2',
    sh: 'YkjlWQ=='
  }
}
2023-04-16T21:59:18.675Z hapNodeJSClient HAP Device discovered homebridge-unifi-protect 9833
2023-04-16T21:59:18.675Z hapNodeJSClient HAP Device address homebridge-unifi-protect 9833 ->  {
  host: '10.10.10.12',
  port: 54959,
  url: 'http://10.10.10.12:54959',
  deviceID: '<a device id>',
  txt: {
    'c#': '10',
    ff: '0',
    id: '<a device id>',
    md: 'homebridge',
    pv: '1.1',
    's#': '1',
    sf: '0',
    ci: '2',
    sh: 'LbI3KA=='
  }
}
2023-04-16T21:59:18.681Z hapNodeJSClient Homebridge instance discovered homebridge with 2 accessories
2023-04-16T21:59:18.687Z hapNodeJSClient Homebridge instance discovered homebridge with 4 accessories
2023-04-16T21:59:18.750Z hapNodeJSClient HAP Device discovered MSG100-7af0
2023-04-16T21:59:18.750Z hapNodeJSClient HAP Device address MSG100-7af0 ->  {
  host: '10.10.99.190',
  port: 5010,
  url: 'http://10.10.99.190:5010',
  deviceID: '<a device id>',
  txt: {
    'c#': '6',
    ff: '2',
    id: '<a device id>',
    md: 'MSG100',
    pv: '1.1',
    's#': '1',
    sf: '0',
    ci: '4',
    sh: 'Cgx7gg=='
  }
}
2023-04-16T21:59:18.758Z hapNodeJSClient HAP Discover failed MSG100 -> http://10.10.99.190:5010 invalid PIN or homebridge is not running in insecure mode with -I
2023-04-16T21:59:18.767Z hapNodeJSClient HAP Device discovered Sensibo-91E4E0
2023-04-16T21:59:18.767Z hapNodeJSClient HAP Device address Sensibo-91E4E0 ->  {
  host: '10.10.99.234',
  port: 80,
  url: 'http://10.10.99.234:80',
  deviceID: '<a device id>',
  txt: {
    sh: 'Bb3fQQ==',
    ci: '19',
    sf: '0',
    's#': '3360',
    pv: '1.1',
    md: 'Sensibo Pure',
    id: '<a device id>',
    ff: '2',
    'c#': '1'
  }
}
2023-04-16T21:59:18.792Z hapNodeJSClient HAP Discover failed Sensibo Pure -> http://10.10.99.234:80 invalid PIN or homebridge is not running in insecure mode with -I
2023-04-16T21:59:18.953Z hapNodeJSClient HAP Device discovered HomePodSensor 903999
2023-04-16T21:59:18.954Z hapNodeJSClient HAP Device address HomePodSensor 903999 ->  {
  host: '10.10.10.109',
  port: 55530,
  url: 'http://10.10.10.109:55530',
  deviceID: '<a device id>',
  txt: {
    'c#': '1',
    ff: '2',
    id: '<a device id>',
    md: 'HomePod',
    pv: '1.1',
    's#': '3',
    sf: '0',
    ci: '10',
    sh: 'qCZkIA=='
  }
}
2023-04-16T21:59:18.966Z hapNodeJSClient HAP Discover failed HomePod -> http://10.10.10.109:55530 invalid PIN or homebridge is not running in insecure mode with -I
2023-04-16T21:59:28.670Z hapNodeJSClient Ready
[4/17/2023, 7:59:28 AM] [Google Smart Home] Finished instance discovery
[4/17/2023, 7:59:28 AM] [Google Smart Home] Skipping DO NOT DISTURB 74ACB90B06F5 - matches accessoryFilter
[4/17/2023, 7:59:28 AM] [Google Smart Home] Skipping PLEASE RING THE BELL 74ACB90B06F5 - matches accessoryFilter
[4/17/2023, 7:59:28 AM] [Google Smart Home] Skipping LEAVE PACKAGE AT DOOR 74ACB90B06F5 - matches accessoryFilter
[4/17/2023, 7:59:28 AM] [Google Smart Home] Skipping LEAVE PACKAGE ROUND THE BACK 74ACB90B06F5 - matches accessoryFilter
[4/17/2023, 7:59:28 AM] [Google Smart Home] HAP Event listeners registered succesfully
[4/17/2023, 7:59:43 AM] [Google Smart Home] Sending Sync Request
[4/17/2023, 7:59:44 AM] [Google Smart Home] Received SYNC intent
[4/17/2023, 7:59:44 AM] [Google Smart Home] {
  "inputs": [
    {
      "intent": "action.devices.SYNC",
      "requestId": "12862415068235690624"
    }
  ],
  "requestId": "12862415068235690624"
}
[4/17/2023, 7:59:44 AM] [Google Smart Home] [
  {
    id: '76c01b525e17be00f72ea9e5842401f171636ff870ead41a5fc15b2ffe5dc6e6',
    type: 'action.devices.types.SWITCH',
    traits: [ 'action.devices.traits.OnOff' ],
    name: { defaultNames: [Array], name: 'Garage Door', nicknames: [] },
    willReportState: true,
    deviceInfo: { manufacturer: 'Homebridge', model: 'Dummy Switch' },
    customData: {
      aid: 6,
      iid: 8,
      instanceUsername: <something>,
      instanceIpAddress: '10.10.10.12',
      instancePort: 53567
    }
  }
]
[4/17/2023, 7:59:54 AM] [Google Smart Home] Sending full post-sync state report
[4/17/2023, 7:59:54 AM] [Google Smart Home] Sending State Report
[4/17/2023, 7:59:54 AM] [Google Smart Home] {
  "type": "report-state",
  "body": {
    "76c01b525e17be00f72ea9e5842401f171636ff870ead41a5fc15b2ffe5dc6e6": {
      "on": false,
      "online": true
    }
  }
}

Homebridge Config:

{
    "bridge": {
        "name": "Homebridge Malachor",
        "username": "<a username>",
        "port": 53567,
        "pin": "<a pin>",
        "advertiser": "bonjour-hap"
    },
    "accessories": [
        {
            "name": "Garage Door",
            "stateful": true,
            "reverse": false,
            "time": 1000,
            "resettable": false,
            "accessory": "DummySwitch"
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "dark-mode",
            "tempUnits": "c",
            "lang": "auto",
            "platform": "config"
        },
        {
            "controllers": [
                {
                    "address": "10.10.10.1",
                    "password": "<a password>",
                    "username": "<a username>"
                }
            ],
            "options": [],
            "_bridge": {
                "username": "<a username>",
                "port": 54959
            },
            "platform": "UniFi Protect"
        },
        {
            "name": "Google Smart Home",
            "token": "<a token>",
            "notice": "Keep your token a secret!",
            "twoFactorAuthPin": "<a pin>",
            "disablePinCodeRequirement": true,
            "debug": true,
            "accessoryFilter": [
                "DO NOT DISTURB",
                "LEAVE PACKAGE AT DOOR",
                "LEAVE PACKAGE ROUND THE BACK",
                "PLEASE RING THE BELL"
            ],
            "platform": "google-smarthome"
        }
    ]
}

Screenshots:
image

Environment:

  • Node.js Version: v18.15.0
  • NPM Version: 9.5.0
  • Homebridge Version: v1.6.0
  • Homebridge GSH Plugin Version: v2.2.0
  • Homebridge Config UI X Plugin Version: v4.50.2
  • Operating System: Docker on Pop!_OS 22.04 LTS (6.2.6-76060206-generic)
@marcusboon marcusboon added the question Further information is requested label Apr 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant