Huawei Smart Modbus at Home

From HaFrWiki42
Revision as of 14:21, 4 January 2026 by Hjmf (talk | contribs) (→‎Reference)
Jump to navigation Jump to search

Introduction

There are several methods to create a Smart Home for FusionSolar but Huawei does not make it easy for the private user to do it.

  • Northbound Access seems to be the way Huawei thinks.
    To get the correct access rights is not easy and has to be done by the installer by creating a so called Northbound User. Often only read-only access is given to the private user.
  • Home Assistant seems the second best attempt.
    Needs also the opening of the Modbus access on the Inverter through the SDongle. The installation needs the so called Green Home Assitant Hardware, an adds an extra layer and therefor also an extra point of failure.
  • Local Modbus Access is therefore the most straightforward method.
    Local script written in PHP with the Modbus library bypassing the Huawei layer.

This page focuses on the third option Local Modbus Access.

Smart Home PV, PHEV, Battery, Shelly and Wallbox
Huawei SmartPVMS

Requirements

The LMA (Local Modbus Access) is only possible after the opening of the Modbus Access on the SDongle of the Inverter by an official Huawei installer.

Scenario's

The requests for energy are not the same during the seasons, but depends on weather, sunshine duration, solar power, place on earth etc.
The individual scenario's are:

  1. Grid to PHEV: PHEV Charging PHEVs from the grid without discharging the battery.
    Using the TOU option of the Inverter created with the PHP-script between 00:00 and 02:30 hour.
  2. Grid to Bat: Charging the battery from the grid.
    Using the TOU option of the Inverter created with the PHP-script between 02:30 - 05:00 hour.
  3. Normal Usage: The normal mode for the PV-installation.
    PV in the lead, consumption from PV if possible and discharging the battery for normal home usage.
  4. PV to PHEV: Loading from PV. PHEV load from PV only when enough solar power is available.

In schema:

  Winter Summer
00:00 - 05:00 1. Grid to PHEV (2½ h. TOU)
2. Grid to Bat (remainder TOU)
3. Normal Usage
05:00 - 24:00 3. Normal Usage 3. Normal Usage
4. PV to PHEV

In winter the operations are more Time of Use based, in the summer the Wallbox take care of the PHEV loading in the so called green mode.

See also

top

Reference

top