Hello I m searching a widget to display on the same widget power and energy.
There is "Electric (Instant+Counter)" but this one use an incremental counter for energy, and I want to use my own value for energy and power.
I can retreiving the old value and make calcul to send the good value to have the correct value displayed for energy, but it's a little overkill.
Searching a specific widget.
Moderators: leecollings, remb0
-
Thorgal789
- Posts: 883
- Joined: Wednesday 15 August 2018 14:38
- Target OS: -
- Domoticz version:
- Contact:
- FireWizard
- Posts: 1968
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: Searching a specific widget.
Hi,
I think it is possible to use Electric (Instant and Counter)
From the Wiki:
Regards
I think it is possible to use Electric (Instant and Counter)
From the Wiki:
You can choose between "Computed" and "From device". You need the last one.Electricity (instant and counter)
/json.htm?type=command¶m=udevice&idx=IDX&nvalue=0&svalue=POWER;ENERGY
IDX = id of your device (This number can be found in the devices tab in the column "IDX")
POWER = current power
ENERGY = cumulative energy in Watt-hours (Wh) This is an incrementing counter. (if you choose as type "Energy read : Computed", this is just a "dummy" counter, not updatable because it's the result of Domoticz calculations from POWER)
Regards
-
Thorgal789
- Posts: 883
- Joined: Wednesday 15 August 2018 14:38
- Target OS: -
- Domoticz version:
- Contact:
Re: Searching a specific widget.
But it's my problem, the device don't send periodic power for domoticz can compute it, but it calcule itself the value and send power + computed energy.
So I want to use the value send by the device.
So I want to use the value send by the device.
Who is online
Users browsing this forum: No registered users and 1 guest