I have an application that receives and run correctly the SYNC, QUERY, EXECUTE sent by Google Actions.
I too configured Report State in HomeGraph console. It works fine, but when I send a change report command to HomeGraph and it's accepted, nothing is updated in the Google home app, is this right? is the correct behavior?
I forget to do something else?
My sync response sends the device with willRportSate: true
tks in advance
答案 0 :(得分:1)
如果您从报告状态命令获得HTTP 200响应,则说明您做得正确。
答案 1 :(得分:1)
我最近对自己的操作实施了 HomeGraph 。我发现,如果请求有问题,Google会以不同状态代码的JSON形式返回一些错误。
但是如上所述,如果您获得200 OK
,那么从您的角度来看一切都很好。对于我的请求,我得到的回复是uuid
,其中包含状态代码200 OK
。