Page 15 of 94

Re: domoticz in synology as package! Available now.

Posted: Tuesday 01 September 2015 17:58
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

Re: domoticz in synology as package! Available now.

Posted: Tuesday 01 September 2015 18:26
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 !!

Re: domoticz in synology as package! Available now.

Posted: Tuesday 01 September 2015 19:25
by G3rard
I second that! Indeed great work Jumbotroll!!!

Re: domoticz in synology as package! Available now.

Posted: Tuesday 01 September 2015 23:21
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

Re: domoticz in synology as package! Available now.

Posted: Tuesday 01 September 2015 23:43
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}

Re: domoticz in synology as package! Available now.

Posted: Wednesday 02 September 2015 0:42
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

Re: domoticz in synology as package! Available now.

Posted: Wednesday 02 September 2015 9:21
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!

Re: domoticz in synology as package! Available now.

Posted: Wednesday 02 September 2015 9:37
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.

Re: domoticz in synology as package! Available now.

Posted: Wednesday 02 September 2015 11:03
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

Re: domoticz in synology as package! Available now.

Posted: Wednesday 02 September 2015 11:10
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

Re: domoticz in synology as package! Available now.

Posted: Wednesday 02 September 2015 12:39
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

Re: domoticz in synology as package! Available now.

Posted: Wednesday 02 September 2015 13:16
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

Re: domoticz in synology as package! Available now.

Posted: Thursday 03 September 2015 8:54
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

Re: domoticz in synology as package! Available now.

Posted: Thursday 03 September 2015 9:11
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

Re: domoticz in synology as package! Available now.

Posted: Thursday 03 September 2015 10:56
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 !

Re: domoticz in synology as package! Available now.

Posted: Thursday 03 September 2015 12:08
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

Re: domoticz in synology as package! Available now.

Posted: Thursday 03 September 2015 12:12
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 !!

Re: domoticz in synology as package! Available now.

Posted: Thursday 03 September 2015 12:20
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

Re: domoticz in synology as package! Available now.

Posted: Thursday 03 September 2015 12:33
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 ;)

Re: domoticz in synology as package! Available now.

Posted: Saturday 05 September 2015 14:13
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