The Things Network
The Things Network 集成允许您在 Home Assistant 中与 The Things Network 交互。这个由社区驱动的开放网络支持 LoRaWAN,可实现低带宽(每条消息 51 字节)的远距离通信(约 5 到 15 公里)。网关 会将从传感器接收到的数据传输到 The Things Network。
The Things Network 支持多种集成方式来提供数据:
Home Assistant 目前支持以下设备类型:
前提条件
-
访问 The Things Network Console 网站,使用 The Things Network 凭据登录,并在 Applications 中选择您的应用。
- Application ID 用于标识您的数据范围。

-
在 integrations 菜单下启用 storage 集成:

-
确保您的设备已配置 Uplink Payload Formatter。

-
您需要 API 密钥才能读取应用中的数据。
- 所需的最小权限为
Read Application Traffic (uplink and downlink)。

- 所需的最小权限为
配置
此集成可通过 UI 配置。前往 设置 > 设备与服务 添加。
传感器
所有由 The Things Network 解码的上行消息(包括 decoded_payload 条目)都会由此集成处理。decoded_payload 中的每个字段都会作为一个 Home Assistant 传感器实体添加。

