Can I initiate an action on Google Home from another application without a voice command?

不羁岁月 提交于 2019-12-11 02:07:24

问题


I'm not sure if this is already possible. Can I have another application initiate an action to Google Home instead of having a person initiating by talking to it? For example: I wanted to have Smartthings IFTTT asking Google Home to play something. A couple cases below:

CASE 1: If I'm home and alarm armed and front door open then Smartthings will call Google Home for it to say: Front Door Opened

CASE 2: When the presence sensor detects I arrive Google Home greets me and ask if I would like to play anything.


回答1:


Unfortunately not. Right now, Google Home doesn't have notifications or asynchronous messaging. And while it is useful in several cases, it is also very likely that there would be a lot of over-use of the notification system which would reduce its usability.




回答2:


You can get the device talking via google cast, but only within your home network. If you want to trigger it from the outside you will need to poke a hole into your firewall or use ngrok or the bst proxy and setup a "listener" that takes the event and sends a text to the device.



来源:https://stackoverflow.com/questions/41338816/can-i-initiate-an-action-on-google-home-from-another-application-without-a-voice

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!