I am playing around with the nodejs packages googleapis
and actions-on-google
.
I am stuck reporting the state, which changed without googles note, so that google keeps in sync!
Sadly this does not work. I am using this method: homegraph.devices.reportStateAndNotification()
.
described here: https://developers.google.com/assistant/smarthome/reference/rest/v1/devices/reportStateAndNotification
The call is fine, I am getting a correct answer and everythign seems fine. Except that my google home app does not update the state.
I have another thirdparty-device which has a button to toggle the state, this works fine. So the app has no bug, it must be on my side..
I am wondering if this "feature" does only work in production and not during the test phase?
test suite says its fine too:
We found it, see this issue-tracker too:
https://issuetracker.google.com/issues/238499831#comment16
Google Home App does ONLY use the home-graph for devices that are associated with your home "directly".
It is not enough to just have them in the bottom of your app in the section "other devices connected with your account" ..
You NEED to add them properly..