How to install
Check that your NAS has the most recent firmware version. Follow the instructions shown if a new version is announced when opening the admin GUI.
Download the QPKG from the releases section over on GitHub.
- Create a directory for your addons, configurations and userdata, by either
- Creating a share called “openHAB2” (recommended)
- Creating a folder called “openHAB2” inside the “Public” share
- Not creating any of them and therefore using
.qpkg/openHAB2/distributionfor all data (for testing or demonstration)
Go to your NAS’s App Center and make sure you have got “JRE” (for x86-CPU based NAS) or “JRE_ARM” (for ARM-CPU based NAS) installed. If that is not the case, go to the “Developer-Tools” section of the App Center, install the appropriate version and wait for a while until the Java installation has finished.
Open the “Install manually” dialog in the App Center by clicking the gear-wheel on the upper-right corner of the App Center and choose the
qpkgyou have downloaded.
Confirm the installation
Wait while the package is being installed
When finished just close the dialog and wait for a while until openHAB has completely started. This may take several minutes.
- Access openHAB via “http://NAS_IP_or_DNS_address:8090”. If the interface does not start, retry after another minute. The initial startup takes some time.
How to uninstall
If you want to keep configuration files, copy them to a save place outside of the openhab-path.
- Go to the “App Center” and remove the app like any other.
- Additionally if wanted or needed, please remove the folders “addons”, “conf” and “userdata” from the your directory, eg. “openHAB2” share or “Public”/openHAB2
If you have installed openHAB2 to
.qpkg(see “How to install”, third option) then all files get removed automatically.
- Please check our issue tracker: https://github.com/openhab/openhab-qnap-qpkg/issues