Synology - guide to switch from Jadahl package to official docker (domoticz-docker)
Moderator: leecollings
-
- 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)
Hi,
I don't have the /etc/modules-load.d/ folder. Do I have to create it myself?
I don't have the /etc/modules-load.d/ folder. Do I have to create it myself?
-
- 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)
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:
Where else can I get the "ttyUSB0" driver to correct the error?
Thanks very much.
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
Thanks very much.
Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)
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.
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.
-
- 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)
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.
Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)
It looks like you can get them with waybackmachine:
https://web.archive.org/web/20211014141 ... n/DSM_7.0/
https://web.archive.org/web/20211014141 ... n/DSM_7.0/
- 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)
Is this what you are looking for..., (see attachment)
- Attachments
-
- DSM_70_usb_drivers.rar
- (381.38 KiB) Downloaded 93 times
-
- 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)
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:
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 (194.63 KiB) Viewed 1878 times
- 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)
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.
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:
-
- 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)
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!
Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)
What docker container should I use? Stable or latest?
- waltervl
- Posts: 5149
- 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)
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
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)
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?
- waltervl
- Posts: 5149
- 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)
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.
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
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)
Ok, there’s stable, beta and then there’s latest: https://registry.hub.docker.com/layers/ ... xt=explore
- waltervl
- Posts: 5149
- 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)
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....
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
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)
Thanks, I’m sticking with stable and hope for faster releases.
- 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)
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.
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 (236.81 KiB) Viewed 1579 times
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
- waltervl
- Posts: 5149
- 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)
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
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
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- 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)
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.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
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
Who is online
Users browsing this forum: No registered users and 1 guest