當檢測到運動時如何自動打開門燈

IMG_2947_stomped

If it’s dark out and someone comes to your door, you probably can’t see them unless your porch light is on. Furthermore, if a potential burglar approaches your front door, a motion light can help scare them away.

如果天黑了,有人進了您的門,除非您的門廊燈開著,否則您可能看不到他們。 此外,如果一個潛在的盜賊接近您的前門,那么運動燈可以幫助將它們嚇跑。

There are a handful of ways you can implement a motion-sensing front porch light. The cheapest way is to get one of those motion-sensing light socket adapters. However, they likely won’t even work in most porch light fixtures. If that’s the case, then you can completely upgrade the light fixture itself and get one that has built-in motion sensing capabilities.

您可以通過多種方法來實現運動感應前廊燈。 最便宜的方法是獲得這些運動感應燈插座適配器之一。 但是,它們甚至可能無法在大多數門廊燈具中使用。 如果是這種情況,則可以完全升級燈具本身,并獲得具有內置運動感應功能的燈具。

If you already have a few?smarthome devices, though, making a motion-sensing setup is very easy. You could do this with a Nest Cam, Ring Doorbell, SkyBell HD, or even a motion sensor (basically anything that can sense motion), along with smart light bulbs like Philips Hue, Belkin WeMo, GE Link, Osram Lightify and more. The easiest solution would probably be to get a Hue Motion Sensor if you use Hue lights, as the setup is really easy and gives you a lot of control over what your lights do when they detect motion.

但是,如果您已經有一些智能家居設備,則進行運動感應設置非常容易。 您可以使用Nest Cam,Ring Doorbell,SkyBell HD甚至是運動傳感器(基本上可以感應運動的任何東西),以及飛利浦Hue,Belkin WeMo,GE Link,Osram Lightify等智能燈泡來實現。 如果您使用色相燈,最簡單的解決方案可能是獲得色相運動傳感器,因為該設置非常簡單,并且可以在您的燈檢測到運動時對其進行很多控制。

However, if you already have the necessary smarthome products, you can just go ahead and use those. For this tutorial, we’ll be using the Ring Doorbell as the motion sensor and a Philips Hue light bulb for our porch light, but if you have anything else, the tutorial will be easy to follow and tweak.

但是,如果您已經擁有必要的智能家居產品,則可以繼續使用它們。 對于本教程,我們將使用環形門鈴作為運動傳感器,并使用飛利浦Hue燈泡作為門廊燈,但是,如果您還有其他內容,則該教程將易于遵循和調整。

To do this, we’ll be using IFTTT,?which allows users to connect all sorts of products and services together that you normally wouldn’t be able to connect otherwise, which will likely be the case if you want one smarthome product to trigger another smarthome product.?If you haven’t used IFTTT before, check out our guide to getting started for info on how to create an account, connect apps, and build recipes.

為此,我們將使用IFTTT ,它使用戶可以將通常無法連接的各種產品和服務連接在一起,如果您希望一種智能家居產品觸發另一種智能家居產品,則可能會出現這種情況。智能家居產品。 如果您以前從未使用過IFTTT,請查看我們的入門指南,以獲取有關如何創建帳戶,連接應用程序和構建配方的信息。

For your convenience, we’ve already created the necessary recipe in its entirety and embedded it below, so if you’re already an expert with IFTTT, just click the?“Add” button.?You’ll need to connect the Philips Hue channel and the Ring channel if they aren’t already.

為了方便起見,我們已經完整創建了必要的食譜并將其嵌入下面,因此,如果您已經是IFTTT的專家,只需單擊“添加”按鈕。 如果尚未連接Philips Hue頻道和Ring頻道,則需要將它們連接起來。

IFTTT Recipe: If motion is detected, turn on porch light connects ring to philips-hue

If you want to customize the recipe (which you’ll likely want to do if you want to use other devices besides Philips Hue or the Ring Doorbell), here’s how we created it. Start by heading to IFTTT’s home page and click “My Recipes” at the top of the page. Make sure you’re logged in.

