Giter VIP home page Giter VIP logo

google-home-adapter's People

Contributors

tim-hellhake avatar

Stargazers

 avatar

google-home-adapter's Issues

Remove link for Things does not always work

I installed the addon and connected my Google Home device. The speak command doesn't work, so I'm trying to remove the Things from my gateway. The remove button also doesn't work.

adapter crash log

This is one of my favorite add-ons. Unfortunately the Google Home Adapter has stopped working for me. Each time I enable it, I see these errors, repeated.

2021-11-18 19:26:41.958 INFO   : google-home-adapter: Opening database: /home/pi/.webthings/config/db.sqlite3
2021-11-18 19:26:41.990 INFO   : google-home-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType
2021-11-18 19:26:42.893 INFO   : google-home-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType
2021-11-18 19:26:44.164 INFO   : zigbee-adapter: zb-286d97000109dbe9-motion property: motion profileId: 0104 endpoint: 1 clusterId: 0500 value: true zoneStatus: 0x21
2021-11-18 19:26:44.269 INFO   : google-home-adapter: Loading add-on google-home-adapter from /home/pi/.webthings/addons/google-home-adapter
2021-11-18 19:26:44.462 INFO   : google-home-adapter: Listening on http://192.168.30.186:54321
2021-11-18 19:26:44.467 ERROR  : google-home-adapter: events.js:174
2021-11-18 19:26:44.468 ERROR  : google-home-adapter:       throw er; // Unhandled 'error' event
2021-11-18 19:26:44.475 ERROR  : google-home-adapter:       ^
2021-11-18 19:26:44.476 ERROR  : google-home-adapter: 
2021-11-18 19:26:44.476 ERROR  : google-home-adapter: Error: listen EADDRINUSE: address already in use :::54321
2021-11-18 19:26:44.476 ERROR  : google-home-adapter:     at Server.setupListenHandle [as _listen2] (net.js:1280:14)
2021-11-18 19:26:44.477 ERROR  : google-home-adapter:     at listenInCluster (net.js:1328:12)
2021-11-18 19:26:44.477 ERROR  : google-home-adapter:     at Server.listen (net.js:1415:7)
2021-11-18 19:26:44.478 ERROR  : google-home-adapter:     at new InMemoryServer (/home/pi/.webthings/addons/google-home-adapter/lib/in-memory-server.js:41:12)
2021-11-18 19:26:44.478 ERROR  : google-home-adapter:     at new GoogleHomeAdapter (/home/pi/.webthings/addons/google-home-adapter/lib/google-home-adapter.js:17:24)
2021-11-18 19:26:44.478 ERROR  : google-home-adapter:     at module.exports (/home/pi/.webthings/addons/google-home-adapter/lib/index.js:8:46)
2021-11-18 19:26:44.479 ERROR  : google-home-adapter:     at pluginClient.register.catch.then (/home/pi/mozilla-iot/gateway/src/addon-loader.js:110:9)
2021-11-18 19:26:44.479 ERROR  : google-home-adapter:     at process._tickCallback (internal/process/next_tick.js:68:7)
2021-11-18 19:26:44.480 ERROR  : google-home-adapter: Emitted 'error' event at:
2021-11-18 19:26:44.482 ERROR  : google-home-adapter:     at emitErrorNT (net.js:1307:8)
2021-11-18 19:26:44.482 ERROR  : google-home-adapter:     at process._tickCallback (internal/process/next_tick.js:63:19)
2021-11-18 19:26:44.484 INFO   : Plugin: google-home-adapter died, code = 1 restarting after 6000
2021-11-18 19:26:51.501 INFO   : google-home-adapter: Opening database: /home/pi/.webthings/config/db.sqlite3```

modification suggestion

Hi,

Thank you for your work.

If you look at MozillaIOT Email Sender add-on, they were able to make it so that the associated notification for the Thing used in a rule could be configured (title, messgae, level). Is there any way your google-home adapter can be modified to do the same so custom executions in the rules for different situations can be constructed without having to add activities to the actual add-on?

Also, is it possible to give the end user the ability to rename the "Thing" created by your add-on so the unique ID can be removed from the displayed name?

Thanks again,

Sean

Unable to parse audio data

As of recently I'm seeing the following error when trying to send a message to my Google Home Speaker:

2021-06-09 18:04:55.231 ERROR  : google-home-adapter: Error: Unable to parse audio data. Check your request params.
2021-06-09 18:04:55.233 ERROR  : google-home-adapter:     at toBuffer (/home/node/.webthings/addons/google-home-adapter/node_modules/google-translate-tts/src/synthesize.js:48:13)
2021-06-09 18:04:55.234 ERROR  : google-home-adapter:     at processTicksAndRejections (internal/process/task_queues.js:97:5)

Spoken text in the event of an alarm

Hi Tim,

I would like to use this add-on to generate an alarm when my smoke, gas or water alarm goes off.

I have three scenarios in mind:

  1. Smoke alarm:
    There is smoke, z-wave smoke sensor is activated, all lights are switched on, the Google home gives an alarm in spoken text.

  2. Water or gas alarm:
    A leak is detected, all electrical equipment is turned off in the room where the leakage is detected, gas or water is automatically shut off, the Google Home gives an alarm in spoken text.

  3. No alarm but a normal announcement:
    In addition to an alarm, a normal annoucement is also possible.

I would like to use your add-on for a spoken alarm message. For this, the following should be implemented.

  1. Volume of the Google home device can be adjusted (eg to 90%.).
  2. The language should be able to be set (eg nl = dutch, de=German)
  3. It must be possible to repeat the text (loop).
  4. When the messages are over, please switch back to the app that was active before. Now it gets stuck for a long time on the media app.
  5. When the messages are over, restore the volume to its original value.

I don't know if it's possible but it could be a nice addition to an alarm. I am not a programmer but please let me know if I can help somehow.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.