Take Routines to the Next Level with the Google Home Script Editor

  Рет қаралды 25,461

Tech With Brett

Tech With Brett

Күн бұрын

Пікірлер: 81
@TechWithBrett
@TechWithBrett Жыл бұрын
Here is the link to the example scripts: developers.home.google.com/automations/example-scripts Don't forget to Send Feedback when you have issues so they can keep making this better.
@Willee64
@Willee64 Жыл бұрын
Just when I was getting Matter figured out, you throw this one out there. Haha Always something new any more. Thank you for your vids. They are VERY helpful and easily understood.
@Weaselsilent
@Weaselsilent Жыл бұрын
I created a couple automations with this today. I have an LED strip around a bathroom mirror. Created an automation that starts with a voice prompt and waits a minute for you to turn the shower water on, turns green for 10 minutes, orange for 3 minutes, red for 2 minutes, and then to white for 5 before turning off. Timer for the kids showers. Second one I made for if the robo-vacuum hasnt run in 3 days, Google home waits between 4p and 7p if my wife or I are home and sends us a notification that we need to run the vacuum. Great video!
@TechWithBrett
@TechWithBrett Жыл бұрын
Wow, that is awesome!
@Adam-fq6vw
@Adam-fq6vw 9 ай бұрын
Just let your kids enjoy their shower brah lol
@CHADAB34
@CHADAB34 Жыл бұрын
I appreciate this. I've wanted to explore this but haven't taken the time to look into it. Now I know what I'm walking into. Thanks.
@TechWithBrett
@TechWithBrett Жыл бұрын
It is certainly daunting at first but was rewarding when I would get it to work.
@eynermesoneslopez4999
@eynermesoneslopez4999 Жыл бұрын
Been looking for something like these for days! Thank you so much for this video!
@ExcuseMeTheAudacity
@ExcuseMeTheAudacity Жыл бұрын
I Love Your Videos, Your are one of the few tech KZbinrs that are truthful and entertaining, This is my favorite tech channel.
@TechWithBrett
@TechWithBrett Жыл бұрын
Thank you! I'll do my best to keep it that way.
@leonidascastillo9511
@leonidascastillo9511 Жыл бұрын
Me too
@hometechUK
@hometechUK Жыл бұрын
Thank you finally an easy to understand Google Home script video, I thought it looks to difficult but now not so.
@RockstheSquirrelMobian
@RockstheSquirrelMobian 11 ай бұрын
@TechWithBrett The reason it was not auto populating was when you typed "-type:", you needed to add a space "- type:"
@Gamen4Bros
@Gamen4Bros 5 ай бұрын
Finally google home is not useless anymore!!
@zunkman1
@zunkman1 Жыл бұрын
Fantastic video, as always. I wrote scripts before and it's pretty easy, but your tips made it even easier. Please keep giving tips on the script editor!
@anurimapal7768
@anurimapal7768 Жыл бұрын
Respected sir, Can you please tell me if its possible to do the following automation using script editor : Turn off my smart plug (in which my wall charging adaptor is connected) when charge reaches upto 90% ??? (I own a non-samsung phone, so i cannot use the option of adaptive charging or battery protection feature of oneUI)
@zunkman1
@zunkman1 Жыл бұрын
@@anurimapal7768 As far as I know, that is not possible.
@DarrellMee
@DarrellMee Жыл бұрын
Awesome, I was starting to think maybe I need to jump ship but this is just what I'm looking for from Google. Great video as well, love your channel.
@TechWithBrett
@TechWithBrett Жыл бұрын
Thank you! Google has stepped up their game this year and have made some good improvements in the right direction. I'm confident we will continue to see them make the right improvements.
@familiatrois3813
@familiatrois3813 Жыл бұрын
Thanks for setting up this video, Brett! Never thought I would enjoy watching code debugging as much as this! I like the idea of the TWB Community Forum to share Scripting ideas. My setup isn't as complex as yours, but I think the Google Home Script Editor will give me some added flexibility when controlling my lights and switches. Also, I feel less intimidated with the Editor vs. Home Assistant and Hubitat, both of which require additional system administration.
@TechWithBrett
@TechWithBrett Жыл бұрын
Well thank you. I was asking my brother for some help and he was like, "you know this is how I make scripts in Home Assistant right?" My reply was yeah, but I just feel way more comfortable with Google Home. So it has been a nice slow introduction.
@familiatrois3813
@familiatrois3813 Жыл бұрын
@@TechWithBrett Wanted you to know that, thanks to your tutorial, I wrote my 1st Script today; turns on a Yamaha Musicast Radio! Down the rabbit-hole I GO! Thanks again for providing a teachable framework in order to tackle this challenging environment!
@TechWithBrett
@TechWithBrett Жыл бұрын
That's awesome to hear!
@davidallred4266
@davidallred4266 Жыл бұрын
Thanks for the info on this, I have a lot to plan for our new home being built. Hope that I can get it approved by the Boss.
@TechWithBrett
@TechWithBrett Жыл бұрын
Good luck and hopefully you can get most of it put in.
@mikehardy3300
@mikehardy3300 Жыл бұрын
I set up basically the same conditions for a camera today condition: type: and conditions: - type: device.state.OnOff state: on is: false device: Kitchen Light - Kitchen - type: time.between before: 06:30 after: 18:00 This is the script used also ctrl+spacebar will switch to auto populating
@jamescarlylemarrs
@jamescarlylemarrs 29 күн бұрын
I'm late to the party based on the dates in the thread. However, thank you very much for this extremely helpful video. I see amazingly cool opportunities with your instructions. Great thanks to you. I look forward to following you. This is simply fantastic. Thank you Again!
@TechWithBrett
@TechWithBrett 29 күн бұрын
I'm glad this was helpful! I might have to do an update at some point as you can now have AI help in making these.
@MrPattayacitydk
@MrPattayacitydk 3 ай бұрын
Hi Brett. Can i use the google nestcam indoor in this and stream the camview. What cans do u use ?
@BarnBytes
@BarnBytes Жыл бұрын
Great video - I'm loving the new script editor
@mattglandorf9077
@mattglandorf9077 6 ай бұрын
I got some recessed lights that have a built in nightlight, to turn on the nightlight you turn the lights on, then off, then on again within 5 seconds. Can you think of a way to automate this, so our nightlights can be turned on at a scheduled time?
@GilChanelCarrillo
@GilChanelCarrillo Жыл бұрын
Great video!
@BrianFunk
@BrianFunk 6 ай бұрын
Is it possible to use familiar face detection as a starter when it sees a specific person 's face?
@jamespinney661
@jamespinney661 4 ай бұрын
The problem I'm having is I try to create a script for my garage door opener to notify me when the garage door is open and also notifying when the garage door is closed. I get it to work with lights so I'm assuming it'll work with the garage. The problem is it doesn't seem to get the notifications on the pixel watch and it seems as if my pixel phone is not awake and unlock. I don't get the notifications.
@zunkman1
@zunkman1 Жыл бұрын
Has anyone had trouble with "longer" automations not completing? Both Script Editor and the old way. My longer automations (over 10 steps) run to a random point (changes every time) and then stop. One of my automations, which worked fine for over a year, has only completed one time in the past month. Brett - maybe that's the problem with your "Undercounter, Hood Light" automation!
@TechWithBrett
@TechWithBrett Жыл бұрын
Very possible. There are definitely a bunch of bugs that still need to be worked out. I am in contact with some people at Google so hopefully I will be able to report directly some of these frustrations.
@Валерий-м1м
@Валерий-м1м Жыл бұрын
Thanks for you work and this video! One question: what tipe of smart relay did you use in kitchen hood? I can't find anything which will be compatible with google home and has manual switch and small enough dimensions to fit in hood
@TechWithBrett
@TechWithBrett Жыл бұрын
For that I used a Shelly Relay. kzbin.info/www/bejne/pIPXi5ivo5yWmck
@KirkandRA
@KirkandRA Жыл бұрын
Interesting. I will check this out. The thing I don’t like when setting up automations is you have to add one item at a time. Back and forth I hope this will eliminate that. Great video. Thanks
@TechWithBrett
@TechWithBrett Жыл бұрын
After spending a few days testing this out, I can see it has a lot of potential once you figure out what to do.
@KirkandRA
@KirkandRA Жыл бұрын
@@TechWithBrett after watching this video I wanted to see if Alexa offered anything similar. They don't offer scripting but in their routines section you can start a routine with turning on a switch and associate devices to turn on or off
@ElTarosa
@ElTarosa Жыл бұрын
omg thanks for this video... i reallly hope this is nothing thats get anytime soon to google cemetery...its too good
@AndrewJonesMcGuire
@AndrewJonesMcGuire Жыл бұрын
"there you go, no errors". Only because of the magic of editing. You should really have left your errors on show because your errors - will be the most common that other people have to deal with. In this case your repeated failure to add a space after the hyphen. Eg "- type:" not "-type:" 👍
@TechWithBrett
@TechWithBrett Жыл бұрын
Have better eyes than 99% of people. I had figured out the code, tried to repeat it but couldn't figure out the last error on video in a reasonable amount of time, so I did swap to the working set. The only difference I could see while editing is that things didn't line up the same between the two but nice job finding what caused it.
@AndrewJonesMcGuire
@AndrewJonesMcGuire Жыл бұрын
@@TechWithBrett waaaay to much time with YAML on Home Assistant has taught me to be super vigilant on spacing 😋 (for the future, you should note, it's when you made that error that the editor stopped providing helpful autocomplete options. So in future check what you just wrote when the editor stops being helpful. If you can't see the error go down the validate route to see if it tells you)
@TechWithBrett
@TechWithBrett Жыл бұрын
That is a great tip, thank you!
@10pm63
@10pm63 11 ай бұрын
Fiddeling with YAML. What's the difference between "- type" and "type"? I noticed that they just write "type" under conditions!?
@AndrewJonesMcGuire
@AndrewJonesMcGuire 11 ай бұрын
@@10pm63the hyphen indicates that this is an item in a list, but YAML is also super picky about indentation. If you have a list item, it should be indented with a 2 spaces from the item above it, and it MUST have a space after the hyphen and before the item in the list. Eg: - type or - entity_id:. Stuff that does not have a hyphen is a dictionary, not a list.
@cchien626
@cchien626 Жыл бұрын
Would you let us know what brand of motion detection sensor you are doing? The reason I asked is that I purchased some Phovolt motion detection sensors but I am having a hard time for Google Home App to know about any. Temperature sensors in the same Smart Life app works with Google Home App just fine. Thanks.
@TechWithBrett
@TechWithBrett Жыл бұрын
In this video I used a Hue Motion Sensor connected to a Hue Hub. I also use an Aqara FP2 that worked ok but certainly could be improved.
@jonhaines242
@jonhaines242 Жыл бұрын
Hello and thanks for a really good video. I live in the UK and have many 'Shelly' devices but none of them appear in the script editor 'devices' list! I have linked my Shelly account to google home and can see and use the shelly devices from there but not in script editor. Any ideas?
@jonhaines242
@jonhaines242 Жыл бұрын
This 'device not listing' issue is when I'm trying to use Shelly devices as 'a starter' trigger.
@jonhaines242
@jonhaines242 Жыл бұрын
SOLVED - I have played around using different scripts and have no found that all my shelly devices do appear and have working automation. Thanks again for a great video.
@Jensen871
@Jensen871 Жыл бұрын
MOTION DETECTION!!!! FINALLY 🎉
@GA0764
@GA0764 Жыл бұрын
Thanks for the video❤
@dougcampbell7898
@dougcampbell7898 Жыл бұрын
How did you get the FP2 to work with Google Home. When I enter the zone the fan starts. But when I leave the zone the fan doesn't turn off. Tried many different scripts, contacted both Google and Aqara. Aqara did an update for this problem but it didn't fix the turn off problem. Really enjoy your videos.
@TechWithBrett
@TechWithBrett Жыл бұрын
It is a bit finicky but to finally get things working I reset the Absence Status in the Aqara app when no one in the room. I have had to do that every so often to get it to work if it is stuck.
@dougcampbell7898
@dougcampbell7898 Жыл бұрын
Thanks got the great advice. Tuning up the Absence Status will help. Thanks again.
@dougcampbell7898
@dougcampbell7898 Жыл бұрын
Well the problem is solved. I switched to using Alexa and it works. The problem seems to be in Google Home. Thanks again.
@SaberTech01
@SaberTech01 13 сағат бұрын
Was there ever a follow up video on this with more routines? Also I'm curious if anybody has figured out how to create a single routine that does a bunch of stuff and the conditionally does something else. Ex: Sets a bunch of lights / blinds to desired levels, and IF something is true, also do another step (but only do that last thing if it's true). I could get it to work, but only by doing all the 'standard' stuff under one voice starter and then put the conditional stuff under another instance of the same starter all within the same routine. I mean, it works, but it's ugly.
@TechWithBrett
@TechWithBrett 10 сағат бұрын
I haven't been able to make a follow-up. They have made some updates but I'm hoping for a little more function that has a high success rate of being able to create complex routines before making the video.
@slimcobra
@slimcobra Жыл бұрын
I need a way to trigger an action on for 20 seconds and then turn it back off. Is there a way of doing that?
@rauljusti6490
@rauljusti6490 Жыл бұрын
Is there a way to make our Android phone appear in the device list?
@andreabugatti6792
@andreabugatti6792 Жыл бұрын
I've created a script to turn a smart light bulb on and off at various times and it works fine but I don't understand why this automation doesn't show up in the Google Home app
@jacktheladfrost
@jacktheladfrost 11 ай бұрын
I just can't get anything to work. Even the auto generated code in script editor doesn't work. There's always an error. I tried doing it as at the start of this video but not all of my devices show in the drop down menus. Maybe that's why I'm getting errors? If landing sensor is triggered after 1am but before sunrise then turn on landing, lamp and kitchen light for 5 minutes at 50% brightness.... If anyone can help.
@hankmartinfilms
@hankmartinfilms 3 ай бұрын
I need the ability to turn on a fan when the outside temperature is below 77 degrees Fahrenheit I have a nest puck however it doesn’t let me select this device as a trigger anyone have any ideas, i would love input.
@clairerovic
@clairerovic Жыл бұрын
Gotta say - the death of the Samsung eco-system, possibly for the better. Fingers crossed HA lasts through the battle.
@eduardocarvalho2517
@eduardocarvalho2517 2 ай бұрын
Idea: when phone is charging and battery reaches 70%, use Google Home to turn off the smart plug. Preserving battery life battery 🔋 🧬
@leaperrins8373
@leaperrins8373 10 ай бұрын
This is a great step forward. However, I cannot believe you still can't turn off voice responses or set a consistent volume for them. It's 2024!!
@peterweyland6824
@peterweyland6824 7 ай бұрын
What brought me here... 🙄
@leaperrins8373
@leaperrins8373 7 ай бұрын
@@peterweyland6824 I complain about this constantly, as do lots of people online, and on google home threads for YEARS. It's unfathomable to me why this hasn't been addressed.
@anurimapal7768
@anurimapal7768 Жыл бұрын
Can anybody tell me if its possible to do the following automation using script editor : Turn off my smart plug (in which my wall charging adaptor is connected) when charge reaches upto 90% ??? (I own a non-samsung phone, so i cannot use the option of adaptive charging or battery protection feature of oneUI)
I Tried Building the PERFECT Smart Home: What I Learned (Mistakes Included)
14:51
This Smart Home makes me jealous! FULL Tour + automation ideas!
17:51
Smart Home Solver
Рет қаралды 260 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Google's NEW Script Editor! | Home Automations
9:58
Let's Automate
Рет қаралды 3,6 М.
The Best Tips and Tricks With Google Assistant!
18:42
Automate Your Life
Рет қаралды 53 М.
Schedule & Call transfer demo
1:53
Retell AI
Рет қаралды 23 М.
Meet Scrypted - Stream ANY Camera to ANY Home Hub
8:47
Techno Tim
Рет қаралды 409 М.
Extremely Useful NFC Home Automation Ideas!
10:09
Smart Home Solver
Рет қаралды 889 М.
The most INTENSE Home Automations built with Google!
13:57
Smart Home Solver
Рет қаралды 106 М.
The RayNeo Air 2s is a Personal Home Theater System
11:35
Tech With Brett
Рет қаралды 44 М.
Google Home Automations are now 100x BETTER!
8:22
Smart Home Solver
Рет қаралды 161 М.
The Ultimate Guide to the Google TV Streamer 4K
1:08:34
Tech With Brett
Рет қаралды 21 М.
The Smart Home Sensors I NEVER knew I needed!
11:47
Smart Home Solver
Рет қаралды 346 М.