如果您想自定義食譜(如果您想使用Philips Hue或Ring Doorbell以外的其他設備,則可能要這樣做),這就是我們創建食譜的方式。 首先前往IFTTT的主頁,然后單擊頁面頂部的“我的食譜”。 確保您已登錄。

ifttt-7_stomped

Next, click on “Create a Recipe”.

接下來,點擊“創建食譜”。

ifttt-8_stomped

Click on “this” highlighted in blue.

單擊以藍色突出顯示的“此”。

ifttt-9_stomped

Type “Ring” in the search box or find it in the grid of products and services below that. Click on it when you find it.

在搜索框中輸入“環”,或在其下方的產品和服務網格中找到它。 找到它后單擊它。

Screen_Shot_2016-07-25_at_10_52_09_AM_stomped

Next, on the “Choose a Trigger” screen, click on “New Motion Detected”.

接下來,在“選擇觸發器”屏幕上,單擊“檢測到新動作”。

Screen_Shot_2016-07-28_at_11_41_14_AM_stomped

Click on the drop-down menu and select your Ring Doorbell from the list (there will likely only be one to choose from anyway). Click on “Create Trigger”.

單擊下拉菜單,然后從列表中選擇“環形門鈴”(無論如何,只有一個可供選擇)。 點擊“創建觸發器”。

Screen Shot 2016-07-25 at 10.54.45 AM_stomped

Next, click on “that” highlighted in blue.

接下來,單擊以藍色突出顯示的“那個”。

Screen Shot 2016-07-28 at 11.42.27 AM_stomped

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

在搜索框中輸入“ Philips Hue”,或在其下方的產品和服務網格中找到它。 找到它后單擊它。

Screen_Shot_2016-07-25_at_10_55_43_AM_stomped

Now you’ll choose what your porch light will do whenever motion is detected. In this case, click on “Turn on lights”.

現在,您將選擇每當檢測到運動時您的門廊燈將做什么。 在這種情況下,單擊“打開燈”。

Screen_Shot_2016-07-28_at_11_43_24_AM_stomped

Next, you’ll choose which Hue bulb you want to turn on. Unfortunately, with IFTTT’s limitations with Philips Hue, you can either only select one bulb or all your Philips Hue bulbs–you can’t pick and choose multiple bulbs.

接下來,您將選擇要打開的色相燈泡。 不幸的是,由于IFTTT對Philips Hue的限制,您只能選擇一個燈泡或所有Philips Philips Hue燈泡,而不能選擇多個燈泡。

Screen Shot 2016-07-28 at 11.45.11 AM_stomped

Luckily, you probably only have one porch light fixture that you’d want to turn on, so select it from the list and then click on “Create Action”.

幸運的是,您可能只有一個要打開的門廊燈具,因此從列表中選擇它,然后單擊“創建動作”。

Screen Shot 2016-07-28 at 11.45.18 AM_stomped

On the next page, give your recipe a custom title if you want and then click on “Create Recipe”. After that, the recipe will be live and from now on, whenever your Ring Doorbell detects any kind of motion, your porch light will automatically turn on.

在下一頁上,根據需要為您的食譜指定一個自定義標題,然后單擊“創建食譜”。 此后,該配方將生效,從現在開始,每當您的Ring Doorbell檢測到任何動作時,您的門廊燈就會自動打開。

Screen Shot 2016-07-28 at 11.46.10 AM_stomped


Of course, the only downside to something like this is that the light will stay on until you manually turn it off, which is why just getting the Hue Motion Sensor might be the best bet. You can sort of fix this by creating another IFTTT recipe to have the light turn off every day at a certain time, or forget about the motion detection entirely and just have the light automatically turn on at dusk and turn off at dawn by using Routines in the Philips Hue app.

