How to install Domoticz on a Synology NAS

On various Hardware and OS systems: pi / windows / routers / nas, etc
User avatar
jumbotroll
Posts: 498
Joined: Tuesday 13 January 2015 15: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 » Monday 14 December 2015 23:20

Do you have /usr/local/domoticz/modules/cdc-acm.ko ?
Then you can try insmod /usr/local/domoticz/modules/cdc-acm.ko

If that not work you can try to copy cdc-acm.ko to /lib/modules/
Regards
Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com

greuh
Posts: 29
Joined: Thursday 19 November 2015 14:53
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by greuh » Monday 14 December 2015 23:52

jumbotroll wrote:Do you have /usr/local/domoticz/modules/cdc-acm.ko ?
Then you can try insmod /usr/local/domoticz/modules/cdc-acm.ko

If that not work you can try to copy cdc-acm.ko to /lib/modules/
Regards
Jumbotroll
I do not have it:
DiskStation> ls /usr/local/domoticz/modules/
ch341.ko cp210x.ko pl2303.ko
DiskStation>

Thanks,
Greuh

User avatar
jumbotroll
Posts: 498
Joined: Tuesday 13 January 2015 15: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 » Tuesday 15 December 2015 0:08

greuh wrote:
jumbotroll wrote:Do you have /usr/local/domoticz/modules/cdc-acm.ko ?
Then you can try insmod /usr/local/domoticz/modules/cdc-acm.ko

If that not work you can try to copy cdc-acm.ko to /lib/modules/
Regards
Jumbotroll
I do not have it:
DiskStation> ls /usr/local/domoticz/modules/
ch341.ko cp210x.ko pl2303.ko
DiskStation>

Thanks,
Greuh
I can try to compile a version with cdc-acm.ko and copy it into /lib/modules and do a insmod in the start script, if you want?
Regards
Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com

greuh
Posts: 29
Joined: Thursday 19 November 2015 14:53
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by greuh » Tuesday 15 December 2015 0:11

jumbotroll wrote:
greuh wrote:
jumbotroll wrote:Do you have /usr/local/domoticz/modules/cdc-acm.ko ?
Then you can try insmod /usr/local/domoticz/modules/cdc-acm.ko

If that not work you can try to copy cdc-acm.ko to /lib/modules/
Regards
Jumbotroll
I do not have it:
DiskStation> ls /usr/local/domoticz/modules/
ch341.ko cp210x.ko pl2303.ko
DiskStation>

Thanks,
Greuh
I can try to compile a version with cdc-acm.ko and copy it into /lib/modules and do a insmod in the start script, if you want?
Regards
Jumbotroll
That would be very nice, thank you :)
Do you know why I do not have it in my package ? Maybe a simple inclusion in the package, in /usr/local/domoticz/ would be enough. I do not know if modifying the start script is needed.

User avatar
jumbotroll
Posts: 498
Joined: Tuesday 13 January 2015 15: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 » Tuesday 15 December 2015 0:20

In newer DSM the cdc-acm.ko is in the kernel.
I thought I had compiled cdc-acm.ko in domoticz_88f6281-4.2_2.0.3798-7.spk package?
Which version do you have installed now?
Regards
Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com

greuh
Posts: 29
Joined: Thursday 19 November 2015 14:53
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by greuh » Tuesday 15 December 2015 0:23

jumbotroll wrote:In newer DSM the cdc-acm.ko is in the kernel.
I thought I had compiled cdc-acm.ko in domoticz_88f6281-4.2_2.0.3798-7.spk package?
Which version do you have installed now?
Regards
Jumbotroll
The installed version is domoticz_88f6281-4.2_2.0.3798-7.spk
Maybe an unseen compilation error, or a packaging issue ?

User avatar
jumbotroll
Posts: 498
Joined: Tuesday 13 January 2015 15: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 » Tuesday 15 December 2015 0:33

greuh wrote:
jumbotroll wrote:In newer DSM the cdc-acm.ko is in the kernel.
I thought I had compiled cdc-acm.ko in domoticz_88f6281-4.2_2.0.3798-7.spk package?
Which version do you have installed now?
Regards
Jumbotroll
The installed version is domoticz_88f6281-4.2_2.0.3798-7.spk
Maybe an unseen compilation error, or a packaging issue ?
I checked now and cdc-acm was missing in domoticz_88f6281-4.2_2.0.3798-7.spk.
The compile of a new version is on the way :-)
You can also download compiled cdc-acm for 88f6281 for DSM 4.2 here: http://jadahl.dscloud.me/cdc-acm.ko
Copy it into /lib/modules and do a insmod
Regards
Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com

greuh
Posts: 29
Joined: Thursday 19 November 2015 14:53
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by greuh » Tuesday 15 December 2015 0:57

jumbotroll wrote:
I checked now and cdc-acm was missing in domoticz_88f6281-4.2_2.0.3798-7.spk.
The compile of a new version is on the way :-)
You can also download compiled cdc-acm for 88f6281 for DSM 4.2 here: http://jadahl.dscloud.me/cdc-acm.ko
Copy it into /lib/modules and do a insmod
Regards
Jumbotroll
I tried that module, installed it under /ib/modules.
Reboot, insmod it, start domoticz, plug the stick.

No more success... (only ttyUSBx devices in the serial port list)
Image
I am afraid some other kernel modules might be needed, and are missing.
Any idea?

Thanks,
Alexis

User avatar
jumbotroll
Posts: 498
Joined: Tuesday 13 January 2015 15: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 » Tuesday 15 December 2015 1:07

Ok , maybe something else is missing.
If you find out what is missing , let me know and maybe I can add it to a new version.

Regards
Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com

User avatar
jumbotroll
Posts: 498
Joined: Tuesday 13 January 2015 15: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 » Tuesday 15 December 2015 1:27

If you do a :
mknod /dev/ttyACM0 c 166 0

You should see /dev/ttyACM0
I found this about older DSM

After I had the necesary .ko files:
– I only had to insert the usbserial.ko module and then the /lib/modules/cdc_acm.ko module
– then do a mknod /dev/usb/ttyACM0 c 166 0

dmesg output:
[ 6443.160000] usb 1-1.1: new full speed USB device using orion-ehci and address 8
[ 6443.270000] usb 1-1.1: configuration #1 chosen from 1 choice
[ 6443.280000] cdc_acm 1-1.1:1.0: ttyACM0: USB ACM device

This version include 100% sure the cdc-acm driver :)
domoticz_88f6281-4.2_2.0.3817-7.spk
http://jadahl.dscloud.me/sspks/packages ... 3817-7.spk
I did also try to add a mknod /dev/usb/ttyACM0 c 166 0 in the start script.

Regards
Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com

greuh
Posts: 29
Joined: Thursday 19 November 2015 14:53
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by greuh » Tuesday 15 December 2015 23:10

The Zstick has been recognized by Domoticz !!! :shock:
Thank you so much :D

So I installed your latest package, but I had to do the mknod myself.
Not sure if domoticz is started with the root privileges.
Where is the start script?
I did a "grep -r mknod *" in /usr/local/domoticz but I found nothing relevant.

User avatar
jumbotroll
Posts: 498
Joined: Tuesday 13 January 2015 15: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 » Wednesday 16 December 2015 2:36

greuh wrote:The Zstick has been recognized by Domoticz !!! :shock:
Thank you so much :D

So I installed your latest package, but I had to do the mknod myself.
Not sure if domoticz is started with the root privileges.
Where is the start script?
I did a "grep -r mknod *" in /usr/local/domoticz but I found nothing relevant.
Nice :D
domoticz is started with root privileges.
start-stop-status can be found in /var/packages/domoticz/scripts

Regards
Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com

User avatar
DomoBart
Posts: 1
Joined: Saturday 19 December 2015 20:23
Target OS: NAS (Synology & others)
Domoticz version: 2.3799
Location: Netherlands
Contact:

Re: How to install Domoticz on a Synology NAS

Post by DomoBart » Saturday 19 December 2015 23:32

