A connection to the inverter (dongle) is sufficient to read out all devices on the ModBus, such as the battery and SmartMeter.
The dongle has also a RJ45 jack, so no problem.
Thank you both!
Hello again, my provider said I also need Huawei DTSU666-H 100A smart power meter for battery. Anybody know what it is and is it possible to integrate to OH?
Can the smart power meter provide real time data about current production and consumption?
Yes the DTSU is neccessary, otherwise you could load battery from grid which makes absolutely no sense.
It is of course connected with the inverter which controls then loading of battery.
It is connected by a simple modbus wire pair, not by ethernet.
Hi Christian,
Thank you for your reply! Sorry I have some follow up questions:
Does it provide realtime data on consumption and production?
If I connect Modbus TCP to sun2000 do I get the realtime data or does it require a separate connection to the smart meter?
I donāt quite understand that the battery can be charged by grid without the smart meter, can you elaborate on that?
My end goal is to automate in OH to decide when to charge/discharge battery, and when to sell to grid vs charging battery. Iām not sure if itās possible to implement with Modbus? I read some post here that writing to the register doesnāt work, can we only read from Huawei?
Many thanks in advance!
Hi Mai,
Do not sorry, I was in the same situation last year and happy to get some more information here and there, although I have no battery but a EV which behaves quite the same.
Battery and DTSU are connected with the inverter, so you get consumption and production values via modbus, but modbus is no real time protocol so there are some fluctuations.
The inverter does not know the consumption of your house, so it can either load all into the battery or to the grid, or maybe a defined percentage but never the exact PV excess.
The DTSU measures the balance of the three phases and reports to the inverter by modbus.
I have an hourly based tariff which is for me much too hard to automate in combination with PV excess.
I have also no knowledge about writing values by modbus so cannot help here unfortunately.
Thank you for the help, very much appreciated!
I might also skip the battery for now - my calculation with previous years el price shows it will take 8-9 years to get back investment on battery which doesnāt look like a good investment.
it still IS a positive Return on Investment, isnāt it. Future COā pricing will improve it further, so why not?
Thatās a tough one to properly automate indeed.
I managed to get the combo to work meanwhile.
You might know Iām selling a commercial HEMS based on openHAB.
Weāre looking for Huawei owners to test our implementation including battery charging. Contact me if youāre interested.
You need to be located in Germany and get a discount in return.
.
Well - the battery has 10 years warranty so in worst case it might just break even (in financial terms Iām actually losing money due to FV=PV). In Denmark a 5kwh battery costs 4000eur, if discharge during the most expensive hours I will get back 0,20eur per kWh per day. And I understand itās not the full 5kwh I can use as the capacity will go down over the years
If warranty already is 10 yrs, lifespan will be much larger.
And Return on Invest is very much non-linear. A single kWh of capacity will do to mitigate spikes.
The savings the first kWh of capacity gets you are a lot higher than those of the fifth or tenth.
Get a smaller battery to boost your RoI.
I donāt think it will last much longer than 10 years. Discharge cycles is rated at 6000, so 2 times a day it will last just about 10 years
That just means capacity and/or speed will decrease below a threshold thatās defined as per warranty rules so savings will become less. But it doesnāt mean itāll stop working by then.
PV modules also were said to last 20 yrs at most, now it turns out itās closer to 40.
Batteries in early Teslas also exhibit a longer-than-expected will to survive.
I am running a Huawei sun2000 & Luna2000 combo without the dtsu energy meter. Rules for charging / discharging are implemented in openHAB.
Why do I do that?
- I donāt have any space left to install the dtsu in my switch cabinet + there is 25 meter between the house switch cabinet and the garage switch cabinet where the inverter is installed.
- I do own another inverter from solar edge with energy meter which is sadly not compatible with the Huawei.
Basically what I do is: take the values from solar edge, calculate if there energy available or needed and send those commands through modbus tcp to Huawei inverter.
Would it be easier to let the Huawei do the math? Yes absolutely, but since I have no space left in the switch cabinet and the modbus values for house consumption and so on are not writable (read only) at Huawei inverter - I took this approach
Yes, itās a pity that there is still no real standard protocol.
I stumbled on release notes from a recent firmware update of the sun2000 inverter stating it supports now also sunspec.
I tried the sunspec āthree phase inverterā thing without success.
Had someone tried successfully?
The firmware version is V100R001C00SPC165.
Are you able to control Sun2000 and Luna2000 by writing Modbus command to the inverter? Iām considering to have the same combo with the smart meter, but Iād like to control when to charge (vs sell to grid) and discharge myself, is it doable?
Ok if it lasts for that many years I think itās worthy to consider the battery in my setup.
One thing I learned from the seller that even with battery it canāt run off grid, I was hoping it can provide electricity during emergency cases when there is no power from Grid.
When switching between battery and grid, does it cause any interruption? Like blackout for some seconds? I have some appliances which donāt like power restartā¦
Very likely so. Canāt tell, maybe anyone of the other readers can. It works with my Sungrow inverter but I donāt own a Huawei and I know uninterrupted power providing is a rare capability among inverters (in fact I donāt know of any other inverter model that can do it, too. Most people with a battery still need to run a UPS.)
Yes, doable:
f.e. this modus registers
37001 Charge and Discharge Power
47087 Charge from Grid Function
47100 Forcible Discharge Charge Status