Hands on with Home Assistant’s new ‘smart home multi-tool’
本文为原文前 6,000 字符的节选翻译,完整内容请查看原文。
Hands on with Home Assistant’s new ‘smart home multi-tool’
The Home Assistant Connect Aux-2 helped me track my fridge temperature and finally set up my in-wall speakers. If you buy something from a link, The Verge may earn a commission. See our ethics statement.
Home Assistant Connect Aux-2 帮助我监测了冰箱温度,并最终安装好了入墙式扬声器。如果您通过链接购买商品,The Verge 可能会获得佣金。请参阅我们的道德声明。
Nabu Casa — the commercial side of the Open Home Foundation, which runs Home Assistant — just launched the Home Assistant Connect Aux-2, a multi-function box designed to help you bring more non-smart devices into your smart home. It’s part of Home Assistant’s ongoing efforts to become more user-friendly. And it’s working.
Nabu Casa(负责运营 Home Assistant 的 Open Home Foundation 的商业部门)刚刚推出了 Home Assistant Connect Aux-2,这是一个多功能盒子,旨在帮助您将更多非智能设备接入智能家居。这是 Home Assistant 为提高用户友好性所做持续努力的一部分,而且效果显著。
I’ve been testing the Aux-2 for a couple days and I’ve found it unsurprisingly useful and surprisingly easy to set up. The Aux-2 is a $69 box about the size of a deck of cards. It has 2.4GHz Wi-Fi, Bluetooth, Ethernet, USB-A, USB-C, a digital/analog audio jack, a Grove port for interfacing with peripherals like sensors, buttons, and LEDs, and a pair of RS-232 serial ports.
我已经测试 Aux-2 几天了,发现它不仅如预期般实用,而且设置起来出奇地简单。Aux-2 是一个售价 69 美元的盒子,大小约为一副扑克牌。它配备了 2.4GHz Wi-Fi、蓝牙、以太网、USB-A、USB-C、数字/模拟音频插孔、用于连接传感器、按钮和 LED 等外设的 Grove 端口,以及一对 RS-232 串口。
It can bridge Bluetooth devices into your Home Assistant setup. Its USB port lets you plug in a Nabu Casa Z-Wave or Zigbee antenna in case your Home Assistant hub isn’t in a good spot. You can control devices like TVs, AV receivers, solar inverters, and more via serial connector. And you can connect an amplifier or powered speakers to its audio jack to stream music to older audio equipment.
它可以将蓝牙设备桥接到您的 Home Assistant 系统中。如果您的 Home Assistant 主机位置不佳,其 USB 端口允许您插入 Nabu Casa Z-Wave 或 Zigbee 天线。您可以通过串口连接控制电视、AV 接收器、太阳能逆变器等设备。此外,您还可以将功放或有源扬声器连接到其音频插孔,从而向旧式音频设备传输音乐。
All of these things leverage Home Assistant’s capabilities as an open-source platform. The Aux-2 is based on ESPHome, an open platform for making DIY smart home devices from cheap, flexible ESP boards, and it uses existing Home Assistant/ESPHome integrations for all its features.
所有这些功能都利用了 Home Assistant 作为开源平台的能力。Aux-2 基于 ESPHome(一个用于利用廉价、灵活的 ESP 开发板制作 DIY 智能家居设备的开放平台),并使用现有的 Home Assistant/ESPHome 集成来实现其所有功能。
I have a Home Assistant install, but even after several years it is not my primary smart home platform simply because of friction and time constraints. Instead, I have a hodgepodge of Google Home, Apple Home, and a few devices that are only in Home Assistant. The situation is not ideal.
我安装了 Home Assistant,但即使使用了几年,它也不是我的主要智能家居平台,原因仅仅是操作繁琐和时间限制。相反,我混用了 Google Home、Apple Home 以及一些仅在 Home Assistant 中运行的设备。这种情况并不理想。
But the Aux-2’s capabilities perfectly intersect with two things I’d been meaning to do anyway, one of which I’m already using Home Assistant for. First, I have a garage fridge, because I live in Texas. I also have children, which means sometimes the fridge or freezer door gets left open. I want to know when that happens before all my food goes bad.
但 Aux-2 的功能恰好满足了我一直想做的两件事,其中一件我已经在使用 Home Assistant 了。首先,因为我住在德克萨斯州,所以我有一个车库冰箱。我还有孩子,这意味着有时冰箱或冷冻室的门会被开着。我希望在食物变质前就能知道这种情况。
Setting up the Aux-2 was much easier than I expected. I plugged it into my computer via USB-C and was able to download and install the latest firmware right from a browser. I could also add my Wi-Fi credentials. Then I unplugged it, moved it over to my media console and connected it to power (it takes USB-C or power over Ethernet), and did the rest of the setup in the Home Assistant interface.
设置 Aux-2 比我预期的要容易得多。我通过 USB-C 将其插入电脑,并能直接从浏览器下载并安装最新固件。我还可以添加 Wi-Fi 凭据。然后我拔掉它,将其移至媒体控制台并连接电源(它支持 USB-C 或以太网供电),并在 Home Assistant 界面中完成了其余的设置。
In HA, I was prompted to install ESPHome, which discovered the Aux-2 and sent me to a “set up your ESPHome device page” that walked me through the capabilities. Enabling Bluetooth proxying took a couple of clicks; I added the Govee Bluetooth integration and put batteries into the sensors and they showed up automatically. Mercifully, they maintained their Bluetooth connection through three walls and a fridge, and now my fridge monitoring setup works again.
在 HA 中,系统提示我安装 ESPHome,它发现了 Aux-2 并将我引导至“设置您的 ESPHome 设备页面”,引导我了解各项功能。启用蓝牙代理只需点击几下;我添加了 Govee 蓝牙集成并为传感器装上电池,它们就自动显示出来了。幸运的是,它们穿过三堵墙和一台冰箱依然保持了蓝牙连接,现在我的冰箱监控系统又可以正常工作了。
The audio capability took a little longer, but most of that was spent hooking the speakers up to the amp I ended up buying and setting up Music Assistant, which I didn’t have installed. Music Assistant lives on your Home Assistant hardware and can play from many different services — from Spotify to YouTube Music to local files and more — and to many different outputs, like Sonos, Wiim, AirPlay, Google Cast, and others, but they all need to be configured, and that took a beat. Not a long beat: less than half an hour total.
音频功能花费的时间稍长,但大部分时间都花在将扬声器连接到我最终购买的功放上,以及设置我之前未安装的 Music Assistant。Music Assistant 运行在您的 Home Assistant 硬件上,可以播放来自 Spotify、YouTube Music、本地文件等多种服务的音乐,并输出到 Sonos、Wiim、AirPlay、Google Cast 等多种设备,但所有这些都需要配置,这花了一点时间。时间并不长:总共不到半小时。