domoticz in synology as package! Available now.

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

Moderator: leecollings

bertbigb
Posts: 147
Joined: Thursday 13 August 2015 13:36
Target OS: NAS (Synology & others)
Domoticz version: beta
Location: Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post 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 ;)
Best regards Bert

Synology DS1517+ - DSM 6.2
Raspberry PI2-B, Raspberry Nano - Raspberry PI3 - model B
Xiaomi Gateway - Philips HUE Lights - Zwave - RFXCom(E) with KaKu and other 433MHz devices - Yeelight Lights - Toon
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: domoticz in synology as package! Available now.

Post by EdwinK »

Just upgraded to 3.6775. Looks neat. No more dark skin, but happy blue-ish.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
tjofras
Posts: 4
Joined: Wednesday 15 February 2017 15:03
Target OS: -
Domoticz version:
Location: Sweden
Contact:

Re: domoticz in synology as package! Available now.

Post 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?
User avatar
Egregius
Posts: 2582
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: domoticz in synology as package! Available now.

Post by Egregius »

I had that also with stable 5877. Nothing to worry about.
GJKNL
Posts: 36
Joined: Monday 31 October 2016 9:33
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post 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?
rjblake
Posts: 142
Joined: Friday 21 October 2016 9:25
Target OS: NAS (Synology & others)
Domoticz version:
Location: Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post 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
GJKNL
Posts: 36
Joined: Monday 31 October 2016 9:33
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by GJKNL »

Thnx, Its working now!
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 »

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/
Last edited by jumbotroll on Friday 03 March 2017 17:35, edited 1 time in total.
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
domonator
Posts: 5
Joined: Thursday 12 January 2017 22:14
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post 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
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 »

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.
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
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: domoticz in synology as package! Available now.

Post by EdwinK »

Thanks for all your work on this. Makes it easier to install Domoticz this way.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
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 »

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/
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: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.
Last edited by jumbotroll on Friday 03 March 2017 17:33, edited 2 times in total.
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 »

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
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
rjblake
Posts: 142
Joined: Friday 21 October 2016 9:25
Target OS: NAS (Synology & others)
Domoticz version:
Location: Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post 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
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 »

@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.
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 »

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.
User avatar
Egregius
Posts: 2582
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: domoticz in synology as package! Available now.

Post 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?
rjblake
Posts: 142
Joined: Friday 21 October 2016 9:25
Target OS: NAS (Synology & others)
Domoticz version:
Location: Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post 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
User avatar
Egregius
Posts: 2582
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: domoticz in synology as package! Available now.

Post 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?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests