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 »

Domoticz Updated to v2.0.2903.

Domoticz-5.2_2.0.2903-7 All-arch with USB drivers and OpenZWave 1.3.444.

Full list here: http://jadahl.dscloud.me/sspks/index.php?fulllist=true

Regards
Jumbotroll
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
mvveelen
Posts: 697
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by mvveelen »

Wow, Jumbotroll, when you are on a roll, you are on a roll !!

I love the work you're doing for the Synology community / Domoticz users. Thank you very much.

A big hand for Jumbotroll :D !!
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
User avatar
G3rard
Posts: 669
Joined: Wednesday 04 March 2015 22:15
Target OS: -
Domoticz version: No
Location: The Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by G3rard »

I second that! Indeed great work Jumbotroll!!!
Not using Domoticz anymore
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 »

@mvveelen
@G3rard

Thanks for the feedback guys!
Have spent alot of my free time on this project. And I do not even use OpenZwave :D

Regards
Jumbotroll
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
dpons039
Posts: 7
Joined: Monday 10 August 2015 12:38
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by dpons039 »

The updates are rolling again and they are working great, no issues at all!!

Great job guys :D

BTW, I have found a way to have the built-in SSL to work but with the update the configuration is being lost, ¿is there any way to keep that changes or have a flag or smthing?

I manually modify the start-stop-status file by adding 2 more variables: -sslwww ${RSSLPORT} -sslcert ${RSSLCERT}
Synology NAS 415+ | Raspberry + Aeon Z-Stick Gen5
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 »

dpons039 wrote:The updates are rolling again and they are working great, no issues at all!!

Great job guys :D

BTW, I have found a way to have the built-in SSL to work but with the update the configuration is being lost, ¿is there any way to keep that changes or have a flag or smthing?

I manually modify the start-stop-status file by adding 2 more variables: -sslwww ${RSSLPORT} -sslcert ${RSSLCERT}
I have build a test version for you with these line included in start-stop-status.

This is the also domoticz_avoton-5.2_2.0.2903-7.spk, take backup of db and uninstall prev version and reinstall this:
Download here: http://jadahl.com/domoticz_avoton-5.2_2.0.2903-7.spk (with -sslwww ${RSSLPORT} -sslcert ${RSSLCERT})

Regards
Jumbotroll
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
drenergy
Posts: 6
Joined: Sunday 16 August 2015 16:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands, Dordrecht
Contact:

Re: domoticz in synology as package! Available now.

Post by drenergy »

Wow, great work Jumbotroll!

Yesterday i installed the spk on my synology 213 and everything is working fine! Im trying to connect the RFLink Gateway to my Synology NAS. I see in the log of Domoticz the initializing of the RFlink, after that i receive a few devices like my weather station. Then i got a now log entry with a new initializing.

Is the RFlink supported in this situation? And where can i find detailed logging which i can provide to the RFLink Gateway team?

Thank in advance and keep up the good work!
dpons039
Posts: 7
Joined: Monday 10 August 2015 12:38
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by dpons039 »

jumbotroll wrote:
dpons039 wrote:The updates are rolling again and they are working great, no issues at all!!

Great job guys :D

BTW, I have found a way to have the built-in SSL to work but with the update the configuration is being lost, ¿is there any way to keep that changes or have a flag or smthing?

I manually modify the start-stop-status file by adding 2 more variables: -sslwww ${RSSLPORT} -sslcert ${RSSLCERT}
I have build a test version for you with these line included in start-stop-status.

This is the also domoticz_avoton-5.2_2.0.2903-7.spk, take backup of db and uninstall prev version and reinstall this:
Download here: http://jadahl.com/domoticz_avoton-5.2_2.0.2903-7.spk (with -sslwww ${RSSLPORT} -sslcert ${RSSLCERT})

Regards
Jumbotroll
Hey there,
Just installed but it's lacking the 2 settings on the upper side:

WWWROOT="${INSTALL_DIR}/www/"
PID_FILE="${INSTALL_DIR}/var/domoticz.pid"
LOGFILE="${INSTALL_DIR}/var/domoticz.log"
DB_FILE="${INSTALL_DIR}/var/domoticz.db"
PORT="8084"
# SSL PORT - should be different than above
RSSLPORT=""
# SSL pem file route, should include decrypted private key and certificate
RSSLCERT=""


After that, we should have a condition. In case those 2 values are filled the run script should be:
su - ${USER} -c "${DOMOTICZ} -www ${PORT} -wwwroot ${WWWROOT} -sslwww ${RSSLPORT} -sslcert ${RSSLCERT} -approot ${INSTALL_DIR}/ -userdata ${INSTALL_DIR}/var/ -dbase ${DB_FILE} &> $LOGFILE & echo \$! > ${PID_FILE}"

Otherwise it should be:
su - ${USER} -c "${DOMOTICZ} -www ${PORT} -wwwroot ${WWWROOT} -approot ${INSTALL_DIR}/ -userdata ${INSTALL_DIR}/var/ -dbase ${DB_FILE} &> $LOGFILE & echo \$! > ${PID_FILE}"

