智能家居光傳感器_如何在金屬周圍使用智能家居門傳感器

智能家居光傳感器

智能家居光傳感器

Open/close sensors, like those included with the Samsung SmartThings kit, are great for automating certain actions whenever doors or windows are opened. But if you’re having trouble getting them to work well, it might be because the metal on the door or window is causing issues with the magnet system that’s used on the sensors. Here’s how you can get around that.

三星SmartThings套件隨附的傳感器一樣,打開/關閉傳感器非常適合在門或窗打開時自動執行某些動作。 但是,如果您無法使其正常工作,可能是因爲門或窗戶上的金屬導致傳感器上使用的磁鐵系統出現問題。 這是解決該問題的方法。

The workaround is quite simple, although it doesn’t look the prettiest and doesn’t quite blend in. But it at least works. The sensor basically needs to be at least a few inches away from the nearest piece of metal to prevent interference.

解決方法非常簡單,儘管它看起來並不漂亮,也沒有很好地融入其中。但是至少可以奏效。 傳感器基本上需要距離最近的金屬至少幾英寸,以防止干擾。

First, try to mount the sensor normally to see if it works first. Even if a door does include some metal, it still may work just fine. It’s mostly doors that are heavily made out of metal (like garage doors) where you’ll usually come across problems. If you do, though, this trick should help.

首先,嘗試正常安裝傳感器,看看它是否可以正常工作。 即使門確實包含一些金屬,它也可以正常工作。 它主要是大量用金屬製成的門(例如車庫門),通常會遇到問題。 但是,如果這樣做,此技巧應該會有所幫助。

The image above shows what the final product looks like—a door sensor mounted to the top of my garage door that’s a few inches away from the nearest piece of magnetic metal. Setting this up is pretty simple, but requires a bit of creativity.

上圖顯示了最終產品的外觀—一個門傳感器安裝在我的車庫門的頂部,與最近的磁性金屬片相距幾英寸。 設置起來非常簡單,但是需要一些創造力。

你需要什麼 (What You’ll Need)

To do this, you’ll need a couple of tools and materials, including:

爲此,您需要一些工具和材料,包括:

The aluminum flashing (shown above) will come in an L-shape when you buy it, but it’s pliable enough that you can bend it all into a flat piece using light taps with a hammer. It’s one of the reasons we’re using aluminum for this: it’s very soft and can bend easily to your will, allowing for the most customizability. It’s also non-magnetic, so it won’t interfere with the sensor.

購買時,鋁製閃光條(如上圖所示)將呈L形,但它柔韌到足以用錘子輕敲將其彎曲成扁平狀。 這是我們之所以使用鋁的原因之一:它非常柔軟,可以很容易地彎曲,並具有最大的可定製性。 它也是非磁性的,因此不會干擾傳感器。

第一步:安裝傳感器 (Step One: Mount the Sensor)

We’ll start by mounting the larger sensor portion off to the side by a few inches from the door (or above). In this guide, I’m doing this with my garage door, so it’s a bit different than a regular door, but the concept is the same. Plus, you’ll likely have to make some changes of your own to make it work for your specific situation anyway.

我們將從將較大的傳感器部分安裝到離門(或門)幾英寸的側面開始。 在本指南中,我是使用車庫門來執行此操作的,因此它與常規門有所不同,但是概念是相同的。 另外,您可能必須自己進行一些更改才能使其始終適合您的特定情況。

In any case, you can either mount it using the included screws or 3M adhesive strips. Screws allow for a more solid connection, while 3M strips are quicker and easier, but there’s a risk of the sensor falling off if the adhesive weakens over time.

在任何情況下,您都可以使用隨附的螺釘或3M膠帶將其安裝。 螺釘可實現更牢固的連接,而3M膠條則更快,更容易,但是如果膠粘劑隨時間推移而變弱,則存在傳感器脫落的風險。

第二步:製造磁鐵的延伸臂 (Step Two: Fabricate An Extension Arm for the Magnet)

Now comes the difficult part. The smaller magnet portion of the sensor needs to be mounted to the door, but also needs to be a few inches away from it. To make this happen, we need to make an extension arm that connects from the door to the magnet. This is where the aluminum flashing comes into play.

現在是困難的部分。 傳感器的較小磁鐵部分需要安裝到門上,但也需要距離門幾英寸。 爲了做到這一點,我們需要製作一個從門到磁鐵的延伸臂。 這是鋁製閃光燈起作用的地方。

As mentioned above, flatten the aluminum into a strip using a hammer—it shouldn’t take a lot of effort, and you can even use your hands to do a lot of the bending.

如上所述,用錘子將鋁壓扁成條狀-無需花費很多力氣,甚至可以用雙手彎曲很多。

Then, from one end, measure a few inches in and bend it to a right angle to create an 「L」 shape. You may not have to bend the aluminum at all depending on your door and where you mount the sensor, but I had to in my case. This small section is what will be mounted to the door.

然後,從一端開始測量幾英寸,並將其彎曲成直角以創建「 L」形。 您可能根本不必彎曲鋁,具體取決於您的門和傳感器的安裝位置,但我不得不這樣做。 這小部分將安裝在門上。

After that, take your sheet metal snips and—at the other end—cut the aluminum strip down to the specific length that you need.

之後,拿起您的鈑金剪片,然後在另一端將鋁條切成所需的特定長度。

You’ll end up with something looking like this:

您最終將得到如下所示的內容:

第三步:將延伸臂安裝到門上 (Step Three: Mount the Extension Arm to the Door)

Before you can mount the extension arm, you’ll need to take your power drill and drill some small holes where the sheet metal screws will screw in. You’ll also need to drill the same holes into your door where you’ll mount the extension arm. These holes need to be just slightly smaller in diameter than the sheet metal screws.

在安裝延伸臂之前,您需要先進行電鑽,並在鈑金螺釘將要擰入的地方鑽一些小Kong。您還需要在門上鑽相同的Kong,以將其安裝在門上。延伸臂。 這些Kong的直徑只需要比金屬螺絲小一些。

Next, take your sheet metal screws and screw in the extension arm into the door using your power drill and a Phillips drive bit.

接下來,拿起鈑金螺釘,然後使用電鑽和十字螺絲刀將延伸臂擰入門中。

At this point, you can make some fine adjustments to the aluminum and bend it to make it fit well. Keep in mind that you’ll need enough room in between the extension arm and the sensor to attach the magnet.

此時,您可以對鋁進行一些細微的調整,然後將其彎曲以使其合適。 請記住,在延伸臂和傳感器之間需要足夠的空間來固定磁鐵。

第四步:將磁鐵連接到延伸臂 (Step Four: Attach the Magnet to the Extension Arm)

Lastly, attach the magnet to the extension arm. Make sure you mount it to the arm in a place where the magnet rests right beside the sensor. Screws won’t really work here, so you’ll want to use the included 3M adhesive strip to mount the magnet.

最後,將磁鐵固定到延伸臂上。 確保將其安裝在機械臂上的磁鐵緊貼傳感器旁邊的位置。 螺絲在這裏不能真正起作用,因此您需要使用隨附的3M膠粘帶來安裝磁鐵。

As mentioned above, it doesn’t really look all that pretty, but it at least works, and it’s the best solution to have your open/close sensors work around metal doors and windows.

如上所述,它看起來並不十分漂亮,但至少可以正常工作,這是使開/關傳感器圍繞金屬門窗工作的最佳解決方案。

翻譯自: https://www.howtogeek.com/298536/how-to-use-smarthome-door-sensors-around-metal/

智能家居光傳感器