View all newsletters
Receive our newsletter - data, insights and analysis delivered to you
  1. Technology
  2. Cloud
April 7, 2020updated 01 Jul 2022 7:53am

New Google Home SDK Lets You Bypass Cloud Executions

"Once a local path is established, apps can send commands to devices using TCP, UDP, or HTTP.”

By CBR Staff Writer

Anyone creating or developing a smart home device that engages with the Google assistant can now access Google’s Local Home SDK, which enables local command execution without having to funnel commands via the cloud.

The Local Home SDK, now available, allows developers to create and implement smart home actions that control such devices via the Google assistant independently of its cloud infrastructure in a welcome move by the company.

Normally, when partnered devices receive and execute an action these occur via the cloud. To reduce latency the SDK implements local execution by installing a Javascript application on devices. When a user asks a smart device to complete an action, such as turn the heating on, rather than reaching for the execute request from the cloud the assistant will complete it by sending the commands directly over the local network.

Google developer Dave Smith wrote that: “We’ve also improved the scan configurations in the Actions console based on your feedback. You can now enter multiple scan configurations for a given project, enabling your local fulfillment app to handle multiple device families that may be using different discovery protocols.”

Local Home SDK

Credit: Google

Local Home SDK Testing

Developers of smart home applications can use the Local Home SDK to quickly test code and applications by loading them into a Google Home or Nest device.

Here they can use the Google Chrome debugging console to test and then via testing software self-certificate the product.

A key advantage of using the Local Home SDK is that it provides additional smart home intents to the assistant load while also performing local discovery and identification of partnered devices. It does this by introducing two new intents ‘Identify’ and ‘Reachable_Devices’.

Google developer Dave Smith wrote: “The Local Home SDK v1.0 supports discovery of local devices over Wi-Fi using the mDNS, UDP, or UPnP protocols. Once a local path is established, apps can send commands to devices using TCP, UDP, or HTTP.”

Content from our partners
Sherif Tawfik: The Middle East and Africa are ready to lead on the climate
What to look for in a modern ERP system
How tech leaders can keep energy costs down and meet efficiency goals

If the device command is not executing over the local network then the system will use the cloud as backup for command execution.

See Also: Let Virtual Training Help Unblock Medical Graduate Bottleneck: Industry

Websites in our network
Select and enter your corporate email address Tech Monitor's research, insight and analysis examines the frontiers of digital transformation to help tech leaders navigate the future. Our Changelog newsletter delivers our best work to your inbox every week.
  • CIO
  • CTO
  • CISO
  • CSO
  • CFO
  • CDO
  • CEO
  • Architect Founder
  • MD
  • Director
  • Manager
  • Other
Visit our privacy policy for more information about our services, how New Statesman Media Group may use, process and share your personal data, including information on your rights in respect of your personal data and how you can unsubscribe from future marketing communications. Our services are intended for corporate subscribers and you warrant that the email address submitted is your corporate email address.
THANK YOU