thefes / google-home-resume Goto Github PK
View Code? Open in Web Editor NEWGoogle Home Resume package for Home Assistant
Google Home Resume package for Home Assistant
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?
Sometimes, the script does not resume as expected. I notice this happens when I use an automation that involves looping. Could you please take a look at this when you get a chance to see what is causing the issue?
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?
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.
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
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?
I'm getting this error every time I attempt to run the resume script.
I've never gotten this to work.
This is a fresh setup, so perhaps it's a configuration issue, but I believe I've followed all of the setup instructions.
https://pastebin.com/zimGM9xr
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.