Havells Solar
Havells Inverter 传感器平台允许您通过 ESPHome 在 Modbus 上读取 Havells 逆变器数据
(网站)。
该组件的通信通过 UART 使用 Modbus 完成。
因此,您必须在配置中包含 uart: 和 modbus: 条目,并将 TX 和 RX 引脚设置为开发板上的某些引脚,波特率设置为 9600。
# 示例配置条目sensor: - platform: havells_solar update_interval: 60s phase_a: voltage: name: "HAVELLS Phase A Voltage" current: name: "HAVELLS Phase A Current" phase_b: voltage: name: "HAVELLS Voltage Phase B" current: name: "HAVELLS Current Phase B" phase_c: voltage: name: "HAVELLS Voltage Phase C" current: name: "HAVELLS Current Phase C" pv1: voltage: name: "HAVELLS PV1 Voltage" current: name: "HAVELLS PV1 Current" active_power: name: "HAVELLS PV1 Active Power" voltage_sampled_by_secondary_cpu: name: "HAVELLS PV1 Voltage Sampled By Slave CPU" insulation_of_p_to_ground: name: "HAVELLS PV1 Insulation Of +VE To Ground" pv2: voltage: name: "HAVELLS PV2 Voltage" current: name: "HAVELLS PV2 Current" active_power: name: "HAVELLS PV2 Active Power" voltage_sampled_by_secondary_cpu: name: "HAVELLS PV2 Voltage Sampled By Slave CPU" insulation_of_p_to_ground: name: "HAVELLS PV2 Insulation Of +VE To Ground" active_power: name: "HAVELLS Active Power" reactive_power: name: "HAVELLS Reactive Power" frequency: name: "HAVELLS Frequency" energy_production_day: name: "HAVELLS Today's Generation" total_energy_production: name: "HAVELLS Total Energy Production" total_generation_time: name: "HAVELLS Total Generation Time" today_generation_time: name: "HAVELLS Today Generation Time" inverter_module_temp: name: "HAVELLS Inverter Module Temp" inverter_inner_temp: name: "HAVELLS Inverter Inner Temp" inverter_bus_voltage: name: "HAVELLS Inverter BUS Voltage" insulation_of_pv_n_to_ground: name: "HAVELLS Insulation Of PV- To Ground" gfci_value: name: "HAVELLS GFCI Value" dci_of_r: name: "HAVELLS DCI Of R" dci_of_s: name: "HAVELLS DCI Of S" dci_of_t: name: "HAVELLS DCI Of T"-
phase_a (Optional): A/1 相的传感器组。
-
phase_b (Optional): 适用于适用逆变器的 B/2 相传感器组。
- 所有选项来自 phase_a
-
phase_c (Optional): 适用于适用逆变器的 C/3 相传感器组。
- 所有选项来自 phase_a
-
pv1 (Optional): 光伏 1 的传感器组。
-
current (Optional): 使用传感器的电流值,单位为安培。所有选项来自 Sensor。
-
voltage (Optional): 使用传感器的电压值,单位为伏特。 所有选项来自 Sensor。
-
active_power (Optional): 使用传感器的(有功)功率值,单位为瓦特。所有选项 来自 Sensor。
-
voltage_sampled_by_secondary_cpu (Optional): 使用从 CPU 采样的光伏电压值,单位为伏特。所有选项来自 Sensor。
-
insulation_of_p_to_ground (Optional): 使用光伏正极对地的绝缘电阻值,单位为千欧。所有选项来自 Sensor。
-
-
pv2 (Optional): 光伏 2 的传感器组。
- 所有选项来自 pv1
-
active_power (Optional): 使用传感器的(有功)功率值,单位为瓦特。所有选项 来自 Sensor。
-
reactive_power (Optional): 使用传感器的无功功率值,单位为 VAR。所有 选项来自 Sensor。
-
frequency (Optional): 使用传感器的频率值,单位为赫兹。 所有选项来自 Sensor。
-
energy_production_day (Optional): 使用传感器当天的输出有功电能值,单位为千瓦时。所有选项来自 Sensor。
-
total_energy_production (Optional): 使用传感器的总输出电能值,单位为千瓦时。所有选项来自 Sensor。
-
total_generation_time (Optional): 使用传感器的总发电时间值,单位为小时。所有选项来自 Sensor。
-
today_generation_time (Optional): 使用传感器当天的发电时间值,单位为分钟。所有选项来自 Sensor。
-
inverter_module_temp (Optional): 使用传感器的逆变器模块温度值,单位为摄氏度。所有选项来自 Sensor。
-
inverter_inner_temp (Optional): 使用传感器的逆变器内部温度值,单位为摄氏度。所有选项来自 Sensor。
-
inverter_bus_voltage (Optional): 使用传感器的逆变器母线电压值,单位为伏特。 所有选项来自 Sensor。
-
insulation_of_pv_n_to_ground (Optional): 使用光伏负极对地的绝缘电阻值,单位为千欧。所有选项来自 Sensor。
-
gfci_value (Optional): 使用传感器的 GFCI 值。 所有选项来自 Sensor。
-
dci_of_r (Optional): 使用传感器的 R 相 DCI 值。 所有选项来自 Sensor。
-
dci_of_s (Optional): 使用传感器的 S 相 DCI 值。 所有选项来自 Sensor。
-
dci_of_t (Optional): 使用传感器的 T 相 DCI 值。 所有选项来自 Sensor。
-
update_interval (Optional, Time): 检查传感器的间隔。默认为
60s。 -
address (Optional, int): 如果多个传感器连接到同一 UART 总线,则为传感器地址。您需要手动设置每个设备的地址。默认为
1。