Nest Thermostat阻止错误9999

时间:2016-02-17 16:03:43

标签: ios firebase

我有一个使用Nest Thermostat的iOS应用程序。具体来说,我想设置离开/归位状态,然后在其上设置目标温度。

它首先工作,但在调用Nest API之后,我收到此错误:

Error: Error Domain=com.firebase Code=9999 "{"error":"blocked","type":"https://developer.nest.com/documentation/cloud/error-messages#blocked","message":"blocked","instance":"cb7307d1-4fdc-4caf-9f80-f9ad57764dd8"}" UserInfo={NSLocalizedDescription={"error":"blocked","type":"https://developer.nest.com/documentation/cloud/error-messages#blocked","message":"blocked","instance":"cb7307d1-4fdc-4caf-9f80-f9ad57764dd8"}}

模拟器和实际设备都会发生这种情况。

我基于Developers Nest网站提供的示例代码。它使用Firebase API连接到NEST。我在验证过程中看到this帖子有同样的问题,但我在尝试唤醒它时遇到了这个问题。大约需要20分钟才能再次使用。

当我不需要连接时,我也尝试调用[Firebase goOffline],而当我这样做时,我也尝试[Firebase goOnline],但它似乎没用。

你知道应该如何处理它,以及如何解锁巢穴?

0 个答案:

没有答案
相关问题