tinglis1 Posted June 21, 2016 Share Posted June 21, 2016 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. Quote Link to comment
KFStein Posted February 2, 2017 Share Posted February 2, 2017 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. Quote Link to comment
tinglis1 Posted February 2, 2017 Author Share Posted February 2, 2017 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 Quote Link to comment
jfrancais Posted February 17, 2017 Share Posted February 17, 2017 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. Quote Link to comment
anxman Posted December 18, 2017 Share Posted December 18, 2017 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). Quote Link to comment
Squid Posted December 18, 2017 Share Posted December 18, 2017 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. Quote Link to comment
kphaas Posted March 12, 2018 Share Posted March 12, 2018 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. Quote Link to comment
Nathan Rijksen Posted May 14, 2018 Share Posted May 14, 2018 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? Quote Link to comment
Bosshappy Posted September 26, 2018 Share Posted September 26, 2018 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? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.