IoT using Google Cloud Service IoT 解决方案 (Weave):如何连接 Raspberry Pi 并点亮 LED? [英] IoT using Google Cloud Service IoT solutions (Weave): How to connect Raspberry Pi and lighting the LED?

查看:25
本文介绍了IoT using Google Cloud Service IoT 解决方案 (Weave):如何连接 Raspberry Pi 并点亮 LED?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 Wea​​ve 将我的 raspberri pi 与 Google IoT Cloud 解决方案连接起来.我已经使用 AWS 和 IBM Bluemix 完成了它,但找不到使用 Google Cloud 执行相同操作的方法.根据他们的文档,似乎某些 fies 已被弃用或未更新.此外,它们是用 C 语言编写的,我不是一个 C 人.我在 IBM Bluemix 和 AWS 上使用 Python 将我的 Pi 连接到物联网,然后使用 MQTT 网关建立订阅者和交换消息.任何人都可以就此提出任何建议吗?

I am trying to connect my raspberri pi with Google IoT Cloud solutions using Weave. I have done it already using AWS and IBM Bluemix, but could not find a way to do the same using Google Cloud. As per their documentation, it seems that some of the fies have been deprecated or not been updated. Moreover, they have been written in C language and I am not much of a C guy. I used Python for both the IBM Bluemix and AWS to connect my Pi to IoT and then establish the subscriber and exchange messages using MQTT gateway. Can anyone suggest anything regarding this?

Google Weave 入门

更具体地说,我在安装以下步骤时在错误日志中看到的某些软件包:

To be more specific, certain packages which I saw in error logs while installing the below step:

make -C examples/host/light

它在日志中显示了像

could not find lldap
could not find llssh2

即使在我的开发者机器上安装它们之后.

Even after installing them in my developer machine.

由于上面的错误,下面的命令

Due to error above, the below command

./out/host/examples/light/light

未作为位置执行

 /out/host/examples/light/light

不是由上述 make 命令创建的.对此有什么建议吗?

is not created by the above make command. Any suggestions for this?

推荐答案

您可能想尝试使用新的 Google Cloud IoT Core 产品而不是 Weave - 完全公开,我致力于它.它目前处于公开测试版 和启用您尝试解决的场景.您应该能够使用 MQTT 与您的设备进行通信.

You might want to try instead to use the new Google Cloud IoT Core product instead of Weave - full disclosure, I worked on it. It's currently in public beta and enables the scenarios you're trying to address. You should be able to use MQTT to communicate to/from your device.

YouTube 上有一个 该平台的高级概述以及 来自 Google I/O 的工业应用演讲.

There's a high-level overview of the platform on YouTube as well as an industrial applications focused talk from Google I/O.

这篇关于IoT using Google Cloud Service IoT 解决方案 (Weave):如何连接 Raspberry Pi 并点亮 LED?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