Page 62 of 94
Re: domoticz in synology as package! Available now.
Posted: Saturday 27 January 2018 20:33
by waaren
gijsje wrote: ↑Saturday 27 January 2018 20:19
If i want to update to the beta version can i do this over the update Domoticz button or do i need to download the latest version for Synology and install it on the DS218+ nas?
I did look but i guess the latest version is not yet done yet for my system!??
The update Domoticz button should not be used on your Synology. It will tell you Domoticz is updating but it is not. Could be that it break stuff but I am not sure about that and it makes not enough sense to try

Re: domoticz in synology as package! Available now.
Posted: Saturday 27 January 2018 21:35
by gijsje
jumbotroll wrote: ↑Saturday 27 January 2018 20:24
gijsje wrote: ↑Saturday 27 January 2018 20:19
If i want to update to the beta version can i do this over the update Domoticz button or do i need to download the latest version for Synology and install it on the DS218+ nas?
I did look but i guess the latest version is not yet done yet for my system!??
Beta packages, you have to manually download and install in package center on your NAS.
DS218+ use arch-apollolake
DSM6.1 version:
http://www.jadahl.com/domoticz_beta_6.1/
DSM6.2 Beta:
http://www.jadahl.com/domoticz_beta_6.2/
Thanks
Is this all with python included?
Re: domoticz in synology as package! Available now.
Posted: Saturday 27 January 2018 21:36
by jumbotroll
gijsje wrote: ↑Saturday 27 January 2018 21:35
Thanks
Is this all with python included?
No
Re: domoticz in synology as package! Available now.
Posted: Saturday 27 January 2018 21:44
by gijsje
Do i need it with python as on the nas python 3 is already installed?
i am new to nas world as i was running domoticz on a pi before this so maybe dumb questions

Re: domoticz in synology as package! Available now.
Posted: Saturday 27 January 2018 21:53
by jumbotroll
gijsje wrote: ↑Saturday 27 January 2018 21:44
Do i need it with python as on the nas python 3 is already installed?
i am new to nas world as i was running domoticz on a pi before this so maybe dumb questions
No, you can always use the version without python.
I can compile a version for your NAS with python later (DS218+)
Python version:
http://www.jadahl.com/domoticz_beta_6.1 ... 125.patch/
Re: domoticz in synology as package! Available now.
Posted: Sunday 28 January 2018 10:31
by SystemLord
jumbotroll wrote: ↑Saturday 27 January 2018 18:22
This patch is not added in the stable packages for DSM6.1.
If you want to test, I can build a beta package for you with this 1125.patch, but what NAS do you want me to build this for?
Edit: I have build some test packages with 1125.patch for DSM6.1
You can download from here:
http://www.jadahl.com/domoticz_beta_6.1/
The test packages is located in folder
/OpenZwave_1125.patch/
That's quick! Thanks

Nas is a DS 218+ (apollolake) See the package is already there, will do some testing next week and report back.
Again thanks for the effort!
Re: domoticz in synology as package! Available now.
Posted: Monday 29 January 2018 21:39
by manutremo
Hi,
I just upgraded to v3.8841 in my Synology - everything looks fine except that I started to get some dzVents errors. After activating DEBUG for dzVents, I see that the dzVents version is being reported as 2.3.0. Following the announcement in the dzVents part opf the forum, I was expecting to see v2.4.0. I actually suspect this might be related to the new errors I'm getting. Would it be possible to confirm if the version number being reported is correct? Thanks in advance.
Re: domoticz in synology as package! Available now.
Posted: Monday 29 January 2018 21:43
by manutremo
In case it helps - I received confirmation that there seems to be a mix of both versions now after upgrade:
http://www.domoticz.com/forum/viewtopic ... 20#p169025
Is it possible to fix or do I need to revert my upgrade?
Re: domoticz in synology as package! Available now.
Posted: Monday 29 January 2018 22:16
by jumbotroll
Take backup of database and scripts, then uninstall the domoticz package, then install the latest domoticz beta package.
Re: domoticz in synology as package! Available now.
Posted: Monday 29 January 2018 22:43
by manutremo
Jadahl, many thanks for always being so responsive. That seems to have fixed it.
Re: domoticz in synology as package! Available now.
Posted: Monday 29 January 2018 22:48
by jumbotroll
manutremo wrote: ↑Monday 29 January 2018 22:43
Jadahl, many thanks for always being so responsive. That seems to have fixed it.
For now my beta packages take backup and restore of dzvent if you upgrade, so always try to uninstall/reinstall domoticz packages if you have trouble

Re: domoticz in synology as package! Available now.
Posted: Thursday 01 February 2018 9:50
by SystemLord
SystemLord wrote: ↑Sunday 28 January 2018 10:31
jumbotroll wrote: ↑Saturday 27 January 2018 18:22
This patch is not added in the stable packages for DSM6.1.
If you want to test, I can build a beta package for you with this 1125.patch, but what NAS do you want me to build this for?
Edit: I have build some test packages with 1125.patch for DSM6.1
You can download from here:
http://www.jadahl.com/domoticz_beta_6.1/
The test packages is located in folder
/OpenZwave_1125.patch/
That's quick! Thanks

Nas is a DS 218+ (apollolake) See the package is already there, will do some testing next week and report back.
Again thanks for the effort!
Ok, done some tests, the patch is working fine, my scene controller is working again, unfortunately cannot use it as i like because it seems that the current beta(s) has some eventsystem issues, seems that activating a random group triggers my scene controller pushbutton blocky's in a loop, tested this against generic linux build, same issue, no issue in the last stable so will report this elsewhere.
Re: domoticz in synology as package! Available now.
Posted: Thursday 01 February 2018 12:34
by jumbotroll
SystemLord wrote: ↑Thursday 01 February 2018 9:50
Ok, done some tests, the patch is working fine, my scene controller is working again, unfortunately cannot use it as i like because it seems that the current beta(s) has some eventsystem issues, seems that activating a random group triggers my scene controller pushbutton blocky's in a loop, tested this against generic linux build, same issue, no issue in the last stable so will report this elsewhere.
Thanks for testing!
I have compiled the stable version V3.8153 with this OpenZwave patch for arch-apollolake you can test if you want.
domoticz_apollolake-6.1_3.0.8153-7.spk
http://www.jadahl.com/domoticz_beta_6.1 ... 125.patch/
Python version:
http://www.jadahl.com/domoticz_beta_6.1 ... 125.patch/
Re: domoticz in synology as package! Available now.
Posted: Thursday 01 February 2018 13:06
by SystemLord
Thanks

, will test this version and report back again.
Re: domoticz in synology as package! Available now.
Posted: Thursday 01 February 2018 17:13
by SystemLord
SystemLord wrote: ↑Thursday 01 February 2018 13:06
Thanks

, will test this version and report back again.
Tested, all is wotking like a charm! Thx!

Re: domoticz in synology as package! Available now.
Posted: Friday 02 February 2018 12:26
by FlareP1
Hi, I'm trying to compile domoticz for DSM 4.3 on a DS212 (Marvel 88f6281). I setup up the SynoCommunity cross compile environment (spksrc) via docker which I can compile various packages but the domoticz package does not seem to compile correctly.
Is domoticz supported on DSM 4.3? There are no DSM4.3 packages on
www.jadahl.com. Has anyone manage to get domonticz working correctly on DSM 4.3? Can anyone explain how to correctly cross compile for this environment or get hold of a precompiled build for this target.
Many thanks
Re: domoticz in synology as package! Available now.
Posted: Friday 02 February 2018 14:16
by jumbotroll
FlareP1 wrote: ↑Friday 02 February 2018 12:26
Hi, I'm trying to compile domoticz for DSM 4.3 on a DS212 (Marvel 88f6281). I setup up the SynoCommunity cross compile environment (spksrc) via docker which I can compile various packages but the domoticz package does not seem to compile correctly.
Is domoticz supported on DSM 4.3? There are no DSM4.3 packages on
www.jadahl.com. Has anyone manage to get domonticz working correctly on DSM 4.3? Can anyone explain how to correctly cross compile for this environment or get hold of a precompiled build for this target.
Many thanks
It's some hazzle to build domoticz with that old toolchain DSM4.3 use, but I can try to build the stable and beta version for you with OpenZwave and drivers included.
Edit:
Take a look here
http://www.jadahl.com/domoticz_4.3/
Not tested BTW!!!
Re: domoticz in synology as package! Available now.
Posted: Friday 02 February 2018 15:49
by FlareP1
Wow thanks very much. Yes this appears to download and install correctly. I can access the Domoticz Dashboard ok from inside the DSM. Now just waiting on my RFLink hardware to arrive before I can test further.
I would still be interest in any tips getting the cross compile environment working. Looking at other posts I believe that you are also using spksrc build environment? From a working spkscr docker build environment I tried the following
Code: Select all
git clone https://github.com/domoticz/domoticz.git domoticz
cd domoticz
wget http://www.domoticz.com/patches/domoticz_synology_domoticz.patch
patch -p0 -i domoticz_synology_domoticz.patch
cmake -D USE_PYTHON=NO CMakeLists.txt
But I get the error
Code: Select all
CMake Error at /usr/share/cmake-3.0/Modules/FindBoost.cmake:1198 (message):
Unable to find the requested Boost libraries.
Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
CMakeLists.txt:535 (find_package)
-- Linking against boost static libraries
CMake Error at CMakeLists.txt:545 (message):
Found libBoost version , 105500 or newer required
Regards
Re: domoticz in synology as package! Available now.
Posted: Friday 02 February 2018 16:06
by jumbotroll
FlareP1 wrote: ↑Friday 02 February 2018 15:49
Wow thanks very much. Yes this appears to download and install correctly. I can access the Domoticz Dashboard ok from inside the DSM. Now just waiting on my RFLink hardware to arrive before I can test further.
I would still be interest in any tips getting the cross compile environment working. Looking at other posts I believe that you are also using spksrc build environment? From a working spkscr docker build environment I tried the following
Code: Select all
git clone https://github.com/domoticz/domoticz.git domoticz
cd domoticz
wget http://www.domoticz.com/patches/domoticz_synology_domoticz.patch
patch -p0 -i domoticz_synology_domoticz.patch
cmake -D USE_PYTHON=NO CMakeLists.txt
But I get the error
Code: Select all
CMake Error at /usr/share/cmake-3.0/Modules/FindBoost.cmake:1198 (message):
Unable to find the requested Boost libraries.
Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
CMakeLists.txt:535 (find_package)
-- Linking against boost static libraries
CMake Error at CMakeLists.txt:545 (message):
Found libBoost version , 105500 or newer required
Regards
It looks like you have not installed the right boost version in your system.
I have created my own build environment based on spksrc and modified, which now contains several hundred gigabytes and this framework is not suitable for further distribution.
It will take too much time to teach others how this is done and unfortunately I have very limited time for this project.
Re: domoticz in synology as package! Available now.
Posted: Sunday 04 February 2018 20:06
by johnnie
Hi folks,
I’m facing a challange and hopefully somebody can point me in the right direction:
Installed the python spk and domoticz package with python on the NAS.
I want to install/use the SVT python plugin! Installed this with the help of the wiki.
But it doesn’t show up in the list!?
I see in the logging:
2018-01-31 20:36:28.601 Python EventSystem: Module not found - Trying to initialize.
2018-01-31 20:36:28.603 Python EventSystem: Initalizing event module.
Is there still something wrong?
At this moment I'm stuck (running circles), I've copied the plugin.py (manually, not with git command because I don't know how this works on synology), put it in the SVT directory under plugins (changed with chmod), restarted Domoticz. But still not able to see/select the plugin in the hardware list.....
Can somebody please help me in the right direction?
Tia, and best regards, John