hm2mqtt
hm2mqtt copied to clipboard
for latest version of RaspMatic: java path in rc.d/hm2mqtt incorrect
I found the assumed Java path to be non-existing. Changing it to "/opt/java-azul/bin/java" did fix the issue (local).
I can confirm this for RaspberryMatic-2.27.7.20170316.
In /usr/local/etc/config/rc.d/hm2mqtt I changed the path to
if [ -x "/opt/java/bin/java" ]; then
JAVA_BIN=/opt/java/bin/java
/opt/java is a symbolic link to /opt/java-azul
I've change it to take the first java in opt, because for the latest version of CCU2 it is different as well:
JAVA_BIN=find /opt -name java|head -n 1