Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

dens1975
Posts: 26
Joined: Monday 12 February 2018 17:03
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Post by dens1975 »

Hi,

I don't have the /etc/modules-load.d/ folder. Do I have to create it myself?
Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Post by Gravityz »

YES,
IT MUST BE CREATED MANUALLY

i am not on dsm7 so i do not have first hand experience
dens1975 wrote: Wednesday 16 March 2022 13:15 Hi,

I don't have the /etc/modules-load.d/ folder. Do I have to create it myself?
achim
Posts: 4
Joined: Friday 27 May 2022 5:37
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Post by achim »

Hello,

I updated my Synology DS918+ to DSM Version: 7.1-42661 Update 1 a few weeks ago. A few days ago I had to update the container for Conbee 2 (Deconz) and realized that the "ttyUSB0" driver is now missing.
Now when I try to follow the instructions on these pages, docker-compose breaks with this error message "ERROR: for domoticz Cannot start the service Domoticz: Error collecting device information while adding custom device "/dev/ttyUSB0": no such file or directory ERROR: for domoticz cannot start the service directory Errors occurred starting up the project. : initial status 1" off.

This is my docker compose:

Code: Select all

version: '3.3'

services:
  domoticz:
    image: domoticz/domoticz:2022.1
    container_name: domoticz
    restart: unless-stopped
    #Pass devices to container
    devices:
      - "/dev/ttyUSB0:/dev/ttyUSB0"
    ports:
      - "8112:8112"
    volumes:
      - ./config:/opt/domoticz/userdata
    environment:
      - PUID=1029
      - PGID=100
      - TZ=Europe/Berlin
      #- LOG_PATH=/opt/domoticz/userdata/domoticz.log
Where else can I get the "ttyUSB0" driver to correct the error?

Thanks very much.
pyxis
Posts: 4
Joined: Sunday 11 July 2021 7:31
Target OS: -
Domoticz version:
Contact:

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Post by pyxis »

https://www.domoticz.com/wiki/Synology

only it looks like http://www.jadahl.com/iperf-arp-scan/DSM_7.0/ is down right now, but maybe you can find the files somewhere else also.
achim
Posts: 4
Joined: Friday 27 May 2022 5:37
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Post by achim »

That is exactly my problem. So far I hadn't been able to find the files anywhere. I was hoping that there would be someone here who would make them available to me.
pyxis
Posts: 4
Joined: Sunday 11 July 2021 7:31
Target OS: -
Domoticz version:
Contact:

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Post by pyxis »

It looks like you can get them with waybackmachine:
https://web.archive.org/web/20211014141 ... n/DSM_7.0/
User avatar
JackD
Posts: 68
Joined: Monday 02 November 2020 20:53
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Post by JackD »

Is this what you are looking for..., (see attachment)

achim wrote: Friday 27 May 2022 10:42 That is exactly my problem. So far I hadn't been able to find the files anywhere. I was hoping that there would be someone here who would make them available to me.
Attachments
DSM_70_usb_drivers.rar
(381.38 KiB) Downloaded 97 times
achim
Posts: 4
Joined: Friday 27 May 2022 5:37
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Post by achim »

Thank you for the quick help. But somehow I still don't understand it all. There are no files behind the link from @pyxis (DSM_7) and the drivers from @JackD are already installed for me. What I'm missing is the ttyUSB0 file in the /dev directory - but it has to be there if docker-compose is started via Portainer.

Note:

Isn't it possible for someone from Synology DS918 users to send me the "ttyUSB0" file as an attachment?

Look here:
Attachments
screenshot_73.png
screenshot_73.png (194.63 KiB) Viewed 1888 times
User avatar
JackD
Posts: 68
Joined: Monday 02 November 2020 20:53
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Post by JackD »

Sorry, I am running DSM 6.2 not DSM 7 and on a DS1520+ so can not help you there.
And I don't think you can just copy ttyUSB- from one system to a other. But I am not a expert.
Do you use a external USB hub perhaps, some of them do not work with Synology, try a other one

Hopefully someone else can help you more with your problem.
achim wrote: Friday 27 May 2022 16:45 Thank you for the quick help. But somehow I still don't understand it all. There are no files behind the link from @pyxis (DSM_7) and the drivers from @JackD are already installed for me. What I'm missing is the ttyUSB0 file in the /dev directory - but it has to be there if docker-compose is started via Portainer.

Note:

Isn't it possible for someone from Synology DS918 users to send me the "ttyUSB0" file as an attachment?

Look here:
achim
Posts: 4
Joined: Friday 27 May 2022 5:37
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Post by achim »

JackD wrote: Saturday 28 May 2022 13:02
Do you use a external USB hub perhaps, some of them do not work with Synology ....
With this note you have given me a very valuable tip, namely I use an external USB hub. Meanwhile, I also found an update from Deconz-Docker:

https://github.com/deconz-community/deconz-docker

There you will find the note that instead of "ttyUSB0" you can alternatively use "ttyACM0". This file is in my "/dev" directory and it solved my problem.

Thanks again for your support!
vespino
Posts: 49
Joined: Tuesday 05 August 2014 14:41
Target OS: Linux
Domoticz version:

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Post by vespino »

What docker container should I use? Stable or latest?
User avatar
waltervl
Posts: 5152
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Post by waltervl »

vespino wrote: Wednesday 15 June 2022 12:56 What docker container should I use? Stable or latest?
It is up to you ;-) Latest means latest build so mostly the Beta version.
For first time user I would say Stable is the preferred version..
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
vespino
Posts: 49
Joined: Tuesday 05 August 2014 14:41
Target OS: Linux
Domoticz version:

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Post by vespino »

I don't consider myself a first time user, but I did notice the stable release doesn't get updates. As to beta, this isn't shown in the latest releases?
User avatar
waltervl
Posts: 5152
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Post by waltervl »

What is expected from Domoticz releases is mentioned here: https://www.domoticz.com/wiki/Releases
Stable will be update once or twice a year. Beta could be updated multiple times a day, depends on the development. But there is also a big risk that the Beta will fail. So only use Beta if you want to be on top of the first developments and can risk a crash occasionally. So for normal users not preferred.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
vespino
Posts: 49
Joined: Tuesday 05 August 2014 14:41
Target OS: Linux
Domoticz version:

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Post by vespino »

Ok, there’s stable, beta and then there’s latest: https://registry.hub.docker.com/layers/ ... xt=explore
User avatar
waltervl
Posts: 5152
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Post by waltervl »

See the explanation here:
https://hub.docker.com/r/domoticz/domoticz

And simple latest is not mentioned as it is the latest build (stable or beta) and should not be used....
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
vespino
Posts: 49
Joined: Tuesday 05 August 2014 14:41
Target OS: Linux
Domoticz version:

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Post by vespino »

Thanks, I’m sticking with stable and hope for faster releases.
User avatar
mvveelen
Posts: 678
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Post by mvveelen »

Hi, I'm on DSM7 and ran into some problems I'd like to fix.

Is there a step-by-step tutorial already for DSM7 in which is explained how to change the settings (like paths) so that it runs smoothly without "save errors" etc. ? Or is the opening message still the way to go?

My Domoticz is running, but I have the errors when saving a dzVents/Lua script. I added some folders manually:

volume1/docker/domoticz/backups
volume1/docker/domoticz/scripts
volume1/docker/domoticz/scripts/dzvents
volume1/docker/domoticz/scripts/logrotate
volume1/docker/domoticz/scripts/templates (this directory has to include the templates from container /opt/domoticz/scripts/templates)
volume1/docker/domoticz/scripts/dzvents/data
volume1/docker/domoticz/scripts/dzvents/dumps
volume1/docker/domoticz/scripts/dzvents/generated_scripts
volume1/docker/domoticz/scripts/dzvents/scripts

but don't know how to proceed from here.

As you can see, the settings/paths are not the way they should be, although it works for now.
Attachments
Schermafbeelding 2022-08-10 om 13.09.48.png
Schermafbeelding 2022-08-10 om 13.09.48.png (236.81 KiB) Viewed 1589 times
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
User avatar
waltervl
Posts: 5152
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Post by waltervl »

Check the screenshots in this post of user Gravityz posted earlier in this thread : viewtopic.php?p=279443#p279443
See the paths in the Tab Volumes
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
mvveelen
Posts: 678
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Post by mvveelen »

waltervl wrote: Wednesday 10 August 2022 15:12 Check the screenshots in this post of user Gravityz posted earlier in this thread : viewtopic.php?p=279443#p279443
See the paths in the Tab Volumes
Thanks, I've seen this, but don't know how to change the current setup. That's why I was wondering if there is a how-to for DSM7 with the most recent variables/paths. It's for a setup at my father-in-law's Synology and I don't want to break the current setup.
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest