Questions tagged [google-smart-home]

Smart home Actions connect IoT devices to the Google Assistant through the Actions on Google platform. Use this tag for questions related to smart home integrations, account linking, Local Home SDK, and the Home Graph API.

Learn more about the building smart home Actions for the Google Assistant:

420 questions
0
votes
1 answer

Google Smarthome Action account linking missing user information

my code is based on this example https://codelabs.developers.google.com/codelabs/smarthome-washer The OAuth process is working. But now I want to know who is the…
0
votes
1 answer

Google Home Report State for LIGHT issue

When I send the reportState I am getting this error: {"error": { "code": 400, "message": "Request contains an invalid argument.", "status": "INVALID_ARGUMENT"}} For the following request: { …
kakopappa
  • 5,023
  • 5
  • 54
  • 73
0
votes
1 answer

Google Assistant Action - Implicit Invocation Experience

I am currently developing a Google Assistant Action. I understand Implicit Invocation as Google describes it and from my experience testing my own app, I very much understand that it works as they describe. Here's what that flow looks like: User:…
0
votes
2 answers

Why does Request Sync on HomeGraph API return 403 Forbidden?

Problem When I call "Request Sync" on the Google HomeGraph API I receive a "403 Forbidden" response. Background I'm writing a Smart Home Action, and have successfully implemented SYNC, QUERY and EXECUTE. Testing on my mobile I can see and interact…
0
votes
2 answers

Standards for smart homes and things

What are the standards or protocols for communicating smart home elements? If I release my smart light bulb, what standards should I follow in order for it to work with Google Home, Xiaomi Mi Home, Amazon Alexa, etc.?
0
votes
1 answer

Can't get oauth token from google smart home action sync intent in aws lambda

I am using aws lambda function for google smart home action. I used aws api gateway for fulfillment url to reach lambda. I can successfully handle google assistant's intents with below code:- const {smarthome} = require('actions-on-google'); const…
0
votes
1 answer

google smart home trait-Fanspeed- speed_synonym doesn't work

I tried to use example code from codelab and modified device type for pratice. When I tried to add a Fan device to google smart home app,I got an error response. Ex: (ask:Set the fan to speed low) (response:OK,descreasing Fan speed to…
Xiaorenren
  • 11
  • 2
0
votes
1 answer

How to link google home graph concept in Firebase (realtime database)

In google smart home app, you can assign a device to a place, for example - bedroom (could this be home graph concept?). How can I identify my device's place in my database (Firebase)?
Xiaorenren
  • 11
  • 2
0
votes
2 answers

token exchange endpoint not called after authorization endpoint redirect

I have created my first Google Smart Home project and implemented the two endpoints for account linking. The authorization endpoint is called and my code respond by redirecting (302) to the redirect_uri providing an authorization code, however the…
Alex
  • 3
  • 1
0
votes
1 answer

CameraStream Actions on Google

I am trying to integrate camera to my smarthome with google assistant. I followed CameraStream in actions on google. i have synced my camera and tried execute and responding with an URL(cameraStreamAccessUrl). Command: "show camera" google home…
P7rck
  • 116
  • 1
  • 5
0
votes
1 answer

Do not see onQuery callback triggered in NodeJS actions-on-google

Overview I am using the Node.js library actions-on-google client to build a smarthome action for the Garage Door device type. This action is deployed as a Cloud Function in GCP. I can confirm that the following works perfectly so far: Accounting…
0
votes
1 answer

Smart Home TemperatureSetting reading(celsius) custom range

I am using action.devices.types.THERMOSTAT with action.devices.traits.TemperatureSetting, i want to set custom range for Celsius from 16 to 28 is it possible ? i have tried using bufferRangeCelsius attribute but it did not produced any effect on…
0
votes
1 answer

I can use SSML in the device_traits?

I want to know that SSML can be used with "name_synonym" of action.devices.Toggle or action.devices.traits.Mode. https://developers.google.com/assistant/smarthome/traits/modes { "availableModes": [{ "name": "load", "name_values": [{ …
pcc10
  • 3
  • 1
0
votes
1 answer

How can I invoke 'Vacuum the Kitchen' in google smart home?

What traits should I use if I want a Vacuum cleaner to clean specific room? I've tried using Modes trait with action.devices.types.VACUUM, e.g.: "attributes": { "availableModes": [ { "name": "room", "name_values": [ { …
gerasalus
  • 7,538
  • 6
  • 44
  • 66
0
votes
1 answer

Receiving a TypeError for UDP scan data

Using the Local Home SDK developer preview for Google Assistant, I'm receiving a TypeError from my application during IDENTIFY that was previously working correctly. The error is claiming that UdpScanData is not a valid string when I try to decode…
devunwired
  • 62,780
  • 12
  • 127
  • 139