Page 1 of 1
Dashticz Graphs - customHeader with other device data
Posted: Sunday 26 April 2020 17:35
by clinkadink
Update the customHeader parameter allowing use of other device data.
https://www.domoticz.com/forum/viewtopi ... 77#p244511
Re: Dashticz Graphs - customHeader with other device data
Posted: Monday 04 May 2020 15:22
by dorenberg
also interested in this.
Re: Dashticz Graphs - customHeader with other device data
Posted: Saturday 06 June 2020 23:32
by clinkadink
This feature is now available in the beta version.
Re: Dashticz Graphs - customHeader with other device data
Posted: Sunday 07 June 2020 10:19
by renerene
clinkadink wrote: ↑Saturday 06 June 2020 23:32
This feature is now available in the beta version.
Please explain. Is it hard programmed for power meter only?
Would be great to minimalise / modify other headers to. My temp multigraph header needs to be wide because of bad line break from header.

Re: Dashticz Graphs - customHeader with other device data
Posted: Sunday 07 June 2020 10:23
by clinkadink
renerene wrote: ↑Sunday 07 June 2020 10:19
clinkadink wrote: ↑Saturday 06 June 2020 23:32
This feature is now available in the beta version.
Please explain. Is it hard programmed only for power meter?
Would be great to minimalise / modify other headers to. My temp multigraph header needs to be wide because of bad line break from header.
- Spoiler: show

Sure, customHeader now accepts a string, for example:
Code: Select all
customHeader: '"Usage: " + devices[6].Usage + "Delivery: " + devices[6].CurrentDeliv'
https://dashticz.readthedocs.io/en/beta ... stomheader
Re: Dashticz Graphs - customHeader with other device data
Posted: Sunday 07 June 2020 10:46
by renerene
Great!
.Usage method is not working for my gas P1 meter, resulting in "undefined". How to get a list of possible values per device?
additional idea: show daily min / max temperature in header
Re: Dashticz Graphs - customHeader with other device data
Posted: Sunday 07 June 2020 10:50
by clinkadink
You can get the device information using this:
Code: Select all
http://_DOM_IP_PORT_/json.htm?type=devices&rid=_IDX_
Further info, here:
https://www.domoticz.com/wiki/Domoticz_API/JSON_URL's
Re: Dashticz Graphs - customHeader with other device data
Posted: Sunday 07 June 2020 10:59
by renerene
Thanks!