當然,類似的唯一缺點是直到您手動將其關閉之前,指示燈都會一直亮著,這就是為什么最好選擇Hue Motion Sensor的原因。 您可以通過創建另一個IFTTT配方來解決此問題,方法是每天在特定時間關閉燈,或者完全不用進行運動檢測,而只是通過使用Routines來自動在黃昏時打開燈并在黎明時關閉燈。飛利浦Hue應用程序。

翻譯自: https://www.howtogeek.com/264922/how-to-automatically-turn-on-a-porch-light-when-motion-is-detected/

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/280428.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/280428.shtml
英文地址,請注明出處:http://en.pswp.cn/news/280428.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

分布式系統的那些事兒(六) - SOA架構體系

有十來天沒發文了,實在抱歉!最近忙著錄視頻,同時也做了個開源的后臺管理系統LeeCX,目前比較簡單,但是后續會把各類技術完善。具體可以點擊“原文鏈接”。 那么今天繼續說分布式系統的那些事。 我們現在動不動就講分布式…

rest_framework07:權限/頻率/過濾組件/排序/異常處理封裝Response對象

權限 寫一個類,繼承BasePermission,如果通過返回True,否則False 這里需要配合認證使用,否則沒有user_type屬性。 from rest_framework.permissions import BasePermissionclass UserPermission(BasePermission):def has_permis…

在阿里,我們如何管理測試環境

為什么80%的碼農都做不了架構師?>>> 作者:林帆(花名金戟),阿里巴巴研發效能部技術專家 相關閱讀:在阿里,我們如何管理代碼分支 前言 阿里的許多實踐看似簡單,背后卻蘊涵…

數據庫_7_SQL基本操作——表操作

SQL基本操作——表操作 建表的過程就是聲明列的過程。 表與字段是密不可分的。 一、新增數據表 create table [if not exists] 表名( 字段名字 數據類型, 字段名字 數據類型 -- 最后一行不需要逗號 )[表選項];if not exists:如果表名不存在,那么就創建,…

EXT.NET 更改lable和Text的顏色

2019獨角獸企業重金招聘Python工程師標準>>> &#xfeff;&#xfeff; <ext:TextField ID"TextField1" " runat"server" FieldLabel"編號" LabelWidth"60" LabelAlign"Left" LabelStyle"color:red…

rest_framework08:分頁器/根據ip進行頻率限制

分頁器 # 查詢所有&#xff0c;才需要分頁 from rest_framework.generics import ListAPIView# 內置三種分頁方式 from rest_framework.pagination import PageNumberPagination,LimitOffsetPagination,CursorPaginationPageNumberPaginationclass MyPageNumberPagination(Pag…

NYOJ746 整數劃分

該題是一道區間DP的題目&#xff0c;做了幾道區間DP&#xff0c;說起來高大上&#xff0c;也就是DP在區間內的形式而已&#xff0c;核心思想還是要想到轉移->規劃。 題意是在n位數中間加m個稱號&#xff0c;使得最終乘積最大。 狀態轉移方程如下&#xff1a; dp[ i ][ j ]ma…

Spring MVC實現文件下載

方法一&#xff1a; RequestMapping("/testHttpMessageDown")public ResponseEntity<byte[]> download(HttpServletRequest request) throws IOException {File file new File(request.getSession().getServletContext().getClassLoader().getResource("…

[MobX State Tree數據組件化開發][3]:選擇正確的types.xxx

?系列文章目錄? 定義Model時&#xff0c;需要正確地定義props中各字段的類型。本文將對MST提供的各種類型以及類型的工廠方法進行簡單的介紹&#xff0c;方便同學們在定義props時挑選正確的類型。 前提 定義props之前&#xff0c;有一個前提是&#xff0c;你已經明確地知道這…

ubuntu系統備份和還原_如何使用Aptik在Ubuntu中備份和還原您的應用程序和PPA

ubuntu系統備份和還原If you need to reinstall Ubuntu or if you just want to install a new version from scratch, wouldn’t it be useful to have an easy way to reinstall all your apps and settings? You can easily accomplish this using a free tool called Apti…

