AstraMeter with a Sungrow inverter + DTSU666 smart meter #400
-
|
Hi, I’m trying to use AstraMeter with a Sungrow inverter + DTSU666 smart meter for EVCC. Current setup:
I plan to buy a Marstek Venus E 3.0 battery soon and want to make sure the Shelly Pro 3EM emulation works correctly before buying/installing the battery. Docker run command: sudo docker run -d Current config: [GENERAL] [MODBUS] I tested several registers:
Example: Logs always show: but mostly:
There is also this recurring error: Could someone help identify the correct Sungrow/DTSU666 power register and register type for AstraMeter? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
I don't have a Sungrow + DTSU666 rig to test against, so take this with a grain of salt but I went and dug through the usual Sungrow Modbus references and I think two settings in your Worth a try: [MODBUS]
HOST = 192.168.178.22
PORT = 502
UNIT_ID = 1
ADDRESS = 13009 # "Export power"
COUNT = 2
DATA_TYPE = INT32
BYTE_ORDER = BIG
WORD_ORDER = LITTLE # <-- was BIG; Sungrow looks to be word-swapped
REGISTER_TYPE = INPUT # <-- was HOLDING; Sungrow seems to use input registers (FC04)
# 13009 reads positive when exporting; Shelly/EVCC want import = positive,
# so you'll probably need to flip the sign:
POWER_MULTIPLIER = -1Where I'm getting the register details (I just looked these up, haven't verified them on hardware):
How you'll know it worked: with the kettle on, the value should jump clearly positive (~2000 W from the grid). If it goes negative instead, just drop the On the Again, this is all from reading the docs rather than a working setup, so I'd love to hear whether the INPUT + word‑swap change actually moves the needle for you. |
Beta Was this translation helpful? Give feedback.


Awesome, glad that sorted it and thanks for posting the working config back, that's useful for the next person who hits this. Quick recap for posterity:
REGISTER_TYPE = INPUT,WORD_ORDER = LITTLE, no multiplier needed. Sign comes out right because the meter reports import-positive already.POWER_MULTIPLIER = -1to flip export-positive into the import-positive convention Shelly/EVCC expect.Your instinct to prefer 5600 matches what I'd lean toward too, it's the raw DTSU666 reading rather than something the inverter derives, so it should track grid changes with the…