Domoticz on Synology and smart energy meter
Moderator: leecollings
-
- Posts: 28
- Joined: Monday 26 December 2016 19:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Domoticz on Synology and smart energy meter
I run Domoticz on a rapsberry pi, to monitor my energy and gas usage.
Unfortunately, the raspberry is sensitive for interuptions in power and so on, so I had to re-install it several times and am missing several measurements from those days.
I have read that it is possible to install Domoticz on a Synology nas.
But is it somehow possible than to read the values of the energy meter?
I am now using the usb port (P1 Smart Meter USB)
Unfortunately, the raspberry is sensitive for interuptions in power and so on, so I had to re-install it several times and am missing several measurements from those days.
I have read that it is possible to install Domoticz on a Synology nas.
But is it somehow possible than to read the values of the energy meter?
I am now using the usb port (P1 Smart Meter USB)
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Domoticz on Synology and smart energy meter
Yes that's possible if your Synology NAS does also have a free USB port.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 28
- Joined: Monday 26 December 2016 19:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz on Synology and smart energy meter
Thank you for your quick reply!
That would be great!
I have two USB ports, one is sort of free.
Is it very different from setting up as on a raspberry pi? Do you know if there is some tutorial for this? I have now made a word document how I can set this up on a rapsberry, but do not know at the moment, which steps are the same and which are different.
Are there people who have done this already?
A big advantage is that there will be made a backup automatically on the Synology!
Now I do make a backup from the Raspberry with a script...
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Domoticz on Synology and smart energy meter
Check this wiki page
Yes. Up till now we have 5717 hits on this forum if you search for the word Synology (that is without this post)Are there people who have done this already?

Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 76
- Joined: Sunday 17 February 2019 15:01
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10
- Contact:
Re: Domoticz on Synology and smart energy meter
Yes it is possible.
Install the synology package from jadahl and plug in the usb p1 cable in the synology. How to set up the p1 meter in domoticz, you can read all about it at my blog!
https://www.twoenter.nl/blog/domotica/s ... -domoticz/
If you don't understand Dutch, you can use Google translate to translate it to your language.
Install the synology package from jadahl and plug in the usb p1 cable in the synology. How to set up the p1 meter in domoticz, you can read all about it at my blog!
https://www.twoenter.nl/blog/domotica/s ... -domoticz/
If you don't understand Dutch, you can use Google translate to translate it to your language.
Check my Domoticz tutorials, ESP8266 and Synology blog at https://www.twoenter.nl/blog
-
- Posts: 28
- Joined: Monday 26 December 2016 19:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz on Synology and smart energy meter
I did manage to get it working, thanks to your blog! Thank you!twoenter wrote: ↑Friday 23 October 2020 22:22 Install the synology package from jadahl and plug in the usb p1 cable in the synology. How to set up the p1 meter in domoticz, you can read all about it at my blog!
https://www.twoenter.nl/blog/domotica/s ... -domoticz/
I first installed the latest stable Domoticz-for-Synology package from the link in your blog. I was able to connect to the Domoticz dashboard, but this one keeps saying that there was an update, and this message keeped popping up after updating.
Than I have installed the latest version 2020.2 (was beta, but now the beta state has been removed?) And now the problem was gone.
After that I have connected my self-made P1 cable which I did use with the Domoticz on my Raspberry, but I needed to re-arrange the pinout and I did need an additional usb to TTL adapter.
After that I restored the Domoticz backup from the Raspberry and now it is working and I have my complete history (from several years now).
In the meantime I did get a disc-not-healthy warning from my Synology, but that one suddenly disappeared, so hopefully that was false alarm....
Now I am wondering how to get the Domoticz database added to the hyper backup? I do not see any of the Domoticz files or the Domoticz database file....
@twoenter : do you know how the Domoticz database on the Synology can be added to the backup?
-
- Posts: 28
- Joined: Monday 26 December 2016 19:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz on Synology and smart energy meter
I did find the solution and added a task with next command:
cp -avr /volume1/@appstore/domoticz/var/backups/ /volume1/Bestanden/Komputer_en_mobiel/Domoticz/Backup
Now every day a backup will be made from the complete Domoticz Backup folder (check the automated backup option in Domoticz settings)
I now only have still one problem: within Google Chrome (Windows 10 and Android) I can not open the meter logpage for some reason. It does work in Microsoft Edge....
cp -avr /volume1/@appstore/domoticz/var/backups/ /volume1/Bestanden/Komputer_en_mobiel/Domoticz/Backup
Now every day a backup will be made from the complete Domoticz Backup folder (check the automated backup option in Domoticz settings)
I now only have still one problem: within Google Chrome (Windows 10 and Android) I can not open the meter logpage for some reason. It does work in Microsoft Edge....
-
- Posts: 76
- Joined: Sunday 17 February 2019 15:01
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10
- Contact:
Re: Domoticz on Synology and smart energy meter
Good job!
I think you have to clear your appcache for domoticz in chrome
I think you have to clear your appcache for domoticz in chrome
Check my Domoticz tutorials, ESP8266 and Synology blog at https://www.twoenter.nl/blog
Who is online
Users browsing this forum: No registered users and 1 guest