Это видео недоступно.
Сожалеем об этом.

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

Поделиться
HTML-код
  • Опубликовано: 31 авг 2023
  • The Google Home Script Editor is now available through the Google Home Public Preview. You can code your own routines with YAML code. Let's take a look at how to get started.
    Submit your code: forms.gle/rkiP...
    SUBSCRIBE here, it's FREE! bit.ly/Subscrib...
    Check out these products I use and have reviewed: www.amazon.com...
    Tech With Brett is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com.
    Connect with me: techwithbrett....
    #ScriptEditor #GoogleHome #Routines #TechWithBrett #YAML #Automations

Комментарии • 73

  • @TechWithBrett
    @TechWithBrett  11 месяцев назад +4

    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 7 месяцев назад +3

    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.

  • @CHADAB34
    @CHADAB34 11 месяцев назад +7

    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  11 месяцев назад +3

      It is certainly daunting at first but was rewarding when I would get it to work.

  • @eynermesoneslopez4999
    @eynermesoneslopez4999 11 месяцев назад +5

    Been looking for something like these for days! Thank you so much for this video!

  • @Gamen4Bros
    @Gamen4Bros 24 дня назад +1

    Finally google home is not useless anymore!!

  • @Weaselsilent
    @Weaselsilent 10 месяцев назад +4

    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  10 месяцев назад +1

      Wow, that is awesome!

    • @Adam-fq6vw
      @Adam-fq6vw 4 месяца назад

      Just let your kids enjoy their shower brah lol

  • @hometechUK
    @hometechUK 11 месяцев назад +2

    Thank you finally an easy to understand Google Home script video, I thought it looks to difficult but now not so.

  • @ExcuseMeTheAudacity
    @ExcuseMeTheAudacity 11 месяцев назад +3

    I Love Your Videos, Your are one of the few tech RUclipsrs that are truthful and entertaining, This is my favorite tech channel.

  • @zunkman1
    @zunkman1 11 месяцев назад +2

    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 9 месяцев назад

      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 9 месяцев назад

      @@anurimapal7768 As far as I know, that is not possible.

  • @davidallred4266
    @davidallred4266 11 месяцев назад +2

    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  11 месяцев назад

      Good luck and hopefully you can get most of it put in.

  • @DarrellMee
    @DarrellMee 11 месяцев назад +1

    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  11 месяцев назад +1

      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.

  • @RockstheSquirrelMobian
    @RockstheSquirrelMobian 7 месяцев назад

    @TechWithBrett The reason it was not auto populating was when you typed "-type:", you needed to add a space "- type:"

  • @mikehardy3300
    @mikehardy3300 11 месяцев назад +1

    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

  • @AndrewJonesMcGuire
    @AndrewJonesMcGuire 11 месяцев назад +7

    "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  11 месяцев назад +5

      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 11 месяцев назад +2

      @@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  11 месяцев назад +3

      That is a great tip, thank you!

    • @10pm63
      @10pm63 7 месяцев назад

      Fiddeling with YAML. What's the difference between "- type" and "type"? I noticed that they just write "type" under conditions!?

    • @AndrewJonesMcGuire
      @AndrewJonesMcGuire 7 месяцев назад

      @@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.

  • @familiatrois3813
    @familiatrois3813 11 месяцев назад

    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  11 месяцев назад +1

      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 11 месяцев назад

      @@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  11 месяцев назад

      That's awesome to hear!

  • @mattglandorf9077
    @mattglandorf9077 Месяц назад

    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?

  • @BrianFunk
    @BrianFunk 2 месяца назад

    Is it possible to use familiar face detection as a starter when it sees a specific person 's face?

  • @ElTarosa
    @ElTarosa 8 месяцев назад

    omg thanks for this video... i reallly hope this is nothing thats get anytime soon to google cemetery...its too good

  • @BarnBytes
    @BarnBytes 10 месяцев назад

    Great video - I'm loving the new script editor

  • @zunkman1
    @zunkman1 11 месяцев назад +2

    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  11 месяцев назад +2

      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.

  • @andreabugatti6792
    @andreabugatti6792 7 месяцев назад

    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

  • @slimcobra
    @slimcobra 9 месяцев назад

    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?

  • @Jensen871
    @Jensen871 11 месяцев назад +3

    MOTION DETECTION!!!! FINALLY 🎉

  • @KirkandRA
    @KirkandRA 11 месяцев назад

    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  11 месяцев назад

      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 11 месяцев назад

      @@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

  • @jacktheladfrost
    @jacktheladfrost 7 месяцев назад

    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.

  • @GilChanelCarrillo
    @GilChanelCarrillo 11 месяцев назад +1

    Great video!

  • @rauljusti6490
    @rauljusti6490 9 месяцев назад

    Is there a way to make our Android phone appear in the device list?

  • @cchien626
    @cchien626 8 месяцев назад

    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  8 месяцев назад +1

      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.

  • @GA0764
    @GA0764 11 месяцев назад

    Thanks for the video❤

  • @jonhaines242
    @jonhaines242 7 месяцев назад

    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 7 месяцев назад

      This 'device not listing' issue is when I'm trying to use Shelly devices as 'a starter' trigger.

    • @jonhaines242
      @jonhaines242 7 месяцев назад

      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.

  • @user-wh9fh3sc4i
    @user-wh9fh3sc4i 8 месяцев назад

    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  8 месяцев назад

      For that I used a Shelly Relay. ruclips.net/video/nRtZeyn7ccg/видео.html

  • @clairerovic
    @clairerovic 9 месяцев назад

    Gotta say - the death of the Samsung eco-system, possibly for the better. Fingers crossed HA lasts through the battle.

  • @leaperrins8373
    @leaperrins8373 5 месяцев назад

    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 2 месяца назад

      What brought me here... 🙄

    • @leaperrins8373
      @leaperrins8373 2 месяца назад

      @@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.

  • @dougcampbell7898
    @dougcampbell7898 11 месяцев назад

    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  11 месяцев назад

      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 11 месяцев назад

      Thanks got the great advice. Tuning up the Absence Status will help. Thanks again.

    • @dougcampbell7898
      @dougcampbell7898 11 месяцев назад

      Well the problem is solved. I switched to using Alexa and it works. The problem seems to be in Google Home. Thanks again.

  • @anurimapal7768
    @anurimapal7768 9 месяцев назад

    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)