Page 21 of 29

Re: How to install Domoticz on a Synology NAS

Posted: Sunday 03 February 2019 13:54
by Ectholian
With Python, got a ds218+ so i suppose the apollolake build?

Re: How to install Domoticz on a Synology NAS

Posted: Sunday 03 February 2019 13:58
by jumbotroll
Ectholian wrote: Sunday 03 February 2019 13:54 With Python, got a ds218+ so i suppose the apollolake build?
Ok.
Updated Beta build for DS218+ arch-apollolake will be uploaded in 25 min here: http://www.jadahl.com/domoticz_beta_6.2_python/

Re: How to install Domoticz on a Synology NAS

Posted: Sunday 03 February 2019 15:01
by Ectholian
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.

Re: How to install Domoticz on a Synology NAS

Posted: Sunday 03 February 2019 15:29
by jumbotroll
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.
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.
It's a major job to make a how to, and that I don't have the time for..

Re: How to install Domoticz on a Synology NAS

Posted: Sunday 03 February 2019 16:45
by Ectholian
I unsterstand. Appreciate your work

Re: How to install Domoticz on a Synology NAS

Posted: Tuesday 05 February 2019 21:43
by pietpiet50
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

Re: How to install Domoticz on a Synology NAS

Posted: Tuesday 05 February 2019 23:11
by jumbotroll
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
It's should be .spk format..
DS 115j use arch-armada370
Try to download domoticz_armada370-6.2_4.0.10xxx-8.spk package and manual install.
Do not unpack the package with untar. just install the .spk package.

http://www.jadahl.com/domoticz_beta_6.2

Re: How to install Domoticz on a Synology NAS

Posted: Wednesday 06 February 2019 21:28
by Gert1999
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?

Re: How to install Domoticz on a Synology NAS

Posted: Wednesday 06 February 2019 21:33
by jumbotroll
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?
If you installed the Python version, you have to install Python 3 from synology first or the domoticz will not start.

Python3 for DS218
https://global.download.synology.com/do ... 1-0108.spk

Re: How to install Domoticz on a Synology NAS

Posted: Wednesday 06 February 2019 21:42
by Gert1999
jumbotroll wrote: Wednesday 06 February 2019 21:33
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?
If you installed the Python version, you have to install Python 3 from synology first or the domoticz will not start.

Python3 for DS218
https://global.download.synology.com/do ... 1-0108.spk
Just installed different version of Python 3, now it works.
Thanks.

Re: How to install Domoticz on a Synology NAS

Posted: Friday 08 February 2019 12:07
by Jumper
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.

Re: How to install Domoticz on a Synology NAS

Posted: Friday 08 February 2019 14:22
by jumbotroll
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.
Sorry.
I do not compile domoticz for arch-88f6281 (DS211J) anymore because the toolchain and kernel from synology is to old and not compatible.

Re: How to install Domoticz on a Synology NAS

Posted: Friday 08 February 2019 15:33
by Jumper
jumbotroll wrote: Friday 08 February 2019 14:22
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.
Sorry.
I do not compile domoticz for arch-88f6281 (DS211J) anymore because the toolchain and kernel from synology is to old and not compatible.
Ok, no problem, thanks for the info.

Re: How to install Domoticz on a Synology NAS

Posted: Monday 11 February 2019 14:29
by miecio08
what happened to jadahl.com? does not work for several hours ;/

Re: How to install Domoticz on a Synology NAS

Posted: Monday 11 February 2019 15:12
by zandhaas
When I check the site it's online.

Re: How to install Domoticz on a Synology NAS

Posted: Monday 11 February 2019 15:53
by jumbotroll
miecio08 wrote: Monday 11 February 2019 14:29 what happened to jadahl.com? does not work for several hours ;/
broken fiber switch, everything should work again now ;)

Re: How to install Domoticz on a Synology NAS

Posted: Tuesday 19 February 2019 8:15
by DewGew
In latest beta for synology DS216se (domoticz_armada370-6.2_4.0.10430-8.spk) I cant open events and devices in settings.

Edit: This is fixed it was a cache problem.. as usual :)

Re: How to install Domoticz on a Synology NAS

Posted: Saturday 23 February 2019 9:29
by MickFly3000
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.
Image
There are no entries in the logfile about the usb connected RFXCOM XL.

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...
lsusb shows that the RFXCOM is infact connected.

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
No dev/ttyUSB0 entries are created.

Before the package install no drivers are installed

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
After the package install, the driver modules seem to be installed correctly

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
Running the command 'usb-devices' also shows the RFXcom, but does not specify a driver

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)
Now trying to install the Jadahl driver pack

Re: How to install Domoticz on a Synology NAS

Posted: Saturday 23 February 2019 13:29
by jumbotroll
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 driver

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)
Now trying to install the Jadahl driver pack
I think it's because synology use an old kernel in DS212+ arch-88f6282 that missing prod id (6015) for rfxcom xl.
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.

Re: How to install Domoticz on a Synology NAS

Posted: Saturday 23 February 2019 20:01
by MickFly3000
jumbotroll wrote: Saturday 23 February 2019 13:29
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 driver

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)
Now trying to install the Jadahl driver pack
I think it's because synology use an old kernel in DS212+ arch-88f6282 that missing prod id (6015) for rfxcom xl.
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.
Thanks a lot for your help.
I exactly did what you said, but the result is the same.

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)
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.