Page 1 of 1

Electicity: power and energy

Posted: Tuesday 26 November 2019 10:53
by LucBFR
Hello,

I have an electricity device (OWL) connected on a RFXtrx 433. In Domoticz, this device return the actual power in W and energy in kWh.

I would like to use this 2 data with Dzvents. The properties of "electricity" devices are :
  • counterToday: Number.
  • usage: Number.
  • WhToday: Number. Total Wh usage of the day. Note the unit is Wh and not kWh!
  • WhTotal: Number. Total Wh usage.
  • WhActual: Number. Actual reading.
What I see when I print this method is that for
  • "usage" and "WhActual" are a value for power (in W).
  • "WhToday" and "WhTotal" are the energy (in Wh).
So for me, the method "usage" and "WhActual" are confusing. The label should be "powerinW" or something like that.

Could it be possible to clarify this notion for this device ?
Of course, the previous label should remain available for compatibility.

Re: Electicity: power and energy

Posted: Tuesday 26 November 2019 11:38
by waaren
LucBFR wrote: Tuesday 26 November 2019 10:53 For me, the method "usage" and "WhActual" are confusing. The label should be "powerinW" or something like that.
If I understand you correctly you would like to see that the value you now see in WhActual and usage, becomes available in a new
'actualWatt' attribute ?

Re: Electicity: power and energy

Posted: Wednesday 27 November 2019 11:32
by LucBFR
Exactly. It would be good !.

Re: Electicity: power and energy  [Solved]

Posted: Friday 06 December 2019 16:17
by waaren
LucBFR wrote: Wednesday 27 November 2019 11:32 Exactly. It would be good !.
Implemented in dzVents 2.5.2 (domoticz >= V4.11540)

Re: Electicity: power and energy

Posted: Friday 06 December 2019 17:50
by LucBFR
Great ,

Thanks .