heinemannj / huawei_solar_hems

Huawei Solar Home Energy Management System (HEMS)
Apache License 2.0
14 stars 2 forks source link
automation dashboard emhass energy-consumption energy-data energy-efficiency energy-management energy-monitor epex-spot home-assistant home-assistant-config home-automation homeassistant-config huawei-solar internet-of-things internetofthings iot lovelace smart-home smarthome

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

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!

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
Azimuth angle
- Orientation of PV modules: -41° SE/SSE

Slope angle
- Inclination angle of PV modules: 45°

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.
Sunrise, Solarnoon and Sunset at
- 21.06.2024 (summer solstice)
- 21.12.2024 (winter solstice)

  Reference: NOAA Solar Calculator
Monthly energy production
- Estimated performance of Grid-connected PV system

  Reference: PVGIS
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

Already opened Discussion: Huawei Solar Discussion > Dashboard #355

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


Copyright © 2024 Joerg Heinemann
All rights reserved.