domoticz in synology as package! Available now.

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

Moderator: leecollings

tehnoinstyle
Posts: 34
Joined: Monday 17 November 2014 14:30
Target OS: NAS (Synology & others)
Domoticz version: 2.0.2276
Location: UA
Contact:

Re: domoticz in synology as package! Available now.

Post by tehnoinstyle »

steef84 wrote: So for my Synology DS213+ the package for spksrc adapted by Jorik is heavily appreciated. For me its the only way to have Domoticz working on Syno.
Good day.
I can not contact Jorik on the forum and blog. Blocked Ukrainian ip address. You can learn from Jorik, he has packages Domoticz for Synology DS-214Play and DS-3612. Maybe he'll agree I needed to compile packages or help me to do.
Syn DS3615xs DMS 5.1-5022U5(xpenology;Intel2700MUD;4GbRAM;2*3TbHDD->JBOD)
Syn DS3615xs DMS 5.2-5592(xpenology;asus p8-z68;I3;4GbRAM;6*2TbHDD->JBOD)
Z-Wave Aeon Labs Z-Stick S2->OpenRemote;Domoticz
kaivalagi
Posts: 21
Joined: Tuesday 25 November 2014 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Norwich, United Kingdom
Contact:

Re: domoticz in synology as package! Available now.

Post by kaivalagi »

sarakha63 wrote:To have a completely working domoticz whatever synology you use.
I strongly advice using a debian chroot. With this i have domoticz running since 5 months. With all update and all functions.

It takes some couple hours to configure the debian but it worths it as once it is done you can do whatever you want and you are not anymore spk dependant or else.

I guarantee you everyone. This really worths it.
After failing to get Domoticz to compile for DSM 5.2 on a 1512+ and not seeing any packages out there for it I decided to go this route.

Found a useful guide here: http://www.rooot.net/en/geek-stuff/syno ... strap.html

And once setup I went through the Domoticz build process for a linux box under my chrooted environment

I have it up and running now, my eyes have been opened to the sheer possibilities now that I can install debian software and run it on my synology! I am so glad I've been through this process now, it's an awesome thing!!

Now I just need to go and buy a z-stick, some trvs and a boiler receiver and make it all work!!

@sarakha63, I assume there is no complicated stuff to do to get devices working for a chrooted process? It will still see local usb devices due to the mount bind options in my startup script for the dev folder right? e.g.: mount -o bind /dev $CHROOT/dev
fwehrle
Posts: 41
Joined: Tuesday 11 February 2014 18:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by fwehrle »

Hi, :)

Is there a chance to have a spk for DS209 CPU? (Marvell Kirkwood mv6281) on DSM 4.1 ?
Thank you
manuloup
Posts: 31
Joined: Sunday 23 November 2014 16:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: France
Contact:

Re: domoticz in synology as package! Available now.

Post by manuloup »

remb0 wrote:thanks to ny-hardcore

r2105: cedarview:
https://dl.dropboxusercontent.com/u/626 ... 105-10.spk

armada370:
https://dl.dropboxusercontent.com/u/626 ... 105-10.spk

All credits https://github.com/jorikcaljouw he fixed the spkrc thinks for domoticz.

the ftdi driversfor the USB receiversare here:
http://forum.synology.com/enu/viewtopic ... d3&start=0
Hi remb0,

I tried to use the domoticz_cedarview_2105-10.spk and the installation went fine. Sadly, your spk does not include zwave drivers, so I can't use it.
I am also having troubles trying to compile the openzwave package on mw DS412+. Do you think there will be a new release soon, including these zwave drivers ?

Thanks,

Regards,

Manu
Rapberry PI B+ (RaspBian), RFXtrx433E USB 433.92MHz Transceiver, AEON LABS Controler Z-Wave, Aeon Labs Z-Stick S2, Everspring ST814 Temperature Sensor, Everspring SF812 Smoke Detector, 2x Fibaro Wallplug, Aeon Zwave Miniremote , Xbee Teleinfo USB
User avatar
jorik
Posts: 17
Joined: Thursday 12 June 2014 16:16
Target OS: NAS (Synology & others)
Domoticz version: 3.5877
Location: Eindhoven, Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by jorik »

tehnoinstyle wrote:
steef84 wrote: So for my Synology DS213+ the package for spksrc adapted by Jorik is heavily appreciated. For me its the only way to have Domoticz working on Syno.
I can not contact Jorik on the forum and blog. Blocked Ukrainian ip address. You can learn from Jorik, he has packages Domoticz for Synology DS-214Play and DS-3612. Maybe he'll agree I needed to compile packages or help me to do.
I haven't built packages for a while now. This is the latest version I have on my Dropbox for evansport:
https://dl.dropboxusercontent.com/u/103 ... 2014-3.spk

Does this one run for you?
tehnoinstyle
Posts: 34
Joined: Monday 17 November 2014 14:30
Target OS: NAS (Synology & others)
Domoticz version: 2.0.2276
Location: UA
Contact:

Re: domoticz in synology as package! Available now.

Post by tehnoinstyle »

jorik wrote:
tehnoinstyle wrote:
steef84 wrote: So for my Synology DS213+ the package for spksrc adapted by Jorik is heavily appreciated. For me its the only way to have Domoticz working on Syno.
I can not contact Jorik on the forum and blog. Blocked Ukrainian ip address. You can learn from Jorik, he has packages Domoticz for Synology DS-214Play and DS-3612. Maybe he'll agree I needed to compile packages or help me to do.
I haven't built packages for a while now. This is the latest version I have on my Dropbox for evansport:
https://dl.dropboxusercontent.com/u/103 ... 2014-3.spk

Does this one run for you?
Hi, Jorik.

Well, it is possible to write here.
No, this package I have not tried to put on ds-214Play. I've tried from this thread.

This package includes OpenZWave protocol?
You can download and try to install?
Syn DS3615xs DMS 5.1-5022U5(xpenology;Intel2700MUD;4GbRAM;2*3TbHDD->JBOD)
Syn DS3615xs DMS 5.2-5592(xpenology;asus p8-z68;I3;4GbRAM;6*2TbHDD->JBOD)
Z-Wave Aeon Labs Z-Stick S2->OpenRemote;Domoticz
User avatar
jorik
Posts: 17
Joined: Thursday 12 June 2014 16:16
Target OS: NAS (Synology & others)
Domoticz version: 3.5877
Location: Eindhoven, Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by jorik »

It should be ok to install it. I would probably be better to install a newer revision, but I can't guarantee when I will have time for that. Maybe over the weekend.

It does not include OpenZWave support. The Domoticz package build-script in spksrc does not support OpenZWave currently. There are issues with cross compiling and building the necessary libraries in the spksrc framework. As far as I know the only people who have managed to get Domoticz running on a Synology with OpenZWave have used a Debian chroot and compiled Domoticz on the NAS instead of in a separate linux VM.

I started fixing the Domoticz spk in order to get Domoticz with OpenZWave running on my own DS411+II. (I want to be able to control my light dimmer via my NAS). So, rest assured I will be spending more time on getting this to work. I just cannot give a timeline as it does not have the highest priority on my todo-list.
tehnoinstyle
Posts: 34
Joined: Monday 17 November 2014 14:30
Target OS: NAS (Synology & others)
Domoticz version: 2.0.2276
Location: UA
Contact:

Re: domoticz in synology as package! Available now.

Post by tehnoinstyle »

jorik wrote:It should be ok to install it. I would probably be better to install a newer revision, but I can't guarantee when I will have time for that. Maybe over the weekend.

It does not include OpenZWave support. The Domoticz package build-script in spksrc does not support OpenZWave currently. There are issues with cross compiling and building the necessary libraries in the spksrc framework. As far as I know the only people who have managed to get Domoticz running on a Synology with OpenZWave have used a Debian chroot and compiled Domoticz on the NAS instead of in a separate linux VM.

