基于wi-fi探针的检测_当Wi-Fi Cam检测到运动时如何自动打开灯

基于wi-fi探针的检测_当Wi-Fi Cam检测到运动时如何自动打开灯

基于wi-fi探针的检测

基于wi-fi探针的检测_当Wi-Fi Cam检测到运动时如何自动打开灯

If you have a Wi-Fi cam (like the Nest Cam) set up for security, it’s one thing to catch any perps on video. But it’s also a good idea to scare them away by having lights automatically turn on when any burglars are detected.

如果您设置了Wi-Fi摄像头(例如Nest Cam )以提高安全性,那么捕捉视频中的所有信息都是一回事。 但是,通过在检测到任何窃贼时自动打开灯来吓跑它们也是一个好主意。

Of course, you could use motion sensors connected to your smart lights, but if you don’t have those and already have a Wi-Fi cam set up, you can use that as your motion sensor of sorts—as long as you also have some smart lights (like Philips Hue, for instance).

当然,您可以使用连接到智能灯的运动传感器,但是如果您没有这些传感器,并且已经设置了Wi-Fi凸轮,则可以将其用作各种运动传感器-只要您还拥有一些智能灯(例如Philips Hue )。

To make this happen, we’ll be using a service called If This Then That (IFTTT), which uses “applets” to connect different products and services together in order to perform all sorts of automated tasks.

为了实现这一目标,我们将使用一项名为“ If This Then That (IFTTT)”的服务,该服务使用“ applets”将不同的产品和服务连接在一起,以执行各种自动化任务。

If you haven’t used IFTTT before, check out our guide to getting started for info on how to create an account and connect apps and services. Then, come back here to create the necessary recipe.

如果您以前从未使用过IFTTT, 请查看我们的入门指南,以获取有关如何创建帐户以及连接应用程序和服务的信息。 然后,回到这里创建必要的配方。

We’ll be using Philips Hue lights and a Nest Cam for this tutorial, but this can also be done for a handful of other products, as long as they’re supported by IFTTT.

在本教程中,我们将使用Philips Hue灯和Nest Cam,但是只要IFTTT支持这些产品,也可以对其他许多产品使用。

Start by heading to IFTTT’s home page and click “My Applets” at the top of the page after logging in.

首先登录IFTTT的主页 ,然后在登录后单击页面顶部的“我的小程序”。

基于wi-fi探针的检测_当Wi-Fi Cam检测到运动时如何自动打开灯

Next, click on “New Applet” off to the right.

接下来,单击右侧的“新小程序”。

基于wi-fi探针的检测_当Wi-Fi Cam检测到运动时如何自动打开灯

Click on “This” highlighted in blue.

单击以蓝色突出显示的“此”。

基于wi-fi探针的检测_当Wi-Fi Cam检测到运动时如何自动打开灯

Type in “Nest Cam” in the search box or scroll down and find it in the list of products and services below that. Click on it when you locate it.

在搜索框中输入“嵌套摄像头”,或向下滚动并在其下方的产品和服务列表中找到它。 找到它后,单击它。

基于wi-fi探针的检测_当Wi-Fi Cam检测到运动时如何自动打开灯

Connect your Nest Cam to IFTTT if it isn’t already.

如果尚未将Nest Cam连接到IFTTT,则将其连接。

基于wi-fi探针的检测_当Wi-Fi Cam检测到运动时如何自动打开灯

After that, select “New motion event” as the trigger. You can also choose “New sound or motion event” to include when sound is detected as well.

之后,选择“ New motion event”作为触发。 您还可以选择“新声音或运动事件”以在检测到声音时包括在内。

基于wi-fi探针的检测_当Wi-Fi Cam检测到运动时如何自动打开灯

Select which Nest Cam you want to apply this applet to. If you only have one Nest Cam, it will be selected by default. Hit “Create trigger”.

选择要将此小程序应用到的Nest Cam。 如果只有一个Nest Cam,则默认情况下会选中它。 点击“创建触发器”。

基于wi-fi探针的检测_当Wi-Fi Cam检测到运动时如何自动打开灯

Next, click on “That” highlighted in blue.

接下来,单击以蓝色突出显示的“ That”。

基于wi-fi探针的检测_当Wi-Fi Cam检测到运动时如何自动打开灯

Type in “Philips Hue” in the search box or scroll down and find it in the list of products and services below that. Click on it when you locate it.

在搜索框中输入“ Philips Hue”,或向下滚动并在其下方的产品和服务列表中找到它。 找到它后,单击它。

基于wi-fi探针的检测_当Wi-Fi Cam检测到运动时如何自动打开灯

Just like with the Nest Cam, connect your Philips Hue to IFTTT if it isn’t already, and then select the “Turn on lights” action on the next screen.

就像使用Nest Cam一样,将飞利浦Hue连接到IFTTT(如果尚未安装),然后在下一个屏幕上选择“打开灯”操作。

基于wi-fi探针的检测_当Wi-Fi Cam检测到运动时如何自动打开灯

Click on the dropdown menu and choose which lights you want to have turned on when your Nest Cam detects motion. You can either select a single bulb or a room.

单击下拉菜单,然后选择当Nest Cam检测到运动时要打开的灯。 您可以选择一个灯泡或一个房间。

基于wi-fi探针的检测_当Wi-Fi Cam检测到运动时如何自动打开灯

Review the applet and give it a custom name if you wish. Then click “Finish” at the bottom.

查看小程序,并根据需要为其指定一个自定义名称。 然后单击底部的“完成”。

基于wi-fi探针的检测_当Wi-Fi Cam检测到运动时如何自动打开灯

Your new applet will now appear in your list of other applets that you have installed and will automatically be enabled. From now on, whenever your Nest Cam detects motion, your Hue lights will turn on.

现在,新的小程序将出现在已安装的其他小程序列表中,并将自动启用。 从现在开始,只要您的Nest Cam检测到运动,您的Hue灯就会打开。

Unfortunately, one big caveat is that once your lights turn on due to Nest Cam motion, they won’t automatically turn off after a certain amount of time, so you may want to set up a timed schedule for your lights so that they don’t stay on for longer than a few hours.

不幸的是,一个很大的警告是,由于Nest Cam运动导致您的灯打开后,在一定时间后它们不会自动关闭,因此您可能需要为灯设置一个定时的时间表 ,以便它们不会不能停留超过几个小时。

翻译自: https://www.howtogeek.com/293780/how-to-automatically-turn-on-lights-when-your-wi-fi-cam-detects-motion/

基于wi-fi探针的检测