简体   繁体   English

Google Actions智能家居模拟器未检测到我的操作

[英]Google Actions Smart Home Simulator Not detecting My Action

I am trying to test a very basic home automation action. 我正在尝试测试一个非常基本的家庭自动化操作。 I have followed all the tutorials etc. 我遵循了所有教程等。

  1. Setup OAuth Server 设置OAuth服务器
  2. Create Action Name 创建动作名称
  3. Set smart home action url 设置智能家居操作网址
  4. Setup account Linking 设置帐户链接
  5. Test action in simulator 在模拟器中测试动作

However I am stuck with testing the action in the simulator. 但是,我坚持在模拟器中测试动作。 I named my action Testing . 我将动作Testing命名为。

When I got to simulator, it suggests that I say, "Talk to Testing". 当我进入模拟器时,它暗示我说“与测试对话”。 When I do that. 当我这样做时。 It just says We're sorry, but something went wrong. Please try again. 它只是说We're sorry, but something went wrong. Please try again. We're sorry, but something went wrong. Please try again.

在此处输入图片说明

How do I know whats wrong. 我怎么知道怎么了。 I was watching my oAuth Server and no http requests where even made to it. 我当时在看我的oAuth服务器,甚至没有http请求。 So its not even trying to authenticate. 因此,它甚至没有尝试进行身份验证。

When you build a smart home action, it's not conversational. 构建智能家居操作时,它不是对话式的。 Doing "Talk to Testing" would not work as that query does not fit within the standard types of queries that can be made to a smart home action. 执行“与测试对话”将不起作用,因为该查询不适合可以对智能家居操作执行的标准查询类型。

To use the simulator for smart home actions, you need to follow the testing guide . 要将模拟器用于智能家居操作,您需要遵循测试指南

  • Enable testing for the action 启用动作测试
  • Go to the Google Assistant settings on your phone to do account linking 转到手机上的Google助手设置以进行帐户关联
  • After this happens, you can send smart home commands directly through the simulator (not conversational), ie. 在这种情况发生之后,您可以直接通过模拟器(而不是对话方式)发送智能家居命令。 "turn on my light" “打开我的灯”

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

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