Which meter / products?

One possibility could be Reading modbus kWh meters using EmonHub (SDM120 and SDM630). That’s the way how I’m doing (still not finished). As far as I understand you would need 2x SDM630.