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
09-04-2023 08:44 PM
Allow us to use the Nest Hub 2 Sleep Mode as a trigger
Idea: Sleep Sensing as a trigger
Example: When the Nest Hub v2 senses sleeping, allow us to pause the TV or turn off lights, or speed up fans or do whatever, this would save me some time trying to figure out where in a TV series I fell asleep 🙂
09-05-2023 04:54 AM - edited 09-05-2023 04:55 AM
Idea: Use other device state / time of day / ... as input for conditions and other devices.
Example Automation:
09-06-2023 09:48 AM
A starter that triggers when a Nest/Home device hears a specific sound. The Google emailer today mentioned "Your gym clothes are clean" as an example, but my washer/dryer aren't smart. It would be great if I could train the devices to listen for the specific "song" my washer/dryer play when they're finished.
09-07-2023 04:47 PM
Idea: Add a function to getAlternativeMessage with AI (like bard).
Example automation: At 9:00 PM, broadcast "Children, it's time to go to bed." Listening to the same message every day is so boring. With an alternative message, we can hear other messages like:
Or other alternative messages.
09-14-2023 09:29 PM
09-17-2023 03:38 AM
I'd like to see a way to trigger automations via URL actions. A lot of actors/buttons are able to send URL commands internally, for example to open shades to x% or to switch lights on and off. It would be great if there was a way to reach Google Home some how. That of course would mean for it to have an internal URL.
I don't know if that's possible though.
10-03-2023 07:07 AM - edited 10-03-2023 07:07 AM
I had a script working perfectly where all of my cameras turn on when I leave home, however, it appears since the 1.69 update to the Google Nest battery outdoor cam that it no longer works with this script. It's not showing an error in the script editor or anything, but it just doesn't turn on anymore within this automation. I've removed and re-added it, turned the routine off and back on, still no dice. Any thoughts?
10-03-2023 10:52 PM
When I have seen this happen in automations I found that renaming the device reauthenticating the provider, if it is a Works with Google device, then syncing the devices seems to have restored functionality for me.
10-04-2023 01:55 AM
It's a Google Nest Camera though 🤷. I have a routine to sync devices that runs everyday. Pretty sure this started with the 1.69 update which also has made the nest outdoor battery camera and battery doorbell night vision unusable so something is wrong with that firmware.
10-04-2023 02:13 AM
In my experience some devices just disappear from the automations. My suggestion was a rule of thumb that seems to work for me. I don't think the manufacturer has much baring on the problem.
10-06-2023 10:26 AM
This sounds like a fantastic initiative! Giving users control over their home automations is a great step forward. I'll definitely be sharing some avis ideas to contribute. It's good to know that the team values feedback and is open to suggestions. Looking forward to seeing how this develops!
10-13-2023 06:49 AM
I like the new editor. YAML is a weird syntax, but with the built-in editor it works surprisingly well.
I'm looking for an option to be able to start an activity if it hasn't been running for a certain time.
10-13-2023 06:57 AM
A current hack I have used is to use a junk light as a timer and/or indicator flag to store a condition.
metadata:
name: Front Door Visitor Announcement Directional Control
description: Scripted automation
automations:
- starters:
- type: device.state.MotionDetection
state: motionDetectionEventInProgress
is: true
device: Front Porch MotionSensor - Front Porch
condition:
type: and
conditions:
- type: device.state.OnOff
state: on
is: false
device: Shop Back Door Light - Backyard
- type: time.between
after: 08:00
before: 21:00
weekdays:
- MON
- TUE
- WED
- THU
- FRI
- SAT
- SUN
actions:
- type: device.command.OnOff
on: true
devices: Garage Back Door Light - Backyard
- starters:
- type: device.state.MotionDetection
state: motionDetectionEventInProgress
is: false
for: 5sec
device: Front Porch MotionSensor - Front Porch
actions:
- type: device.command.OnOff
on: false
devices: Garage Back Door Light - Backyard
Luckily I have a couple of lights that are so rarely used, this is an option
10-26-2023 01:42 PM
Hi can we have z wave motion sensors added to home, also please allow automations to be moved from personal to family and don't limit or lock any automation to a person unless that person so chooses.
My main question is how do I select the device as the one that is spoken to when creating a script. IE I would like GA to turn on lights and tell me the weather in the morning. I can do this on the phone but when scripting its requiring me to select a hub/device. How do I select the device that is spoken to in the script?
10-31-2023 09:55 PM
I have just purchased my first Presence Sensor for use with Google Automations. There is a small issue that the sensor triggers Open/Closed events rather than Occupied/Unoccupied events. I have reported this to the manufacturer and hope that this will be fixed in due course.
I would like to ask the group where I should find the current illumination level that is also detected by the sensor. I want to create automations that are based on the presence *and* light levels. That is I don't want to turn on some lights if the room is already bright enough.
11-20-2023 05:23 AM
I think Script Editor is great. It makes it easier to create routines BUT my routines are not being downloaded to Google Home and I don't see an option to download them.
11-20-2023 03:54 PM
As Google still does not have a smart button nor any that are compatible, I have found a work around that I wanted to share. Using the Google Home Script Editor, recreate the routine you wish to run and use a smart plug as the trigger. I wanted a button by the front door to turn all our cameras on and turn the lights off when we leave and vice versa when we get back. I used a smart plug as the trigger, put the plug in an outlet by the door and now, when we leave, we just push the switch on the side of the plug turning it on and it runs the routine. Hope this helps anyone who has been looking for a physical button option.
11-24-2023 03:37 AM
Really mind boggling what workarounds Google Home customers have to put in place to do the simplest thing that most people need in their households and that has existed for some time now in every other smart home eco system. With this missing feature Google is actively and -- in my opinion -- willfully slowing down matter adoption and growth of a converging smart home market.
11-22-2023 05:51 PM
Idea: automation for Google Nest HVAC fan control
Example automation: "turn on the nest fan for 2 hours"
Right now the Google Home app (at least the iOS version) does not offer any ability in automation to manage the HVAC fan via Google Nest. All you can do is go to the Google Nest device, and manually start the fan for a specific interval.
Google Assistant can be asked to "Hey Google, start fan on nest", but it will only set it up to run for 15 minutes. If you say "Hey Google, start fan on Nest for 2 hours", it'll respond that the thermostat has not been set up yet.
There needs to be a way to set it up to run for some arbitrary time longer than 15 minutes. No variable time, just a fixed time longer than 15 minutes. If that could at least be done via scripting, that would be great.
11-27-2023 08:50 AM
My idea is to add a circadian rhythm option for lighting. I would love to automate my lights to be warm white at night time and early morning and bright white during the day. Currently not an option, condition, or "light effect".
Second request is the ability to add more than one starter for automations like other smart home platforms. If I say "hey Google xyz" OR the bedroom door opens. Turn on the front porch light if I'm not home AND it's night time.
12-05-2023 02:40 PM
Anyone have the Aqara FP2 Occupancy Sensor... I had this for a while now but the last month or less its no longer working for my automations.
Not sure what changed but am noticing when trying to make a script that the Aqara P1 Motion Sensor is showing an occupancy sensing option (which it does not have the ability to do) and the FP2 Occupancy Sensor can only detect motion now (which it previously detected occupancy) and automations will no longer work with it.
Here is what I am trying and does not work:
metadata:
name: Christmas tree on for 10 minutes # Choose a short name that summarizes important starters and actions, like “Sunset lights”.
description: Person in living area, Christmas tree on # Write a detailed description that includes everything the automation does, like “At sunset, on weekdays, close blinds, turn on lights to 50%, and play the sunset playlist on certain speakers.”
automations:
# “starters” and “actions” are required; “conditions” are optional.
# Use Ctrl + Space to see autocomplete suggestions.
# ---- STARTERS ---- #
# Starters describe events that will start the automation.
# To add more than one starter, duplicate the "- type" section under "starters".
# If you add multiple starter events, any one of them happening will start the automation.
starters:
- type: device.state.MotionDetection # For devices that can detect motion.
state: motionDetectionEventInProgress
# <code>true</code> if a motion detection event is occurring. [available operators: is, isNot]
is: true
device: Dining Room - Kitchen
# ---- CONDITIONS ---- #
# Conditions are optional. Delete this section if it’s empty.
# Conditions will prevent an automation from starting if the conditions aren’t met.
# See g.co/home/script-editor-docs for documentation about how to use logical operators like “and”, “or”, and “not”.
condition:
type: time.between
# Optional. Accepts either clock time (10:00:00 AM, with seconds optional, or in a 24 hour format), or 'sunrise' or 'sunset', with an optional offset ('sunrise+10m', for instance)
before: sunset # HH:MM (24 hours format). Adjust time as needed
# Optional. Accepts either clock time (10:00:00 AM, with seconds optional, or in a 24 hour format), or 'sunrise' or 'sunset', with an optional offset ('sunrise+10m', for instance)
after: 01:00 # HH:MM (24 hours format). Adjust time as needed
# Optional. Days of the week to apply condition on.
weekdays:
- MON
- TUE
- WED
- THU
- FRI
- SAT
- SUN
# ---- ACTIONS ---- #
# Actions will start when a starter event takes place and all conditions are met.
# Actions will start in the order they appear in the script and with any delay specified.
# To add more than one action, duplicate the "- type" section under "actions".
actions:
- type: device.command.OnOff # Turn the device on or off.
# Whether to turn the device on or off.
on: true
devices: Christmas Tree - Living Room
- type: time.delay
# Adjust duration as needed. Supported units: sec, min, hour
for: 10min
- type: device.command.OnOff # Turn the device on or off.
# Whether to turn the device on or off.
on: false
devices: Christmas Tree - Living Room
Here is what is working but should not because the motion sensor does not detect occupancy:
metadata:
name: Aqara test # Choose a short name that summarizes important starters and actions, like “Sunset lights”.
description: Scripted automation # Write a detailed description that includes everything the automation does, like “At sunset, on weekdays, close blinds, turn on lights to 50%, and play the sunset playlist on certain speakers.”
automations:
# “starters” and “actions” are required; “conditions” are optional.
# Use Ctrl + Space to see autocomplete suggestions.
# ---- STARTERS ---- #
# Starters describe events that will start the automation.
# To add more than one starter, duplicate the "- type" section under "starters".
# If you add multiple starter events, any one of them happening will start the automation.
starters:
- type: device.state.OccupancySensing # For devices that can detect occupancy, whether through PIR, ultrasonic, or physical contact sensing.
state: occupancy
# Whether the device senses occupancy. [available operators: is, isNot]
is: OCCUPIED
device: Motion Sensor P1 Stairs - Stairway
# ---- CONDITIONS ---- #
# Conditions are optional. Delete this section if it’s empty.
# Conditions will prevent an automation from starting if the conditions aren’t met.
# See g.co/home/script-editor-docs for documentation about how to use logical operators like “and”, “or”, and “not”.
condition:
type: time.between
# Optional. Accepts either clock time (10:00:00 AM, with seconds optional, or in a 24 hour format), or 'sunrise' or 'sunset', with an optional offset ('sunrise+10m', for instance)
before: sunset # HH:MM (24 hours format). Adjust time as needed
# Optional. Accepts either clock time (10:00:00 AM, with seconds optional, or in a 24 hour format), or 'sunrise' or 'sunset', with an optional offset ('sunrise+10m', for instance)
after: 22:00 # HH:MM (24 hours format). Adjust time as needed
# Optional. Days of the week to apply condition on.
weekdays:
- MON
- TUE
- WED
- THU
- FRI
- SAT
- SUN
# ---- ACTIONS ---- #
# Actions will start when a starter event takes place and all conditions are met.
# Actions will start in the order they appear in the script and with any delay specified.
# To add more than one action, duplicate the "- type" section under "actions".
actions:
- type: device.command.OnOff # Turn the device on or off.
# Whether to turn the device on or off.
on: true
devices: Christmas Tree - Living Room
- type: time.delay
# Adjust duration as needed. Supported units: sec, min, hour
for: 10min
- type: device.command.OnOff # Turn the device on or off.
# Whether to turn the device on or off.
on: false
devices: Christmas Tree - Living Room
The Aqara FP2 Occupancy sensor does not show up if you are looking for occupancy as a trigger!
12-15-2023 03:45 AM
Idea: allow apps like SiriusXM to be added to nest hub (gen 2)
12-18-2023 02:31 AM - edited 12-18-2023 02:32 AM
Hi everyone.
What I could need is an IF THEN ELSE structure in the script editor. Example:
Starter: "Hey Google - Windows"
Condition 1: Before 1600
Action: Open a group of window shades
Condition 2: After 1600
Action: Close a group of window shades
Benefit is, I'd have a single command that - depending of the time of day or whatever else - results in two different actions.
03-09-2024 09:39 AM
I have a drainage system around the house and after heavy rainfall I'm using a sump pump to remove the water.
The pump gets its power via a Shelly device, meaning I can already control the pump remotely.
I just bought a sensor that detects water. I'd like to combine the two devices, meaning when a certain level of water has been reached, I'd like to activate the pump for 10 minutes and switch it off again until the next time that certain water level has been reached.
I bought a Luminea water detector that can be included in Tuya Smart Life or Elesion apps, but Google Home so far won't recognize such water detecting devices.
It would be great if thoese devices were available. So far I can't see any of them in the supported devices list.
03-13-2024 12:36 PM
Idea: Allow the Nest thermostats to trigger routines when the AC is ACTIVELY on
OR pair AC units to the Nest thermostat directly so no routine would be needed
Example Automation: Sync up my smart Midea window units with my in-home AC
03-13-2024 12:40 PM
Basically allowing me to adjust my nest thermostat, and it effect my smart window units, and maybe fans on smart plugs
03-25-2024 04:35 AM - edited 04-02-2024 04:41 AM
06-11-2024 02:26 PM
07-29-2024 06:10 PM
I would like to see a temp sensir added for inside my Referigerator/Freezer. Easy to do but would allow me to monitor temp in case of a power outage or failure on my unit and for how long the temp was raised.
10-19-2024 01:18 PM
Can the Nest Thermostat expose the temperature value of the outside weather? I'm trying to have a Script Editor (YAML) STARTER that is the temperature is below 35F turn on outlet.
I found a reference that device.state.outsideTemperature should be available for the Google Nest Thermostat but when I used it in the Script Editor I got an error after running Validate.
Thanks!
10-19-2024 08:03 PM
Any scripts for zone activity such as who is in driveway from 7pm to 11pm and announce ”someone in driveway” and turn on lights
10-20-2024 05:20 PM
Here is what I have for an announcement, when I made it a year ago I don't think you could do zones, not sure if that is still the case.
metadata:
name: Person at Front Door # Choose a short name that summarizes important starters and actions, like “Sunset lights”.
description: Front door detects person announcement # Write a detailed description that includes everything the automation does, like “At sunset, on weekdays, close blinds, turn on lights to 50%, and play the sunset playlist on certain speakers.”
automations:
# “starters” and “actions” are required; “conditions” are optional.
# Use Ctrl + Space to see autocomplete suggestions.
# ---- STARTERS ---- #
# Starters describe events that will start the automation.
# To add more than one starter, duplicate the "- type" section under "starters".
# If you add multiple starter events, any one of them happening will start the automation.
starters:
- type: device.event.PersonDetection # A person has been detected by the camera.
device: Front Door - Front Door
# ---- ACTIONS ---- #
# Actions will start when a starter event takes place and all conditions are met.
# Actions will start in the order they appear in the script and with any delay specified.
# To add more than one action, duplicate the "- type" section under "actions".
actions:
- type: assistant.command.Broadcast
message: Person at front door
devices: Kitchen(Kitchen Display) - Kitchen
10-20-2024 05:22 PM
Here is what I have set up to turn the lights on when my camera sees someone... so it usually detects them before they get in front of the driveway.
metadata:
name: Front person detection, Front lights on # Choose a short name that summarizes important starters and actions, like “Sunset lights”.
description: Front lights go on with motion after 2030 for 1 minute # Write a detailed description that includes everything the automation does, like “At sunset, on weekdays, close blinds, turn on lights to 50%, and play the sunset playlist on certain speakers.”
automations:
# “starters” and “actions” are required; “conditions” are optional.
# Use Ctrl + Space to see autocomplete suggestions.
# ---- STARTERS ---- #
# Starters describe events that will start the automation.
# To add more than one starter, duplicate the "- type" section under "starters".
# If you add multiple starter events, any one of them happening will start the automation.
starters:
- type: device.event.PersonDetection # A person has been detected by the camera.
device: Driveway - Front Yard
- type: device.event.PersonDetection # A person has been detected by the camera.
device: Driveway Floodlight Came - Front Yard
- type: device.event.PersonDetection # A person has been detected by the camera.
device: Front Door - Front Door
# ---- CONDITIONS ---- #
# Conditions are optional. Delete this section if it’s empty.
# Conditions will prevent an automation from starting if the conditions aren’t met.
# See g.co/home/script-editor-docs for documentation about how to use logical operators like “and”, “or”, and “not”.
condition:
type: time.between
# Optional. Accepts either clock time (10:00:00 AM, with seconds optional, or in a 24 hour format), or 'sunrise' or 'sunset', with an optional offset ('sunrise+10m', for instance)
before: sunrise
# Optional. Accepts either clock time (10:00:00 AM, with seconds optional, or in a 24 hour format), or 'sunrise' or 'sunset', with an optional offset ('sunrise+10m', for instance)
after: 22:30 # HH:MM (24 hours format). Adjust time as needed # Adjust offset as needed. Supported units: sec, min, hour
# Optional. Days of the week to apply condition on.
weekdays:
- MON
- TUE
- WED
- THU
- FRI
- SAT
- SUN
# ---- ACTIONS ---- #
# Actions will start when a starter event takes place and all conditions are met.
# Actions will start in the order they appear in the script and with any delay specified.
# To add more than one action, duplicate the "- type" section under "actions".
actions:
- type: device.command.OnOff # Turn the device on or off.
on: true
devices: Outside Front Light - Front Yard
- type: time.delay
for: 1min
- type: device.command.OnOff # Turn the device on or off.
on: false
devices: Outside Front Light - Front Yard
- type: time.delay
for: 1min
- type: device.command.OnOff # Turn the device on or off.
on: false
devices: Outside Front Light - Front Yard
10-26-2024 01:25 PM
what we need, I think, is a condition tag that let's us choose from 1 of 4 colored activity zones, or the non zone or the sound zone. I can not find this under conditions for the Nest cams. I can choose a cam but not a zone within the cam.
10-26-2024 01:32 PM
Hi @JillG
Can you please see if a tag for zone is available for scripting so we can get at our activity zones on our Nest cams? We used to have this on the old interface for these Nest cams.
Thanks.
01-07-2025 01:04 PM
Anything in new Google announcements at CES?
01-09-2025 11:09 AM
Any updates on activity zone tags for 4 activity zones of our Nestcams? We have the zones but currently cannot access them in script??
01-07-2025 01:02 PM
Any updates on this yet?
01-31-2025 11:41 AM
Ping
01-31-2025 11:43 AM
@Prafulla can you please followup on turning on tags for our 4 Nest cams activity zones for scripting? We have the zones setup and need to be able to select them.