Monitoring power outages main switchboard

Hi experts

I am looking for a solution to monitor power outage in separate phases and groups on my main switchboard.
One option is to connect a relay to every seprate main fuse, which is connected to a fibaro smart implant.

Does someone have a different more subtle solution, or is there a z-wave dinrail solution to measure voltage and power, or perhaps a solution to connect s1 consumption meter or rs485 consumption meter to a zwave or zigbee connection ?

Like to hear