[Support] knex666 - openHAB


Recommended Posts

  • 4 months later...

It's because of the docker. The official docker image does a chmod on startup to its own user. I myself created a openhab user and assigned it the Id of the docker. You can check on the official docker image for doc about that. 

Link to comment
On 3/12/2023 at 2:33 PM, Nodiaque said:

It's because of the docker. The official docker image does a chmod on startup to its own user. I myself created a openhab user and assigned it the Id of the docker. You can check on the official docker image for doc about that. 

Thanks for the info - I found information here https://www.openhab.org/docs/installation/docker.html about creating the openhab user but I am not very knowledgeable about docker (I just install ready made containers in UnRAID and have not had this problem before) so I do not understand how to follow these instructions - should this be done in UnRAID before or after installing the container (I have already done a lot of setup in openhab already so do not want to re-do the installation) or is it something I should do inside the container somehow?

Edited by NAS-newbie
Link to comment
  • 1 month later...

Hey Guys, 

I am just migrating from Raspi to Openhab and try to recreate my setup.

Currently I have the problem that my NodeRed is not connecting to Openhab. 

 

I am Using you container with OpenHab 3.4.3 and the Unraid NodeRed Container v 3.0.2 from Spants's Repository.

To send infos to Openhab I am using the Node Palette "node-red-contrib-openhab3". v. 1.4.9.

 

I did copied my Flows and changed the Controller to my Docker IP Adress and a new API Key as Username.

 

Now I get the following Error Messages: 

"Error: {"type":"error","message":"connect EHOSTUNREACH 192.168.1.XXX:8080"}"

I was only able to find an info that it might be the problem wit running openhab in a container.

Anybody is also using this setup and was able to make it work?

 

Thanks a lot.

Link to comment

normally, openhab is on the Host network. You should put your node-red in a custom docker network. Seems like you have a network connectivity issue.

Also heck your port mapping in openhab. If you copied from your rasp, make sure that port 8080 is what was used and be sure it's properly mapped in the docker configuration.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.