Arduino nano mqtt

I'd try to send the values alternately. You already have the twenty second interval set up. Use a boolean flag to decide which pzem to send each time.