Deye microinverter set register via modbus

tool: https://github.com/s10l/deye-logger-at-cmd

command for read:

./main -t ip.ip.ip.ip:48899 -xmb 00280001

0028 -> register
0001 -> length

answer:

+ok=0103022710A278

01      is the slave id
03      is the function code (read)
02      is the length of the payload (2 bytes)
2710    is the playload, in this case hex to dec -> 10000 -> register 53 (in hex 0035) power limit is 100% 
A278    is the crc16

known working registers via:
https://github.com/StephanJoubert/home_assistant_solarman/blob/main/custom_components/solarman/inverter_definitions/deye_2mppt.yaml

write via:

main -t <ip of the logger>:48899 -xmbw 00280001020064

0028    is the start address            (Active power regulation)
0001    is the number of registers      (1)
02      is the length of the value      (2 bytes)
0064    is the value                    (0x0064 -> 100)