I'm trying to voice control my smart TV via Google Nest device. I have made a local fulfillment app and uploaded two bundles both node and web to the action console. When I tried to debug through the chrome://inspect, the web version failed to connect to the TV after a successful discovery. When I tried to run node bundle-node.js
in terminal, it threw ReferenceError: smarthome is not defined
.
So I am wondering how Google Nest device utilize those two bundles? Which version gets to serve in the Google Nest device? I assume the node version gets to serve, while the web version is for debugging. If my assumption holds, how does the dependency to smarthome
get resolved in the node env? thanks for any help.
Check out the test and debug section of the Local Fulfillment Guide as a starting point. A couple highlights based on your question:
chrome://inspect
.web
bundle when testing your integration today. This is the version that will be run on Home speakers and Nest displays.