domoticz in synology as package! Available now.

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

Moderator: leecollings

User avatar
mvveelen
Posts: 678
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by mvveelen »

Yes, that's the right location. And....you don't have to change the permissions of the lua scripts. You just don't have to :)
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
amz4u2nv
Posts: 31
Joined: Friday 21 August 2015 16:04
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by amz4u2nv »

Yup, thanks for your help guys... it was the location of the script
User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: domoticz in synology as package! Available now.

Post by LouiS22 »

Looks like making a working version with Synology is quite a big task - and it's well beyond my skills. So far I managed to make a manual update using a downloaded version of the current repo, and manually deleting the update-related code sources but I'm stuck with the version numbering and to make it worse, I've wiped the working folder so 2 hours of code fiddling went to the almighty Code God...
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 »

It's well beyond my skills to, I've spent many hours trying to figure this out , but will see if I take hold of it again when the cold autumn arrives.
Cross compiling can be a pain sometimes.

Regards
Jumbotroll
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
Minglarn
Posts: 214
Joined: Friday 21 August 2015 19:27
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8153
Location: Stockholm / Sweden
Contact:

Re: domoticz in synology as package! Available now.

Post by Minglarn »

Hi guys! My first post here and have a question...

What to prefer: Domoticz on a Raspberry PI2 or Domoticz on a Synology D213?

Have tried both and have a feeling that the Raspberry version is easier to program whit special scripts ect?

//Minglarn...
When you eliminate the impossible, whatever remains, however improbable, must be the truth.” -Spock in Star Trek VI
User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: domoticz in synology as package! Available now.

Post by LouiS22 »

Minglarn wrote:Hi guys! My first post here and have a question...

What to prefer: Domoticz on a Raspberry PI2 or Domoticz on a Synology D213?

Have tried both and have a feeling that the Raspberry version is easier to program whit special scripts ect?

//Minglarn...
Right now the RPI is a better choice as there's no working method to cross compile domoticz to Synology.
User avatar
mvveelen
Posts: 678
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by mvveelen »

@Jumbotroll: isn't there anyone on Github with who you can try to compile new packages?

I wish I could help you, but I'm a real n00b with this. I can only test it for you :D
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: domoticz in synology as package! Available now.

Post by LouiS22 »

mvveelen wrote:@Jumbotroll: isn't there anyone on Github with who you can try to compile new packages?

I wish I could help you, but I'm a real n00b with this. I can only test it for you :D
I tried it but eventually gave it up. Too much changes, especially for the update code (which is of course not for Synology).
User avatar
gizmocuz
Posts: 2352
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: domoticz in synology as package! Available now.

Post by gizmocuz »

Please tell me what are the current problems, and if i can assist in any way.
I hoped the code would be cross platform, and should not cause any troubles compiling for the synology!
Quality outlives Quantity!
User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: domoticz in synology as package! Available now.

Post by LouiS22 »

gizmocuz wrote:Please tell me what are the current problems, and if i can assist in any way.
I hoped the code would be cross platform, and should not cause any troubles compiling for the synology!
Well, according to my tries the main problem is with the update module you applied (had to uncomment those lines to start the compiler, but after that I ran into other obstacles, and that was the point when I gave it up and ordered an RPI :) ). Also the latest beta for Synology is 2563 (with OZW support) is quite old,and there's also problem with libudev in Synology (guys, correct me if I'm wrong, but these are my observations). To summarize, it'll be a big task to rewrite the spkscr cross compiler to make it work again with Domoticz.
User avatar
gizmocuz
Posts: 2352
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: domoticz in synology as package! Available now.

Post by gizmocuz »

For sure the update module would not apply for the synology users.
So i cant see a reason why it should not work on a synology ?
Quality outlives Quantity!
User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: domoticz in synology as package! Available now.

Post by LouiS22 »

gizmocuz wrote:For sure the update module would not apply for the synology users.
So i cant see a reason why it should not work on a synology ?
That's true, but it causes problems with the current cross compiler (spksrc).
User avatar
gizmocuz
Posts: 2352
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: domoticz in synology as package! Available now.

Post by gizmocuz »

Plz show me the compile error
Quality outlives Quantity!
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 done some testing and tweaks, but I am far from a nice solution.
Problem with OpenZwave cross compiling after version 1.3.328.
This test versions is without OpenZwave.
I have not made a new spksrc that working, but manually downloaded domoticz source and cross compiled "a lot of work" :shock:

Here are some test without OpenZwave, but with usb drivers.

************DELETED*************

Regards
Jumbotroll
Last edited by jumbotroll on Tuesday 25 August 2015 22:16, edited 1 time 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
User avatar
mvveelen
Posts: 678
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by mvveelen »

Good to see there is some progress with this, @Jumbotroll and @gizmocuz. Unfortunately I need ZWave, so I won't test this version.....
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
User avatar
gizmocuz
Posts: 2352
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: domoticz in synology as package! Available now.

Post by gizmocuz »

are you able to make a patch against openzwave, so this would compile ?
I would not expect issues with cross compiling domoticz, did you need to make any changes?
Quality outlives Quantity!
User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: domoticz in synology as package! Available now.

Post by LouiS22 »

jumbotroll wrote:I have done some testing and tweaks, but I am far from a nice solution.
Problem with OpenZwave cross compiling after version 1.3.328.
This test versions is without OpenZwave.
I have not made a new spksrc that working, but manually downloaded domoticz source and cross compiled "a lot of work" :shock:

Here are some test without OpenZwave, but with usb drivers.

domoticz_x86-5.2_2.0.2820-7.spk
http://www.jadahl.com/test/domoticz_x86 ... 2820-7.spk

domoticz_armadaxp-5.2_2.0.2820-7.spk
http://www.jadahl.com/test/domoticz_arm ... 2820-7.spk

domoticz_88f6281-5.2_2.0.2820-7.spk
http://www.jadahl.com/test/domoticz_88f ... 2820-7.spk

Regards
Jumbotroll
Might be my fault, but upon ugrading, Synology crashed and thus erased the previous version as well :( So before upgrading, make sure to have a backup. I was foolish enough not to make a backup, and so 1,5 month of data was lost (my latest backup is from July).
User avatar
gizmocuz
Posts: 2352
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: domoticz in synology as package! Available now.

Post by gizmocuz »

Whaa... your whole synology crashed ?
Quality outlives Quantity!
User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: domoticz in synology as package! Available now.

Post by LouiS22 »

gizmocuz wrote:Whaa... your whole synology crashed ?
Yup, during the update of the package it went to a loop or something. It recovered from them but the result was the wipe of the domoticz folder and the subsequent files. Doublechecked everything, there's no domoticz.db Well, I can only blame myself not to make a backup before :) Price of using betas I guess, and one more reason to switch to an RPI. I'm tired of Synology's way of handling 3rd party spk-s and fiddling with the cross compiler and lack of proper OZW support. Otherwise, synology is a great platform :)
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 »

LouiS22 wrote:
gizmocuz wrote:Whaa... your whole synology crashed ?
Yup, during the update of the package it went to a loop or something. It recovered from them but the result was the wipe of the domoticz folder and the subsequent files. Doublechecked everything, there's no domoticz.db Well, I can only blame myself not to make a backup before :) Price of using betas I guess, and one more reason to switch to an RPI. I'm tired of Synology's way of handling 3rd party spk-s and fiddling with the cross compiler and lack of proper OZW support. Otherwise, synology is a great platform :)
Sorry for your problem :(
The arch-x86 running nice on my DS-712+
I have deleted the test files from my server.
Still have problem patching OpenZwave and moore, but I don't have time or skills to fix this.
Maybe it's time to buy a RPI :D
Time will show if someone have the time to fix a working spksrc?
I think I leave the spksrc updating to the experts.

Regards
Jumbotroll
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
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests