Skip to content

heinemannj/huawei_solar_hems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huawei Solar HEMS

Home Assistent (HA) Home Energy Management System (HEMS)

License GitHub Last Commit GitHub Stars GitHub Watchers GitHub Forks

Community Forum

Huawei Solar HEMS assist you with a set of custom HA template sensors, automations and dashboards also referred to as the "Huawei Solar HEMS package".

Dashboard: Level 1
Dashboard-1

These custom sensors and automations calculate all the power and energy flows of your Huawei FusionSolar PV installation based on the sensors, services and information provided by Huawei Solar Integration, because this custom HA integration ONLY exposes the information and functions made available by Huawei Solar inverters directly via one of its Modbus interfaces, which is far away from enhanced requirements of an HEMS.

All custom template sensors and automations are available as HA package files or HA blueprints and all dashboards are available through HA YAML dashboards for an easy Installation. For an overview and a more detailed description of the custom sensors and automations, please refer to the Huawei Solar HEMS Wiki Pages.

Table of Contents

Additional HEMS features

Forecasting

Dashboard: Level 2
Dashboard-2
  • PV Solar forecasts by the usage of Solcast integration
    This custom component integrates the Solcast Hobby PV Forecast API into HA.
  • EPEX Spot electricity price forecasts by the usage of EPEXSpot integration
    This custom component adds electricity prices from the European Power EXchange ( EPEX Spot ) into HA.
    It covers Austria, Belgium, Denmark, Germany, Finland, France, Luxembourg, the Netherlands, Norway, Poland, Sweden, the United Kingdom and Switzerland at this time.
  • Hourly Weather forecasts
  • House load and batteries SOC forecasts by the usage of the EMHASS Add-on
    EMHASS (Energy Management for Home Assistant) is an optimization tool designed for residential households connected to HA.

Monitoring

Dashboard: Level 3
Dashboard-3

Tibber prices

Dashboard: Level 4-1 - Today & tomorrow Dashboard: Level 4-2 - Past
Dashboard-4-1 Dashboard-4-2

Tibber consumption and costs

Dashboard: Level 4-3-1 - Hourly Dashboard: Level 4-3-2 - Daily
Dashboard-4-3-1 Dashboard-4-3-2
Dashboard: Level 4-3-3 - Monthly Dashboard: Level 4-3-4 - Yearly
Dashboard-4-3-3 Dashboard-4-3-4

Installation

For installation follow all prerequisites and installation guides strictly!

  • Step by step.

System setup

FusionSolar PV

The provided custom sensors are based on a setup with one Huawei Smart Energy Controller (Inverter) and multiple Huawei Smart String ESS (Batteries):

Dashboard: Level 5
Dashboard-5

EM system and House load

PV system
PV strings
- PV1: 10 x 390 Wp = 3900 Wp
- PV2: 10 x 390 Wp = 3900 Wp
- Full occupancy of the south/east roof
  20 x Trina Vertex S TSM-390DE09.05 390 Wp = 7.8 kWp
- Optimizers: No
Improvement
- Use optimizers for all modules

Long String Design with Power Optimizer
will increase the total number of modules per string
for expanding to the opposite side of the roof.
Inverter
- Type: SUN2000-6KTL-M1 (High Current)
- Firmware: V100R001C00SPC165
- MBUS Firmware: V100R001C00SPC335
- Connect to inverter: Via SUN2000-<serial_no> WiFi

Batteries
- Battery-1: LUNA2000-5KW-C0
- Battery-2: LUNA2000-10KW-C0
- Firmware : V100R002C00SPC624
Power meter
- Type: Three phase

sDongle
- Type: sDongleA-05 (WiFi / Ethernet)
- Connectivitiy: Ethernet
- Firmware: V200R022C10SPC118

Power distribution
Power flows
Meter cabinet
- Back-up fuses
- Surge protection
- Residual Current Devices (RCD)
- Circuit breaker

- Documentation

Wallbox
- Wiring and fuses for future use.
Energy measurement
Energy flows
Smart meter
- HUAWEI Smart Power Sensor DTSU666-H 100A/50mA
Connect to inverters MBUS
- Via SUN2000-<serial_no> WiFi
Tibber Pulse
-
-
-
Three-phase energy meters
- 3 x Shelly Pro 3EM - 120A
Energy management
Heat Pump Smart Grid Ready controller

- 2 x Shelly Plus 1
  SG-Ready Heat Pump Lock switch (HP Terminal 1)
  SG-Ready PV Excess switch (HP Terminal 2)


eBUS controller
- eBUS Adapter Shield v5
- SG-/PV-Ready Documentation

Notes

  • Alpha version at this stage.
    • Especially the persistant template sensors and all automations should be validated by the community.
    • Not for HA beginners, but hopefully our community will help ...
  • In my environment Wife Acceptance Factor (WAF) is strongly increasing - Save your money to have more fun ;-)
  • Save our earth and protect next generations of our children!
  • Think long term and do the needful.

Already opened Discussion: Huawei Solar Discussion > Dashboard #355

  • Private information is stored in secrets.yaml (not uploaded).

FAQ - Troubleshooting

Q: What are the minimum hardware requirements for the Home Assistant (HA) server in relation to HEMS features?

A: I started my HEMS development journey on a Raspberry Pi 4b with 8GB RAM. This hardware level is sufficient for testing purposes. For production, it is highly recommended to upgrade your HA to a Mini PC server.


Q: I don't use Tibber. Can I use the other HEMS functions?

A: Yes you can. Simply comment out Tibber related entries in

  • <config>/configuration.yaml and in
  • <config>/dashboards/420-pv/index.yaml the line
    • - !include /config/dashboards/420-pv/views/424-pv.yaml.