If you own one of Google's OnHub routers, you'll now be able to leverage If This, Then That (IFTTT) to program some cool automated tasks. After updating to the latest firmware, you'll be able to take advantage of IFTTT's recipes to craft all manner of automated tasks that are triggered by devices connecting to or disconnecting from the OnHub router.

Options for recipes are only really limited to your imagination, but you'll be able to trigger interactions with a number of devices that connect to the router, including phones, speakers, lights and Nest. For example, you could set up a recipe to automatically turn on the lights when you walk through the door and your phone connects to OnHub. To help give you a head start, the OnHub team put together the video above to show off just some of the possibilities.

If you have an OnHub, you can get started with setting up interactions by heading to the OnHub channel on IFTTT.