Huawei EMMA - Support External Meter for cases in which not all loads are connected to EMMA #20251
Replies: 6 comments 9 replies
-
@Mungg1818 I saw that you have contributed the huawei-emma template. Could you please have a look at this issue? Thanks! |
Beta Was this translation helpful? Give feedback.
-
After some more searching, I found SmartHEMS Interface Definitions PDF here: Starting page 16, it lists the modbus registers for external meter data. It seems the modbus registers 31895 through 31943 contain the desired information. So my desired feature would probably require reading those instead of the registers for the internal sensor? |
Beta Was this translation helpful? Give feedback.
-
More digging; seems that template huawei-emma reads register If I understand correctly, in my scenario the register So basically an option which switches between 316979 (internal energy meter) and 31935 (external energy meter) would to the trick?! |
Beta Was this translation helpful? Give feedback.
-
The position of "EMMA" and "EnFuRi" needs to be swapped. |
Beta Was this translation helpful? Give feedback.
-
@andig This is IMHO not a question or discussion on electrical installation but still a feature request. |
Beta Was this translation helpful? Give feedback.
-
Just to add a bit more context / pictues - this is Huawei SmartGuard: Essentially, SmartGuard is the new backup power solution by Huawei. If case of a power outage on the public grid, it isolates the home (or part of the home) from the grid and instantly provides 3phase backup from the inverter and battery. Within the SmartGuard box you can see the EMMA in the top right. It is an integral part of the hardware and must not be removed and placed elsewhere as suggested. In our scenario, we are integrating the backup power solution in a household which has an EV charger and will at some point install a heatpump and maybe a secondary EV charger. And obviously they want to benefit from lower network charges for these devices. So a cascade metering concept to separately measure the energy for heatpump and EV chargers needed to be implemented, like the following: When trying to fit the backup power solution into this metering concept, it can only be connected behind Z2. But then, EMMA only measures the energy flow to and from the household. Huawei offers a solution, which is connecting an external meter and placing it directly behind Z1 as shown in my initial drawing. In the Huawei software, you then set the external meter to be used instead of the built-in meter. For evcc to work in this scenario, it would also need to use the data from the external meter, not the internal one of EMMA. EMMA apparently provides the values for the external meter in a separate modbus register. My feature request is a configuration option, to use the other register's data in such scenario. Thanks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
For energy measuring point meters: usage: grid I'd like to be able to configure the Huawei EMMA meter integration / template so it uses measurements from an external meter connected to EMMA via Modbus RTU rather than the built-in energy flow sensors.
Huawei EMMA includes energy flow sensors and in many cases will be the only meter required in a Huawei PV setup.
But EMMA also supports connecting an external meter (like a DTSU666 or YDS60-80) via Modbus RTU on the secondary RS485 COMM port.
An external meter might be necessary, if not all loads are connected behind EMMA - either because the loads require too much current in total or the metering concept requires an energy flow measurement at a different location.
I have recently installed the brand new Huawei SmartGuard backup power solution, which always includes EMMA.
In preparation for a cascaded metering solution ("Messkonzept mit Kasakadenmessung zur separaten Messung der Energie für SteuVE in Deutschland") not all loads could be connected behind EMMA but the EV charger and at some point in the future a heatpump are connected in front of the SmartGuard and thus EMMA.
Maybe a picture explains it better than many words:
I hope it is obvious from the picture, that EMMA's internal energy flow sensors (pink) will only capture energy flow from and to household + PV. For surplus charging, this measurement is totally off. It will actually assume the energy goint to the wallbox was exported to grid...
The correct measurement needed is the data from the YDS60-80 (blue) which measures the overall energy flow between household and public grid.
Within EMMA, I could configure the external meter to be used for battery charge / discharge control and statistics in Fusion portal and app.
Describe the solution you'd like
I'd like an optional configuration parameter for meters with template huawei-emma (https://docs.evcc.io/en/docs/devices/meters#emma) which switches to use the external meter rather than the internal one.
I do assume that EMMA provides those values via some Modbus register, even though I don't know which one.
However, if you let me know I can best help analyze, develop and test this, I am absoultely willing to help.
Thank you in advance for considering this!
Describe alternatives you've considered
In theory, we could add a third-party meter (unrelated to Huawei) next to the external meter (directly behind the blue one in my drawing) and use that device's data. But it seems a bit cumbersome to add yet another meter if - in theory - all the data should already be available.
Additional context
Please find a description of how and when to use an external meter in the Huawei Smart Guard manual here:
https://support.huawei.com/enterprise/de/doc/EDOC1100366781/26745df?idPath=258788303|258788489|258789981|21102413|255740899
Beta Was this translation helpful? Give feedback.
All reactions