-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
Google Home Plugin not working due to DNS issues in Avahi #89
Comments
Will fix. This is actually benign and shouldn't cause it to fail. Need to guard for the error. |
Out of curiosity: Is the advertisement actually unnecessary? Wouldn't that Inhibit traffic back to Scrypted? |
The advertisement is used for local fulfillment: google home can talk to scrypted directly over lan. This is often faster, and has the benefit of not using Scrypted's server. |
Fixed with bf3bec0 |
1 - Thank you. Now, it seems to start up in console. starting plugin @scrypted/google-home 0.0.30 2 - However, it doesn't seem to DO anything. No device discovery, etc. Also, when I click on the "Show public endpoint" or "Show private endpoint" links, I get "https://192.168.1.106:10443/endpoint/undefined/" Are there any debug logs I can supply? |
This is the Google Home plugin which syncs scrypted devices with Google Home (aka Google Assistant). Install scrypted cloud, click login. Then add scrypted in the google home app. It does not import Google devices. You want the Google Device Access plugin (which will pull in nest thermostats, cameras, etc). |
I'll add some documentation around the plugins in both the npm site and in the dashboard. This is understandably confusing. Hop on discord if you have any questions. Syncing Nest devices is unfortunately non-trivial and the process is documented there (and should be in the readme). |
starting plugin @scrypted/google-home 0.0.23
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/blog/projects/avahi-compat.html
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/blog/projects/avahi-compat.html
plugin successfully loaded
http://127.0.0.1:10080/endpoint/@scrypted/google-home/public/
uncaughtException Error: dns service error: unknown
at new Advertisement (/server/node_modules/mdns/lib/advertisement.js:56:10)
at Object.createAdvertisement (/server/node_modules/mdns/lib/advertisement.js:64:10)
at /src/main.ts:127:29
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
errorCode: -65537
}
Using the following docker image
pi@raspberrypi:~ $ docker pull koush/scrypted
Using default tag: latest
latest: Pulling from koush/scrypted
Digest: sha256:9896483f13523e256eb68e77cd0dda0db7c77f95c2309e5ffffc05608ad9f3ab
Status: Image is up to date for koush/scrypted:latest
docker.io/koush/scrypted:latest
The text was updated successfully, but these errors were encountered: