June 21, 201610 yr I have been using the official openHAB docker container on unraid and thought I would share my template. I use theis with the Pipework container to give it a static IP and open access to all ports. In this template I have set the network as Host. But it could be set as bridge with for ports 8080, 8443 and 5555, this may limit some of the network functionality of openHAB such as auto-discovery. I haven't tested this for limitations. This is an unraid implementation of the official openHAB openhab/openhab image on the Docker Hub. There are two container types, online and offline. The difference is in the location of the binding files before being installed into openHAB. Installation: Find the container on the Community Applications Tab OR Add the template repository to unraid Docker Template Repositories: https://github.com/tinglis1/docker-containers/tree/master/ More Info: https://hub.docker.com/r/openhab/openhab/ https://github.com/openhab/openhab-docker http://www.openhab.org/ https://community.openhab.org/ Credit: All credit goes to those who built the docker container, I just made a template for unraid.
February 2, 20179 yr I'm trying to install this through Community Applications and it's giving the following error: docker: Tag amd64-online not found in repository docker.io/openhab/openhab.
February 2, 20179 yr Author I'm trying to install this through Community Applications and it's giving the following error: docker: Tag amd64-online not found in repository docker.io/openhab/openhab. I haven't used openhab for a while now. It looks like they have changed the container tags. Checkout https://hub.docker.com/r/openhab/openhab/tags/ On a side note, I have moved to using HomeAssistant.io. I have achieved more with that in the last 6 months than I did with Openhab in years. Sent from my iPhone using Tapatalk
February 17, 20179 yr I'm trying to install this through Community Applications and it's giving the following error: docker: Tag amd64-online not found in repository docker.io/openhab/openhab. Me too. any update? I looked at the homeautomation option but it doest appear to have support for my insteon thermostat.
December 18, 20178 yr The openhab container still works great if you change the repo to: openhab/openhab:2.1.0-amd64-debian I also added an additional path for addons and I passed through my device using '/dev/ttyACM0' (this might be different for you).
December 18, 20178 yr Well you can tell I don't follow this thread. I've adjust CA to blacklist the "offline" version (since the tag is no longer available), and for the "online" version CA will change the repository to be openhab/openhab:2.1.0-amd64-debian. If you're running the "offline" version, then FCP will bitch and complain about having a blacklisted app installed, but you can ignore that.
March 12, 20188 yr I have updated the docker container to the correct repo and other parameters... However I am having issue passing through devices ttyACMO for my system. I see it in my unraid file system under /dev/ttyACM0... Thoughts? root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="openhab-online" --net="host" -e TZ="America/Los_Angeles" -e HOST_OS="unRAID" -e "TCP_PORT_8080"="8080" -e "TCP_PORT_8443"="8443" -e "TCP_PORT_5555"="5555" -e "TCP_PORT_8101"="8101" -v "/etc/localtime":"/etc/localtime":ro -v "/mnt/user/appdata/openhab/conf/":"/openhab/conf":rw -v "/mnt/user/appdata/openhab/userdata/":"/openhab/userdata":rw -v "/mnt/user/appdata/openhab/addons":"/openhab/addons":rw --device="/dev/ttyACM0/" openhab/openhab:2.2.0-amd64-debian 118c218f1697c1762e93809b5d4ad347af3e05cfc3d3544db86b069e710bc121 /usr/bin/docker: Error response from daemon: linux runtime spec devices: error gathering device information while adding custom device "/dev/ttyACM0": not a device node.The command failed.
May 14, 20188 yr Running this container results in the following error for me: Quote Please start the openHAB container with a pseudo tty using the -t option or 'tty: true' with docker compose Tried setting tty as a variable, but that didnt seem to do anything. Any advice?
September 26, 20187 yr Hey! First time poster! Be nice! I've installed the OpenHab app, but I cannot get it to recognize the "addons" directory. I created the "/mnt/user/appdata/openhab/addons" directory and mapped it to "/openhab/addons" but any binding files I place in it are not picked up. Any ideas?
Archived
This topic is now archived and is closed to further replies.