1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

Pylontech integration (solar battery bank) (#4688)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
functionpointer
2023-11-27 23:43:03 +01:00
committed by GitHub
parent 4e6d3729e1
commit 4b6fbd5db0
11 changed files with 528 additions and 0 deletions

View File

@@ -99,6 +99,12 @@ pipsolar:
id: inverter0
uart_id: uart115200
pylontech:
- id: pylontech0
uart_id: uart115200
- id: pylontech1
uart_id: uart115200
sx1509:
- id: sx1509_hub
address: 0x3E
@@ -113,6 +119,30 @@ dac7678:
internal_reference: true
sensor:
- platform: pylontech
pylontech_id: pylontech0
battery: 1
voltage:
id: pyl01_voltage
current:
id: pyl01_current
coulomb:
id: pyl01_soc
mos_temperature:
id: pyl01_mos_temperature
- platform: pylontech
pylontech_id: pylontech1
battery: 1
voltage:
id: pyl13_voltage
temperature_low:
id: pyl13_temperature_low
temperature_high:
id: pyl13_temperature_high
voltage_low:
id: pyl13_voltage_low
voltage_high:
id: pyl13_voltage_high
- platform: homeassistant
entity_id: sensor.hello_world
id: ha_hello_world
@@ -589,6 +619,17 @@ number:
name: Tuya Number Copy
text_sensor:
- platform: pylontech
pylontech_id: pylontech0
battery: 1
base_state:
id: pyl0_base_state
voltage_state:
id: pyl0_voltage_state
current_state:
id: pyl0_current_state
temperature_state:
id: pyl0_temperature_state
- platform: pipsolar
pipsolar_id: inverter0
device_mode: