Coder Social home page Coder Social logo

persistenceviewer's Introduction

PersistenceViewer

Setup:

  1. Download the zip file and extract the PersistenceViewer directory to ${OPENHAB_CONF}/html/.
  2. View your persistence data in a browser at http://[openhab server]:8080/static/PersistenceViewer/.
  3. By default, the Items table will initially be populated with groups that have no parent group. This is good for when all your items are in groups. To initially display all items, add a query string to the end of the URL (?startWithGroups=false), but this will cause the page to load very slowly if you have a lot of items. Alternatively, to initially display a specific group item that holds the items you are persisting, add a query string to the end of the URL (?startItem=gPersist).
  4. By default, items will be sorted alphabetically. To disable this, add a query string to the end of the URL (?shouldSort=false). Disabling the sort will also dramatically improve performance if you use startWithGroups=false or if your startItem is a group with a lot of items in it.
  5. By default, the default persistence service configured in OH is used. To use a different one, add a query string to the end of the URL (?serviceId=rrd4j).

Query strings need to be separated by an ampersand. The only part of the querystrings that is case sensitive is the value for startItem. Here is an example (they can be used in any order)...

http://[openhab server]:8080/static/PersistenceViewer/?SeRvIcEiD=MaPdB&ShOuLdSoRt=FaLsE&StArTiTeM=gPersistence

Usage:

  1. By default, one month of persistence data will be retrieved, unless specific dates are entered in the Start and End date fields.
  2. Groups will have a green background and items will have a grey background.
  3. When a group or item is selected, the persistence data will be displayed. When a group is selected, its items will also be displayed in the Items table. If no data is available, N/A will be displayed.
  4. Use the breadcrumbs to navigate backwards.
  5. PersistenceViewer can be displayed in HABpanel by adding it into a Frame widget, but this may not work well for lower resolution screens or if the widget is too small.

Please comment in the OH community forum... https://community.openhab.org/t/persistenceviewer/46407

persistenceviewer's People

Contributors

5iver avatar

Stargazers

Peter Ooms avatar  avatar  avatar Ferenc Gyarmati avatar  avatar Mark Herwege avatar

Watchers

Stephan Strittmatter avatar  avatar  avatar Mark Herwege avatar  avatar  avatar

Forkers

eggixxl ptrooms

persistenceviewer's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.