This will allow any1 to use the SSL if needed, I guess the settings RSSLPORT and RSSLCERT can be preserve in case of an update.
Synology NAS 415+ | Raspberry + Aeon Z-Stick Gen5
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 »

drenergy wrote:Wow, great work Jumbotroll!

Yesterday i installed the spk on my synology 213 and everything is working fine! Im trying to connect the RFLink Gateway to my Synology NAS. I see in the log of Domoticz the initializing of the RFlink, after that i receive a few devices like my weather station. Then i got a now log entry with a new initializing.

Is the RFlink supported in this situation? And where can i find detailed logging which i can provide to the RFLink Gateway team?

Thank in advance and keep up the good work!
I don't use RFlink, so I can't test this.
Ask the guys in Bugs/problem section on this forum.

Regards
Jumbotroll
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 »

@dpons039

New Test for you ;)
domoticz_avoton-5.2_2.0.2907-7.spk
http://jadahl.dscloud.me/sspks/packages ... 2907-7.spk

Regards
Jumbotroll
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
dpons039
Posts: 7
Joined: Monday 10 August 2015 12:38
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by dpons039 »

jumbotroll wrote:@dpons039

New Test for you ;)
domoticz_avoton-5.2_2.0.2907-7.spk
http://jadahl.dscloud.me/sspks/packages ... 2907-7.spk

Regards
Jumbotroll
Thank you very much! Working perfect :D
Synology NAS 415+ | Raspberry + Aeon Z-Stick Gen5
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 »

dpons039 wrote:
jumbotroll wrote:@dpons039

New Test for you ;)
domoticz_avoton-5.2_2.0.2907-7.spk
http://jadahl.dscloud.me/sspks/packages ... 2907-7.spk

Regards
Jumbotroll
Thank you very much! Working perfect :D
Good, then I add this in the next updates.
Regards
Jumbotroll
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
dpons039
Posts: 7
Joined: Monday 10 August 2015 12:38
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by dpons039 »

Good morning,

I have installed the update 2927-7 and I have notice that the Update did remove the information I have for the SSL connection, is there any way to keep that information?

Thank you for your hard work :D
Synology NAS 415+ | Raspberry + Aeon Z-Stick Gen5
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 »

dpons039 wrote:Good morning,

I have installed the update 2927-7 and I have notice that the Update did remove the information I have for the SSL connection, is there any way to keep that information?

Thank you for your hard work :D
RSSLPORT= and RSSLCERT= Settings is overwritten, if not the information is compiled in the start script, so the answer is No ATM.

Regards
Jumbotroll
Last edited by jumbotroll on Thursday 03 September 2015 11:06, 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
mvveelen
Posts: 697
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by mvveelen »

Hi Jumbotroll, how much (extra) work is it to leave the styles folder "as it is" while updating? Just like it is with the scripts folder.

I'm using a slightly different theme that I've uploaded to the styles folder, but it's gone after every update. It isn't that much work to upload that folder after an update, but maybe this folder could be moved while upgrading and moved back after upgrading using the same method as the scripts folder.

No big deal though !

And thank you again for all the updates !
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
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 »

mvveelen wrote:Hi Jumbotroll, how much (extra) work is it to leave the styles folder "as it is" while updating? Just like it is with the scripts folder.

I'm using a slightly different theme that I've uploaded to the styles folder, but it's gone after every update. It isn't that much work to upload that folder after an update, but maybe this folder could be moved while upgrading and moved back after upgrading using the same method as the scripts folder.

No big deal though !

And thank you again for all the updates !
Can you test this?
domoticz_armadaxp-5.2_2.0.2931-7.spk (keep www/styles folder after update)
I don't Know if this is a good solution, but this is a fast quick fix?
http://jadahl.dscloud.me/sspks/packages ... 2931-7.spk

Regards
Jumbotroll
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
mvveelen
Posts: 697
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by mvveelen »

Whaaaaa.....so fast ?!?!

Yes, I just updated the package and the styles folder still contains the theme I'm using. This is great, thank you !!
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
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 »

mvveelen wrote:Whaaaaa.....so fast ?!?!

Yes, I just updated the package and the styles folder still contains the theme I'm using. This is great, thank you !!
Nice :)
This quick fix keep the all /www folder. Going to do some testing later, to only keep the www/styles folder.

Regards
Jumbotroll
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
mvveelen
Posts: 697
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by mvveelen »

That would be the best solution imho because you never know what changes will be added in the rest of the www folder. Thank you for doing this, and if you want me to test: let me know ;)
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
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 »

mvveelen wrote:That would be the best solution imho because you never know what changes will be added in the rest of the www folder. Thank you for doing this, and if you want me to test: let me know ;)
Maybe it is a bad idea to keep the old /styles folder in case of updates.
I think maybe I will work on a another solution..
If there is a "custom-temp" folder in the styles folder we can keep that but update as usual?

This way
www/styles/custom-temp

What do you think about that?

Regards
Jumbotroll
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