Re: How to install Domoticz on a Synology NAS
Posted: Sunday 03 February 2019 13:54
With Python, got a ds218+ so i suppose the apollolake build?
Open source Home Automation System
https://forum.domoticz.com/
Ok.Ectholian wrote: Sunday 03 February 2019 13:54 With Python, got a ds218+ so i suppose the apollolake build?
This is not build with script, but with spksrc framework and the hole framework is 100GB and a lot of linux kernel mods for different cpu's because of the USB drivers that synology uses.Ectholian wrote: Sunday 03 February 2019 15:01 Works like a charm
Care to share the packaging scripts on the domoticz github or something? Maybe it can be embedded in the build pipeline.
It's should be .spk format..pietpiet50 wrote: Tuesday 05 February 2019 21:43 maybe a stupid question, but i looked at the internet and didn't find the answer.
I dowloaded the complete file from jadahls site, dsm6.2 and 115j, what i got is an .tar file.
In package center comes an error , the right format. I checked "accept third party"
What goes wrong?
DSM6.2
Diskstation 115J
Complete formatted, with one volume
Or is there another way to install this complete package without compiling or other difficult stuff. I like the easy way , sorry
If you installed the Python version, you have to install Python 3 from synology first or the domoticz will not start.Gert1999 wrote: Wednesday 06 February 2019 21:28 Hi,
I have a DS218, with Realtek rtd1296 chipset.
DSM 6.2.1-23824 Update 4
I just downloaded and manually installed domoticz_rtd1296-6.2_4.0.10394-8.spk
Unfortunately, it soes not seem to work.
I cannot get it to be activated in the package center.
any ideas?
Just installed different version of Python 3, now it works.jumbotroll wrote: Wednesday 06 February 2019 21:33If you installed the Python version, you have to install Python 3 from synology first or the domoticz will not start.Gert1999 wrote: Wednesday 06 February 2019 21:28 Hi,
I have a DS218, with Realtek rtd1296 chipset.
DSM 6.2.1-23824 Update 4
I just downloaded and manually installed domoticz_rtd1296-6.2_4.0.10394-8.spk
Unfortunately, it soes not seem to work.
I cannot get it to be activated in the package center.
any ideas?
Python3 for DS218
https://global.download.synology.com/do ... 1-0108.spk
Sorry.Jumper wrote: Friday 08 February 2019 12:07 Hello there,
I am new to Domoticz and testing some things.
I would like to install Domoticz Stable V4.9700 for DSM 6.2 with Python on my DS211J.
Would it be possible to create a package for this nas?
Hope to hear from you soon.
Ok, no problem, thanks for the info.jumbotroll wrote: Friday 08 February 2019 14:22Sorry.Jumper wrote: Friday 08 February 2019 12:07 Hello there,
I am new to Domoticz and testing some things.
I would like to install Domoticz Stable V4.9700 for DSM 6.2 with Python on my DS211J.
Would it be possible to create a package for this nas?
Hope to hear from you soon.
I do not compile domoticz for arch-88f6281 (DS211J) anymore because the toolchain and kernel from synology is to old and not compatible.
broken fiber switch, everything should work again nowmiecio08 wrote: Monday 11 February 2019 14:29 what happened to jadahl.com? does not work for several hours ;/

Code: Select all
2019-02-23 09:37:44.733 Domoticz V3.9483 (c)2012-2018 GizMoCuz
2019-02-23 09:37:44.734 Build Hash: a74f7c4-modified, Date: 2018-05-24 11:42:36
2019-02-23 09:37:44.734 Startup Path: /usr/local/domoticz/
2019-02-23 09:37:45.808 Active notification Subsystems: gcm, http (2/14)
2019-02-23 09:37:45.871 WebServer(HTTP) started on address: :: with port 8084
2019-02-23 09:37:45.879 WebServer(SSL) started on address: :: with port 8443
2019-02-23 09:37:45.941 Proxymanager started.
2019-02-23 09:37:45.943 Starting shared server on: :::6144
2019-02-23 09:37:45.945 TCPServer: shared server started...
2019-02-23 09:37:45.945 RxQueue: queue worker started...
2019-02-23 09:37:47.981 EventSystem: reset all events...
2019-02-23 09:37:47.981 EventSystem: reset all device statuses...
2019-02-23 09:37:47.993 EventSystem: Started
2019-02-23 09:37:47.993 EventSystem: Queue thread started...
Code: Select all
|__usb1 1d6b:0002:0206 09 2.00 480MBit/s 0mA 1IF (Linux 2.6.32.12 ehci_hcd Marvell Orion EHCI orion-ehci.0) hub
|__1-1 05e3:0608:7763 09 2.00 480MBit/s 100mA 1IF ( d6a3ebcbfbd5e7a5f6a3) hub
|__1-1.4 05e3:0726:9910 00 2.00 480MBit/s 500mA 1IF ( 000000009910)
|__1-1.3 0403:6015:1000 00 2.00 12MBit/s 90mA 1IF (RFXCOM RFXtrx433XL DO3FNQXI)
|__usb2 1d6b:0003:0206 09 3.00 5000MBit/s 0mA 1IF (xhci_hcd 0000:01:01.0) hub
Code: Select all
usbcore 136506 11 ehci_hcd,ohci_hcd,xhci_hcd,etxhci_hcd,usb_storage,usblp,usbhid,snd_usbmidi_lib,snd_usb_audio,snd_usb_hiface
Code: Select all
usbcore 136506 17 ehci_hcd,ohci_hcd,xhci_hcd,etxhci_hcd,usb_storage,usblp,usbhid,snd_usbmidi_lib,snd_usb_audio,snd_usb_hiface,usbserial,ftdi_sio,cp210x,pl2303,ch341,ti_usb_3410_5052
Code: Select all
T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0403 ProdID=6015 Rev=10.00
S: Manufacturer=RFXCOM
S: Product=RFXtrx433XL
S: SerialNumber=DO3FNQXI
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=90mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I think it's because synology use an old kernel in DS212+ arch-88f6282 that missing prod id (6015) for rfxcom xl.MickFly3000 wrote: Saturday 23 February 2019 9:29 Hi all,
I've got a DS212+ running for years. No I want to use to run Domoticz.
From this forum I figured out that I had to install: domoticz_88f6282-6.2_3.0.9483-7.spk
After installing the package, Domoticz seems to run fine, but can't add the RFXCOM.
Running the command 'usb-devices' also shows the RFXcom, but does not specify a driverNow trying to install the Jadahl driver packCode: Select all
T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=01 Dev#= 4 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0403 ProdID=6015 Rev=10.00 S: Manufacturer=RFXCOM S: Product=RFXtrx433XL S: SerialNumber=DO3FNQXI C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=90mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
Thanks a lot for your help.jumbotroll wrote: Saturday 23 February 2019 13:29I think it's because synology use an old kernel in DS212+ arch-88f6282 that missing prod id (6015) for rfxcom xl.MickFly3000 wrote: Saturday 23 February 2019 9:29 Hi all,
I've got a DS212+ running for years. No I want to use to run Domoticz.
From this forum I figured out that I had to install: domoticz_88f6282-6.2_3.0.9483-7.spk
After installing the package, Domoticz seems to run fine, but can't add the RFXCOM.
Running the command 'usb-devices' also shows the RFXcom, but does not specify a driverNow trying to install the Jadahl driver packCode: Select all
T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=01 Dev#= 4 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0403 ProdID=6015 Rev=10.00 S: Manufacturer=RFXCOM S: Product=RFXtrx433XL S: SerialNumber=DO3FNQXI C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=90mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I have recompiled the ftdi_sio.ko driver for you and added ProdID 6015 you can test.
Download the file from my server and rename the old driver in folder: lib/modules/ftdi_sio.ko to ftdi_sio.old and try my new driver.
http://www.jadahl.com/synospk/ftdi_sio.ko
Maybe you have to chmod the new driver and restart your nas.
Code: Select all
T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0403 ProdID=6015 Rev=10.00
S: Manufacturer=RFXCOM
S: Product=RFXtrx433XL
S: SerialNumber=DO3FNQXI
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=90mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)