How to install Domoticz on a Synology NAS

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

monfiston
Posts: 10
Joined: Tuesday 03 March 2020 13:34
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by monfiston »

Hello
I installed on my nas synology ds115j, the Domoticz Stable version "V4.10717 for DSM 6.2"
it works perfectly, for the use I make of it:
recovery of my solar panel production with a "Téléinfo 1 USB counter" module

However, I would like to send the information to the site bdpv.com
I found a script in "json"

#! / Bin / bash
pr = $ (curl -s "http://127.0.0.1:8080/json.htm?type=devices&rid=902" | jq -r .result []. "Data" | cut -d '' -f1 | tr -d '.')
prod = "$ pr" "0"
echo "We produced from the start:" $ prod
url = "http://www.bdpv.fr//webservice/majProd/ ... ndex=$prod"
echo $ url
ret = $ (curl -s "$ url")

https://easydomoticz.com/forum/viewtopi ... =10&t=7929


How do I install json?
monfiston
Posts: 10
Joined: Tuesday 03 March 2020 13:34
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by monfiston »

Hello
I have been using domoticz for 2 months now on my nas synology ds115j
it works well with the version "V4.10717 for DSM 6.2"

last night I uninstalled this version to upgrade to V4.10717 for DSM 6.2 with Python

the installation is going well, but domoticz refuses to launch, when I click on launch, 2 minutes after the service is on stop !!!

do you have a solution?
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: How to install Domoticz on a Synology NAS

Post by jumbotroll »

monfiston wrote: Wednesday 04 March 2020 9:23 Hello
I have been using domoticz for 2 months now on my nas synology ds115j
it works well with the version "V4.10717 for DSM 6.2"

last night I uninstalled this version to upgrade to V4.10717 for DSM 6.2 with Python

the installation is going well, but domoticz refuses to launch, when I click on launch, 2 minutes after the service is on stop !!!

do you have a solution?
Did you install the Python 3 package before you installed the domoticz package ?
You have to install this package first or domoticz don't run!
https://global.download.synology.com/do ... mber=24922
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
monfiston
Posts: 10
Joined: Tuesday 03 March 2020 13:34
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by monfiston »

perfect, thank you very much, it works again now


perfect, thank you very much, it works again now

maybe you can help me again?

I want to send my electricity production (see message above), to the site https://www.bdpv.fr/fr/

I found a tutorial on the internet, but it is for a rasberry
https://easydomoticz.com/forum/viewtopi ... =10&t=7929

and I block on the 1st line:
- having installed jq: sudo apt-get install jq

can you help me, or do you have another way to export my production data?
monfiston
Posts: 10
Joined: Tuesday 03 March 2020 13:34
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by monfiston »

Hello
since yesterday, I have this message which appears in domoticz
I clicked on the link to update it, but the update looks like it won't start
Annotation 2020-03-23 101013.jpg
Annotation 2020-03-23 101013.jpg (12.3 KiB) Viewed 4930 times
domotics is installed on my nas synology ds115j

do you have a solution?
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: How to install Domoticz on a Synology NAS

Post by waaren »

monfiston wrote: Monday 23 March 2020 10:13 since yesterday, I have this message which appears in domoticz. I clicked on the link to update it, but the update looks like it won't start
This button has no function with domoticz on a Synology NAS. You will have to wait until @jumbotroll prepared a package (if at all possible for the ds115j)
You can get rid of the message by unmarking

Software Updates:
Check for Updates (Not working on windows systems)

in tab

[setup][settings][system]
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dressie
Posts: 156
Joined: Monday 25 May 2015 22:44
Target OS: Raspberry Pi / ODroid
Domoticz version: V2020.2
Location: Netherlands
Contact:

Re: How to install Domoticz on a Synology NAS

Post by dressie »

monfiston wrote: Monday 23 March 2020 10:13 Hello
since yesterday, I have this message which appears in domoticz
I clicked on the link to update it, but the update looks like it won't start

Annotation 2020-03-23 101013.jpg
domotics is installed on my nas synology ds115j

do you have a solution?
You can't update within Domoticz on a Synology. You will have to download the new version from http://www.jadahl.com/
monfiston
Posts: 10
Joined: Tuesday 03 March 2020 13:34
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by monfiston »

thank
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: How to install Domoticz on a Synology NAS

Post by jumbotroll »

