I've reinstalled my opnsense firewall, and had the same issue. My solaredge PV intverter stopped sending the data after a while.
And I had to search again for the solution. So for that, hereby the solution:
- Go to FW rules
- Select the interface with the network of your PV inverter
- Edit the rule: Default allow LAN to any rule
- Show 'advanced options'
- State type, choose 'sloppy state'