Be able to have a curve even if the value doesn't move

I currently have a thermostat dashboard

On it I have 3 widgets :
Room temperature, the room device with low and high temperature setpoints and the different heating modes (comfort, eco, frost protection (HG), off) and finally a chart with the temperature and the two setpoints.

The problem is that my chart only handles the temperature data because the others were given at a single time t but have not evolved.

I would like to have my two setpoints plotted and the temperature evolving at the same time

![1000069733|225x500](upload://AgVHMSP

Hi @spenceur ! Interesting problem, I have no idea how to solve it though :sweat_smile:

Add to the charts an additional function allowing to define a so-called « setpoint » value (or several).
It could be either fixed with an input to enter, or via a feature variable and we’d retrieve the feature’s lastValue continuously… like that on the fly ^^

That’s a possibility! Let’s first see if it’s requested :slight_smile:

I have the same issue but since I manage my radiators with Node-RED I resend the setpoint regularly for display in the graphs.

Yeah, in this case I handle everything natively with Gladys. So if I can avoid having to add any band-aid fixes, that would be great haha

Yes, that’s for sure.

I’ll take a look afterwards at the 3 PRs in progress that I absolutely have to finish, if it doesn’t take too long. I’m also really interested ^^

Kind of like @_Will_71, but I did it in Gladys: I have a scene called « Repetition of values for 24h ‹ flat › charts »

I’m starting to look at:

Something like this?


We could also do things for per-point variable setpoints, maybe with a current setpoint line…

That may be interesting, but as far as I’m concerned it’s a variable instruction.

It’s in there!! ^^ I’m just looking for the best way to represent it ^^
I’m trying to see if I can also define a zone (like +/- 1°C, if the setpoint is 20°C there would be a zone between 19 and 21°C)

Some visual mockups of the edition. I’m still figuring things out… ^^ it’s a pain on large screens in 3-column mode or on small ones. A lot of info to display.
![image|201x500, 100%](upload

I wonder if we shouldn’t do this in two stages?
In the first stage, select the devices that will serve as threshold values.
And

Yes, you’re very clear ^^

@spenceur (and everyone of course ^^) :
I have progressed to try to answer this request exactly (which is quite specific to an instruction-type feature). Tell me what you (sing./pl.) think:

  • Edit - I went with the same thing as the existing one for now with an addition at the bottom of the page :
  • Dashboard

Yes, it’s very personal!

Another question, because it takes up space. I’d like to disable the default instructions and only show them when selected in the legend.

That means that on a refresh or a page change it will be disabled again.

@pierre-gilles,
I was tearing my hair out trying to get things to work, but it was actually broken — it was resolved in subsequent versions. I just updated to the latest version of apexcharts and it works. But of course I haven’t retested everything.

What do you recommend when updating dependencies? I tested with my current DB and it looks good. But how can I be sure it’ll be the same for everyone?

You should test all chart cases first; after that there’s not much to do, aside from testing a sufficient variety of cases!

Let me know when you’d like a review :slight_smile: