Added 'everyMinute' strategy to examples (#723)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>pull/734/head
parent
94a28b3842
commit
95e3d0aa91
|
@ -112,8 +112,9 @@ Below you will find a complete example persistence configuration file:
|
||||||
```java
|
```java
|
||||||
// persistence strategies have a name and definition and are referred to in the "Items" section
|
// persistence strategies have a name and definition and are referred to in the "Items" section
|
||||||
Strategies {
|
Strategies {
|
||||||
everyHour : "0 0 * * * ?"
|
everyMinute : "0 * * * * ?"
|
||||||
everyDay : "0 0 0 * * ?"
|
everyHour : "0 0 * * * ?"
|
||||||
|
everyDay : "0 0 0 * * ?"
|
||||||
|
|
||||||
// if no strategy is specified for an Item entry below, the default list will be used
|
// if no strategy is specified for an Item entry below, the default list will be used
|
||||||
default = everyChange
|
default = everyChange
|
||||||
|
|
|
@ -454,7 +454,7 @@ See this [Tutorial](https://community.openhab.org/t/13761/1) for more details.
|
||||||
|
|
||||||
**Technical constraints and 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.
|
- 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.
|
- 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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue