How to install Domoticz on a Synology NAS

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

Moderator: leecollings

User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: How to install Domoticz on a Synology NAS

Post by jumbotroll »

manutremo wrote: Friday 11 January 2019 17:36 I was actually looking into that... and you nailed it. The issue is caused by the Tuya plugin by Tixi. Once I disabled it, domoticz does not crash anymore.

No need to recompile the older version. Many thanks for your help!
Ok.
Great you found the problem :)
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
hkhk
Posts: 21
Joined: Wednesday 15 November 2017 16:42
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by hkhk »

Hi,

Asked this question some time ago but no response.
Does that mean nobody knows or it is a known issue?
I could not find any hint to solve it.
hkhk wrote: Saturday 29 December 2018 13:15 Hi,

Have been running domoticz 4.9700 on ds1813+ (DSM 6.2.1) for long time and works fine except for the errors below when starting.

Starting Domoticz ...
insmod: ERROR: could not insert module /lib/modules/usbserial.ko: File exists
insmod: ERROR: could not insert module /lib/modules/ftdi_sio.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/cp210x.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/pl2303.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/ch341.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/ti_usb_3410_5052.ko: File exists
ln: failed to create symbolic link ‘/lib/udev/rules.d/60-synocommunity.domoticz.rules’: File exists


How do I fix that since cannot use USB/Serial port in domoticz now.
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: How to install Domoticz on a Synology NAS

Post by jumbotroll »

hkhk wrote: Wednesday 16 January 2019 11:13 Hi,

Asked this question some time ago but no response.
Does that mean nobody knows or it is a known issue?
I could not find any hint to solve it.
hkhk wrote: Saturday 29 December 2018 13:15 Hi,

Have been running domoticz 4.9700 on ds1813+ (DSM 6.2.1) for long time and works fine except for the errors below when starting.

Starting Domoticz ...
insmod: ERROR: could not insert module /lib/modules/usbserial.ko: File exists
insmod: ERROR: could not insert module /lib/modules/ftdi_sio.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/cp210x.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/pl2303.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/ch341.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/ti_usb_3410_5052.ko: File exists
ln: failed to create symbolic link ‘/lib/udev/rules.d/60-synocommunity.domoticz.rules’: File exists


How do I fix that since cannot use USB/Serial port in domoticz now.
Are you sure you have installed the right domoticz version? If you have an old 6.1 version the drivers is not the same as 6.2.
Try to reinstall domoticz for DSM6.2 and test the beta version.
http://www.jadahl.com/domoticz_beta_6.2 ... 0354-8.spk

There are not any another users that reported this problem using arch-cedarview..
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: How to install Domoticz on a Synology NAS

Post by waaren »

hkhk wrote: Wednesday 16 January 2019 11:13 Hi,

Asked this question some time ago but no response.
Does that mean nobody knows or it is a known issue?
I could not find any hint to solve it.
hkhk wrote: Saturday 29 December 2018 13:15 Hi,

Have been running domoticz 4.9700 on ds1813+ (DSM 6.2.1) for long time and works fine except for the errors below when starting.

Starting Domoticz ...
insmod: ERROR: could not insert module /lib/modules/usbserial.ko: File exists
insmod: ERROR: could not insert module /lib/modules/ftdi_sio.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/cp210x.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/pl2303.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/ch341.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/ti_usb_3410_5052.ko: File exists
ln: failed to create symbolic link ‘/lib/udev/rules.d/60-synocommunity.domoticz.rules’: File exists


How do I fix that since cannot use USB/Serial port in domoticz now.
I see the same message at every start. But they do not imply you cannot use your serial ports. They just say the files / symbolic links are already there.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
hkhk
Posts: 21
Joined: Wednesday 15 November 2017 16:42
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by hkhk »

jumbotroll wrote: Wednesday 16 January 2019 12:01
hkhk wrote: Wednesday 16 January 2019 11:13 Hi,

Asked this question some time ago but no response.
Does that mean nobody knows or it is a known issue?
I could not find any hint to solve it.
hkhk wrote: Saturday 29 December 2018 13:15 Hi,

Have been running domoticz 4.9700 on ds1813+ (DSM 6.2.1) for long time and works fine except for the errors below when starting.

Starting Domoticz ...
insmod: ERROR: could not insert module /lib/modules/usbserial.ko: File exists
insmod: ERROR: could not insert module /lib/modules/ftdi_sio.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/cp210x.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/pl2303.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/ch341.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/ti_usb_3410_5052.ko: File exists
ln: failed to create symbolic link ‘/lib/udev/rules.d/60-synocommunity.domoticz.rules’: File exists


How do I fix that since cannot use USB/Serial port in domoticz now.
Are you sure you have installed the right domoticz version? If you have an old 6.1 version the drivers is not the same as 6.2.
Try to reinstall domoticz for DSM6.2 and test the beta version.
http://www.jadahl.com/domoticz_beta_6.2 ... 0354-8.spk

There are not any another users that reported this problem using arch-cedarview..
I'm pretty sure I used 6.2 but to be 100% sure I installed again. Same messages though. Could not download beta because of connection issues.
hkhk
Posts: 21
Joined: Wednesday 15 November 2017 16:42
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by hkhk »

waaren wrote: Wednesday 16 January 2019 12:22
hkhk wrote: Wednesday 16 January 2019 11:13 Hi,

Asked this question some time ago but no response.
Does that mean nobody knows or it is a known issue?
I could not find any hint to solve it.
hkhk wrote: Saturday 29 December 2018 13:15 Hi,

Have been running domoticz 4.9700 on ds1813+ (DSM 6.2.1) for long time and works fine except for the errors below when starting.

Starting Domoticz ...
insmod: ERROR: could not insert module /lib/modules/usbserial.ko: File exists
insmod: ERROR: could not insert module /lib/modules/ftdi_sio.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/cp210x.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/pl2303.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/ch341.ko: File exists
insmod: ERROR: could not insert module /usr/local/domoticz/modules/ti_usb_3410_5052.ko: File exists
ln: failed to create symbolic link ‘/lib/udev/rules.d/60-synocommunity.domoticz.rules’: File exists


How do I fix that since cannot use USB/Serial port in domoticz now.
I see the same message at every start. But they do not imply you cannot use your serial ports. They just say the files / symbolic links are already there.
Ok. But when in Hardware page, there are no serial ports to select from on a device. Or does the (USB)device need to be connected to the NAS before it boots?
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: How to install Domoticz on a Synology NAS

Post by jumbotroll »

hkhk wrote: Wednesday 16 January 2019 20:55 Ok. But when in Hardware page, there are no serial ports to select from on a device. Or does the (USB)device need to be connected to the NAS before it boots?
You give me very limited info.
What USB device are you trying?
Have you tried to reboot with the USB device connected?
Can you see the USB device in the info center on your synology?

Have you tested with the latest beta for arch-cedarview?
http://www.jadahl.com/domoticz_beta_6.2
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
hkhk
Posts: 21
Joined: Wednesday 15 November 2017 16:42
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by hkhk »

jumbotroll wrote: Wednesday 16 January 2019 21:13
hkhk wrote: Wednesday 16 January 2019 20:55 Ok. But when in Hardware page, there are no serial ports to select from on a device. Or does the (USB)device need to be connected to the NAS before it boots?
You give me very limited info.
What USB device are you trying?
Have you tried to reboot with the USB device connected?
Can you see the USB device in the info center on your synology?

Have you tested with the latest beta for arch-cedarview?
http://www.jadahl.com/domoticz_beta_6.2
Fixed it. Thanks for the feedback.
Needed to insert the serial device (pl2302) in the USB port before domoticz is started. Now it sees the device.
So where synology sees the USB device without restart, domoticz needs a restart to see it.

Downloading cedarview beta (http://www.jadahl.com/domoticz_beta_6.2 ... 0343-8.spk) causes a 404 error.
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: How to install Domoticz on a Synology NAS

Post by jumbotroll »

hkhk wrote: Wednesday 16 January 2019 21:20 Downloading cedarview beta (http://www.jadahl.com/domoticz_beta_6.2 ... 0343-8.spk) causes a 404 error.
Because it was updated to new version to day :-)
You vil find the latest updated domoticz_python beta for cedarview here: http://www.jadahl.com/domoticz_beta_6.2_python

It's not always you have to restart Domoticz or NAS for the USB devices to be detected, but sometimes...
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
OmeAnne
Posts: 5
Joined: Wednesday 07 October 2015 12:00
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by OmeAnne »

Hey there,

Got a DS216play running DSM 6.2.1-23824 and had an older version of Domoticz running. Wanted to upgrade to Domoticz Stable V4.9700 for DSM 6.2 with Python. (yes got monaco version)
Somehow the install didn't work So I uninstalled Domoticz....and then tried again. Yeah it worked.
But it does not run. Uninstalled phyton 3 uninstalled Domoticz. Tried version without Python. Yeah it worked and it runs! (ofcourse all of my previous stuff gone, it's okay I'll do it over and better).
Installed Phyton 3 again. Installed version with Python. Computer says no....it will not start. Can someone help me?
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: How to install Domoticz on a Synology NAS

Post by jumbotroll »

OmeAnne wrote: Thursday 17 January 2019 21:27 Hey there,

Got a DS216play running DSM 6.2.1-23824 and had an older version of Domoticz running. Wanted to upgrade to Domoticz Stable V4.9700 for DSM 6.2 with Python. (yes got monaco version)
Somehow the install didn't work So I uninstalled Domoticz....and then tried again. Yeah it worked.
But it does not run. Uninstalled phyton 3 uninstalled Domoticz. Tried version without Python. Yeah it worked and it runs! (ofcourse all of my previous stuff gone, it's okay I'll do it over and better).
Installed Phyton 3 again. Installed version with Python. Computer says no....it will not start. Can someone help me?
Try this Python 3 version: https://archive.synology.com/download/P ... 1-0104.spk
and try latest beta with python for monaco: http://www.jadahl.com/domoticz_beta_6.2 ... 0360-8.spk
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
OmeAnne
Posts: 5
Joined: Wednesday 07 October 2015 12:00
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by OmeAnne »

Thank you very much, it starts now!
Let's see if I can have some good fun with it!
iMoi
Posts: 6
Joined: Monday 14 January 2019 12:13
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by iMoi »

Hi there,
I'm a complete newbie to both Synology and Domoticz (but I'm familiar to Raspberry). I have a brand new DS212+ (DSM 6.2, more precision below) and just installed Domoticz. Unfortunately, when I try to launch it, it seems to do so, but stops and the status remains "Stopped". Even after rebooting the NAS, it keeps doing so. Any idea why ?

thanks a lot !
i-Moi

Information :
DS 212+ (INTEL Celeron J3355)
DSM 6.2.1-23824 Update 4
Domoticz (domoticz_apollolake-6.2_4.0.9700-7.spk) and node-mydomoathome-0.2.39.spk.
Domoticz (domoticz_apollolake-6.2_4.0.9700-7.spk)
installed on a Synology NAS DS 218+ (INTEL Celeron J3355)
under DSM 6.2.1-23824 Update 4
Raspberry Pi B+ with official cam
+ Android smartphone with IP Webcam
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: How to install Domoticz on a Synology NAS

Post by jumbotroll »

iMoi wrote: Friday 18 January 2019 19:35 Hi there,
I'm a complete newbie to both Synology and Domoticz (but I'm familiar to Raspberry). I have a brand new DS212+ (DSM 6.2, more precision below) and just installed Domoticz. Unfortunately, when I try to launch it, it seems to do so, but stops and the status remains "Stopped". Even after rebooting the NAS, it keeps doing so. Any idea why ?

thanks a lot !
i-Moi

Information :
DS 212+ (INTEL Celeron J3355)
DSM 6.2.1-23824 Update 4
Domoticz (domoticz_apollolake-6.2_4.0.9700-7.spk) and node-mydomoathome-0.2.39.spk.
DS 212+ use arch-88f6282
How did you manage to install arch-apollolake?
I don't build new versions for 88f6282 anymore because of old kernel/toolchain from synology.
Latest build for your NAS is :domoticz_88f6282-6.2_3.0.9483-7.spk
http://www.jadahl.com/domoticz_beta_6.2 ... 9483-7.spk

If you have DS 218+ this use arch-apollolake..
If you installed the python version, you have to install Python 3 or domoticz don't run.
Python 3 for apllolake you can download here: https://global.download.synology.com/do ... 1-0108.spk
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
iMoi
Posts: 6
Joined: Monday 14 January 2019 12:13
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by iMoi »

Sorry, my mistake : I have DS218+, not the 212+, and I finally got it working fine, after installing Python and rebooting.
Thanks a lot ! Great job, really impressive.
iMoi
Domoticz (domoticz_apollolake-6.2_4.0.9700-7.spk)
installed on a Synology NAS DS 218+ (INTEL Celeron J3355)
under DSM 6.2.1-23824 Update 4
Raspberry Pi B+ with official cam
+ Android smartphone with IP Webcam
Damealas
Posts: 6
Joined: Thursday 10 May 2018 14:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by Damealas »

jumbotroll wrote: Saturday 05 January 2019 21:39 You find my packages here: http://www.jadahl.com
Beta packages is only manual update now. Download and install.
Try to do an update DS418 use arch-rtd1296 packages.
http://www.jadahl.com/domoticz_beta_6.2/
Thank you very much, I have a 213j and I just installed it without problems, now to install xiaomi vaccum
Ectholian
Posts: 16
Joined: Thursday 26 April 2018 15:27
Target OS: Linux
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by Ectholian »

What is the suggested way to update from the stable dsm to the beta (and vice versa)?

- backup config file
- backup database in domoricz just in case
- uninstall current package
- install new package
- restore config
- database should still be there configured?
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: How to install Domoticz on a Synology NAS

Post by jumbotroll »

Ectholian wrote: Sunday 03 February 2019 9:02 What is the suggested way to update from the stable dsm to the beta (and vice versa)?

- backup config file
- backup database in domoricz just in case
- uninstall current package
- install new package
- restore config
- database should still be there configured?
Always take backup of database (domoticz.db) :)
Then you can download domoticz beta and update..
No need to reinstall.
Remember, you can't downgrade. If you want to use an older version (beta or stable), you have to uninstall/reininstall.
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
Ectholian
Posts: 16
Joined: Thursday 26 April 2018 15:27
Target OS: Linux
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by Ectholian »

jumbotroll wrote: Sunday 03 February 2019 11:47
Ectholian wrote: Sunday 03 February 2019 9:02 What is the suggested way to update from the stable dsm to the beta (and vice versa)?

- backup config file
- backup database in domoricz just in case
- uninstall current package
- install new package
- restore config
- database should still be there configured?
Always take backup of database (domoticz.db) :)
Then you can download domoticz beta and update..
No need to reinstall.
Remember, you can't downgrade. If you want to use an older version (beta or stable), you have to uninstall/reininstall.
Thank you. Now i need to wait patietly for the next beta build so I can use my Anna Thermostat :D
User avatar
jumbotroll
Posts: 793
Joined: Tuesday 13 January 2015 14:36
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Oslo,Norway
Contact:

Re: How to install Domoticz on a Synology NAS

Post by jumbotroll »

Ectholian wrote: Sunday 03 February 2019 13:23
jumbotroll wrote: Sunday 03 February 2019 11:47
Ectholian wrote: Sunday 03 February 2019 9:02 What is the suggested way to update from the stable dsm to the beta (and vice versa)?

- backup config file
- backup database in domoricz just in case
- uninstall current package
- install new package
- restore config
- database should still be there configured?
Always take backup of database (domoticz.db) :)
Then you can download domoticz beta and update..
No need to reinstall.
Remember, you can't downgrade. If you want to use an older version (beta or stable), you have to uninstall/reininstall.
Thank you. Now i need to wait patietly for the next beta build so I can use my Anna Thermostat :D
I can build a beta for you, what NAS do you have and for DSM 6.2 with or without python plugin?
If you like the work I do for synology and domoticz, I appreciate a donation.
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest