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

Use gaction to change a Smarthome Action fulfilment URL

I want to be able to update/change the fulfilment URL of a Smart Home action using the gactions cli tool. Is this possible?
0
votes
2 answers

Report state for google home action

I am working on report state. I'm using java as my server language. I am able to successfully authenticate user. My smart switch has on/off trait. All things are working fine except report state. Which I am not clear about. As new to node.js and …
iSukhi
  • 25
  • 1
  • 10
0
votes
1 answer

How to fetch access token from OAuth used in google action for smart home

For my smart home action I used fake auth as shown in codelab- smartwasher application. (For testing purpose ). The app is working fine. I have build my own code to work with my devices(Switches). Now When I am implementing OAuth which uses my own…
iSukhi
  • 25
  • 1
  • 10
0
votes
1 answer

how to make async call using request-promise in google home action

I am trying to call a API in onSync() and return payload so that I will get number of devices. Even the api is returning me the proper data I am unable to show the devices. Following is the code snippet. app.onSync((body) => { // TODO: Implement…
iSukhi
  • 25
  • 1
  • 10
0
votes
1 answer

How to write a response message when first command succeeded and second command failed on same EXECUTE intent

I cannot understand how to write a response like following situation. Precondition AC_UNIT supports TEMPERATURE_SETTING traits. AC_UNIT's availableThermostatMode is "off,on,heat,cool" AC_UNIT's current mode is cool. When I do a "Set the heat to…
sh_rh
  • 3
  • 1
0
votes
1 answer

Google Smart Home custom devices and sensors

Is there any way to use the Google Smart Home actions platform for custom devices that are not supported like let's say a motion sensor? If not is there any way we can create custom actions and make it work together with Smart Home platform?
0
votes
1 answer

Report state failed for spectrum hsv in smart home action google

I'm sending report state for my sample smart light. I'm using python as my server language. I'm can successfully authenticate my user with google. My smart light has the following traits ColorSpectrum (HSV), brightness, on/off. But when I send the…
sky9971
  • 3
  • 7
0
votes
1 answer

Google smart home "sync" intent through user invocation

Is it possible to have user send the sync request intent through invocation when a new device is added to the system or "requestSync" is the only way to proceed?
priya
  • 5
  • 1
0
votes
1 answer

Custom MP3 response to voice command

I would like my Google Home to respond with a sound byte (mp3) to commands such as "Turn off Living Room Lights". Anyone know how I accomplish this?
0
votes
1 answer

Error when `firebase deploy`ing Google Smart Home codelab action

I was trying to follow https://codelabs.developers.google.com/codelabs/smarthome-washer/#2 But I got stuck on firebase deploy on step 3. First error: Error: package.json in functions directory has an engines field which is unsupported. The only…
0
votes
1 answer

actions-on-google/smart-home-nodejs where is the "home control"

This step, I can't find the "Home Control" in the "Google Assistant" app, The deivce mean a Phone?, block in this step. Thank you for any help. Setup Account linking 1.On a device with the Google Assistant logged into the same account used to create…
nosix
  • 1
0
votes
1 answer

Google Smart home report state error 403

I'm reporting states for devices using http post with a jwt generated using service account. Below is the payload for jwt { "iss": "", "scope": "https://www.googleapis.com/auth/homegraph", "aud":…
0
votes
1 answer

acions on google smart home app not calling fullfilment

I am trying to make an actions on google smart home app. I have implemented my oAuth2.0 server which seems to work fine. It generates an authorization token and sends it to Google with the state parameter provided by Google. However, when I try to…
Muaaz Kasker
  • 87
  • 2
  • 9
0
votes
1 answer

import file in gRPC java project

I am trying to Implement Report State with gRPC for the Smart Home module on the Actions on Google. But I can not do all imports for my *.proto file (as official documentation said): https://developers.google.com/actions/smarthome/report-state What…
0
votes
1 answer

Is there a way to make sure that the google-smart-home webhook request is from Google other than validating Authorization header?

I'm developing a google-smart-home action. I want to authenticate requests by API Key. So... Is there a way to add my original header value to HTTPS request from Google-Smart-Home? If there is no way... Is there a way to make sure that the…
sudow
  • 3
  • 3