06-16-2023 04:01 PM - edited 06-16-2023 11:52 PM
We built the Google Home script editor to give you more control over your home automations (announcement post). We are still in the early days of the script editor, and we highly value feedback and ideas from our community to shape its future.
You can use this post to:
How do I submit an idea? Can I submit more than one idea?
To submit an idea, simply click the "Reply" button below this post and add your idea in the following format:
We encourage you to submit as many ideas as you like, but please use one comment per idea so that it's easy for others to vote on your ideas.
How do I vote for an idea? Can I vote on more than one idea?
To vote for an idea, simply click the "Kudos" button next to the idea that helps you with your use case. Please use your votes thoughtfully so that we can clearly understand what matters to you the most.
Will my idea be implemented? Will the top-voted idea be implemented?
We will do our best to prioritize what is important across our entire community and look at feedback across many channels throughout the product cycle. We will very actively use your feedback in our prioritization exercise, but cannot make any guarantees or promises that you'll see your idea/feedback implemented into the product. That said, we will do our best to address the pain points and problems our community is trying to solve.
We look forward to hearing your ideas!
Prafulla Rawal, Senior Product Manager, Google Home
Answered! Go to the Recommended Answer.
07-13-2023 06:47 PM
Hi everyone,
First of all, a huge thank you for your feedback and ideas! The engagement here has truly exceeded our expectations, and we couldn't be more grateful for your participation.
As mentioned above, we cannot make any guarantees or promises that we will implement every idea, but we are actively considering all of this feedback as we prioritize future development.
In the meantime, we encourage you to keep sharing your ideas and upvoting the ideas of others.
Thank you again for your time and input.
Prafulla Rawal, Senior Product Manager, Google Home
06-18-2023 01:47 PM
Hi there,
There's already the 'gentle sleep or wake' feature available.
https://support.google.com/googlenest/answer/9304145
06-18-2023 01:54 PM
Wow- you learn something everyday! Thanks!
06-18-2023 01:57 PM
Happy to help, let us know if you have any issues with this feature.
06-18-2023 02:32 PM - edited 06-18-2023 02:34 PM
+1. To add you can pass in these custom Assistant commands as an script editor action.
actions:
- type: assistant.command.OkGoogle
devices: My Speaker - Room Name
okGoogle: Wake the lights in <room name>
06-26-2023 10:13 AM
While the Home Hub offers this feature, the script routines would allow a more custom "wake-up" function than just the lighting effect on the Hub screen, or automation through a lighting app.
06-18-2023 02:03 PM
I would like to see a custom option where we can write assistant commands within the script editor.
e.g.....
Thanks 👍
06-18-2023 02:30 PM
Hi @Cathal_S - This is already possible. You can use OkGoogleCommand to run any custom Assistant command via the script editor.
actions:
- type: assistant.command.OkGoogle
devices: My Speaker - Room Name
okGoogle: Tell me the weather
06-18-2023 02:32 PM
Great, thanks 👍
I have only had a short amount of time to experiment with this myself.
Looking forward to trying this out tomorrow.
06-18-2023 02:45 PM
Thank you for taking your time this weekend and past few days to help everyone here.
06-18-2023 02:07 PM
Idea: Manage smartphone settings with actions
Example Automation: Mute my phone when I am home and the sun sets. Enter other things here.
06-18-2023 04:03 PM - edited 06-18-2023 04:04 PM
06-18-2023 04:16 PM
Hello! My idea for the script editor is to add a outside weather condition starter (ex. When temperature outside to a certain temperature, a severe weather alert is pushed out (tornado, hurricane, etc.) or the conditions/temperature for a certain time. I hope you consider this idea Google! I would love to see it!
06-18-2023 04:21 PM
06-18-2023 04:23 PM
06-18-2023 06:37 PM - edited 06-18-2023 06:38 PM
Idea: Add starters, actions, and conditions for routine state (ie activated or deactivated)
Example Automation: You want to turn all the lights off when you are away, but you have a babysitter coming to watch your kids. You want to disable the away routine, so that when you leave home it doesn't turn off all the lights on the babysitter and leave them in the dark. You could make a routine that allows you to deactivate the Away routine temporarily. "Hey Google, turn off away routine".
06-19-2023 06:23 AM
My comment here doesn't disprove your idea (it is a good one), but just pointing out you could solve this with something like a smart plug that just acts as an overall on/off switch for your routines. You could add a condition to all of these routines to say "if my on/off switch is not pressed"
06-19-2023 11:48 AM
This is really expensive
06-19-2023 03:22 PM - edited 06-19-2023 03:23 PM
As a quick fix to the problem and since I already have a spare plug, I love this idea! Thanks!
Hopefully we still get it as a feature of the automation scripts, it seems like an easy thing to implement. And as Eurik mentioned it could get expensive if you want to implement several.
06-28-2023 11:47 AM
Just link smartthings with google home and create a virtual switch or bulb, same basic idea as using the smart switch, just don't need the actual switch!
06-18-2023 06:44 PM
Idea: Starters based on phone state (ie docked, USB charging, wireless charging, WiFi connection, etc)
Example: You want to automatically trigger a bedtime routine (turn off lights, turn on inside cameras). You could set a routine with a starter for charging with conditions for night time and home presence = home. Then turn off all the lights downstairs and turn on the inside security cameras.
06-18-2023 06:54 PM
Idea: Allow option to specify device for assistant.event.OkGoogle and/or allow a condition based on which device is being used for an assistant.event.OkGoogle command.
Example: You have multiple couch lamps. You could make a single routine for "Hey Google, turn on the couch lamp". Then use a conditional to turn on the lamp in the room you spoke the command. Or you could have multiple routines (one for each room) "Hey Google, turn on the couch lamp" device = family room --> turn on the family room couch lamp.
06-18-2023 11:41 PM
Idea: Adding a speaker to the current music playback
Example Automation: When a motion sensor detects presence, the music playback can be expanded to the room with presence. The functionality should be similar to how speakers can be added and removed for the current music playback in the Google Home app.
06-20-2023 01:18 PM
Yes please!
Had this thought when script editor was first announced.. had a basic automation written up and implemented, if backdoor open then trigger google assistant action to move to group that included backyard speaker... it worked, but the problem was if music wasn't playing on that device it would try to move anything else playing to the backyard speaker.. it happened when somebody was watching tv on the living chromecast, the speaker would say sorry that's not supported with this.. slightly annoying but I could live with it, but the real deal killer was when the nest minis in the kids rooms were playing white noise and then the backdoor would open and move it to the backyard speaker...
the fact that you can't use whether a speaker is playing music as a condition is baffling..
06-19-2023 12:20 AM
Idea: Incoming text message/call from specific number as a starter
Example automation: The light will come on when a text message/call is received.
In my case, I would appreciate it very much, because in our country with volunteer fire departments, the alarm is announced by text/call and when that alarm is announced, my lights could go on and I wouldn't have to worry about the lights going on and off.
06-19-2023 05:09 AM - edited 06-19-2023 05:23 AM
Idea: Allow for some misc or sandbox top-level dummy field
Motivation: Variables seems to allow dynamic inputs, maybe even provided by the user at runtime given that they have selectors, but it would be nice to have some kind of static variables for the script itself, just to reduce code duplication (maybe a condition, group of devices, actions or whatever).
I've just confirmed that the script editor supports yaml anchors and labels, but you have to define them on the first usage (wherever it's it, maybe on 100th line) and just reuse them later, which doesn't allow you to have a quick look at all defined labels. It would be great if the editor schema allowed a misc (or similar) object at top level that doesn't do anything, just to define anchors.
Example:
misc:
msg: &msg Hello, world!
audio-devices: &audio-devices
- Nest Audio - Room 1
- Nest Mini - Room 2
automations:
- starters:
- type: assistant.event.OkGoogle
eventData: query
is: hey
actions:
- type: assistant.command.Broadcast
message: *msg
devices: *audio-devices
06-19-2023 02:17 PM
Idea: Customizable notifications to a specific person's phone
Example automation: A motion sensor or camera detects the presence of someone and sends a notification that overrides Do Not Disturb and has a custom sound so it will come through while sleeping and be easy to identify as important. It could be used for any type of event to get instantly notified that something happened that I want to know about.
06-20-2023 04:53 AM
Oops.. I just submitted more or less the same suggestion. Saw this one too late, but I have upvoted yours.
06-19-2023 02:29 PM
Idea: Add the ability to provide a code for devices requesting it.
Example:
Some devices such as somfy windows require a security code to be opened by a third party app and I couldn't find a good way to provide that code using a script. My current workaround is to use assistant.event.OkGoogle to first open a window and then another one to provide the code but this is quite buggy. I imagine it should work like that:
actions:
- type: device.command.OpenClose
devices: device name - room
openPercent: 100
code: 0000
06-20-2023 04:41 AM
Idea: Send a voice- or text-message to a person's mobile phone
Example automation: With the "assistant.command.Broadcast" action you can send a message to any google device in your home (google speaker / hub / chromecast). I would like to send a (text of voice) message to a person's mobile phone when certain conditions/events are met.
06-20-2023 10:21 AM - edited 06-20-2023 10:25 AM
I would like to see a Home Assistant link (API call) so that I can link my local automations (that support more devices and conditions etc...) to activate a script on the cloud script editor. And vice versa.
06-20-2023 01:23 PM
Allow device.state.MediaState to work with Nest Audio and the other google home speakers..
I can't be the only one who wants to run automations based on if music is playing right?
11-02-2023 12:20 AM
Yes! This seems like it would be effortless to implement.
06-20-2023 03:46 PM
Idea: Have Google TV start playing a streaming service or Movie
Example Automation: After a certain starter, such as time or Ok Google, the TV would turn on to either a specific movie or streaming service. This way, with a single phrase or time, a specific film in your library or show on your streaming service can start. Can be useful for parents trying to play shows such as Bluey or play certain media at specific times a day when you are away to make it seem like you are home.
06-20-2023 03:58 PM
This should already be possible, using the OkGoogleCommand
if you can already ask the Google assistant to do this then it should be able to be scheduled.
06-21-2023 03:58 AM
A real action for this would still be pretty nice.
Could easily set the media source and target devices.
I personally would like to trigger those NestHub relaxing sounds on two devices for my nightly routine. It's already hard enough to make the assisstan start the right app and not search on spotify for thunder sounds.
06-20-2023 06:31 PM
Idea: When nest protect occupancy sensor is triggered (or pathlight) have the ability to turn on other lights for set period of time.
06-20-2023 06:42 PM
Idea: Action that allows for controlling the "Do not disturb" setting of a device, like the Google Nest speaker.
Example automation: When it is the kids' nap time, tell Google Assistant to run the automation where it will turn the "Do not disturb" setting for the given device on. Then after a timer delay runs, it would turn the "Do not disturb" setting for the given device back off.
06-21-2023 12:49 AM
Idea: If - then - else conditions
Example automation: At sunset I want to switch on all lights in my living room if I am at home or only one when I am away. To do that now, I need two separate scripts with the same starters (sunset) and opposite conditions (HOME / AWAY).
06-21-2023 08:37 AM
Agreed! this would lead to a lot less duplicate automations..
I've basically had to run the same automation twice just with different conditions. Thankfully copy and paste does speed up the process quiet a bit!
06-21-2023 12:31 PM