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

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

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