How to install Domoticz on a Synology NAS

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

Moderator: leecollings

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 »

i cant find a package for a Synology DS1019+ on your page is there plans for to make it ?
i want to buy a Synology DS1019+
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
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 »

teo1966 wrote: Sunday 25 August 2019 9:56 i cant find a package for a Synology DS1019+ on your page is there plans for to make it ?
i want to buy a Synology DS1019+
Hi.
DS1019+ use arch-apollolake same as DS918+
My download pages is now updated with DS1019+
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
aee74
Posts: 5
Joined: Saturday 18 February 2017 14:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by aee74 »

Ingmar wrote: Tuesday 08 January 2019 12:19
jumbotroll wrote: Tuesday 08 January 2019 10:31
Ingmar wrote: Monday 07 January 2019 23:27 Hi Jumbotroll,

I have a DS212j with DSM 6.2 but on your site I don't see my DS212j in the list of Domoticz version 4.9, is my NAS too old now or can you do some magic?

I'm currently running Domoticz 3.5 so thought it is time for an update :lol: I have to say that this version is running very stable for a few years now, really great. Your work is much appreciated!
DS212j use arch-88F6281 and use very old gcc version and old toolchain from synology.
I have stopped building new domoticz versions for arch-88F6281.
The latest build for DS212j (DSM6.2) is domoticz_88f6281-6.2_3.0.9483-7.spk
Download here:
http://www.jadahl.com/domoticz_beta_6.2 ... 9483-7.spk
Ok thank you! So i should really get a new NAS if i understand correctly :p
I have the same NAS. Unfortunally the link gives a 404
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 »

aee74 wrote: Saturday 05 October 2019 8:13 I have the same NAS. Unfortunally the link gives a 404
Can you check this page ( all available packages ) ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
aee74
Posts: 5
Joined: Saturday 18 February 2017 14:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by aee74 »

managed to get the repo from where I can see Mydomo. Now I get the message the NodeJSv4 is needed. but there is no nodes v4 support from my ds212J. Any workaround?
Huupke
Posts: 25
Joined: Monday 21 October 2019 10:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Boxtel, Netherlands
Contact:

Re: How to install Domoticz on a Synology NAS

Post by Huupke »

As there are no more pre-compiled packages anymore for my DS212+, I like to compile Domoticz myself to benefit from recent added support for Xiaomi/Aqara devices. Currently I can't use my wireless Aqara switches.
My question is whether it's possible to cross-compile for 'Marvell Kirkwood 88F6282' on a MAcBook or do I have to compile it on the NAS (DS212+) following https://www.domoticz.com/wiki/Synology# ... z_yourself?

The website of Jumbotroll mentions it is not compiled anymore because the linux kernel and gcc version from synology is to old and do not support std=C++11
I have stopped build domoticz for NAS that use arch-88f6281/82 because the linux kernel and gcc version from synology is to old and do not support std=C++11.
Does this mean it is not possible anymore or do I have to change code too much? Or as said above is new HW the only option?
Running V2024.4 on RPi3B+ & development/HEAD on RPi4B
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 »

Huupke wrote: Monday 21 October 2019 11:01 As there are no more pre-compiled packages anymore for my DS212+, I like to compile Domoticz myself to benefit from recent added support for Xiaomi/Aqara devices. Currently I can't use my wireless Aqara switches.
My question is whether it's possible to cross-compile for 'Marvell Kirkwood 88F6282' on a MAcBook or do I have to compile it on the NAS (DS212+) following https://www.domoticz.com/wiki/Synology# ... z_yourself?

The website of Jumbotroll mentions it is not compiled anymore because the linux kernel and gcc version from synology is to old and do not support std=C++11
I have stopped build domoticz for NAS that use arch-88f6281/82 because the linux kernel and gcc version from synology is to old and do not support std=C++11.
Does this mean it is not possible anymore or do I have to change code too much? Or as said above is new HW the only option?
If it was a simple way to build new version, I would do it..
The problem is if you want to compile native or crosscompile, you need the toolchain from synology and it's to old and not compatible to build latest versions of OpenZwave or Domoticz.
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
Huupke
Posts: 25
Joined: Monday 21 October 2019 10:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Boxtel, Netherlands
Contact:

Re: How to install Domoticz on a Synology NAS

Post by Huupke »