rest_framework09:自動生成接口文檔(簡略)

coreapi 參考 python/Django-rest-framework框架/8-drf-自動生成接口文檔 | Justin-劉清政的博客 Swagger 很多語言都支持&#xff0c;看起來用的人多。 參考fastapi的界面

AppDomainManager后門的實現思路

本文講的是AppDomainManager后門的實現思路&#xff0c;0x00 前言從Casey SmithsubTee學到的一個技巧&#xff1a;針對.Net程序&#xff0c;通過修改AppDomainManager能夠劫持.Net程序的啟動過程。 如果劫持了系統常見.Net程序如powershell.exe的啟動過程&#xff0c;向其添加…

所有內耗,都有解藥。

你是否常常會有這種感覺&#xff1a;剛開始接手一件事情&#xff0c;腦海中已經幻想出無數個會發生的問題&#xff0c;心里也已篤定自己做不好&#xff1b;即使別人不經意的一句話&#xff0c;也會浮想一番&#xff0c;最終陷入自我懷疑&#xff1b;隨便看到點什么&#xff0c;…

ABAP 通過sumbit調用另外一個程序使用job形式執行-簡單例子

涉及到兩個程序&#xff1a; ZTEST_ZUMA02 (主程序)ZTEST_ZUMA(被調用的程序&#xff0c;需要以后臺job執行)"ztest_zuma 的代碼DATA col TYPE i VALUE 0.DO 8 TIMES.MESSAGE JOB HERE TYPE S.ENDDO.程序ZTEST_ZUMA是在程序ZTEST_ZUMA02中以job的形式調用的&#xff0c;先…

那些影響深遠的彎路

靜兒最近反思很多事情&#xff0c;不僅是當時做錯了。錯誤定式形成的思維習慣對自己的影響比事情本身要大的多。經常看到周圍的同事&#xff0c;非常的羨慕。他們都很聰明、有自己的方法。就算有些同事工作經驗相對少一些&#xff0c;但是就像在廢墟上創建一個輝煌的城市要比在…

如何使用APTonCD備份和還原已安裝的Ubuntu軟件包

APTonCD is an easy way to back up your installed packages to a disc or ISO image. You can quickly restore the packages on another Ubuntu system without downloading anything. APTonCD是將安裝的軟件包備份到光盤或ISO映像的簡便方法。 您可以在不下載任何東西的情況…

rest_framework10:base64補充/修改頭像

base64補充 # base64 變長&#xff0c;可反解 # md5 固定長度&#xff0c;不可反解# base64 編碼和解碼 import base64 import json dic{name:test,age:18} dic_strjson.dumps(dic)retbase64.b64encode(dic_str.encode(utf-8)) print(ret)# 解碼 ret2base64.b64decode(ret) pri…

next_permutation(全排列算法)

next_permutation(全排列算法) STL提供了兩個用來計算排列組合關系的算法&#xff0c;分別是next_permutation和prev_permutation。 首先解釋下全排列&#xff0c;顧名思義&#xff0c;即一組數的全部排列的情況。 next_permutation 即列出一組數的全部排列情況&#xff0c;不過…

C#自定義字符串壓縮和解壓縮源碼庫

如下的內容是關于C#自定義字符串壓縮和解壓縮庫的內容。class ZipLib{public static string Zip(string value){byte[] byteArray new byte[value.Length];int indexBA 0;foreach (char item in value.ToCharArray()){byteArray[indexBA] (byte)item;}System.IO.MemoryStrea…

使用 Visual Studio 2022 調試Dapr 應用程序

使用Dapr 編寫的是一個多進程的程序, 兩個進程之間依賴于啟動順序來組成父子進程&#xff0c;使用Visual Studio 調試起來可能會比較困難&#xff0c;因為 Visual Studio 默認只會把你當前設置的啟動項目的啟動調試。好在有Visual Studio 擴展&#xff08;Microsoft Child Proc…