Home Asistant modbus slave for SMA Home Manager 2 to control feed-in

It seems from below post that node-red could be an intermediary, i.e. Home Assistant writes to a node-red based modbus slave and the SMA HM2 reads from the same register.

Feed-back welcome.