Skip to content

MongoDB Persistence

Thorsten Hoeger edited this page Jun 17, 2014 · 2 revisions

Documentation of the MongoDB Persistence Service

Introduction

This service allows you to persist state updates using the MongoDB database.

Features

This persistence service supports writing information to MongoDB document store.

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 mongodb.persist in the ${openhab.home}/configuration/persistence folder. This has the standard format as described in Persistence.

Configuration

This persistence service can be configured in the "MongoDB Persistence Service" section in openhab.cfg.

############################ MongoDB Persistence Service ##################################
# the database url
mongodb:url=mongodb://localhost:27017

# the database name
mongodb:database=openhab

# the collection name
mongodb:collection=openhab

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.