Hi,
Just started with dashticz, and look great!
I have a graph which shows me the monthly totals and cumulated totals. What I would like in the graph header (currtly shwos daily totals. to shows me the meter totals.
Is that possible as it only shows me the day total which is the eu, i think but do not have that in the year total en not sure where to change the firue that appreas there.
Hemant
Change Total Topic is solved
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 101
- Joined: Monday 05 November 2018 17:41
- Target OS: Linux
- Domoticz version:
- Contact:
-
- Posts: 101
- Joined: Monday 05 November 2018 17:41
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Change Total
Hi,
Anyone able to assist?
In the header I currently have the total = xxx which shows me the day total however i would like to see the total of the the meter rather than the day total.
I tried to solve it with custom header as a calculated value but the value stays empty so a hint would be appreciated to get the total value.
Hemant
Anyone able to assist?
In the header I currently have the total = xxx which shows me the day total however i would like to see the total of the the meter rather than the day total.
I tried to solve it with custom header as a calculated value but the value stays empty so a hint would be appreciated to get the total value.
Hemant
-
- Posts: 2290
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Change Total
For my solar panels I use an energy device.hemant5400z wrote: ↑Thursday 29 April 2021 14:16 Hi,
Anyone able to assist?
In the header I currently have the total = xxx which shows me the day total however i would like to see the total of the the meter rather than the day total.
I tried to solve it with custom header as a calculated value but the value stays empty so a hint would be appreciated to get the total value.
Hemant
The total counter is reported in the Data field. I can use the following block to show this counter in the graph header:
Code: Select all
blocks['graph_6'] = {
devices: [6],
graphTypes: ['v'],
debugButton: true,
flash: 250,
height: '200px',
customHeader: '"Total counter: " + devices[6].Data '
}
For other device types you may have to use other device fields. You can find the correct data field from the Domoticz json response:
Code: Select all
http://domoticz ip: port/json.htm?type=devices&rid=6
-
- Posts: 101
- Joined: Monday 05 November 2018 17:41
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Change Total
Hi Lokonli,
That did the trick, did not know where to look i was using V_xx and V2_XX and C1 and C2 to solve this but it did not work.
Thanks finally got it working, i need to work with Data0 and Data1 in my case.
Cheers,
Hemant
That did the trick, did not know where to look i was using V_xx and V2_XX and C1 and C2 to solve this but it did not work.
Thanks finally got it working, i need to work with Data0 and Data1 in my case.
Cheers,
Hemant
Who is online
Users browsing this forum: No registered users and 1 guest