Hello.

I'm testing the Power meter with Arduino and AC721 (current sensor) and I would need to

create an event that changes me consumption as the total consumtions exceeds a certain

value.

For example : the ' photovoltaic system produces 3 kW / h and my total consumption of 3.7 kW / h ( 1kW / h kitchen , 1 kw / h bathroom, 1 kw / h bedroom and 0.7 kW / h other consumption ) .

*My event is to make the sum of consumption and if the total is larger than it produces photovoltaic should begin to detach consumption ( with a certain priority ) until consumption are smaller production . In my example, I first off the other consumption . If consumption is anchored larger or equal to the production I detach a part of the consumption of the bathroom. If consumption is smaller then everything ok . If they are still larger than or equal with the production then I detach a part of the consumption of the bedroom ......

How can I do the math?

Thanks,

Marian

I'm testing the Power meter with Arduino and AC721 (current sensor) and I would need to

create an event that changes me consumption as the total consumtions exceeds a certain

value.

For example : the ' photovoltaic system produces 3 kW / h and my total consumption of 3.7 kW / h ( 1kW / h kitchen , 1 kw / h bathroom, 1 kw / h bedroom and 0.7 kW / h other consumption ) .

*My event is to make the sum of consumption and if the total is larger than it produces photovoltaic should begin to detach consumption ( with a certain priority ) until consumption are smaller production . In my example, I first off the other consumption . If consumption is anchored larger or equal to the production I detach a part of the consumption of the bathroom. If consumption is smaller then everything ok . If they are still larger than or equal with the production then I detach a part of the consumption of the bedroom ......

How can I do the math?

Thanks,

Marian

## Comment