Re: domoticz in synology as package! Available now.
Posted: Friday 21 August 2015 21:19
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
Open source Home Automation System
https://forum.domoticz.com/
Right now the RPI is a better choice as there's no working method to cross compile domoticz to Synology.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...
I tried it but eventually gave it up. Too much changes, especially for the update code (which is of course not for Synology).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
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.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!
That's true, but it causes problems with the current cross compiler (spksrc).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 ?
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).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"
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
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 platformgizmocuz wrote:Whaa... your whole synology crashed ?
Sorry for your problemLouiS22 wrote: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 platformgizmocuz wrote:Whaa... your whole synology crashed ?