Closed kwertie01 closed 4 days ago
Hi @kwertie01 Thanks for your contribution!
I have looked at your code, and i think it's ready to be included. I have double checked the modbus response length, and you are right, 7 bytes is the minimum when reading just 1 register. adr(1) fc(1) len(1) reg(2) crc(2) @dingo35 can you include it?
Thanks all !!
I add code to support the Sinotimer DTS6619 KWh meter. Bought from Aliexpress: https://www.aliexpress.com/item/1005006374239794.html RS485 Dgital Bidirectional Wattmeter 100A 380V AC Three Phase Photovoltatic Energy Meter kWh Power Voltage Current Instrument.
Main changes:
While testing with the active power data of only 1 phase. I noticed that the minimum data length for modbus was limited to 8 bytes. I think this is not correct. It could be 7 bytes if the data returned is 16 bit (2 bytes). Or even 6 bytes when only 1 byte is returned.
Below the protocol info delivered with the device (contains one error: the divider for Phase ABC Current is not 0.1A but 0.01A)![Modbus](https://github.com/dingo35/SmartEVSE-3.5/assets/48419274/32619097-a1ae-4bb3-93c4-a60b065051c2)
I hope this is the correct way to contribute :-)