Skip to content

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.

feature overview

Installation

Setup intro

Linux and OS X

Windows

FreeBSD


Configuration

Automation*

User Interfaces

Persistence


Community

(link to openHAB forum)

Development


Bindings


Application Integration

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.

Binding configurations

Use case examples

Item definition examples

Sitemap definition examples

Collections of Rules on a single page

Single Rules

Scripts

Syntax highlighting for external editors


Release Notes

Clone this wiki locally
You can’t perform that action at this time.