Domoticz text values in a Dashticz X-Y graph.

Moderators: leecollings, htilburgs, robgeerts

Post Reply
danko
Posts: 5
Joined: Saturday 01 October 2022 19:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Domoticz text values in a Dashticz X-Y graph.

Post by danko »

In the Dashticz manual, chapter: Graphs-Examples-Combine two temperature devices with the switch info indicating central heating is on there is a X-Y graph showing when the central heating is on.
My question is: How do you get text values from Domoticz in such a graph? And how is it translated to a scale from 0 - 100?
The config file is abreviated and does not show how it is done. Or am I missing something?
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz text values in a Dashticz X-Y graph.

Post by Lokonli »

Text values are not supported at the moment. Only 'data'-devices and switches.

Selector switches are also supported.

Can you sketch how you would like to draw a graph of a text device?
danko
Posts: 5
Joined: Saturday 01 October 2022 19:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz text values in a Dashticz X-Y graph.

Post by danko »

lokonly wrote: Can you sketch how you would like to draw a graph of a text device?

Good question! I have no idea. I now understand that On-Off is not a text value, but a switch status.
Is a switch automatically 0 for off and 100 for on?
Now that I think I understand it a little more I will try to get some answers myself. Thanks for the swift reaction!
danko
Posts: 5
Joined: Saturday 01 October 2022 19:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz text values in a Dashticz X-Y graph.

Post by danko »

Lokonli wrote: Can you sketch how you would like to draw a graph of a text device?

Good question: I have no idea.
That's because I think I now understand that On-Off is not a text value but a switch status.
Apparently On is translated to 100 and Off to 0.
Thanks for your swift answer
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest