Page 16 of 94

Re: domoticz in synology as package! Available now.

Posted: Saturday 05 September 2015 14:24
by G3rard
jumbotroll wrote:
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
Do styles appear in Domoticz when they are in the custom-temp folder? Also if there are more than one styles in it? If so then that's a nice solution. (Can't test this right now as I am not at home).

Re: domoticz in synology as package! Available now.

Posted: Saturday 05 September 2015 14:32
by G3rard
@Jumbotroll, I noticed that the file History.txt (in the var folder) is missing in the package. Is it possible to add this file in the packages? When you click on the version number in Domoticz this file is being showed if present.
Thanks in advance!

Re: domoticz in synology as package! Available now.

Posted: Saturday 05 September 2015 14:35
by mvveelen
Sounds like a great idea. You only have to change the name of that theme into "custom-temp" and you're done. That's a safe way of updating :) !

Re: domoticz in synology as package! Available now.

Posted: Saturday 05 September 2015 14:37
by jumbotroll
G3rard wrote: Do styles appear in Domoticz when they are in the custom-temp folder? Also if there are more than one styles in it? If so then that's a nice solution. (Can't test this right now as I am not at home).
How many custom styles do we need?
Maybe if we make a installer script that keep all folder named custom-*
Work still in progress, so I don't know if I can make this work.
I am not a programmer,but a noob learning 8-)

Regards
Jumbotroll

domoticz in synology as package! Available now.

Posted: Saturday 05 September 2015 14:41
by G3rard
jumbotroll wrote: How many custom styles do we need?
Maybe if we make a installer script that keep all folder named custom-*
Work still in progress, so I don't know if I can make this work.
I am not a programmer,but a noob learning 8-)

Regards
Jumbotroll
That's true, I have more custom styles in the folder but I am only using one of them. So keeping one folder is fine. If I want to use another style I can just copy it at that moment.

Re: domoticz in synology as package! Available now.

Posted: Saturday 05 September 2015 14:41
by jumbotroll
G3rard wrote:@Jumbotroll, I noticed that the file History.txt (in the var folder) is missing in the package. Is it possible to add this file in the packages? When you click on the version number in Domoticz this file is being showed if present.
Thanks in advance!
I will take a look at this later :)

Regards
Jumbotroll

Re: domoticz in synology as package! Available now.

Posted: Saturday 05 September 2015 19:41
by ThinkPad
Isn't it possible to keep all the folders in there that don't come with Domoticz by default?
You know that Domoticz writes 'folderA', 'folderB', 'folderC' to that folder, so everything that is not A, B, C should be kept

Re: domoticz in synology as package! Available now.

Posted: Saturday 05 September 2015 21:06
by jumbotroll
@G3rard
History.txt is fixed in 2.0.2950-7.

http://jadahl.dscloud.me/sspks/packages ... 2954-7.spk

Regards
Jumbotroll

Re: domoticz in synology as package! Available now.

Posted: Saturday 05 September 2015 21:17
by G3rard
@jumbotroll Great. Thanks a lot!!!

Re: domoticz in synology as package! Available now.

Posted: Saturday 05 September 2015 22:46
by apepannetje
Hello,

i don't now what kind of pks i have to install on the syno

this is a system of my brother.

the syno nas is a DS212+ Marvell Kirkwood mv6282 2.0Ghz ARM (Marvell ARMADA 300)

i have trye to install domoticz_armada370-5.2_2.0.2841-7.spk
http://jadahl.dscloud.me/sspks/packages ... 2841-7.spk
syno do not accept this packages

Reguard apepannetje

Re: domoticz in synology as package! Available now.

Posted: Saturday 05 September 2015 22:54
by jumbotroll
apepannetje wrote:Hello,

i don't now what kind of pks i have to install on the syno

this is a system of my brother.

the syno nas is a DS212+ Marvell Kirkwood mv6282 2.0Ghz ARM (Marvell ARMADA 300)

i have trye to install domoticz_armada370-5.2_2.0.2841-7.spk
http://jadahl.dscloud.me/sspks/packages ... 2841-7.spk
syno do not accept this packages

Reguard apepannetje
Try this :-)
http://jadahl.dscloud.me/sspks/?arch=88f6282
http://jadahl.dscloud.me/sspks/ DS212+ use arch=88f6282.
Old versions is deleted!

Regards
Jumbotroll

Re: domoticz in synology as package! Available now.

Posted: Saturday 05 September 2015 22:56
by apepannetje
Thanks Jumbotroll for te fast reaction.

I will try it to morrow.

Regards apepannetje

Re: domoticz in synology as package! Available now.

Posted: Sunday 06 September 2015 18:36
by jumbotroll
@G3rard
@mvveelen

Here you can test custom styles folder restore function.
Create folder /www/style/custom-1 to /www/style/custom-3
Max 3 folders, and the name "custom-1" are case sensitive!
The content of these folders will be restored when updating.

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

Regards
Jumbotroll

Re: domoticz in synology as package! Available now.

Posted: Sunday 06 September 2015 18:49
by mvveelen
I renamed the custom-template to custom-1 and updated. The custom-1 folder still existed after updating, so this works :D ! Thanks Jumbotroll !

Re: domoticz in synology as package! Available now.

Posted: Sunday 06 September 2015 18:55
by jumbotroll
mvveelen wrote:I renamed the custom-template to custom-1 and updated. The custom-1 folder still existed after updating, so this works :D ! Thanks Jumbotroll !
Nice 8-)

Regards
Jumbotroll

Re: domoticz in synology as package! Available now.

Posted: Sunday 06 September 2015 20:23
by G3rard
@jumbotroll, thanks for implementing it this way! Will update my version next weekend when I am back from my holiday .

Re: domoticz in synology as package! Available now.

Posted: Sunday 06 September 2015 21:34
by ThinkPad
Seems to work fine, solution works as you explained.
Bit more difficult to see what theme is installed by looking only at filename, but there is only one custom theme needed, so shouldn't be that hard. Just kidding ;)

Re: domoticz in synology as package! Available now.

Posted: Monday 07 September 2015 21:58
by jumbotroll
ThinkPad wrote:Seems to work fine, solution works as you explained.
Bit more difficult to see what theme is installed by looking only at filename, but there is only one custom theme needed, so shouldn't be that hard. Just kidding ;)
Nice Theme ThinkPad :)

I have added the www/styles/ThinkTheme to backup restore in domoticz_armada370-5.2_2.0.2970-7.spk.
If www/styles/ThinkTheme are present it will backup and restore the theme.
http://jadahl.dscloud.me/sspks/index.php?fulllist=true

Regards
Jumbotroll

Re: domoticz in synology as package! Available now.

Posted: Tuesday 08 September 2015 9:00
by ThinkPad
Hahaha great! But i will stick to the general solution ('custom-1') you made, otherwise everyone will come ask you if you can create an exception for their theme.
And i now have included the name of my theme on the bottom of the webinterface of Domoticz, so not a problem anymore :)

Re: domoticz in synology as package! Available now.

Posted: Tuesday 08 September 2015 17:59
by amz4u2nv
Hi jumbotroll,
Just wanted to know how can I tell what version is the Synology package based on -
I am interested in implementing some smoke alarms to domoticz, and wanted to know if the newest synology package has the following in it -
- Implemented: MySensors added support for S_SMOKE/S_DIMMER
- Implemented: RFLink SmokeDetector support

Thanks for a great package by the way.. love it.