简体   繁体   English

报告 State 请求后,Google Smart Home App 不会实时更新设备的 state。 这是预期的吗?

[英]Google Smart Home App doesn't update the state of the device in the real time after Report State request. Is that expected?

There is similar question , but it doesn't answer my question - does Google Home App supports real time updates from the Report State requests?有类似的问题,但它没有回答我的问题 - Google Home 应用程序是否支持报告 State请求的实时更新?

I searched everywhere and didn't find the answer.我到处搜索,没有找到答案。 Neither documentation or app says anything about that.文档或应用程序都没有说明这一点。 My requests are accepted by home graph API, but state of the device in the app not updated in the real time.我的请求被主图 API 接受,但应用程序中设备的 state 没有实时更新。

At the moment the Google Home app does not update the state in realtime.目前,Google Home 应用程序不会实时更新 state。 If you close and open the app, you should see the state change.如果您关闭并打开应用程序,您应该会看到 state 发生变化。

If you call the Report State API and get a 200 response code, then you've done it right.如果您调用报告 State API 并获得200响应代码,那么您做对了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM