Electric Instant + Counter in domoticz, bugs?

On domoticz Electric device (Instant + Counter) it is possible to select only Instant Power data and not the daily energy usage.

@Diego_Flyer Can you share API response for that device?

[HOST]/json.htm?type=devices&rid=[DEVICE_ID]
{
	"ActTime" : 1697572400,
	"AstrTwilightEnd" : "20:04",
	"AstrTwilightStart" : "05:54",
	"CivTwilightEnd" : "18:55",
	"CivTwilightStart" : "07:02",
	"DayLength" : "10:53",
	"NautTwilightEnd" : "19:30",
	"NautTwilightStart" : "06:28",
	"ServerTime" : "2023-10-17 21:53:20",
	"SunAtSouth" : "12:59",
	"Sunrise" : "07:32",
	"Sunset" : "18:26",
	"app_version" : "2023.1",
	"result" : [
		{
			"AddjMulti" : 1.0,
			"AddjMulti2" : 1.0,
			"AddjValue" : 0.0,
			"AddjValue2" : 0.0,
			"BatteryLevel" : 255,
			"CounterToday" : "17.588 kWh",
			"CustomImage" : 0,
			"Data" : "17621.404 kWh",
			"Description" : "",
			"EnergyMeterMode" : "",
			"Favorite" : 0,
			"HardwareDisabled" : false,
			"HardwareID" : 3,
			"HardwareName" : "Elettrica",
			"HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
			"HardwareTypeVal" : 15,
			"HaveTimeout" : false,
			"ID" : "00082287",
			"LastUpdate" : "2023-10-17 21:53:19",
			"Name" : "Energia Casa",
			"Notifications" : "false",
			"PlanID" : "8",
			"PlanIDs" : 
			[
				8
			],
			"Protected" : false,
			"ShowNotifications" : true,
			"SignalLevel" : "-",
			"SubType" : "kWh",
			"SwitchTypeVal" : 0,
			"Timers" : "false",
			"Type" : "General",
			"TypeImg" : "current",
			"Unit" : 1,
			"Usage" : "482 Watt",
			"Used" : 1,
			"XOffset" : "0",
			"YOffset" : "0",
			"idx" : "287"
		}
	],
	"status" : "OK",
	"title" : "Devices"
}

@Diego_Flyer To clarify, currently in the app, which value is available to select based on that data example and which value you would like to add:

  • 482 Watt (Usage property)
  • 17.588 kWh (CounterToday property)
  • 17621.404 kWh (Data property)

I would expect that to be 482 Watt (Usage), which is instant usage if I understand this device config correctly. Does it behave differently?

@igor i expect to be able to choose wich data if power or energy. for sure the 482 watt and 17.588 kwh are important. Totale usage 17621.404 not mandatory.
Diego

@Diego_Flyer Support for both today’s and total usage will be added in the next release.