Page 49 of 94

Re: domoticz in synology as package! Available now.

Posted: Friday 24 February 2017 11:21
by bertbigb
Many thanks for your quick and clear answers.
I have installed Python also, no problem for me.
Don't like a difficult live ;)

Re: domoticz in synology as package! Available now.

Posted: Friday 24 February 2017 11:24
by EdwinK
Just upgraded to 3.6775. Looks neat. No more dark skin, but happy blue-ish.

Re: domoticz in synology as package! Available now.

Posted: Friday 24 February 2017 12:25
by tjofras
Hmm not sure if I screwed up my installation by trying to update to a new version inside domoticz (I figured out you should do it from the synology package center a bit too late), but I have some issues with my versions:

I run a Synology 416j

In domoticz it says I run version 3.5876
In synology package center it says I've installed version 3.0.5877-7

The synology says I have the latest version so I haven't been able to update from there. I've tried to install the latest file from jadahl.com but it doesn't change anything and inside domoticz
Does the package include the wrong version?

Re: domoticz in synology as package! Available now.

Posted: Friday 24 February 2017 12:55
by Egregius
I had that also with stable 5877. Nothing to worry about.

Re: domoticz in synology as package! Available now.

Posted: Friday 24 February 2017 18:00
by GJKNL
Upgraded to DSM 6.1 and latest beta on my Syno 215. Domoticz is running well.
Now I do not have rights anymore to copy scripts to the NAS. in WINscp I get: "Permission denied"
A few months ago I read somewere on this forum about such issue, but I can't find it. I know I have to modify the rights somewhere in the nas, but don't know how. Who can help?

Re: domoticz in synology as package! Available now.

Posted: Saturday 25 February 2017 17:42
by rjblake
GJKNL wrote:Upgraded to DSM 6.1 and latest beta on my Syno 215. Domoticz is running well.
Now I do not have rights anymore to copy scripts to the NAS. in WINscp I get: "Permission denied"
A few months ago I read somewere on this forum about such issue, but I can't find it. I know I have to modify the rights somewhere in the nas, but don't know how. Who can help?
I login to NAS using terminal application (ssh admin@"NAS-IP-Address"), enter admin password then type "sudo -i" and re-enter admin password. Otherwise try these steps https://forum.synology.com/enu/viewtopic.php?t=116295

Re: domoticz in synology as package! Available now.

Posted: Sunday 26 February 2017 8:49
by GJKNL
Thnx, Its working now!

Re: domoticz in synology as package! Available now.

Posted: Sunday 26 February 2017 11:35
by jumbotroll
UPDATED URL's

DSM 6.0 Beta http://www.jadahl.com/domoticz_beta_6/
DSM 6.0 Beta with Python Plugin http://www.jadahl.com/domoticz_beta_6_python/

DSM 6.1 Beta http://www.jadahl.com/domoticz_beta_6.1/
DSM 6.1 Beta with Python Plugin http://www.jadahl.com/domoticz_beta_6.1_python/

Drivers for DSM 6.1 has not been tested for all Synology models yet, so if you update your Synology DSM 6.1, I can unfortunately not guarantee that the USB drivers for domoticz works on all models.
This is because Synology has not released the source code for DSM 6.1 and it is not certain they're going to do it.

See full list of links here: http://www.jadahl.com/

Re: domoticz in synology as package! Available now.

Posted: Sunday 26 February 2017 15:39
by domonator
Hello,
What's the best way to upgrade from stable to the latest beta? Currently on 3.0.5877-7, would like to try v3.0.6775-7.
Thanks,
Peter

Re: domoticz in synology as package! Available now.

Posted: Sunday 26 February 2017 16:02
by jumbotroll
domonator wrote:Hello,
What's the best way to upgrade from stable to the latest beta? Currently on 3.0.5877-7, would like to try v3.0.6775-7.
Thanks,
Peter
Just upgrade in package center on your NAS ;)
Download the correct DSM version for your NAS and install, that's it.

Re: domoticz in synology as package! Available now.

Posted: Thursday 02 March 2017 13:49
by EdwinK
Thanks for all your work on this. Makes it easier to install Domoticz this way.

Re: domoticz in synology as package! Available now.

Posted: Thursday 02 March 2017 20:50
by Gravityz
so is there at least a list of synology models which experienced problems?


jumbotroll wrote:UPDATED URL's

DSM 6.0 Beta http://www.jadahl.com/domoticz_beta_6/
DSM 6.0 Beta with Python Plugin http://www.jadahl.com/domoticz_beta_6_python/

DSM 6.1 Beta http://www.jadahl.com/domoticz_beta_6.1/
DSM 6.1 Beta with Python Plugin http://www.jadahl.com/domoticz_beta_6.1_python/

Drivers for DSM 6.1 has not been tested for all Synology models and there is reported that some has problems, so if you update your Synology DSM 6.1, I can unfortunately not guarantee that the USB drivers for domoticz works on all models.
This is because Synology has not released the source code for DSM 6.1 and it is not certain they're going to do it.

See full list of links here: http://www.jadahl.com/

Re: domoticz in synology as package! Available now.

Posted: Thursday 02 March 2017 21:11
by jumbotroll
Gravityz wrote:so is there at least a list of synology models which experienced problems?
So far only arch-alpine and arch-alpine4k for DSM6.1 is reported with driver problem.

Edit:
arch-alpine for DSM 6.1 seems to be working again with the new drivers compiled with linux kernel 3.10.102.

Re: domoticz in synology as package! Available now.

Posted: Friday 03 March 2017 1:34
by waaren
DSM 6.1 Beta http://www.jadahl.com/domoticz_beta_6.1/ (tested V3.0.6775)
DSM 6.1 Beta with Python Plugin http://www.jadahl.com/domoticz_beta_6.1_python/ (tested V3.6800)

both working without problems on Synology DS916+ with DSM 6.1-15047

Re: domoticz in synology as package! Available now.

Posted: Friday 03 March 2017 21:58
by rjblake
@jumbotroll - curious as to why the start-stop-status script is being overwritten on every update. I keep my SSL certificate in a separate folder so I don't have to maintain a number of these for each app that uses SSL, but every update I need to edit the start-stop-status script. Other than that, working well and appreciate your work

Re: domoticz in synology as package! Available now.

Posted: Friday 03 March 2017 22:34
by jumbotroll
@rjblake
Because then I have to modify the installer and update script and there are so many different desires and I have chosen to do minimize the number of modifications.
I have unfortunately limited time to fulfill all wishes.

Re: domoticz in synology as package! Available now.

Posted: Friday 03 March 2017 23:41
by Gravityz
We here You.

I just had a MIB revelation

All Hail JT(JumboTroll)

indeed keep up the good work.


jumbotroll wrote:@rjblake
Because then I have to modify the installer and update script and there are so many different desires and I have chosen to do minimize the number of modifications.
I have unfortunately limited time to fulfill all wishes.

Re: domoticz in synology as package! Available now.

Posted: Saturday 04 March 2017 7:25
by Egregius
rjblake wrote:@jumbotroll - curious as to why the start-stop-status script is being overwritten on every update. I keep my SSL certificate in a separate folder so I don't have to maintain a number of these for each app that uses SSL, but every update I need to edit the start-stop-status script. Other than that, working well and appreciate your work
You could create a shell script for this.
After update of the package, stop it again, run the script and start it again.

I now have this as script, to disable the paging in tables.
Upon next update I'll add my logfile location.

Code: Select all

#!/bin/bash
find /volume1/@appstore/domoticz/www/ -type f -name "*.js" -exec sudo sed -i 's/\"iDisplayLength\" : 25,/\"iDisplayLength\" : -1,\"paging\": false,/g' {} +
find /volume1/@appstore/domoticz/www/ -type f -name "*.html" -exec sudo sed -i 's/\"iDisplayLength\" : 25,/\"iDisplayLength\" : -1,\"paging\": false,/g' {} +
find /volume1/@appstore/domoticz/www/ -type f -name "*.js" -exec sudo sed -i 's/\"iDisplayLength\": 25,/\"iDisplayLength\" : -1,\"paging\": false,/g' {} +
find /volume1/@appstore/domoticz/www/ -type f -name "*.html" -exec sudo sed -i 's/\"iDisplayLength\": 25,/\"iDisplayLength\" : -1,\"paging\": false,/g' {} +
find /volume1/@appstore/domoticz/www/ -type f -name "*.js" -exec sudo sed -i 's/\"iDisplayLength\" : 10,/\"iDisplayLength\" : -1,\"paging\": false,/g' {} +
find /volume1/@appstore/domoticz/www/ -type f -name "*.html" -exec sudo sed -i 's/\"iDisplayLength\" : 10,/\"iDisplayLength\" : -1,\"paging\": false,/g' {} +
find /volume1/@appstore/domoticz/www/ -type f -name "*.js" -exec sudo sed -i 's/\"iDisplayLength\": 10,/\"iDisplayLength\" : -1,\"paging\": false,/g' {} +
find /volume1/@appstore/domoticz/www/ -type f -name "*.html" -exec sudo sed -i 's/\"iDisplayLength\": 10,/\"iDisplayLength\" : -1,\"paging\": false,/g' {} +
find /volume1/@appstore/domoticz/www/ -type f -name "*.js" -exec sudo sed -i 's/\"iDisplayLength\" : 100,/\"iDisplayLength\" : -1,\"paging\": false,/g' {} +
find /volume1/@appstore/domoticz/www/ -type f -name "*.html" -exec sudo sed -i 's/\"iDisplayLength\" : 100,/\"iDisplayLength\" : -1,\"paging\": false,/g' {} +
replacing a string in a single file is something like this:

Code: Select all

sudo sed -i s/old/new/ /var/packages/domoticz/start-stop-status
@jumbotroll: is there an option to run a script automatically while updating?

Re: domoticz in synology as package! Available now.

Posted: Saturday 04 March 2017 18:50
by rjblake
Egregius wrote: ...
replacing a string in a single file is something like this:

Code: Select all

sudo sed -i s/old/new/ /var/packages/domoticz/start-stop-status
@jumbotroll: is there an option to run a script automatically while updating?
Thanks for the tip. Might just do that, although if I'm remote, running the script is not really an option (not a big fan of leaving SSH ports open for all - already had some known Russian IP trying to get into my system). Guess I could add it to task scheduler to run it

Re: domoticz in synology as package! Available now.

Posted: Wednesday 08 March 2017 22:31
by Egregius
I'm also seeing this in /var/log/messages...
Trying to figure out why my disks won't hibernate...

Code: Select all

2017-03-08T22:28:08+01:00 DiskStation synousbmodemd: usbmodem_lib/usbmodem_atif.cpp:114 Unknown vendor id 0658, assign default ATIF
2017-03-08T22:28:10+01:00 DiskStation synousbmodemd: usbmodem_lib/usbmodem_simhandler.cpp:50 Warning: sim mute before handler init
2017-03-08T22:28:10+01:00 DiskStation synousbmodemd: usbmodem_lib/usbmodem.cpp:481 failed on setup sim handler
2017-03-08T22:28:10+01:00 DiskStation synousbmodemd: usbmodem_lib/usbmodem_list.cpp:116 Failed to init info [7002]
2017-03-08T22:28:10+01:00 DiskStation synousbmodemd: usbmodem_lib/usbmodem.cpp:709 USBModem [7002] is not inited
Don't know if that is recently or always there, never looked at that logfile before.
Anyway, I use http://www.jadahl.com/domoticz_beta_6.1/ on a Syno 1513+ with a rfxcom and Aeotec Gen5 zwave stick.
The var folder of domoticz is moved to a usb stick so the disks aren't constantly in use.
Any ideas?