The Intelligent Path in my room

Smart home technology, one of the most popular developments in recent decades, has significantly improved our quality of life. It enables automatic actions based on preset conditions—like closing the curtains at sunset or opening them when I wake up.

I live in China, where a brand called Xiaomi has become incredibly popular. Xiaomi isn't just a smartphone manufacturer—it also produces a wide range of IoT (Internet of Things) devices, including smart home products and even electric cars. I chose Xiaomi because it's affordable and highly customizable. One of its biggest advantages is its seamless integration with Home Assistant through official plugins—more on that later.

The first smart home product I purchased was a smart socket. It can automatically turn the power supply on or off, which lets me control devices that aren't smart by themselves—like my mosquito repellent and external display.

Next, I upgraded some of the bulbs in my chandelier. I can now control their brightness and color temperature directly from my phone, which is very convenient. I also created an automation setup using the chandelier and person sensors that detect whether anyone is in the room. I installed two sensors in my bedroom and one in the restroom. With this system, the lights automatically turn on when someone is in the room and the brightness is below 80 lux, and turn off when the room is empty.

I also wanted my curtains to open and close automatically. Instead of changing the curtain track—which can be complicated—I bought a product called Curtain Mate. It attaches to the existing curtain track and controls the curtain movement. Even better, it runs on a built-in battery, so I don't need to worry about nearby power outlets—I only need to charge it about once every six months.

Some of the lights in my home are not smart, which means I can't control them through my phone. To turn them on or off, I have to walk to the switch and operate it manually — something that's quite inconvenient.

To solve this problem, I replaced the traditional switches with smart switches. These allow me to control the lights using my phone, making it possible to automate them in various ways.

I use Home Assistant, a powerful open-source platform for managing smart home devices. It supports integration across different ecosystems and enables complex automation. I run it on a Raspberry Pi at home and use Cloudflare for secure remote access, so I can control my smart home system from anywhere.

This is all the content of this article. You can click here to view the photos involved in this article. Goodbye

我房间里的智能之路

智能家居技术是近几十年来最热门的发展之一,极大地提升了我们的生活质量。它可以根据预设条件自动执行操作——比如日落时关闭窗帘,或者在我醒来时打开窗帘。

我住在中国,这里有一个叫小米的品牌非常受欢迎。小米不只是一家智能手机制造商——它还生产各种物联网(IoT)设备,包括智能家居产品,甚至电动汽车。我选择小米是因为它价格实惠且高度可定制。它最大的优势之一是可以通过官方插件与 Home Assistant 无缝集成——稍后会详细介绍。

我购买的第一个智能家居产品是一个智能插座。它可以自动开关电源,让我能够控制那些本身不智能的设备——比如灭蚊器和外接显示器。

接下来,我升级了吊灯上的一些灯泡。现在我可以直接通过手机控制它们的亮度和色温,非常方便。我还创建了一个自动化设置,使用吊灯和人体传感器来检测房间里是否有人。我在卧室安装了两个传感器,在洗手间安装了一个。有了这个系统,当房间里有人且亮度低于80勒克斯时,灯会自动亮起;当房间空无一人时,灯会自动关闭。

我还想让窗帘自动开合。我没有换窗帘轨道(那样做比较复杂),而是买了一个叫做窗帘伴侣的产品。它安装在现有的窗帘轨道上,控制窗帘的移动。更好的是,它使用内置电池供电,所以我不用担心附近有没有电源插座——大约每六个月充一次电就行了。

我家里的部分灯具不是智能的,这意味着我没法通过手机控制它们。要开关灯,我必须走到开关那里手动操作——这相当不方便。

为了解决这个问题,我把传统开关换成了智能开关。这样我就可以通过手机控制灯光,使各种自动化成为可能。

我使用的是 Home Assistant,一个强大的开源智能家居管理平台。它支持跨不同生态系统的集成,并支持复杂的自动化。我在家里的树莓派上运行它,并使用 Cloudflare 进行安全的远程访问,这样我就可以在任何地方控制我的智能家居系统。

以上就是这篇文章的全部内容。你可以点击这里查看本文涉及的照片。再见!