I have started trying to document the OpenHAB installation in my house for posterity and – in particular – for anyone who might need to know about it in the future (e.g. someone who acquires the house at some later date).
I decided that a wiki would be the best bet for the documentation, which includes other stuff besides OpenHAB, and I chose Dokuwiki because I find it easy to install and use.
Pretty soon I ran into the problem of how to relate stuff in the wiki to what is actually happening in OpenHAB, so I wrote a program that currently extracts the information from
OPENHAB_USERDATA/jsondb/org.eclipse.smarthome.core.thing.Thing.json and makes it available in a duly cross-linked form to be included into a Dokuwiki file tree.
The program generates SVG diagrams and text (see Github for examples).
I would appreciate some help to get it working properly under Linux and Windows, but the MacOS version works for me. It might be useful for other people too.