## P1 household consumption

P1 interface and others smart meters
jeanmarc
Posts: 2134
Joined: Thu Aug 29, 2013 7:16 am

### P1 household consumption

Hi,

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)``````
In order to simulate a household-meter, it is simple math: (IL+IH)+solarprod-(OL+OH) Wh
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...

KelvinJones
Posts: 1
Joined: Wed Nov 13, 2013 8:18 am

### Re: P1 household consumption

jeanmarc wrote:Hi,

The P1 interface can't return the household consumption if you have a production unit, like
solar panel.

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)``````
In order to simulate a household-meter, it is simple math: (IL+IH)+solarprod-(OL+OH) Wh
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...
Thanks for sharing code.. I am looking to get solar panels in some time and I will surely need your help..

### Who is online

Users browsing this forum: No registered users and 1 guest