I started fixing the Domoticz spk in order to get Domoticz with OpenZWave running on my own DS411+II. (I want to be able to control my light dimmer via my NAS). So, rest assured I will be spending more time on getting this to work. I just cannot give a timeline as it does not have the highest priority on my todo-list.
Thanks for the reply, download, try (bad that no Z-Wave, I have several devices Z-Wave: dimmers, one and two-channel relays, etc.).
On which port responds?
I will follow with interest your work. I would like to have a package Domotikz for my Synology NAS.
Please let me know if there is a complete package with support for Z-Wave.
Syn DS3615xs DMS 5.1-5022U5(xpenology;Intel2700MUD;4GbRAM;2*3TbHDD->JBOD)
Syn DS3615xs DMS 5.2-5592(xpenology;asus p8-z68;I3;4GbRAM;6*2TbHDD->JBOD)
Z-Wave Aeon Labs Z-Stick S2->OpenRemote;Domoticz
User avatar
jorik
Posts: 17
Joined: Thursday 12 June 2014 16:16
Target OS: NAS (Synology & others)
Domoticz version: 3.5877
Location: Eindhoven, Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by jorik »

You can access the Domoticz website from the App overview or the Package Center. The Domoticz package uses port 8084, all spksrc packages have specific ports to prevent conflicts:
https://github.com/SynoCommunity/spksrc ... Used-Ports
tehnoinstyle
Posts: 34
Joined: Monday 17 November 2014 14:30
Target OS: NAS (Synology & others)
Domoticz version: 2.0.2276
Location: UA
Contact:

Re: domoticz in synology as package! Available now.

Post by tehnoinstyle »

Tried your application, install it without problems, even a Russian language pack! This is great! It is a pity that I can not connect their ZWave devices. Really need support ZWave.
Attachments
domoticz.jpg
domoticz.jpg (163.54 KiB) Viewed 6157 times
domoticz1.jpg
domoticz1.jpg (277.17 KiB) Viewed 6157 times
Syn DS3615xs DMS 5.1-5022U5(xpenology;Intel2700MUD;4GbRAM;2*3TbHDD->JBOD)
Syn DS3615xs DMS 5.2-5592(xpenology;asus p8-z68;I3;4GbRAM;6*2TbHDD->JBOD)
Z-Wave Aeon Labs Z-Stick S2->OpenRemote;Domoticz
kaivalagi
Posts: 21
Joined: Tuesday 25 November 2014 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Norwich, United Kingdom
Contact:

Re: domoticz in synology as package! Available now.

Post by kaivalagi »

tehnoinstyle wrote:Please let me know if there is a complete package with support for Z-Wave.
Why not install the OpenZWave drivers through their package repo here: http://repo.synozwave.com
User avatar
jorik
Posts: 17
Joined: Thursday 12 June 2014 16:16
Target OS: NAS (Synology & others)
Domoticz version: 3.5877
Location: Eindhoven, Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by jorik »

Yeah I'd like z-wave support too, to finally create my Domoticz-based wake-up light with dimmer switches in the bed room.

BTW, if you can give a translation to Russian of the explanation text for the Package itself, I can put it in the spk for future builds. ;-)

@kaivalagi:
The spksrc framework for building an spk with cross-compilation, cannot use re-use other spk-packages as dependencies. It needs to be able to build all external libraries in the same cross-compilation framework.
tehnoinstyle
Posts: 34
Joined: Monday 17 November 2014 14:30
Target OS: NAS (Synology & others)
Domoticz version: 2.0.2276
Location: UA
Contact:

Re: domoticz in synology as package! Available now.

Post by tehnoinstyle »

kaivalagi wrote:
tehnoinstyle wrote:Please let me know if there is a complete package with support for Z-Wave.
Why not install the OpenZWave drivers through their package repo here: http://repo.synozwave.com
package SynoZwave and Driver are installed and working properly. With these same drivers works and the application Openremote also installed on ds214play. The point is there is no ZWave library in Domoticz.
Attachments
5.2.jpg
5.2.jpg (40.75 KiB) Viewed 6166 times
5.1.jpg
5.1.jpg (32.12 KiB) Viewed 6166 times
synozwave.jpg
synozwave.jpg (61.64 KiB) Viewed 6166 times
Last edited by tehnoinstyle on Thursday 27 November 2014 14:53, edited 1 time in total.
Syn DS3615xs DMS 5.1-5022U5(xpenology;Intel2700MUD;4GbRAM;2*3TbHDD->JBOD)
Syn DS3615xs DMS 5.2-5592(xpenology;asus p8-z68;I3;4GbRAM;6*2TbHDD->JBOD)
Z-Wave Aeon Labs Z-Stick S2->OpenRemote;Domoticz
tehnoinstyle
Posts: 34
Joined: Monday 17 November 2014 14:30
Target OS: NAS (Synology & others)
Domoticz version: 2.0.2276
Location: UA
Contact:

