AM43 传感器
am43 传感器平台允许您读取 AM43 BLE 卷帘门电机上的光照和
电池传感器。该平台通过 ESP32 的 BLE 外设
连接设备。
NOTE
此组件不支持此设备的 Tuya 版本, 因为协议完全不同。如果您的设备由 SmartLife 应用控制,则无法使用。
# Example configuration entry
esp32_ble_tracker:
ble_client: - mac: XX:XX:XX:XX:XX:XX id: am43_device
sensor: - platform: am43 ble_client_id: am43_device battery_level: name: "Kitchen blinds battery" illuminance: name: "Kitchen blinds light"有关设置此设备的更多详细信息,请参阅 Am43 组件。
-
ble_client_id (必选, ID): 与设备关联的
ble_client条目的 id。 -
battery_level (可选): 电池电量传感器的信息。
- 来自 Sensor 的所有选项。
-
illuminance (可选): 光照传感器的信息。
- 来自 Sensor 的所有选项。
-
update_interval (可选, Time): 检查传感器的时间间隔。默认为
60s。
NOTE
建议同时设置 Am43。