What's the best possibility to show productivity of an input (1/0 or True/False) in a chart in DB2. For DB1 there was a ui-state-trail which would be perfect.
Any ideas/workarounds?
Im quite new to node red and have no exp with java script, so happy for detailed solutions.
@joepavitt here is your marking!
Thanks @mikahaller - just to be sure, they kind of data you have here would be something like an array of objects like:
[{
date: "<date-here>",
state: 1/0
}, ...]
or, are they just entries without a timestamp, i.e. [0, 1, 1, 1, 0]
?
I am eagerly waiting for @hotNipi to consider making this for DB2. one of my whole project depends on this. I am stalling moving from DB1 to DB2 just for this reason.
They are just entries as integers (Int16). Time is "given" by software at "arriving". I'm no specialist so i don't know the vocabulary but i think you get it
Yep, I got it, so, between two points - does that time matter? i.e. does it need to be visualised at all? Or could we just visualise the state, and ignore the timestamps?
yeah, it matters! But i don't need to see how much time a status held on, but it needs to be visualised.
but it wouldnt need to check regularly, it can "just" be that it reacts to changes. If theres a "1" or "True" it is green, and it is green until there is a "0" or "False". Then it becomes red, until input is "1" or "True" again. And so on. See picture for example how it would be perfect.
hope i could explain it?
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.