Re: domoticz in synology as package! Available now.

Post by tehnoinstyle »

jorik wrote: BTW, if you can give a translation to Russian of the explanation text for the Package itself, I can put it in the spk for future builds. ;-)
Not quite understand about the translation. I installed your package and saw the setting choice of the Russian language.
Syn DS3615xs DMS 5.1-5022U5(xpenology;Intel2700MUD;4GbRAM;2*3TbHDD->JBOD)
Syn DS3615xs DMS 5.2-5592(xpenology;asus p8-z68;I3;4GbRAM;6*2TbHDD->JBOD)
Z-Wave Aeon Labs Z-Stick S2->OpenRemote;Domoticz
User avatar
jorik
Posts: 17
Joined: Thursday 12 June 2014 16:16
Target OS: NAS (Synology & others)
Domoticz version: 3.5877
Location: Eindhoven, Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by jorik »

Well there is openzwave support in Domoticz itself, just not in the Domoticz binary when compiled using the spksrc framework that results in the spk's shared in this thread. ;-)
User avatar
jorik
Posts: 17
Joined: Thursday 12 June 2014 16:16
Target OS: NAS (Synology & others)
Domoticz version: 3.5877
Location: Eindhoven, Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by jorik »

tehnoinstyle wrote:
jorik wrote: BTW, if you can give a translation to Russian of the explanation text for the Package itself, I can put it in the spk for future builds. ;-)
Not quite understand about the translation. I installed your package and saw the setting choice of the Russian language.
The Package Center shows a description, that one can be localized and currently only has English and French texts. In your screenshot it also shows the English description.
tehnoinstyle
Posts: 34
Joined: Monday 17 November 2014 14:30
Target OS: NAS (Synology & others)
Domoticz version: 2.0.2276
Location: UA
Contact:

Re: domoticz in synology as package! Available now.

Post by tehnoinstyle »

jorik wrote:
tehnoinstyle wrote:
jorik wrote: BTW, if you can give a translation to Russian of the explanation text for the Package itself, I can put it in the spk for future builds. ;-)
Not quite understand about the translation. I installed your package and saw the setting choice of the Russian language.
The Package Center shows a description, that one can be localized and currently only has English and French texts. In your screenshot it also shows the English description.
You mean emphasized?
Attachments
domoticz2.jpg
domoticz2.jpg (48.73 KiB) Viewed 6166 times
Syn DS3615xs DMS 5.1-5022U5(xpenology;Intel2700MUD;4GbRAM;2*3TbHDD->JBOD)
Syn DS3615xs DMS 5.2-5592(xpenology;asus p8-z68;I3;4GbRAM;6*2TbHDD->JBOD)
Z-Wave Aeon Labs Z-Stick S2->OpenRemote;Domoticz
User avatar
jorik
Posts: 17
Joined: Thursday 12 June 2014 16:16
Target OS: NAS (Synology & others)
Domoticz version: 3.5877
Location: Eindhoven, Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by jorik »

I meant the description in your screenshot:Image
"Domoticz is a Home Automation System that lets you monitor and configure various devices like: Lights, Switches, various sensors/meters like Temperature, Rain, Wind, UV, Electra, Gas, Water and much more. Notifications/Alerts can be sent to any mobile device."
tehnoinstyle
Posts: 34
Joined: Monday 17 November 2014 14:30
Target OS: NAS (Synology & others)
Domoticz version: 2.0.2276
Location: UA
Contact:

Re: domoticz in synology as package! Available now.

Post by tehnoinstyle »

jorik wrote:I meant the description in your screenshot
"Domoticz is a Home Automation System that lets you monitor and configure various devices like: Lights, Switches, various sensors/meters like Temperature, Rain, Wind, UV, Electra, Gas, Water and much more. Notifications/Alerts can be sent to any mobile device."
"Domoticz это Система Домашней Автоматизации, которая позволяет отслеживать и настраивать различные устройства, такие как: Димеры, Переключатели, различные датчики/измерители Температуры, Осадков, Ветра, УФ, Электричества, Газа, Воды и многое другое. Уведомления/Сообщения могут быть отправлены на любое мобильное устройство ".
Syn DS3615xs DMS 5.1-5022U5(xpenology;Intel2700MUD;4GbRAM;2*3TbHDD->JBOD)
Syn DS3615xs DMS 5.2-5592(xpenology;asus p8-z68;I3;4GbRAM;6*2TbHDD->JBOD)
Z-Wave Aeon Labs Z-Stick S2->OpenRemote;Domoticz
kaivalagi
Posts: 21
Joined: Tuesday 25 November 2014 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Norwich, United Kingdom
Contact:

Re: domoticz in synology as package! Available now.

Post by kaivalagi »

jorik wrote:Well there is openzwave support in Domoticz itself, just not in the Domoticz binary when compiled using the spksrc framework that results in the spk's shared in this thread. ;-)
So having a seperate build for the library won't cut it? If I were to build Domoticz normally on the NAS (not through spksrc) would it have the correct support built in then? Is it a case that the source in spksrc needs to be updated to reflect the latest from the Domoticz sources?

I just got a Debian 32bit vm sorted out to have a play and am now running the standard spksrc Domoticz build for cedarview (I have a 1512+) just to get a feel for package creation. I don't have a z-stick yet so couldn't test for z-wave yet but I assume if support was built in I would see the options in the drop downs for device setup?

Also wondering if my chroot build will support it or not as I've not been able to test it yet...

Any info would be appreciated, TIA

If I can help I will

Cheers,
Mark

edit: Got cedarview builds done as per instructions and installed and tested no problem, just no openzwave support as expected...is there a need to build with the newer 5.0 arch toolchain, the 4.3 package installed no issues for me
http://www.4shared.com/file/PGz-phkMce/ ... 112-5.html
http://www.4shared.com/file/Sa91C5xjce/ ... 112-5.html

edit2: finially figured out how the domoticz source is setup in the spk based build so I've updated my local copy of the cross/domoticz/MakeFile to use the latest revision number and have the new build for r2139 but I think I now know what you mean about dependancies. Looking at the standalone build it relies on a zwave build folder to link the required library in and that wont be there. So what needs to happen is a openzwave build needs to take place first and supply the necessary libopenzwave.a file in a suitable location to be picked up...taking a look at how on earth that could be done!

edit3: trying to get a dependency library build through the cross folder for open-zwave-read-only...if I get somewhere with that I'll then try and link it in...might have to edit the source for Domoticz to look somewhere appropriate...if so I'll edit the local tarball...it's gonna be a long night I think!

edit4: Well I have a cross/open-zwave-read-only folder being built fine after some minor tweaks to source for cmake (vers.cpp revision needs stating) but linking in towards the end of the process hits a brick wall with libudev dependencies which I have yet to figure out...toolchain issues I think, that's me stuck for now anyway. If you want a zip of my cross/open-zwave-read-only folder let me know.
/home/mark/spksrc/toolchains/syno-cedarview-5.0/work/x86_64-pc-linux-gnu/bin/../lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: Warning: size of symbol `_ZN11TiXmlString4nposE' changed from 8 in CMakeFiles/domoticz.dir/hardware/openzwave/control_panel/tinyxml/tinystr.cpp.o to 4 in /home/mark/spksrc/spk/domoticz/work-cedarview-5.0/open-zwave-read-only-r939/libopenzwave.a(tinystr.o)
/home/mark/spksrc/toolchains/syno-cedarview-5.0/work/x86_64-pc-linux-gnu/bin/../lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ludev
collect2: error: ld returned 1 exit status
make[5]: *** [domoticz] Error 1
make[5]: Leaving directory `/home/mark/spksrc/spk/domoticz/work-cedarview-5.0/domoticz-r2139'
make[4]: *** [CMakeFiles/domoticz.dir/all] Error 2
make[4]: Leaving directory `/home/mark/spksrc/spk/domoticz/work-cedarview-5.0/domoticz-r2139'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/mark/spksrc/spk/domoticz/work-cedarview-5.0/domoticz-r2139'
make[2]: *** [compile_target] Error 2
make[2]: Leaving directory `/home/mark/spksrc/cross/domoticz'
make[1]: *** [depend_target] Error 2
make[1]: Leaving directory `/home/mark/spksrc/spk/domoticz'
make: [arch-cedarview-5.0] Error 2 (ignored)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests