Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Exec Persistence

dakalff edited this page Nov 24, 2013 · 4 revisions

Documentation of the Exec Persistence Service

Introduction

This service allows you to execute commands in the underlying OS to persist. It could be used to call e.g. the original rrdtool API.

Features

This persistence service supports writing information to the command line.

Installation

For installation of this persistence package please follow the same steps as if you would install a binding.

Additionally, place a persistence file called exec.persist in the ${openhab.home}/configuration/persistence folder.

Configuration

There is nothing to configure in the openhab.cfg file for this persistence service.

All item and event related configuration is done in the exec.persist file. Aliases do have special meaning for the exec Persistence Service because they carry out 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.

Installation


User Interfaces


Community

(link to openHAB forum)

Development



Misc


Samples

A good source of inspiration and tips from users gathered over the years. Be aware that things may have changed since they were written and some examples might not work correctly.

Please update the wiki if you do come across any out of date information.

Use case examples

Collections of Rules on a single page

Single Rules

Scripts


Release Notes

Clone this wiki locally