Searching a specific widget.

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Thorgal789
Posts: 883
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Searching a specific widget.

Post by Thorgal789 »

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.
User avatar
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.

Post by FireWizard »

Hi,

I think it is possible to use Electric (Instant and Counter)

From the Wiki:
Electricity (instant and counter)

/json.htm?type=command&param=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)
Screenshot_IQ7-3.png
Screenshot_IQ7-3.png (17.75 KiB) Viewed 137 times
You can choose between "Computed" and "From device". You need the last one.

Regards
Thorgal789
Posts: 883
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Searching a specific widget.

Post by Thorgal789 »

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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest