Page 20 of 29

Re: How to install Domoticz on a Synology NAS

Posted: Friday 11 January 2019 17:41
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 :)

Re: How to install Domoticz on a Synology NAS

Posted: Wednesday 16 January 2019 11:13
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.

Re: How to install Domoticz on a Synology NAS

Posted: Wednesday 16 January 2019 12:01
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..

Re: How to install Domoticz on a Synology NAS

Posted: Wednesday 16 January 2019 12:22
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.

Re: How to install Domoticz on a Synology NAS

Posted: Wednesday 16 January 2019 20:54
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.

Re: How to install Domoticz on a Synology NAS

Posted: Wednesday 16 January 2019 20:55
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?

Re: How to install Domoticz on a Synology NAS

Posted: Wednesday 16 January 2019 21:13
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

Re: How to install Domoticz on a Synology NAS

Posted: Wednesday 16 January 2019 21:20
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.

Re: How to install Domoticz on a Synology NAS

Posted: Wednesday 16 January 2019 21:27
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...

Re: How to install Domoticz on a Synology NAS

Posted: Thursday 17 January 2019 21:27
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?

Re: How to install Domoticz on a Synology NAS

Posted: Thursday 17 January 2019 22:52
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

Re: How to install Domoticz on a Synology NAS

Posted: Friday 18 January 2019 9:26
by OmeAnne
Thank you very much, it starts now!
Let's see if I can have some good fun with it!

Re: How to install Domoticz on a Synology NAS

Posted: Friday 18 January 2019 19:35
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.

Re: How to install Domoticz on a Synology NAS

Posted: Friday 18 January 2019 19:40
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

Re: How to install Domoticz on a Synology NAS

Posted: Sunday 20 January 2019 18:42
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

Re: How to install Domoticz on a Synology NAS

Posted: Friday 01 February 2019 19:57
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

Re: How to install Domoticz on a Synology NAS

Posted: Sunday 03 February 2019 9:02
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?

Re: How to install Domoticz on a Synology NAS

Posted: Sunday 03 February 2019 11:47
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.

Re: How to install Domoticz on a Synology NAS

Posted: Sunday 03 February 2019 13:23
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

Re: How to install Domoticz on a Synology NAS

Posted: Sunday 03 February 2019 13:40
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?