跳转到内容

Selec 电能监测器

selec_meter 传感器平台允许您在 ESPHome 中使用 Selec Modbus 电能监测器(网页)。

Selec EM2M 电能监测器。

与该组件的通信通过 UART 并使用 Modbus 进行。因此您必须在配置中设置一个 uart: 条目,将 TX 和 RX 引脚设置为您开发板上的某两个引脚,并将波特率设置为 9600。

# 示例配置条目
uart:
rx_pin: D1
tx_pin: D2
baud_rate: 9600
stop_bits: 1
sensor:
- platform: selec_meter
total_active_energy:
name: "SelecEM2M Total Active Energy"
import_active_energy:
name: "SelecEM2M Import Active Energy"
export_active_energy:
name: "SelecEM2M Export Active Energy"
total_reactive_energy:
name: "SelecEM2M Total Reactive Energy"
import_reactive_energy:
name: "SelecEM2M Import Reactive Energy"
export_reactive_energy:
name: "SelecEM2M Export Reactive Energy"
apparent_energy:
name: "SelecEM2M Apparent Energy"
active_power:
name: "SelecEM2M Active Power"
reactive_power:
name: "SelecEM2M Reactive Power"
apparent_power:
name: "SelecEM2M Apparent Power"
voltage:
name: "SelecEM2M Voltage"
current:
name: "SelecEM2M Current"
power_factor:
name: "SelecEM2M Power Factor"
frequency:
name: "SelecEM2M Frequency"
maximum_demand_active_power:
name: "SelecEM2M Maximum Demand Active Power"
maximum_demand_reactive_power:
name: "SelecEM2M Maximum Demand Reactive Power"
maximum_demand_apparent_power:
name: "SelecEM2M Maximum Demand Apparent Power"
  • total_active_energy (可选): 使用传感器的总有功电能值,单位为千瓦时。 Sensor 的所有选项。

  • import_active_energy (可选): 使用传感器的输入有功电能值,单位为千瓦时。 Sensor 的所有选项。

  • export_active_energy (可选): 使用传感器的输出有功电能值,单位为千瓦时。 Sensor 的所有选项。

  • total_reactive_energy (可选): 使用传感器的总无功电能值,单位为无功千伏安时。 Sensor 的所有选项。

  • import_reactive_energy (可选): 使用传感器的输入无功电能值,单位为无功千伏安时。 Sensor 的所有选项。

  • export_reactive_energy (可选): 使用传感器的输出无功电能值,单位为无功千伏安时。 Sensor 的所有选项。

  • apparent_energy (可选): 使用传感器的视在电能值,单位为千伏安时。 Sensor 的所有选项。

  • active_power (可选): 使用传感器的(有功)功率值,单位为瓦。 Sensor 的所有选项。

  • reactive_power (可选): 使用传感器的无功功率值,单位为 VAR。 Sensor 的所有选项。

  • apparent_power (可选): 使用传感器的视在功率值,单位为 VA。 Sensor 的所有选项。

  • voltage (可选): 使用传感器电压值,单位为伏。 Sensor 的所有选项。

  • current (可选): 使用传感器电流值,单位为安培。 Sensor 的所有选项。

  • power_factor (可选): 使用传感器的功率因数值。 Sensor 的所有选项。

  • frequency (可选): 使用传感器频率值,单位为赫兹。 Sensor 的所有选项。

  • maximum_demand_active_power (可选): 使用传感器的最大需量(有功)功率值,单位为瓦。 Sensor 的所有选项。

  • maximum_demand_reactive_power (可选): 使用传感器的最大需量无功功率值,单位为 VAR。 Sensor 的所有选项。

  • maximum_demand_apparent_power (可选): 使用传感器的最大需量视在功率值,单位为 VA。 Sensor 的所有选项。

  • update_interval (可选, Time): 检查传感器的间隔。默认为 60s。

  • address (可选, int): 当多个传感器连接到同一 UART 总线时,指定该传感器的地址。您需要手动设置每个设备的地址。默认为 1。