Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] OpenHAB container using official docker

Featured Replies

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.

  • 7 months later...

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.

  • 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

  • 2 weeks later...

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.

  • 10 months later...

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).

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.

  • 2 months later...

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.

Screen Shot 2018-03-12 at 1.20.25 PM.png

Screen Shot 2018-03-12 at 1.22.05 PM.png

  • 2 months later...

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?

  • 4 months later...

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?

Screen Shot 2018-09-25 at 9.41.05 PM.png

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.