Thanks, I'll move to a RPi3B+ since a new NAS (i.e. DS218+) is too expensive for only being able to run latest Domoticz.
Running V2024.4 on RPi3B+ & development/HEAD on RPi4B
opex
Posts: 3
Joined: Wednesday 20 November 2019 15:14
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by opex »

Hi,

I am now a bit lost and need some help. Newbie with Domoticz.

My current setup is following:
Synology 216j NAS
admin@xxxNAS:~$ uname -m
armv7l


admin@xxxNAS:~$ cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 1 (v7l)
BogoMIPS : 2131.55
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x4
CPU part : 0xc09
CPU revision : 1

processor : 1
model name : ARMv7 Processor rev 1 (v7l)
BogoMIPS : 2125.00
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x4
CPU part : 0xc09
CPU revision : 1

Hardware : Marvell Armada 380/381/382/383/384/385/388 (Device Tree)
Revision : 0000
Serial : 0000000000000000
admin@xxxNAS:~$


admin@xxxNAS:~$ more /etc.defaults/VERSION
majorversion="6"
minorversion="2"
productversion="6.2.2"
buildphase="GM"
buildnumber="24922"
smallfixnumber="4"
packing="official"
packing_id="18"
builddate="2019/10/30"
buildtime="05:23:02"
admin@xxxNAS:~$


What I would like to do is first to connect my Mitsubishi LN-25 air conditioner to Domoticz. I already installed Domoticz v4.0.10717-8 stable release then downloaded and upgraded Domoticz v4.0.11487-8. Now after the upgrade, I am in the nasty situation. Synology Control panel is showing that Beta release is running, but if I check the Domoticz logs, Stable release is the one has started. What I have done wrong?

I have also installed python 3.5.1 succesfully, but for some reason I am not able to get it working. Based on this post https://www.domoticz.com/wiki/Using_Python_plugins I should see something like this, which is not happening.
PluginSystem: Started, Python version ‘3 .xx ‘in the log.

Python is installed:
root@xxxNAS:/volume1/@appstore/domoticz/var/plugins/domoticz-python-melcloud# python3 -V
Python 3.5.1


Executing rights should be ok:
root@xxxNAS:/volume1/@appstore/domoticz/var/plugins/domoticz-python-melcloud# ll
total 40
drwxr-xr-x 3 root root 4096 Nov 22 20:24 .
drwxr-xr-x 3 domoticz root 4096 Nov 22 20:24 ..
drwxr-xr-x 8 root root 4096 Nov 22 20:24 .git
-rwxr-xr-x 1 root root 24308 Nov 22 20:24 plugin.py
-rw-r--r-- 1 root root 27 Nov 22 20:24 README.md


Highly appreciate if someone could help me with this!
opex
Posts: 3
Joined: Wednesday 20 November 2019 15:14
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by opex »

opex wrote: Saturday 23 November 2019 11:06 Hi,

I am now a bit lost and need some help. Newbie with Domoticz.

My current setup is following:
Synology 216j NAS
admin@xxxNAS:~$ uname -m
armv7l


admin@xxxNAS:~$ cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 1 (v7l)
BogoMIPS : 2131.55
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x4
CPU part : 0xc09
CPU revision : 1

processor : 1
model name : ARMv7 Processor rev 1 (v7l)
BogoMIPS : 2125.00
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x4
CPU part : 0xc09
CPU revision : 1

Hardware : Marvell Armada 380/381/382/383/384/385/388 (Device Tree)
Revision : 0000
Serial : 0000000000000000
admin@xxxNAS:~$


admin@xxxNAS:~$ more /etc.defaults/VERSION
majorversion="6"
minorversion="2"
productversion="6.2.2"
buildphase="GM"
buildnumber="24922"
smallfixnumber="4"
packing="official"
packing_id="18"
builddate="2019/10/30"
buildtime="05:23:02"
admin@xxxNAS:~$


What I would like to do is first to connect my Mitsubishi LN-25 air conditioner to Domoticz. I already installed Domoticz v4.0.10717-8 stable release then downloaded and upgraded Domoticz v4.0.11487-8. Now after the upgrade, I am in the nasty situation. Synology Control panel is showing that Beta release is running, but if I check the Domoticz logs, Stable release is the one has started. What I have done wrong?

I have also installed python 3.5.1 succesfully, but for some reason I am not able to get it working. Based on this post https://www.domoticz.com/wiki/Using_Python_plugins I should see something like this, which is not happening.
PluginSystem: Started, Python version ‘3 .xx ‘in the log.

Python is installed:
root@xxxNAS:/volume1/@appstore/domoticz/var/plugins/domoticz-python-melcloud# python3 -V
Python 3.5.1


Executing rights should be ok:
root@xxxNAS:/volume1/@appstore/domoticz/var/plugins/domoticz-python-melcloud# ll
total 40
drwxr-xr-x 3 root root 4096 Nov 22 20:24 .
drwxr-xr-x 3 domoticz root 4096 Nov 22 20:24 ..
drwxr-xr-x 8 root root 4096 Nov 22 20:24 .git
-rwxr-xr-x 1 root root 24308 Nov 22 20:24 plugin.py
-rw-r--r-- 1 root root 27 Nov 22 20:24 README.md


Highly appreciate if someone could help me with this!
Hold on, you can ignore this request. All of the sudden Domosticz version is showing demo version and I was able to get Melcoud also working.

On the other hand, any hints or tips are still more tan welcome.

My second step is to add room and outside temperature sensors. I have been thinking wifi and BLE based sensors. Very simple question. If I use wifi sensors, I don't need any extra hardware right? Or do I still need somekind of gateway? Can I find plug and play wifi sensors, I try to avoid arduino type of things.

For BLE sensors somekind of bluetooth gateway is needed. Is normal bluetooth adapter enough, which I just plug into Synology USB port.
Clau
Posts: 2
Joined: Monday 09 December 2019 9:13
Target OS: NAS (Synology & others)
Domoticz version: 4.0.1154
Contact:

Re: How to install Domoticz on a Synology NAS

Post by Clau »

First of all thank you for your work Jumbotroll

I wanna add some sonoff product which need some plugins from https://github.com/gerardwr/Sonoff-Domoticz
But i can not find the correct folder in my NAS directories.

With SSH i can find the Domoticz folder but can not find the plugins subdirectory and have no permission to create it but i am not sure it is a good idea to create subfolders.

Can you help me how to install this plugin?
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 »

Clau wrote: Monday 09 December 2019 9:18 First of all thank you for your work Jumbotroll

I wanna add some sonoff product which need some plugins from https://github.com/gerardwr/Sonoff-Domoticz
But i can not find the correct folder in my NAS directories.

With SSH i can find the Domoticz folder but can not find the plugins subdirectory and have no permission to create it but i am not sure it is a good idea to create subfolders.

Can you help me how to install this plugin?
Did you install the Python version of domoticz?
Python 3 package from synology is required if you choose domoticz with python plugin support.

The plugins folder is located in /usr/local/domoticz/var/plugins on synology!
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
Clau
Posts: 2
Joined: Monday 09 December 2019 9:13
Target OS: NAS (Synology & others)
Domoticz version: 4.0.1154
Contact:

Re: How to install Domoticz on a Synology NAS

Post by Clau »

Thanks for fast answare
Yes of course, python runs on my nas
I've found the correct directory but to work with my device i should run a sonoff "server" on my network too. The idea was to integrate all work in my nas so i was hapy to find your domoticz under synology. But i can not figure how can i run sonoff https://github.com/mdopp/simple-sonoff-server on it.
So now i keep reading mayba find something.

I do not have raspberry and can't buy new devices, i can do some automated thing with my sonof products but not everyting. IFTTT is a joke withoute "and switches" so a home automation program can be the correct solution.
Prozpect
Posts: 4
Joined: Wednesday 30 January 2019 17:27
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by Prozpect »

Hi,

I've installed domoticz about a year ago, had it running but never really got the time to really use it.
I wanted to pick it up again, installed a new version (latest stable version fot the ds918+).
The problem I now have is that the Hardware page is completly empty.
I see no option to include new hardware.
I've plugged in the usb zwave controller that worked before, but nothing shows.
Same goed for devices.

The rest seems to be ok.

Any ideas?

the log seems ok ...

Code: Select all

2020-02-18 09:13:36.450 Status: Domoticz V4.10717 (c)2012-2019 GizMoCuz
2020-02-18 09:13:36.473 Status: Build Hash: b38b49e-modified, Date: 2019-05-09 13:04:08
2020-02-18 09:13:36.473 Status: Startup Path: /usr/local/domoticz/
2020-02-18 09:13:37.797 Sunrise: 07:51:00 SunSet: 17:58:00
2020-02-18 09:13:37.797 Day length: 10:07:00 Sun at south: 12:55:00
2020-02-18 09:13:37.797 Civil twilight start: 07:16:00 Civil twilight end: 18:33:00
2020-02-18 09:13:37.797 Nautical twilight start: 06:37:00 Nautical twilight end: 19:13:00
2020-02-18 09:13:37.797 Astronomical twilight start: 05:57:00 Astronomical twilight end: 19:52:00
2020-02-18 09:13:37.908 Active notification Subsystems: (0/13)
2020-02-18 09:13:38.330 Starting shared server on: :::6144
2020-02-18 09:13:38.044 Status: WebServer(HTTP) started on address: :: with port 8084
2020-02-18 09:13:38.329 Status: WebServer(SSL) started on address: :: with port 8443
2020-02-18 09:13:38.330 Status: TCPServer: shared server started...
2020-02-18 09:13:38.331 Status: RxQueue: queue worker started...
2020-02-18 09:13:40.333 Status: EventSystem: reset all events...
2020-02-18 09:13:40.333 Status: EventSystem: reset all device statuses...
2020-02-18 09:13:40.379 Status: EventSystem: Started
2020-02-18 09:13:40.379 Status: EventSystem: Queue thread started...
2020-02-18 09:17:34.419 Active notification Subsystems: (0/13)
2020-02-18 09:17:44.892 Active notification Subsystems: (0/13)
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 »

Prozpect wrote: Tuesday 18 February 2020 9:41 The problem I now have is that the Hardware page is completely empty.
IAny ideas?
Did you try clearing cache and appcache (different things ?)
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Prozpect
Posts: 4
Joined: Wednesday 30 January 2019 17:27
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by Prozpect »

waaren wrote: Tuesday 18 February 2020 10:01
Prozpect wrote: Tuesday 18 February 2020 9:41 The problem I now have is that the Hardware page is completely empty.
IAny ideas?
Did you try clearing cache and appcache (different things ?)
No, how can I do that?
Prozpect
Posts: 4
Joined: Wednesday 30 January 2019 17:27
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by Prozpect »

Prozpect wrote: Tuesday 18 February 2020 10:07
waaren wrote: Tuesday 18 February 2020 10:01
Prozpect wrote: Tuesday 18 February 2020 9:41 The problem I now have is that the Hardware page is completely empty.
IAny ideas?
Did you try clearing cache and appcache (different things ?)
No, how can I do that?
Ah, browser cache.
Thanks, it worked!
dooblem
Posts: 1
Joined: Saturday 22 February 2020 13:22
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to install Domoticz on a Synology NAS

Post by dooblem »

Hello all,
has anyone been able to use a "Z-Wave.Me UZB Z-Wave Plus USB stick" on a synology ?
It's this product : https://z-wave.me/products/uzb/
Alcloud
Posts: 32
Joined: Sunday 18 June 2017 22:00
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Berlin, Germany
Contact:

Re: How to install Domoticz on a Synology NAS

Post by Alcloud »

dooblem wrote: Saturday 22 February 2020 13:29 Hello all,
has anyone been able to use a "Z-Wave.Me UZB Z-Wave Plus USB stick" on a synology ?
It's this product : https://z-wave.me/products/uzb/
I have been using this on Synology DS218 for the last 2 years. Works great.
Creaky
Posts: 20
Joined: Monday 12 December 2016 15:45
Target OS: NAS (Synology & others)
Domoticz version: 2020.2
Location: NL
Contact:

Re: How to install Domoticz on a Synology NAS

Post by Creaky »

Clau wrote: Monday 09 December 2019 21:32 Thanks for fast answare
Yes of course, python runs on my nas
I've found the correct directory but to work with my device i should run a sonoff "server" on my network too. The idea was to integrate all work in my nas so i was hapy to find your domoticz under synology. But i can not figure how can i run sonoff https://github.com/mdopp/simple-sonoff-server on it.
So now i keep reading mayba find something.

I do not have raspberry and can't buy new devices, i can do some automated thing with my sonof products but not everyting. IFTTT is a joke withoute "and switches" so a home automation program can be the correct solution.
How savvy are you with a soldering iron and Arduino IDE?
Because you can skip the whole Sonoff server if you just flash your Sonoff devices with EspEasy or Tasmota. When you use one of those firmware's in combination with Domoticz, anything is possible. (I use EspEasy on 10+ Sonoff devices)
Greetz,

·´¯`·.¸¸.·´¯`·. ( Creaky ) .·´¯`·.¸¸.·´¯ `·
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests