domoticz in synology as package! Available now.

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

Moderator: leecollings

napalmcold
Posts: 5
Joined: Wednesday 28 November 2018 15:44
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by napalmcold »

jumbotroll wrote: Wednesday 28 November 2018 18:51
napalmcold wrote: Wednesday 28 November 2018 18:15
m.versteegh wrote: Wednesday 28 November 2018 18:08

I need that as well, or can I use the DSM 6.2 package? (xpenology, ds3615xs)
Same setup)
I've really stopped building domoticz beta for DSM 6.1, but I can make an exception ;)
Take a look for arch-bromolow I think that is for DS3615xs? in Domoticz Beta for DSM 6.1 menu at http://www.jadahl.com
Uploaded now..
By the way does it include python?
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 »

napalmcold wrote: Thursday 29 November 2018 14:22
jumbotroll wrote: Wednesday 28 November 2018 18:51
napalmcold wrote: Wednesday 28 November 2018 18:15

Same setup)
I've really stopped building domoticz beta for DSM 6.1, but I can make an exception ;)
Take a look for arch-bromolow I think that is for DS3615xs? in Domoticz Beta for DSM 6.1 menu at http://www.jadahl.com
Uploaded now..
By the way does it include python?
If you install the python plugin version, you have to install python 3.xx first or domoticz don't run.
https://archive.synology.com/download/P ... 1-0108.spk

You find domoticz with python support in the python folder: http://www.jadahl.com/domoticz_beta_6.1/
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
napalmcold
Posts: 5
Joined: Wednesday 28 November 2018 15:44
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by napalmcold »

jumbotroll wrote: Thursday 29 November 2018 16:04
napalmcold wrote: Thursday 29 November 2018 14:22
jumbotroll wrote: Wednesday 28 November 2018 18:51

I've really stopped building domoticz beta for DSM 6.1, but I can make an exception ;)
Take a look for arch-bromolow I think that is for DS3615xs? in Domoticz Beta for DSM 6.1 menu at http://www.jadahl.com
Uploaded now..
By the way does it include python?
If you install the python plugin version, you have to install python 3.xx first or domoticz don't run.
https://archive.synology.com/download/P ... 1-0108.spk

You find domoticz with python support in the python folder: http://www.jadahl.com/domoticz_beta_6.1/
As always, you're the best!
Maybe you also know how to make the python module "bluepy" work? I can't install it on my NAS for about 2 days already)
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 »

napalmcold wrote: Friday 30 November 2018 12:00 As always, you're the best!
Maybe you also know how to make the python module "bluepy" work? I can't install it on my NAS for about 2 days already)
Sorry, I do not use Python plugins myself, so I'm not familiar with bluepy...
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
mans
Posts: 4
Joined: Monday 18 June 2018 21:40
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by mans »

Great day all,
Using Domoticz since a year and updated to 6.2 4.0 10252.
Works perfectly onto my DS3617xs, but can't figure out how to add plugins into Domoticz ?

I'm after the GC100 plugin, the git file i located, but can't seem how to add plugins ?

Thanks for any direction how to use plugins on Synology package.

Cheers !
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 »

mans wrote: Sunday 09 December 2018 12:13 Great day all,
Using Domoticz since a year and updated to 6.2 4.0 10252.
Works perfectly onto my DS3617xs, but can't figure out how to add plugins into Domoticz ?

I'm after the GC100 plugin, the git file i located, but can't seem how to add plugins ?

Thanks for any direction how to use plugins on Synology package.

Cheers !
The plugins folder is located in /usr/local/domoticz/var/plugins on synology!

After you have installed a plugin.py you have to restart (stop/start) domoticz in Package Center to activate your plugins.
You have to install GIT package on your NAS if you want to use git clone..

Telnet into your NAS and go to folder /usr/local/domoticz/var/plugins

admin@DS3617xs:/usr/local/domoticz/var/plugins$ sudo git clone https://github.com/dnpwwo/Domoticz-Glob ... Plugin.git
Password:
Cloning into 'Domoticz-GlobalCache-Plugin'...
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 38 (delta 0), reused 2 (delta 0), pack-reused 34
Unpacking objects: 100% (38/38), done.
admin@DS3617xs:/usr/local/domoticz/var/plugins$ ls
Domoticz-GlobalCache-Plugin
admin@DS3617xs:/usr/local/domoticz/var/plugins$
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
mans
Posts: 4
Joined: Monday 18 June 2018 21:40
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by mans »

Hi Jumbotroll, thanks !

I did add the GIT package.
I've logged using Putty (SSH).
Changed directory to the var/Plugins.
After i've tried your Clone git command, i'm receiving sudo, git, command not known.

I'm logged in as admin.

Any hint or idea ?

Thanks.
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 »

mans wrote: Tuesday 11 December 2018 18:44 Hi Jumbotroll, thanks !

I did add the GIT package.
I've logged using Putty (SSH).
Changed directory to the var/Plugins.
After i've tried your Clone git command, i'm receiving sudo, git, command not known.

I'm logged in as admin.

Any hint or idea ?

Thanks.
Did you install GIT from synocommunity or GIT server?
You can also download GIT for bromolow here: http://www.jadahl.com/synospk/
If it's sudo that fails..
Try sudo -i
or did you test with Telnet?
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
mans
Posts: 4
Joined: Monday 18 June 2018 21:40
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by mans »

Thanks,

I did installed the GIT package, original Synology.

First attempt via SSH.
Tried now Telnet.
Tried Sudo -i also.
Same "git command not found".



Concerning your download link,
shouldn't it be Broadwell ? I'm on a DS3617xs.

Directory shows up as blue.
Rights issue ?

Thanks sir,
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 »

mans wrote: Tuesday 11 December 2018 20:21 Thanks,

I did installed the GIT package, original Synology.

First attempt via SSH.
Tried now Telnet.
Tried Sudo -i also.
Same "git command not found".



Concerning your download link,
shouldn't it be Broadwell ? I'm on a DS3617xs.

Directory shows up as blue.
Rights issue ?

Thanks sir,
Is it sudo that fails or git?
Try only to type sudo and enter...
If all fail, you can always download the Domoticz-GlobalCache-Plugin folder and copy it into the var/plugin folder.
RS3617xs is bromolow,,Sorry DS3617xs is broadwell,
I will compile and upload the broadwell version: http://www.jadahl.com/synospk/git_broad ... 5.1-11.spk

Try to reboot NAS after installing GIT
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
mans
Posts: 4
Joined: Monday 18 June 2018 21:40
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by mans »

Thanks man,

Installed and rebooted the NAS.
Plugin now found under Hardware.
Configured with MAC adress and found as i can see in log. the GC100's IP is correctly found aswell.
But fails after some pings, no data received, log mentions 'wrong GC100'
Nothing under devices, can't link to switch.

Any idea where to look for ?
I'll give it another try lateron.

Cheers.
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 »

mans wrote: Tuesday 11 December 2018 22:14 Thanks man,

Installed and rebooted the NAS.
Plugin now found under Hardware.
Configured with MAC adress and found as i can see in log. the GC100's IP is correctly found aswell.
But fails after some pings, no data received, log mentions 'wrong GC100'
Nothing under devices, can't link to switch.

Any idea where to look for ?
I'll give it another try lateron.

Cheers.
I don't use this plugin, so try to create a post in the forum.
Did you accept new hardware devices for 5 min in settings?
Don't think this is a synology problem, but maybe a plugin problem?
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
Paulpit
Posts: 1
Joined: Thursday 20 December 2018 10:58
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by Paulpit »

Hello,
I am Paul, and new to this forum.
I was experimenting with our new smart powermeter and thougt it was possible to use Domoticz on Synology for analyzing.
So i fond a link on www.jadahl.com with a package for my synology DS212+.
Installing went well but i am not able to see the Domoticz icon on the Synology desk.

Can anyone help me?

Thanks in advance,
Paul
j0j053
Posts: 4
Joined: Sunday 06 January 2019 3:47
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by j0j053 »

Hello Jumbotroll,

First of all thank you for your work on this project, I have been running your USBSerial drivers on my DS1815+ (Avoton) for the past year - it's worked flawlessly with my HUSBZB-1 usb stick.

I just upgraded to a DS1819+ (Denverton) and I cannot get the USBSerial drivers working. I've tried both the latest standalone drivers and the latest Domoticz (12/23/18) packages:

http://www.jadahl.com/drivers/DSM_6.2/U ... .2_6-2.spk
- and -
http://www.jadahl.com/domoticz_beta_6.2 ... 0302-8.spk

The DS1819+ is running Kernel 4.4.59+ #23824 SMP PREEMPT Tue Dec 25 18:27:58 CST 2018 x86_64 GNU/Linux synology_denverton_1819+. I believe the modules are compiled for kernel 4.5.59 and are not loading with my devices 4.5.59+ kernel

I am seeing the following when I run dmesg

Code: Select all

[ 1452.478726] usbserial: version magic '4.4.59 SMP preempt mod_unload ' should be '4.4.59+ SMP preempt mod_unload '
[ 1452.490790] ftdi_sio: version magic '4.4.59 SMP preempt mod_unload ' should be '4.4.59+ SMP preempt mod_unload '
[ 1452.502758] cp210x: version magic '4.4.59 SMP preempt mod_unload ' should be '4.4.59+ SMP preempt mod_unload '
[ 1452.522604] pl2303: version magic '4.4.59 SMP preempt mod_unload ' should be '4.4.59+ SMP preempt mod_unload '
[ 1452.533779] ch341: version magic '4.4.59 SMP preempt mod_unload ' should be '4.4.59+ SMP preempt mod_unload '
[ 1452.544858] ti_usb_3410_5052: version magic '4.4.59 SMP preempt mod_unload ' should be '4.4.59+ SMP preempt mod_unload '
The /dev/ttyusb01 device never gets created, and I do not see all of the modules loaded when I run a lsmod

Any help you can offer would be truly appreciated!!!
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 »

j0j053 wrote: Sunday 06 January 2019 4:06 Hello Jumbotroll,

First of all thank you for your work on this project, I have been running your USBSerial drivers on my DS1815+ (Avoton) for the past year - it's worked flawlessly with my HUSBZB-1 usb stick.

I just upgraded to a DS1819+ (Denverton) and I cannot get the USBSerial drivers working. I've tried both the latest standalone drivers and the latest Domoticz (12/23/18) packages:

http://www.jadahl.com/drivers/DSM_6.2/U ... .2_6-2.spk
- and -
http://www.jadahl.com/domoticz_beta_6.2 ... 0302-8.spk

The DS1819+ is running Kernel 4.4.59+ #23824 SMP PREEMPT Tue Dec 25 18:27:58 CST 2018 x86_64 GNU/Linux synology_denverton_1819+. I believe the modules are compiled for kernel 4.5.59 and are not loading with my devices 4.5.59+ kernel

I am seeing the following when I run dmesg

Code: Select all

[ 1452.478726] usbserial: version magic '4.4.59 SMP preempt mod_unload ' should be '4.4.59+ SMP preempt mod_unload '
[ 1452.490790] ftdi_sio: version magic '4.4.59 SMP preempt mod_unload ' should be '4.4.59+ SMP preempt mod_unload '
[ 1452.502758] cp210x: version magic '4.4.59 SMP preempt mod_unload ' should be '4.4.59+ SMP preempt mod_unload '
[ 1452.522604] pl2303: version magic '4.4.59 SMP preempt mod_unload ' should be '4.4.59+ SMP preempt mod_unload '
[ 1452.533779] ch341: version magic '4.4.59 SMP preempt mod_unload ' should be '4.4.59+ SMP preempt mod_unload '
[ 1452.544858] ti_usb_3410_5052: version magic '4.4.59 SMP preempt mod_unload ' should be '4.4.59+ SMP preempt mod_unload '
The /dev/ttyusb01 device never gets created, and I do not see all of the modules loaded when I run a lsmod

Any help you can offer would be truly appreciated!!!
Ok, I will compile new packages for arch-denverton DSM 6.2 with driver/kernel fix.
Please do not install UsbSerialDrivers package if you install my domoticz package, the domoticz package includes drivers and there may be conflicts.
UsbSerialDrivers_denverton-6.2_6-2.spk Updated!
http://www.jadahl.com/domoticz_beta_6.2 ... 0317-8.spk Updated!
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
j0j053
Posts: 4
Joined: Sunday 06 January 2019 3:47
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by j0j053 »

jumbotroll wrote: Sunday 06 January 2019 9:15 Ok, I will compile new packages for arch-denverton DSM 6.2 with driver/kernel fix.
Please do not install UsbSerialDrivers package if you install my domoticz package, the domoticz package includes drivers and there may be conflicts.
UsbSerialDrivers_denverton-6.2_6-2.spk Updated!
http://www.jadahl.com/domoticz_beta_6.2 ... 0317-8.spk Updated!
Thank you Jumbotroll!!! This updated driver worked. One quick note (not sure if it effects anything) all of the modules looked good when I ran dmesg after installing, but it looks like the usbserial driver has a version mismatch :

Code: Select all

51.110995] usbserial: USB Serial support registered for FTDI USB Serial Device
[   51.283003] usbserial: version magic '4.4.59 SMP preempt mod_unload ' should be '4.4.59+ SMP preempt mod_unload '
[   51.378012] cp210x: module verification failed: signature and/or required key missing - tainting kernel
[   51.392286] usbcore: registered new interface driver cp210x
[   51.412682] usbserial: USB Serial support registered for cp210x
[   51.430006] cp210x 1-2.1:1.0: cp210x converter detected
[   51.459660] usb 1-2.1: cp210x converter now attached to ttyUSB0
[   51.482656] cp210x 1-2.1:1.1: cp210x converter detected
[   51.508115] usb 1-2.1: cp210x converter now attached to ttyUSB1
[   51.606224] usbcore: registered new interface driver pl2303
[   51.612683] usbserial: USB Serial support registered for pl2303
Everything is working, so not sure if this matters! Thanks again for your quick response!
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 »

j0j053 wrote: Sunday 06 January 2019 15:12
jumbotroll wrote: Sunday 06 January 2019 9:15 Ok, I will compile new packages for arch-denverton DSM 6.2 with driver/kernel fix.
Please do not install UsbSerialDrivers package if you install my domoticz package, the domoticz package includes drivers and there may be conflicts.
UsbSerialDrivers_denverton-6.2_6-2.spk Updated!
http://www.jadahl.com/domoticz_beta_6.2 ... 0317-8.spk Updated!
Thank you Jumbotroll!!! This updated driver worked. One quick note (not sure if it effects anything) all of the modules looked good when I ran dmesg after installing, but it looks like the usbserial driver has a version mismatch :

Code: Select all

51.110995] usbserial: USB Serial support registered for FTDI USB Serial Device
[   51.283003] usbserial: version magic '4.4.59 SMP preempt mod_unload ' should be '4.4.59+ SMP preempt mod_unload '
[   51.378012] cp210x: module verification failed: signature and/or required key missing - tainting kernel
[   51.392286] usbcore: registered new interface driver cp210x
[   51.412682] usbserial: USB Serial support registered for cp210x
[   51.430006] cp210x 1-2.1:1.0: cp210x converter detected
[   51.459660] usb 1-2.1: cp210x converter now attached to ttyUSB0
[   51.482656] cp210x 1-2.1:1.1: cp210x converter detected
[   51.508115] usb 1-2.1: cp210x converter now attached to ttyUSB1
[   51.606224] usbcore: registered new interface driver pl2303
[   51.612683] usbserial: USB Serial support registered for pl2303
Everything is working, so not sure if this matters! Thanks again for your quick response!
Maybe you have an old usbserial driver still installed.
Check if you have an old usbserial.ko in folder /lib/modules/
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
j0j053
Posts: 4
Joined: Sunday 06 January 2019 3:47
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by j0j053 »

jumbotroll wrote: Sunday 06 January 2019 17:55 Maybe you have an old usbserial driver still installed.
Check if you have an old usbserial.ko in folder /lib/modules/
Yes - it looks like the usbserial.ko file in /lib/modules is dated 10/26 (like all of the other modules in that folder). Should I delete or replace that file?
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 »

j0j053 wrote: Sunday 06 January 2019 19:17
jumbotroll wrote: Sunday 06 January 2019 17:55 Maybe you have an old usbserial driver still installed.
Check if you have an old usbserial.ko in folder /lib/modules/
Yes - it looks like the usbserial.ko file in /lib/modules is dated 10/26 (like all of the other modules in that folder). Should I delete or replace that file?
You can rename that file to ex. usbserial.old or you can test my latest build and I think it will be ignored :-)
http://www.jadahl.com/drivers/DSM_6.2/U ... .2_6-3.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
j0j053
Posts: 4
Joined: Sunday 06 January 2019 3:47
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by j0j053 »

jumbotroll wrote: Sunday 06 January 2019 19:26
j0j053 wrote: Sunday 06 January 2019 19:17
jumbotroll wrote: Sunday 06 January 2019 17:55 Maybe you have an old usbserial driver still installed.
Check if you have an old usbserial.ko in folder /lib/modules/
Yes - it looks like the usbserial.ko file in /lib/modules is dated 10/26 (like all of the other modules in that folder). Should I delete or replace that file?
You can rename that file to ex. usbserial.old or you can test my latest build and I think it will be ignored :-)
http://www.jadahl.com/drivers/DSM_6.2/U ... .2_6-3.spk
Just tried out the new driver, but running dmesg, still seeing : usbserial: version magic '4.4.59 SMP preempt mod_unload ' should be '4.4.59+ SMP preempt mod_unload ' - all other modules load.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests