openmediavault-domoticz plugin (TESTING v1.0.1)

    • OMV 1.0

    • Before, I tried the Domoticz Plugin I did try the docker domoticz. Although, I've read a lot, and think I configured it corectly. The service was running but I was not able to connect to it "http://myIP:8080" no matter what I tried.

      That's why I went to the domoticz plugin which run without any problem but was old version v3.8153 from 2017. I did some research and updated it to the Version 4.10717 (May 9th 2019)

      My setup is Odroid HC2 running latest OMV4

      in terminal:
      cd /opt/domoticz
      ./updaterelease

      You'll see the updating process in the CLI....
      Then you'll have a messsage in CLI that "systemctl daemon-reload" stoped, has to be reloaded.... bla... bla...bla
      reactive it with this command
      systemctl daemon-reload

      you can check/start/stop the domoticz servise by these commands
      servise domoticz status
      servise domoticz stop
      servise domoticz start

      Now, you should be able to connect to domoticz "http://yourIP:8077"

      I had some missing funcitonality in the domoticz web menu.
      I found out in domoticz forum the browser catch must be cleared.
      After i did that in my mobile chrome, PC chrome browser....
      it sloved all my problems with the web interface of the domoticz.

      I know docker is the way to go and it better, but at the moment, I' can't setup it properly,
      and i can't find proper guide in the net how to do it :( .

      Regards! :thumbup:

      The post was edited 5 times, last by morfei1 ().

    • Hi,
      I installed OMV 4.1.22-1 (arriakis) on my Raspberry pi 3B (no plus) with an external USB HDD configured with :
      MBR table
      sda1 NTFS labeled Data
      sda2 ext4 labeled system
      Then I installed miniDLNA and Trasmission
      Now is the time for Domoticz
      In first instance I install the plugin via OMV-Extras.org

      This is the result :
      Display Spoiler

      Reading package lists...
      Building dependency tree...
      Reading state information...
      The following NEW packages will be installed:
      openmediavault-domoticz
      0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
      Need to get 5498 B of archives.
      After this operation, 53.2 kB of additional disk space will be used.
      Get:1 dl.bintray.com/openmediavault-plugin-developers/arrakis stretch/main armhf openmediavault-domoticz all 3.1 [5498 B]
      Fetched 5498 B in 0s (10.7 kB/s)
      Selecting previously unselected package openmediavault-domoticz.
      (Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 53742 files and directories currently installed.)
      Preparing to unpack .../openmediavault-domoticz_3.1_all.deb ...
      Unpacking openmediavault-domoticz (3.1) ...
      Processing triggers for openmediavault (4.1.22-1) ...
      Restarting engine daemon ...
      Cannot create socket to [localhost]:2812 -- Connection refused
      Setting up openmediavault-domoticz (3.1) ...
      Updating configuration database ...
      Processing triggers for openmediavault (4.1.22-1) ...
      Updating locale files ...
      Updating file permissions ...
      Purging internal cache ...
      Restarting engine daemon ...
      Cannot create socket to [localhost]:2812 -- Connection refused
      Done ...


      But I can't access to Domoticz webUI on port 8077 or 8078 (404 error)
      In Dashboard the Domoticz running light is red.


      if I run Domoticz via ssh this is the result
      Display Spoiler

      root@raspberrypi:~# /opt/domoticz/domoticz -daemon -www 8077 -sslwww 8078
      /opt/domoticz/domoticz: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory


      so I tryed to update the ssl lib :
      Display Spoiler

      root@raspberrypi:~# apt-get install openssl
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      openssl is already the newest version (1.1.0j-1~deb9u1).
      openssl set to manually installed.
      0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.


      Just for information when I uninstalled Domoticz plugin the result was :
      Display Spoiler

      Reading package lists...
      Building dependency tree...
      Reading state information...
      The following packages will be REMOVED:
      domoticz* openmediavault-domoticz*
      0 upgraded, 0 newly installed, 2 to remove and 1 not upgraded.
      After this operation, 24.8 MB disk space will be freed.
      (Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 53755 files and directories currently installed.)
      Removing openmediavault-domoticz (3.1) ...
      Removing domoticz (3.8153) ...
      Processing triggers for openmediavault (4.1.22-1) ...
      Restarting engine daemon ...
      Cannot create socket to [localhost]:2812 -- Connection refused
      (Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 52252 files and directories currently installed.)
      Purging configuration files for domoticz (3.8153) ...
      Purging configuration files for openmediavault-domoticz (3.1) ...
      Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x760a1390>
      Traceback (most recent call last):
      File "/usr/lib/python3.5/weakref.py", line 117, in remove
      TypeError: 'NoneType' object is not callable
      Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x760a1390>
      Traceback (most recent call last):
      File "/usr/lib/python3.5/weakref.py", line 117, in remove
      TypeError: 'NoneType' object is not callable
      Done ...


      .... continue in next post
    • After many annoying retry to install Domoticz via plugins repository I finnally decided to install Domoticz via Docker, and seem to run correctly but I can't connect to webUI
      I configure the docker/domoticz as follow:
      I enabled Docker CE in OMV-Extras
      I installed openmediavault-docker-gui 4.1.4 via Open Media Vault webUI -> plugins , this is the installation output :
      Display Spoiler



      Reading package lists...
      Building dependency tree...
      Reading state information...
      The following additional packages will be installed:
      containerd.io docker-ce docker-ce-cli imagemagick-6-common libfftw3-double3
      liblcms2-2 liblqr-1-0 libmagickcore-6.q16-3 libmagickwand-6.q16-3 php-curl
      php-imagick php7.0-curl
      Suggested packages:
      libfftw3-bin libfftw3-dev liblcms2-utils libmagickcore-6.q16-3-extra
      Recommended packages:
      aufs-tools cgroupfs-mount | cgroup-lite pigz ghostscript gsfonts
      ttf-dejavu-core
      The following NEW packages will be installed:
      containerd.io docker-ce docker-ce-cli imagemagick-6-common libfftw3-double3
      liblcms2-2 liblqr-1-0 libmagickcore-6.q16-3 libmagickwand-6.q16-3
      openmediavault-docker-gui php-curl php-imagick php7.0-curl
      0 upgraded, 13 newly installed, 0 to remove and 1 not upgraded.
      Need to get 32.5 MB of archives.
      After this operation, 157 MB of additional disk space will be used.
      Get:1 security.debian.org stretch/updates/main armhf imagemagick-6-common all 8:6.9.7.4+dfsg-11+deb9u7 [184 kB]
      Get:2 security.debian.org stretch/updates/main armhf libmagickcore-6.q16-3 armhf 8:6.9.7.4+dfsg-11+deb9u7 [1608 kB]
      Get:3 security.debian.org stretch/updates/main armhf libmagickwand-6.q16-3 armhf 8:6.9.7.4+dfsg-11+deb9u7 [416 kB]
      Get:4 cdn-fastly.deb.debian.org/debian stretch/main armhf liblqr-1-0 armhf 0.4.2-2+b2 [21.6 kB]
      Get:5 cdn-fastly.deb.debian.org/debian stretch/main armhf libfftw3-double3 armhf 3.3.5-3 [435 kB]
      Get:6 cdn-fastly.deb.debian.org/debian stretch/main armhf liblcms2-2 armhf 2.8-4+deb9u1 [120 kB]
      Get:7 cdn-fastly.deb.debian.org/debian stretch/main armhf php7.0-curl armhf 7.0.33-0+deb9u3 [24.6 kB]
      Get:8 cdn-fastly.deb.debian.org/debian stretch/main armhf php-curl all 1:7.0+49 [5048 B]
      Get:9 cdn-fastly.deb.debian.org/debian stretch/main armhf php-imagick armhf 3.4.3~rc2-2 [82.6 kB]
      Get:10 dl.bintray.com/openmediavault-…developers/arrakis-docker stretch/main armhf openmediavault-docker-gui all 4.1.4 [61.5 kB]
      Get:11 download.docker.com/linux/debian stretch/stable armhf containerd.io armhf 1.2.5-1 [10.7 MB]
      Get:12 download.docker.com/linux/debian stretch/stable armhf docker-ce-cli armhf 5:18.09.6~3-0~debian-stretch [8093 kB]
      Get:13 download.docker.com/linux/debian stretch/stable armhf docker-ce armhf 5:18.09.6~3-0~debian-stretch [10.8 MB]
      Fetched 32.5 MB in 8s (3775 kB/s)
      Selecting previously unselected package liblqr-1-0:armhf.
      (Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 52253 files and directories currently installed.)
      Preparing to unpack .../00-liblqr-1-0_0.4.2-2+b2_armhf.deb ...
      Unpacking liblqr-1-0:armhf (0.4.2-2+b2) ...
      Selecting previously unselected package libfftw3-double3:armhf.
      Preparing to unpack .../01-libfftw3-double3_3.3.5-3_armhf.deb ...
      Unpacking libfftw3-double3:armhf (3.3.5-3) ...
      Selecting previously unselected package liblcms2-2:armhf.
      Preparing to unpack .../02-liblcms2-2_2.8-4+deb9u1_armhf.deb ...
      Unpacking liblcms2-2:armhf (2.8-4+deb9u1) ...
      Selecting previously unselected package imagemagick-6-common.
      Preparing to unpack .../03-imagemagick-6-common_8%3a6.9.7.4+dfsg-11+deb9u7_all.deb ...
      Unpacking imagemagick-6-common (8:6.9.7.4+dfsg-11+deb9u7) ...
      Selecting previously unselected package libmagickcore-6.q16-3:armhf.
      Preparing to unpack .../04-libmagickcore-6.q16-3_8%3a6.9.7.4+dfsg-11+deb9u7_armhf.deb ...
      Unpacking libmagickcore-6.q16-3:armhf (8:6.9.7.4+dfsg-11+deb9u7) ...
      Selecting previously unselected package libmagickwand-6.q16-3:armhf.
      Preparing to unpack .../05-libmagickwand-6.q16-3_8%3a6.9.7.4+dfsg-11+deb9u7_armhf.deb ...
      Unpacking libmagickwand-6.q16-3:armhf (8:6.9.7.4+dfsg-11+deb9u7) ...
      Selecting previously unselected package containerd.io.
      Preparing to unpack .../06-containerd.io_1.2.5-1_armhf.deb ...
      Unpacking containerd.io (1.2.5-1) ...
      Selecting previously unselected package docker-ce-cli.
      Preparing to unpack .../07-docker-ce-cli_5%3a18.09.6~3-0~debian-stretch_armhf.deb ...
      Unpacking docker-ce-cli (5:18.09.6~3-0~debian-stretch) ...
      Selecting previously unselected package docker-ce.
      Preparing to unpack .../08-docker-ce_5%3a18.09.6~3-0~debian-stretch_armhf.deb ...
      Unpacking docker-ce (5:18.09.6~3-0~debian-stretch) ...
      Selecting previously unselected package php7.0-curl.
      Preparing to unpack .../09-php7.0-curl_7.0.33-0+deb9u3_armhf.deb ...
      Unpacking php7.0-curl (7.0.33-0+deb9u3) ...
      Selecting previously unselected package php-curl.
      Preparing to unpack .../10-php-curl_1%3a7.0+49_all.deb ...
      Unpacking php-curl (1:7.0+49) ...
      Selecting previously unselected package php-imagick.
      Preparing to unpack .../11-php-imagick_3.4.3~rc2-2_armhf.deb ...
      Unpacking php-imagick (3.4.3~rc2-2) ...
      Selecting previously unselected package openmediavault-docker-gui.
      Preparing to unpack .../12-openmediavault-docker-gui_4.1.4_all.deb ...
      Unpacking openmediavault-docker-gui (4.1.4) ...
      Setting up imagemagick-6-common (8:6.9.7.4+dfsg-11+deb9u7) ...
      Setting up containerd.io (1.2.5-1) ...
      Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service → /lib/systemd/system/containerd.service.
      Setting up liblcms2-2:armhf (2.8-4+deb9u1) ...
      Setting up php7.0-curl (7.0.33-0+deb9u3) ...




      Creating config file /etc/php/7.0/mods-available/curl.ini with new version
      Setting up libfftw3-double3:armhf (3.3.5-3) ...
      Processing triggers for php7.0-fpm (7.0.33-0+deb9u3) ...




      >>> *************** Error ***************
      Bad Gateway
      <<< *************************************
      Setting up liblqr-1-0:armhf (0.4.2-2+b2) ...
      Processing triggers for libc-bin (2.24-11+deb9u4) ...
      Processing triggers for systemd (232-25+deb9u11) ...
      Processing triggers for man-db (2.7.6.1-2) ...
      Processing triggers for openmediavault (4.1.22-1) ...
      Restarting engine daemon ...
      Cannot create socket to [localhost]:2812 -- Connection refused
      Setting up docker-ce-cli (5:18.09.6~3-0~debian-stretch) ...
      Setting up docker-ce (5:18.09.6~3-0~debian-stretch) ...
      update-alternatives: using /usr/bin/dockerd-ce to provide /usr/bin/dockerd (dockerd) in auto mode
      Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service.
      Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
      Setting up libmagickcore-6.q16-3:armhf (8:6.9.7.4+dfsg-11+deb9u7) ...
      Setting up php-curl (1:7.0+49) ...
      Setting up libmagickwand-6.q16-3:armhf (8:6.9.7.4+dfsg-11+deb9u7) ...
      Setting up php-imagick (3.4.3~rc2-2) ...
      Setting up openmediavault-docker-gui (4.1.4) ...
      Updating configuration database ...
      Initialize configuration
      Processing triggers for systemd (232-25+deb9u11) ...
      Processing triggers for libc-bin (2.24-11+deb9u4) ...
      Processing triggers for openmediavault (4.1.22-1) ...
      Updating locale files ...
      Updating file permissions ...
      Purging internal cache ...
      Restarting engine daemon ...
      Cannot create socket to [localhost]:2812 -- Connection refused
      Done ...







      I create a new user called "user" UID 1001 GID 100 (users)
      I create the directory in volume "system" /config/domoticz
      I set "user" HOME to "system" /config/domoticz
      I set ownership as user:users to "system" /config/domoticz
      I download Domoticz armhf image via Docker webUI, and I start the container
      I fill required field as follow :
      Container Name = MyDomus
      Restart Policy = unless-stopped
      Network Mode = Bridge
      PUID = 1001
      PGID = 100
      Host Path = "/sharedfolders/system/config/domoticz" to Container Path = "/config"

      But I need help to understand how configure "Port Forwarding" because I don't understand which value insert in the field "Host IP" (default is 0.0.0.0)
      I also set :
      Host port = 1443 -> Exposed port 1443/tcp
      Host port = 6144 -> Exposed port 6144/tcp
      Host port = 9008 -> Exposed port 8080/tcp
      I skip custom port (left blank)
      Any hint ?
      I forgot something ?
      Thanks in advance.


      MHarlock