I have managed to install the Beta domoticz_ppc853x-4.3_2.0.3767-7.spk from Jadahl's website. This is working fine on a Synology 209+II. However how can I install/add OpenZwave to it, so that it detects my Aeotec GEN5 Z-Stick?

Thanks for your help!

User avatar
jumbotroll
Posts: 498
Joined: Tuesday 13 January 2015 15: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 » Sunday 20 December 2015 0:27

DomoBart wrote:I have managed to install the Beta domoticz_ppc853x-4.3_2.0.3767-7.spk from Jadahl's website. This is working fine on a Synology 209+II. However how can I install/add OpenZwave to it, so that it detects my Aeotec GEN5 Z-Stick?

Thanks for your help!
Sorry, but I have unfortunately not been able to cross compile OpenZwave for older DSM (ppc853x-4.3)
too many errors during compilation unfortunately .

Regards
Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com

jorns
Posts: 6
Joined: Tuesday 14 January 2014 16:06
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by jorns » Tuesday 22 December 2015 10:32

Question.

I am running a Banana Pi with Domoticz and RFXcom, and a Raspberry Pi for z-wave. I have noticed that my Banana pi lags when operating the switches, i guess thats because i added a couple of cameras lately.
Is it a big advantage to move both 433mHz system and the z-Wave system over to a NAS runnnig domoticz? Is it that more stable and responsible when activating swithces, watching cams etc?

Thinking of buying the DS215+ wich is the only available for phurcase here in Oslo nright now.

User avatar
TazDevl
Posts: 17
Joined: Friday 04 September 2015 10:29
Target OS: Raspberry Pi
Domoticz version: NewBeta
Contact:

Re: How to install Domoticz on a Synology NAS

Post by TazDevl » Monday 28 December 2015 23:10

Have a DS413j with DSM version DSM 5.2-5644 Update 1 but current version won't install?

User avatar
jumbotroll
Posts: 498
Joined: Tuesday 13 January 2015 15: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 » Monday 28 December 2015 23:38

TazDevl wrote:Have a DS413j with DSM version DSM 5.2-5644 Update 1 but current version won't install?
Did you try to manually download and install domoticz_88f6282-5.2_2.0.4015-7.spk ?
http://jadahl.dscloud.me/sspks/index.php?fulllist=true
What is the error report?

Regards
Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com

User avatar
TazDevl
Posts: 17
Joined: Friday 04 September 2015 10:29
Target OS: Raspberry Pi
Domoticz version: NewBeta
Contact:

Re: How to install Domoticz on a Synology NAS

Post by TazDevl » Tuesday 29 December 2015 20:48

jumbotroll wrote:
TazDevl wrote:Have a DS413j with DSM version DSM 5.2-5644 Update 1 but current version won't install?
Did you try to manually download and install domoticz_88f6282-5.2_2.0.4015-7.spk ?
http://jadahl.dscloud.me/sspks/index.php?fulllist=true
What is the error report?

Regards
Jumbotroll
Set the trust level to the lowest level,the 88f6282 version installed without a fus

jberinga
Posts: 9
Joined: Tuesday 11 August 2015 14:20
Target OS: NAS (Synology & others)
Domoticz version: 2.2903
Location: The Netherlands
Contact:

Re: How to install Domoticz on a Synology NAS

Post by jberinga » Thursday 31 December 2015 12:20

With version 2.4017 I am unable to save Events. When changing an event and saving it, I get an error: Error while saving eventname. I also get this error when I create a new event and try to save it.

How can I solve this?

UPDATE: After uninstalling version 2.4017 and installing version 2.4015 I am able to save Events again

User avatar
jumbotroll
Posts: 498
Joined: Tuesday 13 January 2015 15: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 » Thursday 31 December 2015 16:30

jberinga wrote:With version 2.4017 I am unable to save Events. When changing an event and saving it, I get an error: Error while saving eventname. I also get this error when I create a new event and try to save it.

How can I solve this?

UPDATE: After uninstalling version 2.4017 and installing version 2.4015 I am able to save Events again
Fixed in 2.4020 ;)
Regards
Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest