Google Services
Bring Google Text-to-Speech, translation, YouTube search and route information into your Homey Flows.
Install Google Services · User manual · Source code
New to Google Services, or looking for help with a feature? Start with the official user manual.
What can you do with Google Services?
Text-to-Speech and speaker announcements
Use basic Google TTS without a Google Cloud account, or use Google Cloud Text-to-Speech for a wide choice of voices and SSML. Choose and preview Cloud voices for a device, and adjust speech settings such as speed, pitch and volume in supported Flow cards.
Generate an audio URL for a compatible player, or announce text directly on compatible Google Cast, Sonos or UPnP/DLNA speakers. Choose individual speakers, create reusable speaker groups, or select All speakers. You can also exclude TVs, and optionally TV speakers, from announcements.
Set a default speaker for a device, and adjust or cap the volume for each speaker in a saved group. Choose how Sonos announcements play:
- Play Separately sends a native announcement to each selected room. It can start quickly and play over your current audio. Other rooms in the same Sonos group are not targeted, and the group stays as it is. Sonos manages the background audio level; the optional speaker-volume setting controls the announcement volume. Selected rooms may not start at exactly the same time.
- Play in Sync plays the announcement across compatible selected rooms together, then restores their original groups and playback where supported.
Announcement Flows can continue when playback starts or wait until the speakers have finished.
Speaker lists in Pair, Repair and Saved groups load promptly and refresh in the background. You can also request a fresh speaker scan.
Google Translate
Translate text with a Flow card or a Google Translate device, then use the original text and translation in your automations. You can also translate and announce text directly on a compatible speaker.
YouTube
Search YouTube from a Flow and use the returned video ID or link with another Flow card or player.
Google Maps
Save routes on Maps devices or calculate a one-off route in Advanced Flow. Get travel time, distance and estimated arrival for driving, public transit, walking or cycling. Refresh saved routes when you need an update. Maps can use Homey’s location for either route endpoint and show estimated traffic delays for driving when Google provides the required estimates. Route images and address suggestions are available when configured.
Set an Arrive by time and optional Departure buffer to see a Leave by time based on the latest route estimate.
Getting started
You only need to configure the services you plan to use:
- Create a Google Cloud project for the Google Cloud services you plan to use.
- For Cloud Text-to-Speech and Translate, enable the relevant APIs, create a service account, and enter its JSON key and project ID in Google Services settings.
- For YouTube, enable YouTube Data API v3 and enter an API key.
- For Google Maps, use a separate Maps API key and enable Routes API for routes. Maps Static API is optional for route images; Places API (New) is optional for address suggestions.
- Enter credentials only for the services you use. Treat service-account JSON keys and API keys like passwords, and never post them in the forum.
App settings provide test buttons for Cloud Text-to-Speech, Translate, YouTube and Maps. Maps tests can check Routes and the optional address-suggestion and image features separately. Test requests may count toward your Google usage.
Some APIs require a billing account to be linked. Linking a billing account does not itself mean you will be charged. Typical personal and home use is often free because Google provides free allowances or quotas, though the allowance depends on the service and usage. Charges may apply when usage exceeds an applicable allowance. Check Google’s current Text-to-Speech pricing, Translate pricing and Maps pricing, and monitor usage in the Cloud Console.
Some text fields support Better Logic Library (BLL) coding. BLL coding is available only in supported fields, including speech, translation, YouTube searches and manually entered one-off Maps endpoints. See the Better Logic Library user topic and the Better Logic Library app settings for instructions.
Questions and support
Questions and examples are welcome in this topic. Please report bugs or submit feature requests through GitHub Issues.
Apps
Support development
Enjoying Google Services? Donations and sponsorship help support continued development. Thank you!






