User Tools

Site Tools


openhab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
openhab [2018/01/02 22:48]
robm
openhab [2018/01/02 23:32]
robm [Basic Installation (OpenHAB 2)]
Line 17: Line 17:
 Create the following start-up file, I called mine ''/opt/openhab/run.sh'': Create the following start-up file, I called mine ''/opt/openhab/run.sh'':
  
-<code:bash> +<code:bash>#!/bin/bash -x
-#!/bin/bash -x+
 CMD=( CMD=(
     docker run     docker run
Line 35: Line 34:
     openhab/openhab:2.3.0-snapshot-amd64-debian     openhab/openhab:2.3.0-snapshot-amd64-debian
 ) )
-"${CMD[@]}"+"${CMD[@]}" || docker start --attach --interactive openhab
 </code> </code>
  
Line 160: Line 159:
 </code> </code>
  
 +If you change the configuration file, you can restart (all) legacy openHAB v1 bindings by restarting the compatibility layer bundle from the interactive prompt of OpenHAB (the ''/opt/openhab/run.sh'' script):
 +
 +<code>
 +bundle:restart "openHAB 1.x Compatibility Layer"
 +</code>
openhab.txt · Last modified: 2018/01/03 00:31 by robm