Skip to content

Commit

Permalink
Added 'everyMinute' strategy to examples (#723)
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
  • Loading branch information
cweitkamp authored and Confectrician committed Jun 17, 2018
1 parent 876b9a8 commit 619cf6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions configuration/persistence.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ Below you will find a complete example persistence configuration file:
```java
// persistence strategies have a name and definition and are referred to in the "Items" section
Strategies {
everyHour : "0 0 * * * ?"
everyDay : "0 0 0 * * ?"
everyMinute : "0 * * * * ?"
everyHour : "0 0 * * * ?"
everyDay : "0 0 0 * * ?"

// if no strategy is specified for an Item entry below, the default list will be used
default = everyChange
Expand Down
2 changes: 1 addition & 1 deletion configuration/sitemaps.md
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ See this [Tutorial](https://community.openhab.org/t/13761/1) for more details.

**Technical constraints and details:**

- When using rrd4j persistence, you must use the `everyMinute` (60 seconds) logging strategy. Otherwise rrd4j thinks that there is no data and will not properly draw the charts.
- When using rrd4j persistence, the strategy `everyMinute` (60 seconds) has to be used. Otherwise no data will be persisted (stored) and the chart will not be drawn properly.
- The visibility of multiple Chart objects may be toggled to simulate changing the Chart period; non-visible Chart widgets are NOT generated behind the scenes until they become visible.
- When charting a group of item, make sure that every label is unique. If the label contains spaces, the first word of the label must be unique. Identical labels result in an empty chart.

Expand Down

0 comments on commit 619cf6b

Please sign in to comment.