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 »

MickFly3000 wrote: Saturday 23 February 2019 20:01

For your information, I also have the UsbSerial Driver Package installed. I replaced the ftdi_sio.ko file with your newly compiled file.
Executed chmod 777 /lib/modules/ftdi_sio.ko and restarted the NAS.
New test:
Have done some more fix in the ftdi_sio.c and ftdi_sio.h
I don't know this will fix the problem, but you are free to test :-)
http://www.jadahl.com/synospk/ftdi_sio.ko
If you replace the ftdi_sio.ko in folder /lib/modules you don't need the usbserialdrivers package!
BTW I also updated usbserialdrivers.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
MickFly3000
Posts: 4
Joined: Sunday 17 February 2019 22:23
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by MickFly3000 »

jumbotroll wrote:
MickFly3000 wrote: Saturday 23 February 2019 20:01

For your information, I also have the UsbSerial Driver Package installed. I replaced the ftdi_sio.ko file with your newly compiled file.
Executed chmod 777 /lib/modules/ftdi_sio.ko and restarted the NAS.
New test:
Have done some more fix in the ftdi_sio.c and ftdi_sio.h
I don't know this will fix the problem, but you are free to test :-)
http://www.jadahl.com/synospk/ftdi_sio.ko
If you replace the ftdi_sio.ko in folder /lib/modules you don't need the usbserialdrivers package!
BTW I also updated usbserialdrivers.spk
You're great. The rfxcom XL is detected.

Code: Select all

[177608.380000] usbcore: deregistering interface driver ftdi_sio
[177608.390000] USB Serial deregistering driver FTDI USB Serial Device
[177614.080000] USB Serial support registered for FTDI USB Serial Device
[177614.090000] usbcore: registered new interface driver ftdi_sio
[177614.090000] ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver
[177833.600000] usb 1-1.3: new full speed USB device using orion-ehci and address 5
[177833.710000] usb 1-1.3: configuration #1 chosen from 1 choice
[177833.720000] ftdi_sio 1-1.3:1.0: FTDI USB Serial Device converter detected
[177833.730000] usb 1-1.3: Detected FT-X
[177833.740000] usb 1-1.3: Number of endpoints 2
[177833.740000] usb 1-1.3: Endpoint 1 MaxPacketSize 64
[177833.740000] usb 1-1.3: Endpoint 2 MaxPacketSize 64
[177833.750000] usb 1-1.3: Setting MaxPacketSize 64
[177833.760000] usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB0
But just to understand. Did you edit the driver file which means the original driver would just not work on a ds212+?

As provided here: http://www.ftdichip.com/Drivers/VCP.htm

Verstuurd vanaf mijn SM-N960F met Tapatalk

Synology DS212+ with RFXCOMXL
Raspberry PI 2B mediacenter
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 »

MickFly3000 wrote: Monday 25 February 2019 21:26
jumbotroll wrote:
MickFly3000 wrote: Saturday 23 February 2019 20:01

For your information, I also have the UsbSerial Driver Package installed. I replaced the ftdi_sio.ko file with your newly compiled file.
Executed chmod 777 /lib/modules/ftdi_sio.ko and restarted the NAS.
New test:
Have done some more fix in the ftdi_sio.c and ftdi_sio.h
I don't know this will fix the problem, but you are free to test :-)
http://www.jadahl.com/synospk/ftdi_sio.ko
If you replace the ftdi_sio.ko in folder /lib/modules you don't need the usbserialdrivers package!
BTW I also updated usbserialdrivers.spk
You're great. The rfxcom XL is detected.

Code: Select all

[177608.380000] usbcore: deregistering interface driver ftdi_sio
[177608.390000] USB Serial deregistering driver FTDI USB Serial Device
[177614.080000] USB Serial support registered for FTDI USB Serial Device
[177614.090000] usbcore: registered new interface driver ftdi_sio
[177614.090000] ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver
[177833.600000] usb 1-1.3: new full speed USB device using orion-ehci and address 5
[177833.710000] usb 1-1.3: configuration #1 chosen from 1 choice
[177833.720000] ftdi_sio 1-1.3:1.0: FTDI USB Serial Device converter detected
[177833.730000] usb 1-1.3: Detected FT-X
[177833.740000] usb 1-1.3: Number of endpoints 2
[177833.740000] usb 1-1.3: Endpoint 1 MaxPacketSize 64
[177833.740000] usb 1-1.3: Endpoint 2 MaxPacketSize 64
[177833.750000] usb 1-1.3: Setting MaxPacketSize 64
[177833.760000] usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB0
But just to understand. Did you edit the driver file which means the original driver would just not work on a ds212+?

As provided here: http://www.ftdichip.com/Drivers/VCP.htm

