The problem originates in Line 73 of the sketch:
typedef struct {
unsigned long Msg;
int Vrms,P1,P2,P3,P4;
unsigned long E1,E2,E3,E4;
int T1,T2,T3;
unsigned long pulse;
} PayloadTX;
E1, E2, E3 & E4 should be defined as signed values. What’s happening is further down at line 268, the signed value gets inserted into the unsigned variable:
emontx.E1 = EmonLibCM_getWattHour(0);
(etc).
And then emonhub.conf perpetuates the error.
Your quick fix will be to change your emonhub.conf according to the post you linked to.
That should show an energy of -128 for E1, and -150 for E2.
If editing emonHub doesn’t work, (and it might not, depending on how the data is handled on its way into emonCMS) then try in emonCMS.
I’m not an expert on emonCMS, but there is some conditional processing available.
What I think you need is
If >, skip next [Value: 2147483647]
log to feed [whichever it is]
+ [Value: 4294967294]
log to feed [whichever it is - the same one]
I don’t know what that will do about the display problem - is that coming from the ESP?
The other point I noted - why is your voltage showing only 0.43 V? That probably explains
the very low and negative energy - the voltage is pickup and the phase of the current relative to it is all wrong.