domoticz in synology as package! Available now.

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

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: domoticz in synology as package! Available now.

Post by jumbotroll »

waaren wrote: Friday 19 April 2019 16:36
jumbotroll wrote: Friday 19 April 2019 16:07 I have build the latest domoticz 4.10603 Alpine you can test or if that not work, maybe try to reinstall the plugin.
Can you please also build this version with Python for Braswell- DSM 6.2. I want to test dzVents' domoticz.triggerIFTTT on my Synology 916+
Many thanks !
Ok. Uploaded :)
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
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by waaren »

jumbotroll wrote: Friday 19 April 2019 17:23 Ok. Uploaded :)
Thx. downloaded, installed and tested. Working like a charm !
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
schumi2004
Posts: 24
Joined: Tuesday 17 October 2017 19:38
Target OS: NAS (Synology & others)
Domoticz version: 4.10603
Contact:

Re: domoticz in synology as package! Available now.

Post by schumi2004 »

jumbotroll wrote: Friday 19 April 2019 16:07
schumi2004 wrote: Friday 19 April 2019 13:34 @jumbotroll
Since i upgraded to version 4.10602 i see a issue with python plugin iDetect
(https://www.domoticz.com/forum/viewtopic.php?t=20467)

2019-04-19 13:26:56.629 Error: (iDetect Wifi presence detection) Aborting plugin initialization because SSH client could not be found
2019-04-19 13:27:06.779 Error: (iDetect Wifi presence detection) Plugin initialization did not complete successfully. Check the (debug) log for startup errors.

For some reason it can't find SSH client but it always worked and nothing has changed to the Synology system, no DSM upgrade or anything like that.
SSH still workes like before so no noticeable changes there either.
I can't downgrade easily because Synology doesn't let you.
Any ideas?
Nothing changed in the package only updated domoticz from latest source.
Maybe something went wrong when you updated?
I have build the latest domoticz 4.10603 Alpine you can test or if that not work, maybe try to reinstall the plugin.
My apologies for my late reply but just installed version 4.10603 and the error message regarding SSH client is gone, script is working fine now.
It looks like something was wrong in version 10602 regarding SSH client then.
schumi2004
Posts: 24
Joined: Tuesday 17 October 2017 19:38
Target OS: NAS (Synology & others)
Domoticz version: 4.10603
Contact:

Re: domoticz in synology as package! Available now.

Post by schumi2004 »

@jumbotroll

Got 1 thing resolved but stumbled on something else, it must have been there for a long time now because the dzVents script never worked.
I'm using a simple dzVents script named LEDSlaveDemo found here: https://www.domoticz.com/forum/viewtopic.php?t=23568
But it never worked.
Then i did enable debugging for dzVents and noticed below error:

Error: EventSystem: in /usr/local/domoticz/dzVents/runtime/dzVents.lua: /usr/local/domoticz/dzVents/runtime/persistence.lua:24: /usr/local/domoticz/var/scripts/dzVents/domoticzData.lua: No such file or directory

And the error message is wrong because those files are available:
admin@DS715:/usr/local/domoticz/dzVents/runtime$ ls -la
total 248
drwxr-xr-x 6 domoticz root 4096 Apr 19 16:05 .
drwxr-xr-x 4 domoticz root 4096 Apr 19 16:05 ..
-rw-r--r-- 1 domoticz root 1213 Apr 19 16:05 Camera.lua
drwxr-xr-x 2 domoticz root 4096 Apr 19 16:05 device-adapters
-rw-r--r-- 1 domoticz root 1618 Apr 19 16:05 Device.lua
-rw-r--r-- 1 domoticz root 18512 Apr 19 16:05 Domoticz.lua
-rw-r--r-- 1 domoticz root 2514 Apr 19 16:05 dzVents.lua
-rw-r--r-- 1 domoticz root 28621 Apr 19 16:05 EventHelpers.lua
-rw-r--r-- 1 domoticz root 12426 Apr 19 16:05 HistoricalStorage.lua
-rw-r--r-- 1 domoticz root 1077 Apr 19 16:05 HTTPResponse.lua
drwxr-xr-x 2 domoticz root 4096 Apr 19 16:05 integration-tests
-rw-r--r-- 1 domoticz root 65212 Apr 19 16:05 lodash.lua
drwxr-xr-x 2 domoticz root 4096 Apr 19 16:05 misc
-rwxr-xr-x 1 domoticz root 5741 Apr 19 16:05 persistence.lua
-rw-r--r-- 1 domoticz root 380 Apr 19 16:05 Security.lua
drwxr-xr-x 6 domoticz root 4096 Apr 19 16:05 tests
-rw-r--r-- 1 domoticz root 5050 Apr 19 16:05 TimedCommand.lua
-rw-r--r-- 1 domoticz root 807 Apr 19 16:05 TimedCommandOptions.lua
-rw-r--r-- 1 domoticz root 32915 Apr 19 16:05 Time.lua
-rw-r--r-- 1 domoticz root 336 Apr 19 16:05 Timer.lua
-rw-r--r-- 1 domoticz root 542 Apr 19 16:05 todo.md
-rw-r--r-- 1 domoticz root 4215 Apr 19 16:05 Utils.lua
-rw-r--r-- 1 domoticz root 1673 Apr 19 16:05 Variable.lua
admin@DS715:/usr/local/domoticz/dzVents/runtime$

I did some searching in this topic and found that this error is seen beofre but couldn;t find a solution for it.
I did noticed that there are different permisions because persistence.lua hass 755 and the rest 644 so i changed other lua script files to 755 also but it did not help.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by waaren »

schumi2004 wrote: Sunday 21 April 2019 12:41 Got 1 thing resolved but stumbled on something else, it must have been there for a long time now because the dzVents script never worked.
I'm using a simple dzVents script named LEDSlaveDemo found here: https://www.domoticz.com/forum/viewtopic.php?t=23568
But it never worked.
Then i did enable debugging for dzVents and noticed below error:

Error: EventSystem: in /usr/local/domoticz/dzVents/runtime/dzVents.lua: /usr/local/domoticz/dzVents/runtime/persistence.lua:24: /usr/local/domoticz/var/scripts/dzVents/domoticzData.lua: No such file or directory

Looks like a similar problem as been discussed here
In short:
  • make a backup of domoticz.db and all your scripts / plugins.
  • remove domoticz package
  • install latest domoticz package
  • stop domoticz
  • restore your database and scripts / plugins
  • start domoticz
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
schumi2004
Posts: 24
Joined: Tuesday 17 October 2017 19:38
Target OS: NAS (Synology & others)
Domoticz version: 4.10603
Contact:

Re: domoticz in synology as package! Available now.

Post by schumi2004 »

@waaren
You fixed it, thank you ;)
The steps i took are.
  • make a backup of domoticz.db and all your scripts / plugins
  • remove domoticz package
  • install latest domoticz package
  • stop domoticz
  • check directory if needed folders and files are there
  • start domoticz
  • restore backup in GUI
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: domoticz in synology as package! Available now.

