Code Monkey home page Code Monkey logo

google-home-resume's People

Contributors

thefes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

google-home-resume's Issues

Soptify playlist not resumed

Hi, firstly thanks a lot for the great effort in the scripts. It works greats but i found out that after google home speaker is interrupted by event and resumed, it just plays that song a s short period (around 30 seconds). Also if the song was almost at the last end (less than 30 seconds) then it completes the song but doe not move to the next song of the playlist. Any idea why this happens?

automation.00_google_home_automatic_resume makes "normal" TTS unusable due to Volume on 100%

When the Automation "automation.00_google_home_automatic_resume" is activated, the "normal" TTS Scripts e.g. from tts.cloud_say (When not using your script) will play the TTS on full volume. Whatever I do, both in YAML or in NodeRed TTS is unusable if the automation is activated.

Deactivating your Automation works. TTS is in normal (unchanged) volume again.
So far doesn't bother the other automations so far. So I deactivated it. Will I "need" it in the future?

Errors in google_home_resume.yaml

Is it normal for there to be errors (flagged by VS Code) in the google_home_resume.yaml file?
Specifically:

-697- data: "{{ data }}" <<Incorrect type. Expected "Object".

And a few other similar.
I can provide more details if needed.

Not annoucing, no errors

I have setup Spotify and Spotcast as well as this script as a pacakge setup, however, it does not seem to work.

It is not erroring out but its also not announcing on the Google Home device. The Google Home device makes a notification noise like something will happen, even stops the playing music... but then does not speak anything out.

Not sure is I'm even using the script correctly, are we supposed to check if something is playing and only use this script if YES... otherwise just call tts.google_cloud_say ourselves?

Here is the automation I'm manually running as a test....

description: Announce if the patio door is open every 15 minutes
trigger: []
condition: []
action:
  - service: script.turn_on
    target:
      entity_id: script.google_home_resume
    data:
      variables:
        action:
          - alias: Send TTS message
            service: tts.google_cloud_say
            target:
              entity_id: media_player.family_room_speaker
            data:
              message: A patio door may have been left open. Please fully close.
            extra:
              volume: 0.6
mode: restart

Dynamic group creation

I was wondering how is the dynamic groups are created and members added? Do I have to create groups beforehand or it can be done on the fly?

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.