I would like to achieve kind of same functionality as HA has (no flame pls) which shows timeline of when something has been ON/OFF or whatever state it is etc.
this:
So in OH, I guess I need to persist state of the item, but do we have something like timeline module as same as Graphs are? eg. I can probably put persisted ON/OFF to the graph, but it’s not really nice solution.
Has anybody some tips or working solution I can start with?
Would be great. Thanks!
OH tends to be a bit more stable than HA. You can go back five years in some cases and still have valid information in a tutorial. The challenge is figuring out what is still relevant and what isn’t. Usually the best approach is to just try it and see and then ask a question if it doesn’t work.
Depends on the database. You can in InfluxDB but not in RRD4J.
This is probably the best approach. There really isn’t anything built into OH to generate a chart like that.
There might be some custom widgets for HABPanel though which can get you there.
Personally, I use InfluxDB to persist the data and Grafana to chart the values. Here is my temperature chart showing when the house fan is ON (the blue line at the bottom shows when the fan is ON). I definitely had some sort of hick-up last night around 20:15 it appears.
am persisting on/off just fine (using influx) basically I was looking for something which will draw timeline as graphs are.
Grafana is good, but not really sure if I want to manage several platforms to make data usable.