使用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?

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

问题描述

我正尝试使用Weave将我的raspberri pi与Google IoT Cloud解决方案连接起来。我已经使用AWS和IBM Bluemix完成了它,但是找不到使用Google Cloud执行相同操作的方法。根据他们的文档,似乎有些关系已被弃用或未被更新。
此外,它们是用C语言编写的,我不是一个C语言家伙。我将Python用于IBM Bluemix和AWS,以将我的Pi连接到IoT,然后使用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编织入门

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

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

make -C examples/host/light

它在日志中显示消息如

it showed in logs the message like

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

不会作为位置执行

is not executed as the location

 /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的工业应用专注话题

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

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