Post by jumbotroll »

Domoticz Stable V4.0.10693 for DSM 6.2 for synology is uploaded.
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
Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by Gravityz »

Thanks,

i was looking under the beta to see if there was a new version out
noticed the stable release message from remb0 on the forum.

I downloaded your package (which seems a higher stable build) and installed it.
sofar looking good.

I am still on DSM 6.2.1 because i did not receive the update to 6.2.2. message yet.

did a couple of handy dzvents scripts to get multiple lines on a text device.
coupled this with telegram so now i get al the notifications even when not connected to domoticz through vpn.

jumbotroll wrote: Monday 06 May 2019 16:21 Domoticz Stable V4.0.10693 for DSM 6.2 for synology is uploaded.
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: domoticz in synology as package! Available now.

Post by jumbotroll »

Gravityz wrote: Wednesday 08 May 2019 19:07 Thanks,

i was looking under the beta to see if there was a new version out
noticed the stable release message from remb0 on the forum.

I downloaded your package (which seems a higher stable build) and installed it.
sofar looking good.

I am still on DSM 6.2.1 because i did not receive the update to 6.2.2. message yet.

did a couple of handy dzvents scripts to get multiple lines on a text device.
coupled this with telegram so now i get al the notifications even when not connected to domoticz through vpn.
I am on 6.22 and can confirm that is ok to upgrade.
I manually downloaded 6.22 from here: https://archive.synology.com/download/D ... 2.2/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
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: domoticz in synology as package! Available now.

Post by jumbotroll »

Domoticz version 4.10717 released (Stable) for Synology

Uploading later tonight 8-)
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
Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by Gravityz »

nice
thanks

howcome this is also called a stable version and not a beta?

jumbotroll wrote: Thursday 09 May 2019 17:38 Domoticz version 4.10717 released (Stable) for Synology

Uploading later tonight 8-)
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: domoticz in synology as package! Available now.

Post by jumbotroll »

Gravityz wrote: Thursday 09 May 2019 17:48 nice
thanks

howcome this is also called a stable version and not a beta?

jumbotroll wrote: Thursday 09 May 2019 17:38 Domoticz version 4.10717 released (Stable) for Synology

Uploading later tonight 8-)
Maybe there was some bug in first in latest "stable" version? Check github..
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
User avatar
mongoose
Posts: 42
Joined: Friday 22 November 2013 10:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by mongoose »

@jumbotroll - Big thank you :) appreciate all the work you do!
Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by Gravityz »

Hi jumbotroll,

is it possible that you can make a new build for apollolake (DS718+ without python)

there is a bug in the current build which affect the log graph on all switches.
They seem to have fixed this in the latest build

thanks

hopefully this also brings back the new functionality in the logs regarding new graphs (graphs above the text log)
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: domoticz in synology as package! Available now.

Post by jumbotroll »

Gravityz wrote: Sunday 12 May 2019 9:47 Hi jumbotroll,

is it possible that you can make a new build for apollolake (DS718+ without python)

there is a bug in the current build which affect the log graph on all switches.
They seem to have fixed this in the latest build

thanks

hopefully this also brings back the new functionality in the logs regarding new graphs (graphs above the text log)
Latest Beta build is uploaded 8-)
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
Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by Gravityz »

Thanks,
tested it and bug is fixed in 734

only a minor issue (non dimmable switches(physical or virtual) display on values as 99%, 98% or 100%
Already mentioned this on github
not a big deal(but not correct)



jumbotroll wrote: Sunday 12 May 2019 12:05
Gravityz wrote: Sunday 12 May 2019 9:47 Hi jumbotroll,

is it possible that you can make a new build for apollolake (DS718+ without python)

there is a bug in the current build which affect the log graph on all switches.
They seem to have fixed this in the latest build

thanks

hopefully this also brings back the new functionality in the logs regarding new graphs (graphs above the text log)
Latest Beta build is uploaded 8-)
gbuico
Posts: 14
Joined: Saturday 25 November 2017 13:39
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Nice, France
Contact:

Re: domoticz in synology as package! Available now.

Post by gbuico »

@jumbotroll

Hi jumbotroll ... sorry if this may be a silly question but... I'm an old user of Domoticz on Raspberry and since a month I'm running your version on my Synology DS218j and,,, it's just great.
Now version 10717 is out and you aligned very quickly... but... what is the right procedure for the upgrade?
In a very simplicistic way I tried to use the normal update process from the Domoticz menu... I hope I did not corrupt anything in my Synology because it goes to the end of the update in a smooth and successful way... but then I still have the old version.
Can you be so kind an give me whatever advice?
Thanks for your work anyway
Giacomo

DSM 6.2
Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by Gravityz »

wow.

i just noticed they implemented openzwave v1.6 and also a new version of dzvents.
very productive sunday :-)
things are going fast.
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: domoticz in synology as package! Available now.

Post by jumbotroll »

gbuico wrote: Sunday 12 May 2019 16:15 @jumbotroll

Hi jumbotroll ... sorry if this may be a silly question but... I'm an old user of Domoticz on Raspberry and since a month I'm running your version on my Synology DS218j and,,, it's just great.
Now version 10717 is out and you aligned very quickly... but... what is the right procedure for the upgrade?
In a very simplicistic way I tried to use the normal update process from the Domoticz menu... I hope I did not corrupt anything in my Synology because it goes to the end of the update in a smooth and successful way... but then I still have the old version.
Can you be so kind an give me whatever advice?
Thanks for your work anyway
Giacomo

DSM 6.2
If your prev version is very old, you have to uninstall domoticz from package center, before you install the new version.
Most of the time, you only have to install over the old version.
Remember to take backup of domoticz database and if you have scripts or plugins.
I have never heard of any corrupt synology after installing these packages, so don't worry 8-)
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
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: domoticz in synology as package! Available now.

Post by jumbotroll »

Gravityz wrote: Sunday 12 May 2019 17:02 wow.

i just noticed they implemented openzwave v1.6 and also a new version of dzvents.
very productive sunday :-)
things are going fast.
I will build a new version for you later tonight with openzwave v.1.6 new dzvents :-)
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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest