Sidehistorik
...
Screenshots
Galleri | ||
---|---|---|
|
Docker
https://www.openhab.org/docs/installation/docker.html
Very easy to start and configure.
Kodeblok |
---|
docker run \ --name openhab \ --net=host \ -v /etc/localtime:/etc/localtime:ro \ -v /etc/timezone:/etc/timezone:ro \ -v /opt/openhab/conf:/openhab/conf \ -v /opt/openhab/userdata:/openhab/userdata \ -v /opt/openhab/addons:/openhab/addons \ -d \ -e USER_ID=1003 \ -e GROUP_ID=9001 \ --restart=always \ openhab/openhab |
...
Kodeblok |
---|
root@homeassist:/usr/share/openhab2/runtimeopt/openhab/bin# ./backup ######################################### openHAB 2.x.x backup script ######################################### Using '/etc/openhab2' as conf folder... Using '/var/lib/openhab2' as userdata folder... Using '/usr/share/openhab2/runtime' as runtime folder... Using '/var/lib/openhab2/backups' as backup folder... Writing to '/var/lib/openhab2/backups/openhab2-backup-18_12_22-11_44_32.zip'... Making Temporary Directory if it is not already there Using /tmp/openhab2/backup as TempDir Copying configuration to temporary folder... Removing unnecessary files... Backup Directory is inside userdata, not including in this backup! Zipping folder... Removing temporary files... Success! Backup made in /var/lib/openhab2/backups/openhab2-backup-18_12_22-11_44_32.zip root@homeassist:/usr/share/openhab2/runtime/bin# |
...