Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: openhab-runtime 1.8.3-2

Git Clone URL: https://aur-dev.archlinux.org/openhab-runtime.git (read-only)
Package Base: openhab-runtime
Description: openHAB automation runtime
Upstream URL: http://www.openhab.org/
Licenses: EPL
Submitter: tlanfer
Maintainer: tlanfer
Last Packager: tlanfer
Votes: 7
Popularity: 0.894881
First Submitted: 2015-06-30 20:59
Last Updated: 2016-10-23 19:32

Latest Comments

1 2 Next › Last »

DonOregano commented on 2017-01-28 18:04

2.0 is out!

hexadecagram commented on 2017-01-03 06:21

When attempting to build this package (as well as openhab-beta), I get the following error. I cannot even attempt an installation of openhab-addons because it depends on openhab-runtime but it's probably worth checking as well.

==> Finished making: openhab-runtime 1.8.3-1 (Mon Jan 2 22:17:15 PST 2017)
==> Cleaning up...
:: Installing openhab-runtime package(s)...
:: openhab-runtime package(s) failed to install. Check .SRCINFO for mismatching data with PKGBUILD.

GraysonPeddie commented on 2016-10-23 23:25

Thanks. It works.

tlanfer commented on 2016-10-23 19:34

@GraysonPeddie: I took your package()-function form the linked forum post and updated the package.
Did not have time to check it, but i know that as it is, my package was broken.

GraysonPeddie commented on 2016-10-19 16:39

Weird. It seems my comment got truncated. Please refer to my thread in the OpenHAB forum:

https://community.openhab.org/t/insteon-hub-with-plm-a-misprint-in-wiki-2012-v-has-plm/15455/9

Scroll down for modifications to package().

GraysonPeddie commented on 2016-10-19 16:37

I would like to make a suggestion for a modification.

Change:

package() {
cd $pkgdir
mkdir -p opt
mkdir -p etc/openhab/addons-enabled
mkdir -p etc/conf.d
mkdir -p usr/lib/systemd/system
cp $srcdir/openhab.service usr/lib/systemd/system
cp -r $srcdir/openhab-runtime opt
cp $srcdir/openhab etc/conf.d
mv opt/openhab-runtime/configurations etc/openhab/configurations
ln -s /etc/openhab/configurations opt/openhab-runtime/configurations
ln -s /etc/openhab/addons-enabled opt/openhab-runtime/addons
}

To:

package() {
cd $pkgdir
mkdir -p opt
mkdir -p etc/conf.d
mkdir -p usr/lib/systemd/system
cp $srcdir/openhab.service usr/lib/systemd/system
cp -r $srcdir/openhab-runtime opt
cp $srcdir/openhab etc/conf.d
mv opt/openhab-runtime/addons etc/openhab/
mv opt/openhab-runtime/configurations etc/openhab/
ln -s /etc/openhab/configurations opt/openhab-runtime/configurations
ln -s /etc/openhab/addons opt/openhab-runtime/addons
}

It should work, though I will need to uninstall and reinstall OpenHAB through AUR with modifications.

itsamenathan commented on 2016-03-10 05:55

'/etc/openhab/addons-enabled' is linked wrong, it needs to be a symlink to '/opt/openhab-runtime/addons'

avanc commented on 2016-02-21 12:23

How do I check if the addon is enabled? I created a symlink to org.openhab.binding.homematic-1.8.1.jar in /etc/openhab/addons-enabled but don't get any information in the log file.

tlanfer commented on 2016-02-13 19:34

I am a bit confused, i a pretty sure i updated this package to 1.8.0 a few days ago... i will have a look at it.

@MilanKnizek
Yes, i noticed the wrong symlink too. Will fix it soon. I will also have a look at protecting those config files.

About addons vs. addons-enabled: openhab-addons installs ALL addons to /opt/openhab-addons, but NONE are enabled by default. You just symlink those you need into your /etc/openhab/addons-enabled. Its basically what you describe, but with symlink instead of copying, although copying would work too.

MilanKnizek commented on 2016-02-13 17:48

Thnx for the package. However, the following lines in PKGBUILD doe not work as you may expect:

mkdir -p etc/openhab/addons-enabled
ln -s /etc/openhab/addons-enabled opt/openhab-runtime/addons

It ends up creating "/opt/openhab-runtime/addons/addons-enabled" and none of the addons-enabled work in openHAB.

Also, it is better not to call the directory "addons-enabled", but simply "addons". Learning openHAB is not easy and this unnecessary modification only adds to confusion.

It would be also better to protect etc/openhab/configurations/logback.xml and logback_debug.xml and users.cfg from updating.

BTW: Installing openhab-addons to the addons directory is probably not what the user wants - it would enable all of the bundles. I guess installing them to a /opt/openhab-runtime/addons-available and informing the user via install script (about manual copying of those to be enabled) would do the job.