Walki Posted October 27, 2022 Share Posted October 27, 2022 Does anyone know how to connect to the installation via ssh for backups? And of course moving backup from RaspberryPi to a Docker. Cheers Dennis Quote Link to comment
NAS-newbie Posted March 12, 2023 Share Posted March 12, 2023 I noticed that the OpenHAB appdata is owned by root:root - is there a reason for this and will it stop working if I change this to the UnRAID "standard" nobody:users???? Quote Link to comment
Nodiaque Posted March 12, 2023 Share Posted March 12, 2023 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. Quote Link to comment
NAS-newbie Posted March 19, 2023 Share Posted March 19, 2023 (edited) 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 March 19, 2023 by NAS-newbie Quote Link to comment
SLeugner Posted April 26, 2023 Share Posted April 26, 2023 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. Quote Link to comment
Nodiaque Posted April 26, 2023 Share Posted April 26, 2023 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. Quote Link to comment
SLeugner Posted April 26, 2023 Share Posted April 26, 2023 Well thanks that did the trick. I changed Node Red from Bridge Network into my ipvlan. Now they can communicate. Quote Link to comment
Nodiaque Posted April 26, 2023 Share Posted April 26, 2023 Yes bridge vlan doesn't allow communication between them. That's why you create your own custom bridge network. Quote Link to comment
Walki Posted August 6, 2023 Share Posted August 6, 2023 (edited) Is there any Solution for the OpenHAB frontail LogViewer? Am I able to install it via the docker Console? Also I read about a second docker which uses the log files. This Must be a Touch to much… of is there a tutorial available for Unraid. I am not the Docker Guru. Edited August 6, 2023 by Walki Quote Link to comment
KingCrab Posted September 23, 2023 Share Posted September 23, 2023 Hi, does anyone know how to get openHAB Rules Tools up and running? They have to be installed by using npm, but it is not available on the unraid server if I'm correct. Quote Link to comment
dirtrunner Posted October 10, 2023 Share Posted October 10, 2023 On 10/27/2022 at 9:27 PM, Walki said: Does anyone know how to connect to the installation via ssh for backups? And of course moving backup from RaspberryPi to a Docker. Cheers Dennis Hello Dennis, I stumbled across the same question. To use SSH, Openssh would need to be installed in Docker first. But this is not the recommended way, as the Docker image you are using does not provide this in its "original" version and you are extending it beyond its original purpose. The cleaner way in this case would be to create your own Docker image tailored to your needs. Or if you only want to run commands, use the Unraid command line for Docker. More information can be found at: https://phoenixnap.com/kb/how-to-ssh-into-docker-container Best regards Dirtrunner Quote Link to comment
markus08 Posted March 8 Share Posted March 8 Looking for somebody who can give me some hints for the following issue. Moved openhab from Raspi 3 (installed via apt, no docker) to docker installation (used standard template without modification) on new NAS. On both devices openhab is installed with version v3.4.5 We installed Homematic binding which automatically finds homegear bridge installed on Raspi3. After installation all Homematic devices will be listed and could be installed without error. Now we are struggling with some Homematic devices, a 6 button switch (HM-PB-6-WM55) and temperature controller (HM-TC-IT-WM-W-EU) as data of both devices will only be updated once when openhab was started. Checking events on homegear shows regular updates of both devices. Quote Link to comment
knex666 Posted March 8 Author Share Posted March 8 42 minutes ago, markus08 said: Looking for somebody who can give me some hints for the following issue. Moved openhab from Raspi 3 (installed via apt, no docker) to docker installation (used standard template without modification) on new NAS. On both devices openhab is installed with version v3.4.5 We installed Homematic binding which automatically finds homegear bridge installed on Raspi3. After installation all Homematic devices will be listed and could be installed without error. Now we are struggling with some Homematic devices, a 6 button switch (HM-PB-6-WM55) and temperature controller (HM-TC-IT-WM-W-EU) as data of both devices will only be updated once when openhab was started. Checking events on homegear shows regular updates of both devices. I think this is now a docker related problem if othet devices work. Maybe try with priviledged rights 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.