openhab-docs/_addons_persistences/exec
Kai Kreuzer f1727cae7b
updated generated content
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2017-10-18 17:08:32 +02:00
..
readme.md updated generated content 2017-10-18 17:08:32 +02:00

readme.md

id label title type description source since install
exec Exec Exec - Persistence Services persistence This service allows you to execute commands in the underlying OS to persist item states. It could be used to, for example, call the original `rrdtool` CLI tool. https://github.com/openhab/openhab1-addons/blob/master/bundles/persistence/org.openhab.persistence.exec/README.md 1x manual

{% include base.html %}

Exec Persistence

This service allows you to execute commands in the underlying OS to persist item states. It could be used to, for example, call the original rrdtool CLI tool.

This persistence service supports only writing information, and so features such as restoreOnStartup and sitemap Chart widgets cannot be used with this service.

Configuration

This service does not have a configuration.

All item- and event-related configuration is done in the file persistence/exec.persist.

Aliases have special meaning because they contain the command line to execute e.g. like

"echo \"%2$tY-%2$tm-%2$td %2$tT : %1$s\""

To enhance the given command line with the current state or the current date, the service incorporates the String.format() method. The first parameter is always the state of the particular item, the second parameter is the current date.