Page 27 of 29
Re: How to install Domoticz on a Synology NAS
Posted: Thursday 09 July 2020 8:26
by arkoko
Much better now (tested on evansport). Thank you. Donation on the way
Code: Select all
Version: 2020.2 (build 12213)
Build Hash: be4889e5d-modified
Compile Date: 2020-07-08 22:31:18
dzVents Version: 3.0.11
Python Version: 3.5.1 (default, Jan 29 2018, 14:16:25) [GCC 4.9.3 20150311 (prerelease)]
Re: How to install Domoticz on a Synology NAS
Posted: Thursday 09 July 2020 8:56
by jumbotroll
arkoko wrote: ↑Thursday 09 July 2020 8:26
Much better now (tested on evansport). Thank you. Donation on the way
Code: Select all
Version: 2020.2 (build 12213)
Build Hash: be4889e5d-modified
Compile Date: 2020-07-08 22:31:18
dzVents Version: 3.0.11
Python Version: 3.5.1 (default, Jan 29 2018, 14:16:25) [GCC 4.9.3 20150311 (prerelease)]
Thanks for feedback, then I will start build packages for all archs.
Re: How to install Domoticz on a Synology NAS
Posted: Thursday 09 July 2020 8:57
by Atis
jumbotroll wrote: ↑Wednesday 08 July 2020 22:54
Atis wrote: ↑Tuesday 07 July 2020 9:37
Hello, I have a 1019+ syno NAS. Python 3 plugin installed. I download the last domoticz version with python plugin.
I copy the py file to var/plugins/NUT_UPS folder.
Domoticz and NAS restart but I can not see in hardware list. What is wrong?
I think the error that the upload domoticz file not include python:
Version: 2020.2 (build 12192)
Build Hash: 8f82b73ff-modified
Compile Date: 2020-06-29 16:15:42
dzVents Version: 3.0.9
Python Version: None
Sorry, I think something went wrong with python module i the last build.
I will start with uploading new Apollolake DS1019+ beta version later tonight or tomorrow.
Remember you also need to install the official Python3 package from synology to make domoticz with python to work.
https://global.download.synology.com/do ... 1-0108.spk
Working, thank you!
Re: How to install Domoticz on a Synology NAS
Posted: Thursday 09 July 2020 9:01
by arkoko
jumbotroll wrote: ↑Thursday 09 July 2020 8:56
Thanks for feedback, then I will start build packages for all archs.
Oeh... It seems that it's not so easy. Trying to use plugin ends with python crash
I'm not sure is it Domoticz or plugin (in this example Zwave BatteryLevel plugin used):
Code: Select all
2020-07-09 09:54:43.232 Error: #0 /usr/local/domoticz/bin/domoticz() [0x82f0a49]
2020-07-09 09:54:43.232 Error: #1 /usr/local/domoticz/bin/domoticz : signal_handler(int, siginfo_t*, void*) + 0x275 [0x82f14c5]
2020-07-09 09:54:43.233 Error: #2 linux-gate.so.1 : __kernel_rt_sigreturn + 0 [0xffffe40c]
2020-07-09 09:54:43.233 Error: #3 linux-gate.so.1 : __kernel_vsyscall + 0x10 [0xffffe424]
2020-07-09 09:54:43.233 Error: #4 /lib/libpthread.so.0 : raise + 0x3e [0xb72c1f7e]
2020-07-09 09:54:43.233 Error: #5 /lib/libpython3.5m.so : + 0x18178f [0xb6d8c78f]
2020-07-09 09:54:43.233 Error: #6 linux-gate.so.1 : __kernel_sigreturn + 0 [0xffffe400]
2020-07-09 09:54:43.233 Error: #7 linux-gate.so.1 : __kernel_vsyscall + 0x10 [0xffffe424]
2020-07-09 09:54:43.233 Error: #8 /lib/libc.so.6 : gsignal + 0x4f [0xb6fed95f]
2020-07-09 09:54:43.233 Error: #9 /lib/libc.so.6 : abort + 0x160 [0xb6fef370]
2020-07-09 09:54:43.233 Error: #10 /lib/libc.so.6 : + 0x6f139 [0xb702f139]
2020-07-09 09:54:43.234 Error: #11 /lib/libc.so.6 : + 0x75579 [0xb7035579]
2020-07-09 09:54:43.234 Error: #12 /lib/libc.so.6 : + 0x75d9f [0xb7035d9f]
2020-07-09 09:54:43.234 Error: #13 /lib/libcrypto.so.1.0.0 : CRYPTO_free + 0x33 [0xa1f103d3]
2020-07-09 09:54:43.234 Error: #14 /lib/libcrypto.so.1.0.0 : FIPS_free + 0x19 [0xa1f0e579]
2020-07-09 09:54:43.234 Error: #15 /lib/libcrypto.so.1.0.0 : FIPS_md_ctx_cleanup + 0xa3 [0xa1f0d483]
2020-07-09 09:54:43.234 Error: #16 /lib/libcrypto.so.1.0.0 : EVP_MD_CTX_cleanup + 0x42 [0xa1fa0252]
2020-07-09 09:54:43.234 Error: #17 /volume1/@appstore/py3k/usr/local/lib/python3.5/lib-dynload/_hashlib.cpython-35m-i386-linux-gnu.so : + 0x2913 [0xb0837913]
2020-07-09 09:54:43.234 Error: #18 /lib/libpython3.5m.so : PyEval_EvalFrameEx + 0x6790 [0xb6d078f0]
2020-07-09 09:54:43.235 Error: #19 /lib/libpython3.5m.so : PyEval_EvalFrameEx + 0x71da [0xb6d0833a]
2020-07-09 09:54:43.235 Error: #20 /lib/libpython3.5m.so : + 0xff3d1 [0xb6d0a3d1]
2020-07-09 09:54:43.235 Error: #21 /lib/libpython3.5m.so : PyEval_EvalCode + 0x30 [0xb6d0a530]
2020-07-09 09:54:43.235 Error: #22 /lib/libpython3.5m.so : + 0xf36e0 [0xb6cfe6e0]
2020-07-09 09:54:43.235 Error: #23 /lib/libpython3.5m.so : PyCFunction_Call + 0xda [0xb6c8fc6a]
To be honest I not used python versions before. It's my first attempt.
Re: How to install Domoticz on a Synology NAS
Posted: Thursday 09 July 2020 9:38
by jumbotroll
arkoko wrote: ↑Thursday 09 July 2020 9:01
jumbotroll wrote: ↑Thursday 09 July 2020 8:56
Thanks for feedback, then I will start build packages for all archs.
Oeh... It seems that it's not so easy. Trying to use plugin ends with python crash
I'm not sure is it Domoticz or plugin (in this example Zwave BatteryLevel plugin used):
Code: Select all
2020-07-09 09:54:43.232 Error: #0 /usr/local/domoticz/bin/domoticz() [0x82f0a49]
2020-07-09 09:54:43.232 Error: #1 /usr/local/domoticz/bin/domoticz : signal_handler(int, siginfo_t*, void*) + 0x275 [0x82f14c5]
2020-07-09 09:54:43.233 Error: #2 linux-gate.so.1 : __kernel_rt_sigreturn + 0 [0xffffe40c]
2020-07-09 09:54:43.233 Error: #3 linux-gate.so.1 : __kernel_vsyscall + 0x10 [0xffffe424]
2020-07-09 09:54:43.233 Error: #4 /lib/libpthread.so.0 : raise + 0x3e [0xb72c1f7e]
2020-07-09 09:54:43.233 Error: #5 /lib/libpython3.5m.so : + 0x18178f [0xb6d8c78f]
2020-07-09 09:54:43.233 Error: #6 linux-gate.so.1 : __kernel_sigreturn + 0 [0xffffe400]
2020-07-09 09:54:43.233 Error: #7 linux-gate.so.1 : __kernel_vsyscall + 0x10 [0xffffe424]
2020-07-09 09:54:43.233 Error: #8 /lib/libc.so.6 : gsignal + 0x4f [0xb6fed95f]
2020-07-09 09:54:43.233 Error: #9 /lib/libc.so.6 : abort + 0x160 [0xb6fef370]
2020-07-09 09:54:43.233 Error: #10 /lib/libc.so.6 : + 0x6f139 [0xb702f139]
2020-07-09 09:54:43.234 Error: #11 /lib/libc.so.6 : + 0x75579 [0xb7035579]
2020-07-09 09:54:43.234 Error: #12 /lib/libc.so.6 : + 0x75d9f [0xb7035d9f]
2020-07-09 09:54:43.234 Error: #13 /lib/libcrypto.so.1.0.0 : CRYPTO_free + 0x33 [0xa1f103d3]
2020-07-09 09:54:43.234 Error: #14 /lib/libcrypto.so.1.0.0 : FIPS_free + 0x19 [0xa1f0e579]
2020-07-09 09:54:43.234 Error: #15 /lib/libcrypto.so.1.0.0 : FIPS_md_ctx_cleanup + 0xa3 [0xa1f0d483]
2020-07-09 09:54:43.234 Error: #16 /lib/libcrypto.so.1.0.0 : EVP_MD_CTX_cleanup + 0x42 [0xa1fa0252]
2020-07-09 09:54:43.234 Error: #17 /volume1/@appstore/py3k/usr/local/lib/python3.5/lib-dynload/_hashlib.cpython-35m-i386-linux-gnu.so : + 0x2913 [0xb0837913]
2020-07-09 09:54:43.234 Error: #18 /lib/libpython3.5m.so : PyEval_EvalFrameEx + 0x6790 [0xb6d078f0]
2020-07-09 09:54:43.235 Error: #19 /lib/libpython3.5m.so : PyEval_EvalFrameEx + 0x71da [0xb6d0833a]
2020-07-09 09:54:43.235 Error: #20 /lib/libpython3.5m.so : + 0xff3d1 [0xb6d0a3d1]
2020-07-09 09:54:43.235 Error: #21 /lib/libpython3.5m.so : PyEval_EvalCode + 0x30 [0xb6d0a530]
2020-07-09 09:54:43.235 Error: #22 /lib/libpython3.5m.so : + 0xf36e0 [0xb6cfe6e0]
2020-07-09 09:54:43.235 Error: #23 /lib/libpython3.5m.so : PyCFunction_Call + 0xda [0xb6c8fc6a]
To be honest I not used python versions before. It's my first attempt.
I don't use any python plugin myself, so I can't test. I know if you have an older database file, this can happend. Did you do a clean install or did you update.
You can try to do a clean.
Re: How to install Domoticz on a Synology NAS
Posted: Thursday 09 July 2020 9:58
by arkoko
It was update. A lot of stuff needs to be restore after clean install. But I can try to do clean install and test some python plugins to watch results. Probably later I restore my configuration from backup.
UPD:
Unfortunally python plugins with clean install did not work too, at least for me (DS214play).
Code: Select all
2020-07-09 13:36:40.653 Status: (ZM) Started.
2020-07-09 13:36:41.478 Error: Domoticz(pid:22382, tid:22387('PluginMgr')) received fatal signal 6 (Aborted)
2020-07-09 13:36:41.478 Error: siginfo address=0x576e, address=0xffffe424
2020-07-09 13:36:41.492 Error: Failed to start gdb, will use backtrace() for printing stack frame
2020-07-09 13:36:41.505 Error: #0 /usr/local/domoticz/bin/domoticz() [0x82f0a49]
2020-07-09 13:36:41.505 Error: #1 /usr/local/domoticz/bin/domoticz : signal_handler(int, siginfo_t*, void*) + 0x275 [0x82f14c5]
2020-07-09 13:36:41.505 Error: #2 linux-gate.so.1 : __kernel_rt_sigreturn + 0 [0xffffe40c]
...
Re: How to install Domoticz on a Synology NAS
Posted: Thursday 09 July 2020 14:47
by joshua
Hi,
I have the same problem on my DS916+
I did a clean install, but Python plugins are not showing up.
Re: How to install Domoticz on a Synology NAS
Posted: Monday 13 July 2020 10:35
by jbartoli
Hello,
First, thanks for your work.
Install was smooth, and all great.
Still got a quick question.
i'm currently using an auto-backup script.
How can I access file on my NAS, to get access to specific file? (such as .db file, etc?)
Re: How to install Domoticz on a Synology NAS
Posted: Monday 13 July 2020 11:01
by GilbertvH
jbartoli wrote: ↑Monday 13 July 2020 10:35
Hello,
First, thanks for your work.
Install was smooth, and all great.
Still got a quick question.
i'm currently using an auto-backup script.
How can I access file on my NAS, to get access to specific file? (such as .db file, etc?)
I'm using WinSCP. Should be a mandatory
Re: How to install Domoticz on a Synology NAS
Posted: Monday 13 July 2020 11:10
by jbartoli
GilbertvH wrote: ↑Monday 13 July 2020 11:01
I'm using WinSCP. Should be a mandatory
Yup, my bad, I asked before a real search.
Went with Putty, but still same result.
If anyone wonder, here how it goes to me.
Backups and database are saved on /var folder (not like on raspberry)
So you'll need to search under
(And volume1 is w<here I've chooser to install the package, of course)
Then, i've just make an auto-copy of my file throught Task Scheduler on a Share folder, and then, auto-sync take the lead. (to upload to Google drive folder)
If needed, I'm using this script.
Code: Select all
cp /volume1/@appstore/domoticz/* /volume1/homes/Bart/backup-"`date +"%d-%m-%Y"`"
Re: How to install Domoticz on a Synology NAS
Posted: Thursday 16 July 2020 17:43
by arkoko
Without need to playing to guess correct volume number it's possible to find domoticz files under /usr/local/domoticz , which is a symlink to the actual volume.
Re: How to install Domoticz on a Synology NAS
Posted: Wednesday 22 July 2020 14:58
by Pandabeer
Hi all / Jumbotroll
I tried to install the App on my Synology DS215j – I’m running DSM 6.2.3-25426 Update 2 (also older version this morning was not working) – as well domoticz_armada375-6.2_2020.2.12213-8.Spk as domoticz_armada375-6.2_2020.1.11804-8.Spk are not running. The installation went well but within package center I have to run the Domoticz app – after waiting a long time (the ‘hourglass’ stopped turning) the same information in Package Center – I’ve to run the application but it keeps on saying that I have to start/run Domoticz
What am I doing wrong?
Re: How to install Domoticz on a Synology NAS
Posted: Wednesday 22 July 2020 15:10
by jumbotroll
Pandabeer wrote: ↑Wednesday 22 July 2020 14:58
Hi all / Jumbotroll
I tried to install the App on my Synology DS215j – I’m running DSM 6.2.3-25426 Update 2 (also older version this morning was not working) – as well domoticz_armada375-6.2_2020.2.12213-8.Spk as domoticz_armada375-6.2_2020.1.11804-8.Spk are not running. The installation went well but within package center I have to run the Domoticz app – after waiting a long time (the ‘hourglass’ stopped turning) the same information in Package Center – I’ve to run the application but it keeps on saying that I have to start/run Domoticz
What am I doing wrong?
Python 3 package from synology is required if you choose domoticz with python plugin support.
If you have problem with python version, test if domoticz without wor on your NAS.
Re: How to install Domoticz on a Synology NAS
Posted: Sunday 02 August 2020 16:06
by mees40
I'm using Domoticz on a DS214. However I'm moving to a DS220+. Is a Domoticz package already available for a Synology DS220+?
Re: How to install Domoticz on a Synology NAS
Posted: Sunday 02 August 2020 16:19
by jumbotroll
mees40 wrote: ↑Sunday 02 August 2020 16:06
I'm using Domoticz on a DS214. However I'm moving to a DS220+. Is a Domoticz package already available for a Synology DS220+?
The toolchain and kernel source is not released from synology, but you can test this modified version.
Not sure the driver inside the package will work, but you can uninstall the package if it's not working.
NOT TESTED!
Test version Domoticz Beta for Geminilake.
Download here:
http://www.jadahl.com/synospk/domoticz_ ... 2221-8.spk
Re: How to install Domoticz on a Synology NAS
Posted: Monday 03 August 2020 10:08
by Sjaakios
jumbotroll wrote: ↑Sunday 02 August 2020 16:19
mees40 wrote: ↑Sunday 02 August 2020 16:06
I'm using Domoticz on a DS214. However I'm moving to a DS220+. Is a Domoticz package already available for a Synology DS220+?
The toolchain and kernel source is not released from synology, but you can test this modified version.
Not sure the driver inside the package will work, but you can uninstall the package if it's not working.
NOT TESTED!
Test version Domoticz Beta for Geminilake.
Download here:
http://www.jadahl.com/synospk/domoticz_ ... 2221-8.spk
Ive installed it on my DS220+, most things seem to work for me. Hardware works fine (tested harmony, mysensors, onkyo, weather, kodi), dzevents work fine.
Only thing im unable to get started are my plugins. Im unable to see them in the list of hardware types.
In the log, im also missing this line; which i do have in my other domoticz installation:
2020-08-03 10:04:45.970 Status: PluginSystem: Entering work loop.
Re: How to install Domoticz on a Synology NAS
Posted: Monday 03 August 2020 10:13
by jumbotroll
Sjaakios wrote: ↑Monday 03 August 2020 10:08
jumbotroll wrote: ↑Sunday 02 August 2020 16:19
mees40 wrote: ↑Sunday 02 August 2020 16:06
I'm using Domoticz on a DS214. However I'm moving to a DS220+. Is a Domoticz package already available for a Synology DS220+?
The toolchain and kernel source is not released from synology, but you can test this modified version.
Not sure the driver inside the package will work, but you can uninstall the package if it's not working.
NOT TESTED!
Test version Domoticz Beta for Geminilake.
Download here:
http://www.jadahl.com/synospk/domoticz_ ... 2221-8.spk
Ive installed it on my DS220+, most things seem to work for me. Hardware works fine (tested harmony, mysensors, onkyo, weather, kodi), dzevents work fine.
Only thing im unable to get started are my plugins. Im unable to see them in the list of hardware types.
In the log, im also missing this line; which i do have in my other domoticz installation:
2020-08-03 10:04:45.970 Status: PluginSystem: Entering work loop.
This testversion does not support Python plugins, if that was the plugin you testet?
Re: How to install Domoticz on a Synology NAS
Posted: Monday 03 August 2020 10:36
by Sjaakios
Ok, that explains. Yes it was a python plugin indeed.
Re: How to install Domoticz on a Synology NAS
Posted: Monday 03 August 2020 10:45
by mees40
jumbotroll wrote: ↑Sunday 02 August 2020 16:19
mees40 wrote: ↑Sunday 02 August 2020 16:06
I'm using Domoticz on a DS214. However I'm moving to a DS220+. Is a Domoticz package already available for a Synology DS220+?
The toolchain and kernel source is not released from synology, but you can test this modified version.
Not sure the driver inside the package will work, but you can uninstall the package if it's not working.
NOT TESTED!
Test version Domoticz Beta for Geminilake.
Download here:
http://www.jadahl.com/synospk/domoticz_ ... 2221-8.spk
Many thanks, I'll test it when my new DS220+ is installed.
Re: How to install Domoticz on a Synology NAS
Posted: Tuesday 04 August 2020 14:43
by sandeman684
jumbotroll wrote: ↑Sunday 02 August 2020 16:19
The toolchain and kernel source is not released from synology, but you can test this modified version.
Not sure the driver inside the package will work, but you can uninstall the package if it's not working.
NOT TESTED!
Thanks a lot, a donation is on its way. Domoticz seems to work properly on my new DS920+. RFXCOM works, did not test ZWAVE yet.