Boolean feeds

Hello,

I have a boolean feed that is 0 or 1 (quite obvious).

When the update interval is short (10-20 seconds), i see on the visualization a graph with a square wave. However, if the feed is updated in long (1 hour) the transitions on the graph are not vertical.

This way of plotting the graphs is ok for continuos variables, like power or temperature, but for on-off feeds it's not so good.

Is there any workaround?

I use this feed to check when the boiler is heating the water, and compare with the temperature.

 

Thanks

 

pb66's picture

Re: Boolean feeds

It is only the visualizations that "show" a progression between off and on, the value is still boolean so if you are using it for calculations it will still be 0 until it switches to 1, even if the visualisations show differently.

You didn't mention which feeds you are using or how/when the data arrives. The closest thing you'll get to a "workaround" is probably using a "Fixed Interval" with a short interval irrespective of how frequently the value changes, this will give you steeper changes in the graphs so they don't look so odd. a phpfina uses very little data so the increase in datapoints should be quite minimal if you are currently using another type. 

Paul

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.