Dashticz Graphs - customHeader with other device data Topic is solved

Moderators: leecollings, htilburgs, robgeerts

Post Reply
User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Dashticz Graphs - customHeader with other device data

Post by clinkadink »

Update the customHeader parameter allowing use of other device data.
https://www.domoticz.com/forum/viewtopi ... 77#p244511
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
dorenberg
Posts: 111
Joined: Monday 22 June 2015 20:18
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10982
Location: Veghel, The Netherlands
Contact:

Re: Dashticz Graphs - customHeader with other device data

Post by dorenberg »

also interested in this.
User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Re: Dashticz Graphs - customHeader with other device data

Post by clinkadink »

This feature is now available in the beta version.
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
renerene
Posts: 347
Joined: Wednesday 03 August 2016 11:36
Target OS: -
Domoticz version:
Contact:

Re: Dashticz Graphs - customHeader with other device data

Post 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.
Image
Last edited by renerene on Sunday 07 June 2020 10:26, edited 1 time in total.
User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Re: Dashticz Graphs - customHeader with other device data

Post 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
Image
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
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
renerene
Posts: 347
Joined: Wednesday 03 August 2016 11:36
Target OS: -
Domoticz version:
Contact:

Re: Dashticz Graphs - customHeader with other device data

Post 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
Last edited by renerene on Sunday 07 June 2020 10:51, edited 1 time in total.
User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Re: Dashticz Graphs - customHeader with other device data

Post 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
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
renerene
Posts: 347
Joined: Wednesday 03 August 2016 11:36
Target OS: -
Domoticz version:
Contact:

Re: Dashticz Graphs - customHeader with other device data

Post by renerene »

Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests