The P1 interface can't return the household consumption if you have a production unit, like solar panels.
The possible electrical values returns are :
Code: Select all
Input low tarif: IL Output: 1-0:1.8.1(861200*Wh) Input high tarif: IH Output: 1-0:1.8.2(596292*Wh) Sum of IL+IH: I Output: 1-0:1.8.9(1457492*Wh) Output low tarif: OL Output: 1-0:2.8.1(611578*Wh) Option high tarif: OH Output: 1-0:2.8.2(1343471*Wh) Sum of OL+OH: O Output: 1-0:2.8.9(1955049*Wh) Output live power: OW Output: 1-0:1.7.0(0*W) Input live power: IW Output: 1-0:2.7.0(940*W)
For the live power household, it the same reasoning (Solar value power-OW+IW) in Watt then.
But the problem is.. the fake household consumption meter, will mess-up once on a his real meters have passover.
The solution is the same as my 'Arduino return to zero issue': takes the differences of every meters and increase the virtual house counter.
I'll look at that in the next days...