I am working with stable 2020.1 (11804) for Synology.
First packages for non python support is already uploaded.

Regards
Jadahl
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
dressie
Posts: 156
Joined: Monday 25 May 2015 22:44
Target OS: Raspberry Pi / ODroid
Domoticz version: V2020.2
Location: Netherlands
Contact:

Re: How to install Domoticz on a Synology NAS

Post by dressie »

jumbotroll wrote: Monday 23 March 2020 12:01 I am working with stable 2020.1 (11804) for Synology.
First packages for non python support is already uploaded.

Regards
Jadahl
Thanks! I really appriciate your work! Is the "Python" version coming too?

Edit: I checked it again, it was there. It's installed and running! Thanks!
alkempter
Posts: 24
Joined: Sunday 17 February 2019 10:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Contact:

Re: How to install Domoticz on a Synology NAS

Post by alkempter »

dressie wrote: Monday 23 March 2020 10:42
monfiston wrote: Monday 23 March 2020 10:13 Hello
since yesterday, I have this message which appears in domoticz
I clicked on the link to update it, but the update looks like it won't start

Annotation 2020-03-23 101013.jpg
domotics is installed on my nas synology ds115j

do you have a solution?
You can't update within Domoticz on a Synology. You will have to download the new version from http://www.jadahl.com/
Thanks a lot for the information and to Jadahl for the fast delivery of the new code level!
I also had to note that the upgrade button does not work.
I already downloaded the new package for my NAS (Phython version).
Is there a sound description of a safe way how to install it and still keep all what you implemented before?
Synology HyperBackup does not offer to make a backup of Domoticz. How should I make a backup of settings, database and LUA scripts? Will the new package install on top of the old one and do a migration or do I have to uninstall the old version first?
Thank you a lot in advance!
Best regards
Al

edit: solved, new Domoticz level up and running (minor problem, see below).
Last edited by alkempter on Tuesday 24 March 2020 23:28, edited 1 time in total.
smukec
Posts: 3
Joined: Monday 11 November 2019 12:31
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by smukec »

Any known troubles after upgrade?
FlatBread
Posts: 5
Joined: Tuesday 24 March 2020 21:55
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by FlatBread »

Just installed the new version (domoticz_cedarview-6.2_2020.1.11804-8.spk) on my DS412+ but Domoticz stops everytime after 25 seconds...

Tried to reboot and re-install, but same problem. Unable to rollback to previous version, so I'm now stuck with a version that doesn't work...

Any ideas?
alkempter
Posts: 24
Joined: Sunday 17 February 2019 10:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Contact:

Re: How to install Domoticz on a Synology NAS

Post by alkempter »

Hi,

succeeded in installing the new level 2020.1 on my DS414j (comcerto2k-6.2_2020.1.11804-8 with Python).

Just installed it via manual install in the package center. Domoticz now shows as version 2020.1.11804-8 but still shows the pop-up "A new version of Domoticz is available..."
edit: this is gone now (restarted the NAS, Domoticz and the PC during the night)

Apart from that, the only problem I noticed are messages like:
2020-03-24 22:40:11.055 Error: OpenZWave: Unhandled Meter type: Electric - Pulses, class: 0x32 (METER), NodeID: 3 (0x03), Index: 3, Instance: 1
2020-03-24 22:40:12.592 Error: OpenZWave: Unhandled Meter type: Electric - Pulses, class: 0x32 (METER), NodeID: 3 (0x03), Index: 3, Instance: 1
2020-03-24 22:40:12.592 Error: OpenZWave: Value_Changed: Tried adding value, not succeeded!. Node: 3 (0x03), CommandClass: METER, Label: Electric - Pulses, Instance: 1, Index: 3
Removing the node and adding it again did not help.
The device is a Devolo Smart Metering Plug and in Node Management shows as
"Devolo home Control Smart Metering Plug MT02792+"
Seems to function OK, though. :)

Best regards
Al
Last edited by alkempter on Wednesday 25 March 2020 12:04, edited 1 time in total.
FlatBread
Posts: 5
Joined: Tuesday 24 March 2020 21:55
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by FlatBread »

Still not working for me. I tried to install the Python version, but then Domoticz doesn't start at all. So back to the non Python version, that starts, but stops everytime after 25 seconds.

Here are the last lines from my logfile, this is what happens everytime when I try to start Domoticz:
2020-03-25 08:01:47.725 Error: Domoticz(pid:10151, tid:10179('EvoHome')) received fatal signal 6 (Aborted)
2020-03-25 08:01:47.725 Error: siginfo address=0x27a7, address=0x7f1128dda907
2020-03-25 08:01:47.737 Error: Failed to start gdb, will use backtrace() for printing stack frame

2020-03-25 08:01:47.738 Error: #0 /usr/local/domoticz/bin/domoticz() [0x565040]
2020-03-25 08:01:47.738 Error: #1 /usr/local/domoticz/bin/domoticz() [0x565d4d]
2020-03-25 08:01:47.738 Error: #2 /lib/libpthread.so.0 : + 0x101c0 [0x7f112a2dc1c0]
2020-03-25 08:01:47.738 Error: #3 /lib/libc.so.6 : gsignal + 0x37 [0x7f1128dda907]
2020-03-25 08:01:47.738 Error: #4 /lib/libc.so.6 : abort + 0x16a [0x7f1128ddbcda]
2020-03-25 08:01:47.738 Error: #5 /usr/local/domoticz/bin/domoticz : __gnu_cxx::__verbose_terminate_handler() + 0xbf [0xbfc859]
2020-03-25 08:01:47.739 Error: #6 /usr/local/domoticz/bin/domoticz : __cxxabiv1::__terminate(void (*)()) + 0x3 [0xbc776a]
2020-03-25 08:01:47.739 Error: #7 /usr/local/domoticz/bin/domoticz : __cxxabiv1::__unexpected(void (*)()) + 0 [0xbc77a0]
2020-03-25 08:01:47.739 Error: #8 /usr/local/domoticz/bin/domoticz : std::thread::_M_start_thread(std::shared_ptr<std::thread::_Impl_base>) + 0 [0xbf4e18]
2020-03-25 08:01:47.739 Error: #9 /lib/libpthread.so.0 : + 0x72c4 [0x7f112a2d32c4]
2020-03-25 08:01:47.739 Error: #10 /lib/libc.so.6 : clone + 0x6d [0x7f1128e9110d]
teo1966
Posts: 35
Joined: Saturday 18 November 2017 12:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Contact:

Re: How to install Domoticz on a Synology NAS

Post by teo1966 »

hello whits version of python need we python 3 or python 2.7 whit 2020.1.11804-8 ?
i have now on DS916+ v4.11781 whit python 2.7 must i remove 2.7 and install python 3 or not remove python 2.7 and install python 3 ?
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: How to install Domoticz on a Synology NAS

Post by waaren »

teo1966 wrote: Wednesday 25 March 2020 11:55 hello whits version of python need we python 3 or python 2.7 whit 2020.1.11804-8 ?
i have now on DS916+ v4.11781 whit python 2.7 must i remove 2.7 and install python 3 or not remove python 2.7 and install python 3 ?
Not remove 2.7
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
alkempter
Posts: 24
Joined: Sunday 17 February 2019 10:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Contact:

Re: How to install Domoticz on a Synology NAS

Post by alkempter »

teo1966 wrote: Wednesday 25 March 2020 11:55 hello whits version of python need we python 3 or python 2.7 whit 2020.1.11804-8 ?
i have now on DS916+ v4.11781 whit python 2.7 must i remove 2.7 and install python 3 or not remove python 2.7 and install python 3 ?
I have Python 3 and Python Module installed and it is working well.

Best regards
Al
PieterS
Posts: 195
Joined: Wednesday 31 May 2017 16:06
Target OS: NAS (Synology & others)
Domoticz version: 2024.7
Location: NL
Contact:

Re: How to install Domoticz on a Synology NAS

Post by PieterS »

teo1966 wrote: Wednesday 25 March 2020 11:55 hello whits version of python need we python 3 or python 2.7 whit 2020.1.11804-8 ?
i have now on DS916+ v4.11781 whit python 2.7 must i remove 2.7 and install python 3 or not remove python 2.7 and install python 3 ?
@alkempter is a bit quicker..

I have Python 3 and Python Module installed and it is working well on my Synology DS718+ for at least 2 days. :D
Synology with Domoticz build (V2024.7) in Docker
FlatBread
Posts: 5
Joined: Tuesday 24 March 2020 21:55
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by FlatBread »

I also tried the beta version, but same problem here.

Is there a way to go back to the previous version without losing all the data (devices, history, settings)?

Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests