[英]iot-smart-home-cloud (gcp project) registered devices not appear in the fluter app and in Angular/web
我在 github 上打开了这个问题 10 天: https : //github.com/GoogleCloudPlatform/iot-smart-home-cloud/issues/20
我可以看到在 firestore 中注册的设备(看下面的照片),但它们没有出现在移动屏幕或 Angular/Web 应用程序中。 在后一种情况下,设备已在 GCP/Cloud Iot Core Api/PubSub 中正确注册。
我已经使用下面的教程注册了 1 个设备,它也没有出现http://nilhcem.com/iot/cloud-iot-core-with-the-esp32-and-arduino
怎么解决?
尽管屏幕截图中的错误消息提到了身份验证问题,但真正的错误消息是“找不到设备”。
问题是代码正在寻找由于注册表名称不匹配而不存在的特定注册表设备。
作为参考, 快速入门的第3步中提到了firebase中iot设置的配置:
将您的 Cloud IoT Core 项目信息添加为 Firebase 配置环境变量:
$ firebase functions:config:set \\ cloudiot.region=$REGION \\ cloudiot.registry=$REGISTRY
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.