Expanding on Google Home’s recent redesign, Google has begun offering users a way to build custom automations for their smart homes.

This means you’ll be able to create very specific instructions for your smart home devices, according to a recent Google Nest Community post. For example, someone can instruct Google Home to activate their Roomba and have it begin vacuuming the moment everyone has left home or flash the house’s lights whenever a smoke alarm is active. Things can even get complex as users will be able to string multiple gadgets together to work on a single schedule. Most importantly, automations will work across “Google Home and [third-party] smart home devices,… include many Matter-supported sensors.”

So you may be wondering, what’s the catch? Well, you’ll need a bit of programming experience because creating automations requires you to use Google’s newly available script editor.

Google Home's script editor

(Image credit: Google )

How it works

Programming automations doesn’t appear to be all that difficult. Google has made things pretty simple. Each automation requires three things: a starter, the trigger that starts the whole event; a condition, which are the prerequisites that must first be met; and an action, where the devices carry out commands. 

Let’s say someone wants to dim the lights and lower the blinds whenever the TV in the living room is turned on after dark. In this example, the starter would be the TV turning on. To meet the condition, the time must be after sunset. Once both are met, the actions activate: the lights go dim and the blinds close.

A full list of supported commands can be found on the Google Home Developer Center – at least it should be there. At the time of this writing, the page is currently down. 

Programming help

Realizing programming can be tricky for some, Google is providing resources to help people get started. First, the tech giant has published a detailed, yet easy-to-understand step-by-step guide on how to create a scripted automation (the lesson takes about an hour). Or you can simply take one of the ready-to-use sample scripts and then paste it into the editor.

What if you’re still not comfortable with writing your own script but an appropriate one isn’t available in the premade samples? Ask Google Bard. The AI has the ability to write something for you. As a test, we asked Bard if it could create a script that would activate my outdoor camera whenever motion is detected outside my house after sunset. Sure enough, the AI wrote an appropriate script complete with a starter, condition, and action.

Google Bard <a href='https://blog.previsto.com/en/posts/new-ui-released' target='_blank'>creating</a> a script” class=” lazy-image-van” data-normal=”https://vanilla.futurecdn.net/techradar/media/img/missing-image.svg” data-srcset=”https://cdn.mos.cms.futurecdn.net/bKGsfskxP9SF8aZmfBbX4j-320-80.jpg 320w, https://cdn.mos.cms.futurecdn.net/bKGsfskxP9SF8aZmfBbX4j-480-80.jpg 480w, https://cdn.mos.cms.futurecdn.net/bKGsfskxP9SF8aZmfBbX4j-650-80.jpg 650w, https://cdn.mos.cms.futurecdn.net/bKGsfskxP9SF8aZmfBbX4j-970-80.jpg 970w, https://cdn.mos.cms.futurecdn.net/bKGsfskxP9SF8aZmfBbX4j-1024-80.jpg 1024w, https://cdn.mos.cms.futurecdn.net/bKGsfskxP9SF8aZmfBbX4j-1200-80.jpg 1200w” data-sizes=”(min-width: 1000px) 970px, calc(100vw – 40px)” data-original-mos=”https://cdn.mos.cms.futurecdn.net/bKGsfskxP9SF8aZmfBbX4j.jpg” data-pin-media=”https://cdn.mos.cms.futurecdn.net/bKGsfskxP9SF8aZmfBbX4j.jpg”></p>
</div>
</div><figcaption class=(Image credit: Future)

To access the script editor, you can go to the Google Home website where you’ll see some pre-made routines to help you get started, or join the Public Preview program through the Google Home mobile app. Detailed instructions on how to join are available on the Google Nest Help webpage. Be aware the routines are meant for the sake of convenience and not for any safety or security use cases, according to a company notice.

Since the automations are part of an early preview, there are plans to grow them. Later down the line, more commands will be added, “including camera events”, plus the ability to send custom notifications in an action.

If you’re looking for ways to expand your smart home, check out TechRadar’s list of the best smart home devices on the market.

Services MarketplaceListings, Bookings & Reviews

Entertainment blogs & Forums