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-24-2023 06:15 AM
A solution for this is to create virtual switches, in Smartthings and link them in Google home, and put these switches in the conditions.. For example, only activate such routines if the switch is activated, otherwise it will not activate.
06-24-2023 06:21 AM
I created this routine here using virtual switches from smartthings.
metadata:
name: O quarto está gelado
description: Se depois do "Pôr do Sol", o Dispositivo "Frio" for acionado, é porquê a "Temperatura do Quarto" está entre 17°c a 22°c, e o "Ventilador de Teto" está ligado na "Velocidade Forte" com isso a "Velocidade Baixa" será ligada após 5segundos, para manter o quarto com uma temperatura agradável
automations:
- starters:
- type: device.state.OnOff
state: on
is: true
device: Frio - Clima Do Ambiente # O dispositivo "Frio" para essa rotina só irá funcionar 1h depois do "Pôr do Sol" até 1h depois do "Nascer do Sol".
condition: # Se todas as Condições abaixo forem executadas, aí sim a rotina, poderá acontecer.
type: and
conditions:
- type: device.state.OnOff
state: on
is: true
device: Ventilador de Teto - Quarto do Casal
- type: and
conditions:
- type: device.state.OnOff
state: on
is: false
device: Velocidade Baixa - Quarto do Casal
- type: device.state.OnOff
state: on
is: false
device: Velocidade Media - Quarto do Casal
- type: device.state.OnOff
state: on
is: true
device: Velocidade Forte - Quarto do Casal
actions:
- type: time.delay
for: 5sec
- type: device.command.OnOff
on: true
devices: Velocidade Baixa - Quarto do Casal
# O quarto está muito gelado de madrugada
- starters:
- type: device.state.OnOff
state: on
is: true
device: Gelado - Clima Do Ambiente # O dispositivo "Gelado" para essa rotina só irá funcionar durante a "madrugada" até o ventilador ser desligado pela manhã.
condition: # Se todas as Condições abaixo forem executadas, aí sim a rotina, poderá acontecer.
type: and
conditions:
- type: device.state.OnOff
state: on
is: true
device: Exaustor Do Quarto - Quarto do Casal
- type: and
conditions:
- type: device.state.OnOff
state: on
is: true
device: Velocidade Baixa - Quarto do Casal
- type: device.state.OnOff
state: on
is: true
device: Ventilador de Teto - Quarto do Casal
actions:
- type: time.delay
for: 5sec
- type: device.command.OnOff
on: true
devices: Exaustor Do Quarto - Quarto do Casal
06-21-2023 01:02 PM
How can we tell when a new build of the scripting system has dropped?
06-22-2023 01:39 AM
06-24-2023 06:12 AM
A solution that I found for certain routines do not work when I have guests at home, was to create a virtual switch through the smartthings and I linked to Google Home, so whenever I'm invited, active the switch on google home, and I put that switch as Conditions in the routines that I do not want to be activated when someone strange is at home.
06-24-2023 06:13 AM
That's a nice idea, I'll give it a try!
Thanks
06-22-2023 03:09 PM
Allow us to delete or edit the ready-made personal routines to include changing the triggers (starters) so that we can use this powerful scripting tool to create more detailed automations:
06-22-2023 03:19 PM
Add a "Play" button the the script editor so we can run the script from inside the editor and make changes instead of having to return to the automations screen and search for the automation.
07-15-2023 12:45 PM
I'm surprised this doesn't have more support.
06-22-2023 03:26 PM
Add holidays to conditions so that repeat automations do/do not run when it is a holiday.
06-22-2023 04:29 PM
I wrote a suggestion for an improved scheduler, since this one doesn't go past a week, but gosh, it needs holidays too.
06-22-2023 03:35 PM
Idea: create Personal Routines via script editor
06-22-2023 08:47 PM
Idea: Webhooks as starters and actions
Example automation:
As starters: Calls to a Google Home webhook could be used to start an automation
As actions: Google Home would call out to an external webhook and optionally send some data with it
An example routine would be that from my Fitbit, I could use the hooks app to send a webhook request and then in turn, it turns off my light before bed.
06-22-2023 10:45 PM
06-24-2023 06:24 AM
Idea: Google nest camera person detected as a starter
Example automation: Turn the lights on if a person is detected by the cameras at night. This would be much safer than just a phone notification.
06-24-2023 10:35 PM
I want to set my Nest Thermostat to away mode when my Simplisafe is in Away mode, and likewise for when I'm home.
I would like a starter that is triggered by SimpliSafe state changes.
06-26-2023 12:22 PM
I just discovered that this exists!
`device.state.ArmDisarm` is just what I need
to set the Google Home state to Away/Home I need to use an OkGoogle command, which is a bit odd but works.
metadata:
name: Set Away on SimpliSafe Armed
description: When the SimpliSafe is set to Away, set Google Home to away as well.
automations:
starters:
- type: device.state.ArmDisarm # This function supports arming and disarming as used in, for example, security systems.
state: currentArmLevel
is: AWAY
device: SimpliSafe - Room
actions:
- type: assistant.command.OkGoogle
okGoogle: "Everyone's away"
devices: <a random device>
10-03-2023 03:35 AM
what about disarming the security system?
06-25-2023 10:48 PM
06-26-2023 10:36 AM - edited 06-26-2023 10:53 AM
Idea: Provide the ability to send text strings with variables that can include math, including measured states of equipment
Reason: Considering documentation on measured states is limited, the ability to get the data is paramount. If the routine can, as part of the action, include a text to a phone that includes results, that will help trouble shoot scripts.
Example: - action: .....type:... message "The person at the door has been waiting for ", motiondetectionStateDurationSec/60, " min."
Building on other requests to open up the data to pass more data to the script, (e.g., light levels measured by a motion sensor, identified person by camera, vehicle by camera, etc) the notifications can be more intelligent if they can be a variable included in a text string especially if the data can be processed with functions.
06-26-2023 10:41 AM - edited 06-26-2023 11:12 AM
Idea: Provide the ability to include the duration of an event or the time of the event as a variable that can be used in calculations for conditions and actions
Reason: While the "for" command works in starters, it does not appear to work for conditions. Allowing the time since the event and/or duration of an event with calculations would allow for variable conditions based on other actions as well as variable responses based on varying conditions.
Example: Motion sensor at the front door detects motion, and is used to initiate a notification that someone is at the door, but only if the driveway camera detected motion for long enough to validate that someone arrived. The front door would initiate the script, but the duration of the driveway camera detected motion is needed to as a condition to avoid announcements for people leaving through the front door.
If durations and time of events could be variables that can be used in functions, then that would also open up possibilities for having durations of events vary with time of day without duplicate scripts for time slots.
06-26-2023 07:29 PM
Idea: action based on time elapsed since last state change
Example automation: I would like to broadcast a message when my garage door is open for more than X minutes
06-28-2023 10:05 AM
that would be useful for sure!
I have a temporary workaround if you want to do it right now though. Just use smartthings and link it with google home. Create 2 virtual dimmable bulbs in smartthings. Label the first one garage open/closed. Label the second one broadcast garage message.
in google home create 3 automations. they can just be the standard, don't need to use script editor if you don't want to
1) if your garage sensor is open turn on garage open/closed virt bulb
2) if your garage sensor is closed, turn off garage open/closed virt bulb
3) if broadcast garage message virt bulb is on, choose custom assistant action, the type "broadcast garage door is open", or whatever you want that message to be, then turn off broadcast garage message (that way it can run again)
then in smartthings you just create an automation, if the garage open/closed virt bulb is on (check the box that says stays this state for how long?) set that to 15 minutes or whatever you want, if the above is met, turn on the broadcast garage message virt bulb
06-28-2023 03:02 PM
How do you add virtual switches exactly? Is this available in the IOS app? is it available outside the USA? I was using the same idea with real bulbs.
They don't seems to be listed as a new user. I guess it would be useful for google to implement these global variables asap.
06-29-2023 09:01 AM
You have to do it from a computer, just google how to create a smartthings virtual switch,
same concept, just create a virtual dimmable bulb instead of a switch (bulbs work better with google home than switches)
06-29-2023 09:23 AM - edited 06-29-2023 09:41 AM
Thanks but I believe you need a smarthings hub If I'm not wrong, so this defeats the point of just having a single matter controller (even though I have apple and google) I defintely don't want any more hubs or controllers - so if this is the case then definitely need google to solve this issue.
Seems like today there is an advanced UI option which allows me to add a virtual switch - so either it takes a day to sync or it's a co-incidence the UI was updated and allows me to use it now!
07-06-2023 12:31 PM
you actually don't need the hub! lives entirely in the cloud...
and yes, since they've released the new ui making virt switches is much easier now
06-27-2023 11:36 AM
06-27-2023 12:30 PM
Implement the devices.state.ObjectDetection
So that familiar faces, unfamiliar faces, named people can be used to trigger actions.
06-28-2023 08:49 AM
I know Nest cam features such as package detection are in the pipeline... but yes, please totally open it up. Familiar faces would be a game changer
06-28-2023 02:53 AM
Idea: be able to use the state of a Google Home / Nest to start an automation
Example: I would like to create an automation that after 30 minutes of not using a Google Home for listening music sets the volume to 50%. Ideally if someone starts using it in less than 30 minutes the automation should cancel (so it doesn’t lower the volume while listening)
06-28-2023 08:48 AM
I suggested allowing media.state to work with nest/google home speakers, you could use that pretty easily to accomplish this. Go give mine a thumbs up 🙂
06-28-2023 09:32 AM
06-28-2023 09:38 AM
06-28-2023 09:52 AM
Idea Part 1: As an additional feature, allow the use of a speaker's noise detection as a starter.
Example: When no one is home, if noise is detected by a speaker, notification is sent to a phone and a message is played that notifies the intruder that "they are watching you."
Idea Part 2: As an additional feature, allow the microphone from a home speaker to transmit the sounds to one's phone
Example: When no one is home, if noise is detected by a speaker, notification is sent to a phone and the home owner can listen to see if action is needed.
06-28-2023 11:50 AM
You can already broadcast a voice message in such a situation, but I don't think you can have it repeat. I already have this setup to go off when motion is detected and I am away.
As an alternative, or in addition, you could buy a cheap siren (just a few dollars on Amazon) with an adapter and plug the adapter into a smart outlet, so your action would just turn on the outlet (or multiple outlets and sirens) and the siren will sound. You can turn it off remotely by turning off the outlet.
The one thing missing is the notification, which is desperately needed, although you might get a notification if one of your cameras reports a sound due to the siren.
06-28-2023 11:03 AM - edited 06-28-2023 11:04 AM
06-28-2023 05:19 PM
I'm interested in a script that can speak aloud (on a Nest speaker) notifications from any given security camera that sends notification for "Person Detected" in the video feed.
06-29-2023 05:29 AM - edited 06-29-2023 05:31 AM
06-29-2023 07:21 PM
Idea: to have a "Suppress routine" function.
Example automation: I want the entrance lights to come on and google wish me good morning/night when I get home from work and open the door (using the door and window sensor). However, it would be bad if I opened the door and he did it every time, since I don't have a set time to get home. With this function I could suppress the routine to be activated only once a day.