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
1
vote
1 answer

OAuth2 server [Node.JS]

Which library can I use to implement OAuth2 authorization and refresh token in NodeJS for Google Smart Home Action? I tried using passport-oauth2 and passport-google-oauth20 but cant get my desired results
1
vote
1 answer

Google Home report state request is working but not showing expected result?

I'm integrating google assistant with my application. The problem is when I send a report state request to assistant while inside a device screen in google home application, I get a 200 OK response with the requestId I'm sending, but the device…
Poorna
  • 72
  • 8
1
vote
1 answer

Actions on Google Request Sync returns http error 500

When I make the request sync of one agentUserId, it returns me the http error 500, but I don't know why. I have also figured out that I can't execute any request from the Google Home app, but if I change email connected with that agentUserId the…
1
vote
1 answer

Google Assistant Smart Home : agentUserId definition may be incorrect

As per Google Assistant documentation for Smart Home, the agentUserId used in action.devices.QUERY is defined to 'Reflects the unique (and immutable) user ID on the agent's platform. The string is opaque to Google, so if there's an immutable form vs…
Zac
  • 162
  • 2
  • 10
1
vote
1 answer

Google Smart Home - Report State Real Time UI update

I have a question regarding report state and live updating in the app. When I report a state from my server I expect to see changes in my thermostat without going to the main screen of the app and back into the thermostat. Now I have read many…
ph2355
  • 13
  • 3
1
vote
2 answers

How to respond to a QUERY intent for devices with a genuinely unknown state (willReportState = false, commandOnly... = true insufficient)?

Problem The documentation doesn't appear to cover how to respond to a QUERY request when you genuinely do not know the state of a given device. Even though I say that willReportState is false for every device and include various commandOnly…
Adam Hill
  • 88
  • 1
  • 1
  • 8
1
vote
1 answer

Can't get user's information after account linking by Auth0

I follow this site to build account linking.I can get access token by const getEmail = async (headers) => { const accessToken = headers.authorization.substr(7); const {email} = await auth0.getProfile(accessToken); console.log('email',email); …
Xiaorenren
  • 11
  • 2
1
vote
1 answer

What is the best UX of account linking in Google Home App

I'm developing my smart home device. For now, it doesn't have a native app but only a web client. My home-actions work well, but I'm worried about the complexity of adding a new device in the google home app. According to add new device user have…
1
vote
2 answers

How to get Access token from Google Smart Home Action?

I'm using the Google Smart Home action and my skill is successfully linked. Getting a below SYNC intent. { "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf", "inputs": [{ "intent": "action.devices.SYNC" }] } But not getting the…
1
vote
1 answer

Integrating Homegraph api to my smarthome

I am currently creating a smarthome automation. I am using Laravel PHP in my cloud. I am done with Oauth2 Authentication and sending commands from Google Home App to my devices (I used MQTT to communicate with my devices). I have already implemented…
P7rck
  • 116
  • 1
  • 5
1
vote
1 answer

Empty request from Google Smart Home SDK

I'm creating web server to connect my DIY smart home devices to Google Home app. After authorisation and token request Google server makes POST request to fullfillment URL, but request is empty for some reason. According to documentation, it must be…
1
vote
1 answer

google smart home actions with lambda function

I want to implement google smart home actions with lambda functions? I use below example to implement https://codelabs.developers.google.com/codelabs/smarthome-washer/#0 I can run this sample with Firebase function, but now I want to implement with…
1
vote
1 answer

does reportStateAndNotification support multiple device state reporting?

I am trying to report the status of a couple of devices via API and I am getting this error Request payload: { "requestId":"3310672920401175639", "agentUserId":"5d8f3dd42ce05140dc1c6a20", "payload":{ "devices":{ …
kakopappa
  • 5,023
  • 5
  • 54
  • 73
1
vote
1 answer

google nest hub can't play hls

My Question is I push HLS steram to gnh(google nest hub) by action.devices.commands.GetCameraStream response format.gnh do nothing but show loading UI some seconds. It's somthing wrong with my HLS file? How to get log from gnh to help me debug? As…
fanjun mo
  • 11
  • 2
1
vote
1 answer

Is it possible to send a deferred response for action.devices.EXECUTE

I just wanted to know whether it's possible to send a deferred response to action.devices.EXECUTE intent. When the server receives this intent, Send the response back as "PENDING" Send this command to IoT module. Wait for a response from IoT…
kakopappa
  • 5,023
  • 5
  • 54
  • 73