salakrzy / DTSU666_CHINT_to_HUAWEI_translator

This project uses ESP32 to translate MODBUS messages of CHINT's DTSU666 Energy Meter into HUAWEI DTSU666H format
27 stars 9 forks source link

does not work anymore #5

Closed xyphro closed 1 year ago

xyphro commented 2 years ago

Hi!

After adding a meter to sun 2000 it sends: 0B 03 07 D1 00 01 D5 ED which is answered by 0B 03 02 3F 80 30 15

Afterwards it sends: 0b 03 00 03 00 01 74 a0

So requests 1 register at address 0x0003.

This address is not handed by this implementaiton. I guess this popped up due to a FW update in the Sun2000 inverter.

Any idea?

Best regards,

Xyphro

s-marian commented 2 years ago

Hi, see my repository, it works perfectly for me, it is in production for 3 months already.

https://github.com/s-marian/DTSU666_CHINT_to_HUAWEI_translator

Marian

Xyp commented 2 years ago

The main difference seems to be that you return 0x3b11 as value for register read 0x7d1.

Will try this out, thanks Marian!

s-marian commented 2 years ago

Well, I can't remember the details but I had to do some address remapping and different scaling. Let me know if it works for you and tell me your inverter model too, thanks!

Xyp commented 2 years ago

Will try tomorrow. Inverter model is sun2000-10ktl-m1 Would love to find a full register readout for dtsu666-h, but don't know anybody that has one.

s-marian commented 2 years ago

Mine is also M1, so I am confident it will work well for you too.

I will send the dump from dtsu666-h in email.

s-marian commented 2 years ago

Pls write your email address here:)

Xyp commented 2 years ago

X_y_p_hro@gmail.com

Delete the underscores to get the real address.

Xyp commented 2 years ago

0x3b11 as response made the difference. Amazing! Would still be interested in a dump of all registers just to get a rough understanding what could go wrong in future sw updates

s-marian commented 2 years ago

Hi, I sent an email with the dump, didn't you receive it? Glad that it works!

Xyp commented 2 years ago

No, did not receive. Will adjust this thing for sdm630 meter! Thanks for your help!

gytisgreitai commented 1 year ago

Hey, would it be possible to get the dump published somewhere? Thanks!

salakrzy commented 1 year ago

This issue is fixed in a newer version.

xyphro commented 1 year ago

Have also fixed it here: https://github.com/xyphro/Sun2000MeterTransposer