Want to use PZEM controller to detect current flow direction

I had grid inverter. What I need is to follow it. I use pzem 004t v3.0 but it reads both ways. I want to distinguish it