Verstuurd vanaf mijn SM-N960F met Tapatalk
No you have to have the specific driver compiled for the linux kernel that your NAS is running, in this case arch-88f6282 and the original driver from synology do not support your device, so I modified the source code and added your device and recompiled the driver for you.
So only my FTDI driver will support RFXCOM XL for this NAS :-)
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
teo1966
Posts: 35
Joined: Saturday 18 November 2017 12:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Contact:

Re: How to install Domoticz on a Synology NAS

Post by teo1966 »

there is update from synology to this Version: 6.2.1-23824-6 update to this version ?
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
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 »

teo1966 wrote: Tuesday 26 February 2019 19:11 there is update from synology to this Version: 6.2.1-23824-6 update to this version ?
What do you really mean?
Which NAS do you have?
Which version have you used before?
What are you looking for?

BTW latest domoticz beta for DSM 6.2 running on DSM 6.2.1-23824 Update 6 if you wonder.
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
teo1966
Posts: 35
Joined: Saturday 18 November 2017 12:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Contact:

Re: How to install Domoticz on a Synology NAS

Post by teo1966 »

there were update from synology i was curious if there a risk was to update Version: 6.2.1-23824-6
i have ds1512+ en now has my DSM 6.2.1-23824 Update 4 whit Domoticz V4.10394
sorry for my bad English
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
teo1966
Posts: 35
Joined: Saturday 18 November 2017 12:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Contact:

Re: How to install Domoticz on a Synology NAS

Post by teo1966 »

there i no risk i have now domoticz V4.10445 and DSM 6.2.1-23824 Update 6 on my DS1512+ no problem
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
hakaesbe
Posts: 1
Joined: Friday 08 March 2019 6:41
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by hakaesbe »

Hi there, I have a 916+ and I am unable to install UsbSerialDrivers_braswell-6.2_6-2.spk or usbutils_braswell-6.2_007-4.spk driver from http://www.jadahl.com/drivers/DSM_6.2/

using `sudo synopkg install`

I only have a 290 error which is not very verbose, am I missing something?

Thank you!!!
User avatar
beic
Posts: 1
Joined: Friday 16 September 2016 22:22
Target OS: Windows
Domoticz version: 4.9700
Contact:

Re: How to install Domoticz on a Synology NAS

Post by beic »

hakaesbe wrote: Friday 08 March 2019 6:46 Hi there, I have a 916+ and I am unable to install UsbSerialDrivers_braswell-6.2_6-2.spk or usbutils_braswell-6.2_007-4.spk driver from http://www.jadahl.com/drivers/DSM_6.2/

using `sudo synopkg install`

I only have a 290 error which is not very verbose, am I missing something?

Thank you!!!
Hi,

I have DS218 and I can tell you that on my side everything is working excellent (Manual Installation in Package Center)!
videodrome
Posts: 64
Joined: Wednesday 11 May 2016 16:11
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by videodrome »

@jumbotroll
I have a ds 216j with 2 USB 3.0 ports. I'm thinking of transferring domoticz to synology. Now on a raspy 2.0 I have connected: 1 zstick, 1 rfx.com and 1 sdm 220 modbus. If I purchased 1 USB 2.0 hub connecting it to a synology port, would I be able to make it all work?

Inviato dal mio SM-G955F utilizzando Tapatalk

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 »

videodrome wrote: Tuesday 26 March 2019 9:59 @jumbotroll
I have a ds 216j with 2 USB 3.0 ports. I'm thinking of transferring domoticz to synology. Now on a raspy 2.0 I have connected: 1 zstick, 1 rfx.com and 1 sdm 220 modbus. If I purchased 1 USB 2.0 hub connecting it to a synology port, would I be able to make it all work?

Inviato dal mio SM-G955F utilizzando Tapatalk
That I can't answer, because I don't have tested on DS216j.
I also use USB 2.0 hub on my DS712+ and use 1 Zstick, 1 RFLink, Bluetooth device and RFXcom RFXcom E.
All working very well here :-)
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
Eosfoto
Posts: 9
Joined: Wednesday 07 November 2018 12:06
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: @Home
Contact:

Re: How to install Domoticz on a Synology NAS

Post by Eosfoto »

videodrome wrote: Tuesday 26 March 2019 9:59 @jumbotroll
I have a ds 216j with 2 USB 3.0 ports. I'm thinking of transferring domoticz to synology. Now on a raspy 2.0 I have connected: 1 zstick, 1 rfx.com and 1 sdm 220 modbus. If I purchased 1 USB 2.0 hub connecting it to a synology port, would I be able to make it all work?

Inviato dal mio SM-G955F utilizzando Tapatalk
In my case (218 Play) this works fine with a Belkin F4U020VF USB hub. I've bought it on Amazon.de for €18....
videodrome
Posts: 64
Joined: Wednesday 11 May 2016 16:11
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by videodrome »

Eosfoto wrote:
videodrome wrote: Tuesday 26 March 2019 9:59 @jumbotroll
I have a ds 216j with 2 USB 3.0 ports. I'm thinking of transferring domoticz to synology. Now on a raspy 2.0 I have connected: 1 zstick, 1 rfx.com and 1 sdm 220 modbus. If I purchased 1 USB 2.0 hub connecting it to a synology port, would I be able to make it all work?

Inviato dal mio SM-G955F utilizzando Tapatalk
In my case (218 Play) this works fine with a Belkin F4U020VF USB hub. I've bought it on Amazon.de for €18....
Thanx a lot.

Inviato dal mio SM-G955F utilizzando Tapatalk

videodrome
Posts: 64
Joined: Wednesday 11 May 2016 16:11
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Eastron sdm 220c on synology?

Post by videodrome »

@jumbotroll
The installation of the package is very easy and the 4.97 version is very stable. One question: I use an eastron sdm 220 as smart meter on the raspberry that needs the libmodbus library, but I'm afraid it's not available for synology and makes this useful smart meter useless.
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: Eastron sdm 220c on synology?

Post by jumbotroll »

videodrome wrote: Friday 29 March 2019 0:11 @jumbotroll
The installation of the package is very easy and the 4.97 version is very stable. One question: I use an eastron sdm 220 as smart meter on the raspberry that needs the libmodbus library, but I'm afraid it's not available for synology and makes this useful smart meter useless.
I build a test package for you with libmodbus.
http://www.jadahl.com/domoticz_beta_6.2/?arch=armada38x
I don't know if it's working, but you can test :-)
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
Creaky
Posts: 20
Joined: Monday 12 December 2016 15:45
Target OS: NAS (Synology & others)
Domoticz version: 2020.2
Location: NL
Contact:

Re: How to install Domoticz on a Synology NAS

Post by Creaky »

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.
Then you can download domoticz beta and update..

@Jumbotroll, does this mean I leave the current Domoticz (old) installation on my NAS, download the latest domoticz package from your site and install that manually in Synology Package Center? Does that update the current Domoticz installation that is already on my NAS?
Greetz,

·´¯`·.¸¸.·´¯`·. ( Creaky ) .·´¯`·.¸¸.·´¯ `·
MickFly3000
Posts: 4
Joined: Sunday 17 February 2019 22:23
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by MickFly3000 »

After updating my DS212+ Domoticz couldnt reach my RFXCOM XL. After reinstalling the UsbSerialDriverPackage and replacing ftdi_sio.ko it all worked again. Had to reboot the NAS but Im happy again. Is this the way it works after every DSM update?

Verstuurd vanaf mijn SM-N960F met Tapatalk

Synology DS212+ with RFXCOMXL
Raspberry PI 2B mediacenter
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 »

MickFly3000 wrote: Wednesday 15 May 2019 16:42 After updating my DS212+ Domoticz couldnt reach my RFXCOM XL. After reinstalling the UsbSerialDriverPackage and replacing ftdi_sio.ko it all worked again. Had to reboot the NAS but Im happy again. Is this the way it works after every DSM update?

Verstuurd vanaf mijn SM-N960F met Tapatalk
I don't know, but if synology mess with the drivers, you maybe have to, because I have made a special driver for 88f6281 NAS and synology driver do not support RFXCOM XL in older NAS :?
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
Creaky
Posts: 20
Joined: Monday 12 December 2016 15:45
Target OS: NAS (Synology & others)
Domoticz version: 2020.2
Location: NL
Contact:

Re: How to install Domoticz on a Synology NAS

Post by Creaky »

Hi All,

Since a couple of days I get a notification that there is an update of Domoticz, but clicking the button to install it, doesn't work.
I've searched through this thread to find update instructions, but coudn't find any. How do I update a Jadahl Domoticz install on Synology?
Greetz,

·´¯`·.¸¸.·´¯`·. ( Creaky ) .·´¯`·.¸¸.·´¯ `·
User avatar
Antori91
Posts: 136
Joined: Sunday 12 February 2017 17:12
Target OS: NAS (Synology & others)
Domoticz version: 4.10717
Location: France
Contact:

Re: How to install Domoticz on a Synology NAS

Post by Antori91 »

Creaky wrote: Wednesday 15 May 2019 16:15 @Jumbotroll, does this mean I leave the current Domoticz (old) installation on my NAS, download the latest domoticz package from your site and install that manually in Synology Package Center? Does that update the current Domoticz installation that is already on my NAS?
Hello Creaky,
To upgrade my Domoticz on Synology, I use this procedure (again recently with the latest stable). It seems to work fine.
PS: don't forget to save before the old Domoticz install (tar -zcvf domoticz_backup.tar.gz /volume1/@appstore/domoticz/ >&/dev/null)
Domoticz High Availability Cluster: Synology Dz V4.10693 (Main) - Raspberry Dz V4.10717 (Backup) - Scripts Node.js
Alarm server: Raspberry - motionEye - iot_ALARM-SVR Node.js
Sensors/Actuators: ESP8266-Arduino
https://github.com/Antori91/Home_Automation
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest