domoticz in synology as package! Available now.

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

Post Reply
User avatar
groetg
Posts: 39
Joined: Tuesday 06 January 2015 20:41
Target OS: Raspberry Pi / ODroid
Domoticz version: V2.4025
Location: Heerhugowaard, Holland
Contact:

Re: domoticz in synology as package! Available now.

Post by groetg »

I installed (and updated to 2246) Domoticz at my Synology NAS (214play).

It won't work to let de NAS see my RFX module (USB) and P1 cable (USB). What do I have to do to let de NAS 'see' the serial cables?

I had trouble with Domoticz on my Rpi so I want to test Domoticz at my NAS.
Master: RPI Model 2B
Sub 1: RPI Model 2B
RFX transmitter/receiver 433 Mhz
13 KAKU units (3 window sensors, 1 door sensor, 7 light switches, 1 dusk sensor, 1 motion sensor)
4 IP cam
Meteostick
OTGW
P1 cable
Davis Vantage Pro weatherstation (incl. solar/UV)
Schim57300
Posts: 27
Joined: Thursday 31 July 2014 13:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: France
Contact:

Re: domoticz in synology as package! Available now.

Post by Schim57300 »

I saw someone (do not remember who) who failed to use his RFXTRX433E once upgrading his Syno to 5.1.xx

The problem was due to thé USB drivers.

On mine (see my signature) domoticz works with a Nrfxtrx433E

May I help?
Eric

Raspberry 3b+
Debian GNU/Linux 11 (bullseye)
Mobile App : Home made progressive web app
RFXTrx433E transceiver (for my RTS devices)
Somfy Tahoma Switch (for my IO devices)
Aeon Labs Z-Stick S2
User avatar
groetg
Posts: 39
Joined: Tuesday 06 January 2015 20:41
Target OS: Raspberry Pi / ODroid
Domoticz version: V2.4025
Location: Heerhugowaard, Holland
Contact:

Re: domoticz in synology as package! Available now.

Post by groetg »

Could you help me installimg USB driver for the rfx transmitter?
Master: RPI Model 2B
Sub 1: RPI Model 2B
RFX transmitter/receiver 433 Mhz
13 KAKU units (3 window sensors, 1 door sensor, 7 light switches, 1 dusk sensor, 1 motion sensor)
4 IP cam
Meteostick
OTGW
P1 cable
Davis Vantage Pro weatherstation (incl. solar/UV)
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: domoticz in synology as package! Available now.

Post by jumbotroll »

I have modified UsbSerialDrivers_3.0.2.spk for DSM-5.1-5022.
Download from my server and test :-)
http://jadahl.dscloud.me/sspks/
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
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: domoticz in synology as package! Available now.

Post by jumbotroll »

groetg wrote:Could you help me installimg USB driver for the rfx transmitter?
I have modified UsbSerialDrivers_3.0.2.spk for DSM-5.1-5022.
Download from my server and test :-)
http://jadahl.dscloud.me/sspks/
I have also updated test version without zwave support domoticz to 2258 for DS214play
http://jadahl.dscloud.me/sspks/?arch=evansport

Tested and working on DS712+ with RFXCOM (Domoticz 2258) DSM-5.1-5022.

/Jumbotroll
Last edited by jumbotroll on Wednesday 11 February 2015 12:04, edited 2 times in total.
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
Schim57300
Posts: 27
Joined: Thursday 31 July 2014 13:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: France
Contact:

Re: domoticz in synology as package! Available now.

Post by Schim57300 »

jumbotroll wrote:
groetg wrote:Could you help me installimg USB driver for the rfx transmitter?
I have modified UsbSerialDrivers_3.0.2.spk for DSM-5.1-5022.
Download from my server and test :-)
http://jadahl.dscloud.me/sspks/
I have also updated test version without zwave support domoticz to 2258 for DS214play
http://jadahl.dscloud.me/sspks/?arch=evansport
/Jumbotroll

Great ! Thank you very much.

@groetg : What is your DSM version ? Could you try Jumbotroll's drivers and keeping us in touch ?
Eric

Raspberry 3b+
Debian GNU/Linux 11 (bullseye)
Mobile App : Home made progressive web app
RFXTrx433E transceiver (for my RTS devices)
Somfy Tahoma Switch (for my IO devices)
Aeon Labs Z-Stick S2
Schim57300
Posts: 27
Joined: Thursday 31 July 2014 13:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: France
Contact:

Re: domoticz in synology as package! Available now.

