I solved it by adding
to the dial block definition.values: [
{
value: 'CounterToday',
isNeedle: true,
scale: -1,
}
],
But why did it change behaviour? Has the default behaviour changed?
Moderators: leecollings, htilburgs, robgeerts
to the dial block definition.values: [
{
value: 'CounterToday',
isNeedle: true,
scale: -1,
}
],
Code: Select all
blocks['P1_today'] = {
idx: 1,
title:'Grid today',
type: 'dial',
values: [
{
value: 'CounterToday',
isNeedle: true,
scale: -1,
unit: 'kWh',
showunit: true
}
],
min: -10,
max: 10,
decimals: 3,
showring: true,
showunit: false,
shownumber: true,
width: 4
}
There was some change in the code to make behavior consistent with other power devices, some functionality has been added.willemd wrote: Wednesday 01 February 2023 11:17 I updated to latest Dashticz version today and as result my P1 dial that showed daily total before now showed actual value and was going in reverse.
I solved it by addingto the dial block definition.values: [
{
value: 'CounterToday',
isNeedle: true,
scale: -1,
}
],
But why did it change behaviour? Has the default behaviour changed?
Users browsing this forum: No registered users and 1 guest