1) a current actual power value (watts), either positive or negative
2) a total lifetime usage counter kWh
3) a total lifetime return counter kWh
This meter does not give me a high or low tariff usage/return, just a total, which is fine with me.
Currently I am loading those values on 3 separate devices, but I would like to use a P1 device instead.
In the python plugin wiki the P1 description is as show below, so total 10 fields available.
I am gessing the power needs to be put on either CONS or PROD, depending on the sign.
But where to put the 2 other values? On the counter fields and, if so, which ones?
Or on the return/usage fields?
But there the description mentions that it is a "tariff" fields. I would not expect to put financial data in here.
Or should it say "energy usage meter reading for tariff 1" instead of "energy usage meter tariff 1" in the description?
On the other hand, if I would use DZvents or JSON, then I would use usage/return fields for lifetime counter values.
But then, what are the counter fields used for?
Very inconsistent or at least confusing.
And what to do with the other fields, leave blank or fill with zero?
Can't find it here in the forum, since I cannot search for P1, search term too short.
Any advice?
Thanks
Code: Select all
For multi meters (P1 Smart Meter, CM113, Electrisave and CM180i):
Devices[Unit].Update(nValue=nValue, sValue="USAGE1;USAGE2;RETURN1;RETURN2;CONS;PROD;DATE")
USAGE1= energy usage meter tariff 1, This is an incrementing counter
USAGE2= energy usage meter tariff 2, This is an incrementing counter
RETURN1= energy return meter tariff 1, This is an incrementing counter
RETURN2= energy return meter tariff 2, This is an incrementing counter
CONS= actual usage power (Watt)
PROD= actual return power (Watt)
DATE = date with %Y-%m-%d format (for instance 2019-09-24) to put data in last week/month/year history log, or "%Y-%m-%d %H:%M:%S" format (for instance 2019-10-03 14:00:00) to put data in last days history log
or
Devices[Unit].Update(nValue=nValue, sValue="USAGE1;USAGE2;RETURN1;RETURN2;CONS;PROD;COUNTER1;COUNTER2;COUNTER3;COUNTER4;DATE")
as previously, plus absolute counter values