Electicity: power and energy  [Solved]

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
LucBFR
Posts: 3
Joined: Tuesday 26 November 2019 10:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 11468
Contact:

Electicity: power and energy

Post 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.
Domoticz beta - Raspberry, RFXCom, Mysensors, Hue bridge
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Electicity: power and energy

Post 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 ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
LucBFR
Posts: 3
Joined: Tuesday 26 November 2019 10:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 11468
Contact:

Re: Electicity: power and energy

Post by LucBFR »

Exactly. It would be good !.
Domoticz beta - Raspberry, RFXCom, Mysensors, Hue bridge
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Electicity: power and energy  [Solved]

Post by waaren »

LucBFR wrote: Wednesday 27 November 2019 11:32 Exactly. It would be good !.
Implemented in dzVents 2.5.2 (domoticz >= V4.11540)
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
LucBFR
Posts: 3
Joined: Tuesday 26 November 2019 10:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 11468
Contact:

Re: Electicity: power and energy

Post by LucBFR »

Great ,

Thanks .
Domoticz beta - Raspberry, RFXCom, Mysensors, Hue bridge
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest