Hi Sammy1337
Do you have the raspberry pi connected via rs485 to the inverter ? The attached document contains modbus mapping for sunsynk , it seems to work fine for the 8kW deye.
It should be easy to set up using node red and modbus .
sunsynk_modbus.docx