Post by Schim57300 »

I have just updated my DSM to 5.1.5022 Update 2.
Your installation of USB driver does not work.
As it was asked to uninstall previous drivers... I do not have drivers aymore.

On my side, I have no USB Driver, no Domoticz and no Apache anymore :-(
Eric

Raspberry 3b+
Debian GNU/Linux 11 (bullseye)
Mobile App : Home made progressive web app
RFXTrx433E transceiver (for my RTS devices)
Somfy Tahoma Switch (for my IO devices)
Aeon Labs Z-Stick S2
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: domoticz in synology as package! Available now.

Post by jumbotroll »

Schim57300 wrote:I have just updated my DSM to 5.1.5022 Update 2.
Your installation of USB driver does not work.
As it was asked to uninstall previous drivers... I do not have drivers aymore.

On my side, I have no USB Driver, no Domoticz and no Apache anymore :-(
Strange.. I am running DSM-5.1-5022 Update 2 on DS-712+ fine with the updated driver.
Sure you did use this package? http://jadahl.dscloud.me/sspks/packages ... _3.0.2.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
Schim57300
Posts: 27
Joined: Thursday 31 July 2014 13:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: France
Contact:

Re: domoticz in synology as package! Available now.

Post by Schim57300 »

Back to normal with DSM 5.0-4493 ^^
In fact I added this adress to the Package Center Source
-> http://jadahl.dscloud.me/sspks/

My DSM recently updated found the update and asked me to uninstall the UsbSerialDrivers_2.0.0.spk before installing the UsbSerialDrivers_3.0.2.spk
But at the end, the install failed :(
Eric

Raspberry 3b+
Debian GNU/Linux 11 (bullseye)
Mobile App : Home made progressive web app
RFXTrx433E transceiver (for my RTS devices)
Somfy Tahoma Switch (for my IO devices)
Aeon Labs Z-Stick S2
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: domoticz in synology as package! Available now.

Post by jumbotroll »

Schim57300 wrote:Back to normal with DSM 5.0-4493 ^^
In fact I added this adress to the Package Center Source
-> http://jadahl.dscloud.me/sspks/

My DSM recently updated found the update and asked me to uninstall the UsbSerialDrivers_2.0.0.spk before installing the UsbSerialDrivers_3.0.2.spk
But at the end, the install failed :(
I suggest you first uninstall UsbSerialdrivers manually with telnet i you know how to do that.
And manually install http://jadahl.dscloud.me/sspks/packages ... _3.0.2.spk don´t add http://jadahl.dscloud.me/sspks/ in Package Center source.
If you have another Package source in Package Center Source with older UsbSerialDrivers_3.0.2.spk (not modified version) you maybe got wrong version installed.
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
Decipher
Posts: 14
Joined: Friday 13 February 2015 14:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by Decipher »

I have also been working on this in the SynoCommunity, and have got Domoticz compiling with OpenZWave support as well as enabling the USB drivers as part of the package daemon, but I am having one last problem where the OpenZWave driver fails.

If anyone is able to help out, the code is linked from https://github.com/SynoCommunity/spksrc/issues/1478
Decipher
Posts: 14
Joined: Friday 13 February 2015 14:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by Decipher »

@Jumbotroll,

Is the source for your USB drivers package available anywhere? I'm testing with your drivers in the case that they are the last part of the recipe (which I do hope they are), but if they are I'd really like to have the relevant drivers baked directly into the final SPK so it's a one-click install experience for everyone.
Decipher
Posts: 14
Joined: Friday 13 February 2015 14:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by Decipher »

I tried the UsbSerialDrivers_3.0.2.spk, but it appears that the drivers are the same that are on my DS413. At least, ftdi_sio reports it's version 1.5.0 when I run dmesg. It doesn't look like Syno has modinfo so I am unable to confirm for sure.

So I'm still getting the "Error: OpenZWave: Driver Failed!!" problem with my Domoticz w/OpenZWave package, which is a shame because it's so very close.
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: domoticz in synology as package! Available now.

Post by jumbotroll »

Decipher wrote:@Jumbotroll,

Is the source for your USB drivers package available anywhere? I'm testing with your drivers in the case that they are the last part of the recipe (which I do hope they are), but if they are I'd really like to have the relevant drivers baked directly into the final SPK so it's a one-click install experience for everyone.
It is lebovitz who has made this source, so you have to ask him for the source.
I have only done some small modification i the spk package.
You can contact lebovitz on synology forum http://forum.synology.com/enu/viewtopic ... 55&t=82843
Keep up the god work!

/Jumbotroll aka Jadahl
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
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: domoticz in synology as package! Available now.

Post by jumbotroll »

Decipher wrote:I tried the UsbSerialDrivers_3.0.2.spk, but it appears that the drivers are the same that are on my DS413. At least, ftdi_sio reports it's version 1.5.0 when I run dmesg. It doesn't look like Syno has modinfo so I am unable to confirm for sure.

So I'm still getting the "Error: OpenZWave: Driver Failed!!" problem with my Domoticz w/OpenZWave package, which is a shame because it's so very close.

Here is my dmesg on DS-712+ with DSM 5.1-5022 update 2.

[ 1471.857118] usbcore: registered new interface driver usbserial
[ 1471.862991] usbserial: USB Serial Driver core
[ 1471.870719] USB Serial support registered for FTDI USB Serial Device
[ 1471.877331] ftdi_sio 5-1:1.0: FTDI USB Serial Device converter detected
[ 1471.884066] usb 5-1: Detected FT232RL
[ 1471.887756] usb 5-1: Number of endpoints 2
[ 1471.891869] usb 5-1: Endpoint 1 MaxPacketSize 64
[ 1471.896497] usb 5-1: Endpoint 2 MaxPacketSize 64
[ 1471.901128] usb 5-1: Setting MaxPacketSize 64
[ 1471.908549] usb 5-1: FTDI USB Serial Device converter now attached to ttyUSB0
[ 1471.915855] usbcore: registered new interface driver ftdi_sio
[ 1471.921630] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
DS712>
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
Decipher
Posts: 14
Joined: Friday 13 February 2015 14:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by Decipher »

Thanks for your response. I actually succeed finally, and the USB drivers package did solve the issue, as it was the cp210x.ko mod that was the missing piece of the puzzle. I suspect that the native usbserial.ko and ftdi_sio.ko mods may be fine, but I'll confirm this soon.

I will definitely be chasing lebovitz down, as if I can get the missing driver backed into my SPK which is cross-compilable as per SynoCommunity guidelines, then we should have a nice easy one-click install solution for all.

But I can currently confirm that I have OpenZWave USB support without any compilation on the Syno required.
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: domoticz in synology as package! Available now.

Post by jumbotroll »

Decipher wrote:Thanks for your response. I actually succeed finally, and the USB drivers package did solve the issue, as it was the cp210x.ko mod that was the missing piece of the puzzle. I suspect that the native usbserial.ko and ftdi_sio.ko mods may be fine, but I'll confirm this soon.

I will definitely be chasing lebovitz down, as if I can get the missing driver backed into my SPK which is cross-compilable as per SynoCommunity guidelines, then we should have a nice easy one-click install solution for all.

But I can currently confirm that I have OpenZWave USB support without any compilation on the Syno required.

GREAT WORK!!
Time for some Zwave gadget shopping :P
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
steef84
Posts: 37
Joined: Friday 30 August 2013 20:24
Target OS: NAS (Synology & others)
Domoticz version: DS213+
Contact:

Re: domoticz in synology as package! Available now.

Post by steef84 »

Very nice. Good job. Time for zwave for me as well
- Stefan
Decipher
Posts: 14
Joined: Friday 13 February 2015 14:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by Decipher »

I'm just in the process of finalising the package, it tuns out the the SynoCommunity spksrc has the ability to cross compile kernel modules, so once I've got that sorted out I'll be able to put a PR in for an update to the Domoticz package which will be fully contained.
Decipher
Posts: 14
Joined: Friday 13 February 2015 14:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by Decipher »

So last night at about midnight I put the PR in, I know have a fully cross-compilable package that contains Domoticz with OpenZWave support including the required USB Drivers without the need of any additional SPKs or messing around to install.

I've built a Qoriq-5.1 SPK and am just finishing up a Armada370-5.1 SPK, both of which are (will be) linked at the Github issue: https://github.com/SynoCommunity/spksrc/issues/1478

If anyone has requests for a specific architecture let me know, including the syno version (4.3, 5.0, 5.1, etc) and I'll do my best. Compiling for an architecture I don't have the toolchain for does take a few hours as compiling the USB driver requires a 1.2 GB download.

In return, feedback would be appreciated.

For those familiar with the SynoCommunity spksrc who would like to compile it themselves, you can find the PR at https://github.com/SynoCommunity/spksrc/pull/1488
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest