domoticz in synology as package! Available now.
Moderator: leecollings
-
- Posts: 107
- Joined: Tuesday 08 December 2015 9:59
- Target OS: NAS (Synology & others)
- Domoticz version: 2020.1
- Location: Netherlands
- Contact:
Re: domoticz in synology as package! Available now.
A manual update did the trick: downloaded the package and installed it over the version that had been automatically updated.
So it appears something is not going well in the automated update process (is the right version available in the repository, right version automatically selected for the processor type?)
Maybe something to check.
Thanks for your quick response, as always
So it appears something is not going well in the automated update process (is the right version available in the repository, right version automatically selected for the processor type?)
Maybe something to check.
Thanks for your quick response, as always
I moved to HomeAssistant. It was fun while it lasted!
- 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.
Check the URLs you have in the Package Center --> Pakckage source!mcwieger wrote:A manual update did the trick: downloaded the package and installed it over the version that had been automatically updated.
So it appears something is not going well in the automated update process (is the right version available in the repository, right version automatically selected for the processor type?)
Maybe something to check.
Thanks for your quick response, as always
If you running DSM5.2 you should have DSM5.2 URLs and for DSM6.x you must update to DSM6.x URLs
For DSM 5.2 Beta versions:
http://www.jadahl.com/domoticz_beta/
For DSM 6.x Beta versions:
http://www.jadahl.com/domoticz_beta_6/
For DSM5.2 Stable versions:
http://www.jadahl.com/domoticz_stable/
For DSM6.x Stable versions:
http://www.jadahl.com/domoticz_stable_6/
Delete the DSM5.2 URLs if you have updated your NAS to DSM6.x
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
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
-
- Posts: 107
- Joined: Tuesday 08 December 2015 9:59
- Target OS: NAS (Synology & others)
- Domoticz version: 2020.1
- Location: Netherlands
- Contact:
Re: domoticz in synology as package! Available now.
That was it. I had added 6.0, but 5.2 was still there next to it...
I moved to HomeAssistant. It was fun while it lasted!
-
- Posts: 1
- Joined: Sunday 04 December 2016 18:09
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: domoticz in synology as package! Available now.
Hi guys,
I would like Domoticz to run on my Synology DS1515 +.
I bought this USB Flash Drive:
Https://www.amazon.de/Z-Wave-ZME-UZB1-S ... 4GQK7GDADW
If I would like to integrate actuators, the load screen is not finished (Have already waited 30 minutes) and if I break the load then the actuators are incorporated as "Unknow".
I tested it with Domoticz Stable and Beta.
My DSM: 6.0.2-8451 Update 5
(Have also pictures, which I can send as needed)
What am I doing wrong?
Thanks for your reply
I would like Domoticz to run on my Synology DS1515 +.
I bought this USB Flash Drive:
Https://www.amazon.de/Z-Wave-ZME-UZB1-S ... 4GQK7GDADW
If I would like to integrate actuators, the load screen is not finished (Have already waited 30 minutes) and if I break the load then the actuators are incorporated as "Unknow".
I tested it with Domoticz Stable and Beta.
My DSM: 6.0.2-8451 Update 5
(Have also pictures, which I can send as needed)
What am I doing wrong?
Thanks for your reply
Re: domoticz in synology as package! Available now.
Hi Jumbotroll.
Please could you update the 5.2 beta to latest version as current version has bug that does not allow harmony Logitech to work. This was fixed in latest beta. Much appreciated.
For: http://www.jadahl.com/domoticz_beta/?arch=bromolow
Please could you update the 5.2 beta to latest version as current version has bug that does not allow harmony Logitech to work. This was fixed in latest beta. Much appreciated.
For: http://www.jadahl.com/domoticz_beta/?arch=bromolow
- jorik
- Posts: 17
- Joined: Thursday 12 June 2014 16:16
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5877
- Location: Eindhoven, Netherlands
- Contact:
Re: domoticz in synology as package! Available now.
Hi Jumbotroll,
Together with Synology Support I've been investigation why I cannot add your repository to my Package Center. It seems that the server/service does not accept my DS model (411+II) as can be seen when running the following commands with curl. For the 411+ it gives results, but for 411+II it does not:
vs
If you have an idea about how to fix this, that would be great. Otherwise I will try to install a package server and perform more debugging myself.
Thanks,
Jorik
Together with Synology Support I've been investigation why I cannot add your repository to my Package Center. It seems that the server/service does not accept my DS model (411+II) as can be seen when running the following commands with curl. For the 411+ it gives results, but for 411+II it does not:
Code: Select all
curl -L -A "synology_x86_411+ DSM6.1-14902 (package)" --data "package_update_channel=stable&unique=synology_x86_411+&build=14903&language=enu&major=6&arch=x86&minor=1&timezone=Amsterdam" "http://www.jadahl.com/domoticz_stable_6/"
Code: Select all
curl -L -A "synology_x86_411+II DSM6.1-14902 (package)" --data "package_update_channel=stable&unique=synology_x86_411+II&build=14903&language=enu&major=6&arch=x86&minor=1&timezone=Amsterdam" "http://www.jadahl.com/domoticz_stable_6/"
Thanks,
Jorik
- 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.
I have no clue why this not working, but I think it's a bug in the sspks server because it is the same problem with DS716+II.jorik wrote:Hi Jumbotroll,
Together with Synology Support I've been investigation why I cannot add your repository to my Package Center. It seems that the server/service does not accept my DS model (411+II) as can be seen when running the following commands with curl. For the 411+ it gives results, but for 411+II it does not:vsCode: Select all
curl -L -A "synology_x86_411+ DSM6.1-14902 (package)" --data "package_update_channel=stable&unique=synology_x86_411+&build=14903&language=enu&major=6&arch=x86&minor=1&timezone=Amsterdam" "http://www.jadahl.com/domoticz_stable_6/"
If you have an idea about how to fix this, that would be great. Otherwise I will try to install a package server and perform more debugging myself.Code: Select all
curl -L -A "synology_x86_411+II DSM6.1-14902 (package)" --data "package_update_channel=stable&unique=synology_x86_411+II&build=14903&language=enu&major=6&arch=x86&minor=1&timezone=Amsterdam" "http://www.jadahl.com/domoticz_stable_6/"
Thanks,
Jorik
You are welcome to find the problem, but I would not spend more time on this You can always download manually!
Here is the source to the sspks server software: https://github.com/jdel/sspks
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
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
- 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.
Updated domoticz_bromolow-5.2_3.0.6033-7.spkkinghuzi wrote:Hi Jumbotroll.
Please could you update the 5.2 beta to latest version as current version has bug that does not allow harmony Logitech to work. This was fixed in latest beta. Much appreciated.
For: http://www.jadahl.com/domoticz_beta/?arch=bromolow
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
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
- jorik
- Posts: 17
- Joined: Thursday 12 June 2014 16:16
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5877
- Location: Eindhoven, Netherlands
- Contact:
Re: domoticz in synology as package! Available now.
Hi Jumbotroll,jumbotroll wrote: [...]
I have no clue why this not working, but I think it's a bug in the sspks server because it is the same problem with DS716+II.
You are welcome to find the problem, but I would not spend more time on this You can always download manually!
Here is the source to the sspks server software: https://github.com/jdel/sspks
I took a look at the spkss code and I'm pretty sure I found the issue. index.php at line 36, (see: https://github.com/jdel/sspks/blob/master/index.php) uses the "unique" string directly in a regular expression. Since the "+" has a special meaning, the regular expression fails for devices that have any characters after the +, such as 411+II or 716+II.
You can fix this by changing line 34 from:
Code: Select all
$unique = trim($_POST['unique']);
Code: Select all
$unique = preg_quote(trim($_POST['unique']));
- 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.
I have edited in http://www.jadahl.com/domoticz_stable_6/jorik wrote:Hi Jumbotroll,jumbotroll wrote: [...]
I have no clue why this not working, but I think it's a bug in the sspks server because it is the same problem with DS716+II.
You are welcome to find the problem, but I would not spend more time on this You can always download manually!
Here is the source to the sspks server software: https://github.com/jdel/sspks
I took a look at the spkss code and I'm pretty sure I found the issue. index.php at line 36, (see: https://github.com/jdel/sspks/blob/master/index.php) uses the "unique" string directly in a regular expression. Since the "+" has a special meaning, the regular expression fails for devices that have any characters after the +, such as 411+II or 716+II.
You can fix this by changing line 34 from:to:Code: Select all
$unique = trim($_POST['unique']);
The "preg_quote" will escape the + character and then the regular expression will work correctly. I will create an issue on the github-page from jdel. Are you willing to make this change on your server?Code: Select all
$unique = preg_quote(trim($_POST['unique']));
I did not test, you can test now.
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
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
- jorik
- Posts: 17
- Joined: Thursday 12 June 2014 16:16
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5877
- Location: Eindhoven, Netherlands
- Contact:
Re: domoticz in synology as package! Available now.
Too bad, when I run the curl command it doesn't work. Do you think some caching may be taking place? I'm not sure if you'd need to restart apache, I would expect that wouldn't be necessary actually.
I took a part of the PHP code that seemed to give the issue and debugged it separately and found this solution, but I guess I'll have to install the whole thing and perform some more debugging with my own NAS.
Thanks for the quick try!
I took a part of the PHP code that seemed to give the issue and debugged it separately and found this solution, but I guess I'll have to install the whole thing and perform some more debugging with my own NAS.
Thanks for the quick try!
- 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.
Same result here
I did restart apache.
I did restart apache.
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
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
- jorik
- Posts: 17
- Joined: Thursday 12 June 2014 16:16
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5877
- Location: Eindhoven, Netherlands
- Contact:
Re: domoticz in synology as package! Available now.
Hi Jumbotroll,
Did you revert your changes? I have been performing some additional debugging and it seems the curl command that Synology Support provided was not a good test.
In the curl command the + character was not url encoded, so it became a space in the POST message hence the failure with the curl test. While debugging with my own sspks, I found that my original suggested change should resolve the issue after all. With a better curl test and with my actual Synology Package Center I can add my own location with the preg_quote change...
A better curl test command would be:
As you can see I replaced the + in the "unique" parameter with %2B.
Thanks,
Jorik
Did you revert your changes? I have been performing some additional debugging and it seems the curl command that Synology Support provided was not a good test.
In the curl command the + character was not url encoded, so it became a space in the POST message hence the failure with the curl test. While debugging with my own sspks, I found that my original suggested change should resolve the issue after all. With a better curl test and with my actual Synology Package Center I can add my own location with the preg_quote change...
A better curl test command would be:
Code: Select all
curl -L -A "synology_x86_411+II DSM6.1-14902 (package)" --data "package_update_channel=stable&unique=synology_x86_411%2BII&build=14903&language=enu&major=6&arch=x86&minor=1&timezone=Amsterdam" "http://www.jadahl.com/domoticz_stable_6/"
Thanks,
Jorik
- 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.
Edited back.jorik wrote:Hi Jumbotroll,
Did you revert your changes? I have been performing some additional debugging and it seems the curl command that Synology Support provided was not a good test.
In the curl command the + character was not url encoded, so it became a space in the POST message hence the failure with the curl test. While debugging with my own sspks, I found that my original suggested change should resolve the issue after all. With a better curl test and with my actual Synology Package Center I can add my own location with the preg_quote change...
A better curl test command would be:As you can see I replaced the + in the "unique" parameter with %2B.Code: Select all
curl -L -A "synology_x86_411+II DSM6.1-14902 (package)" --data "package_update_channel=stable&unique=synology_x86_411%2BII&build=14903&language=enu&major=6&arch=x86&minor=1&timezone=Amsterdam" "http://www.jadahl.com/domoticz_stable_6/"
Thanks,
Jorik
Working now
Great job!
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
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
- jorik
- Posts: 17
- Joined: Thursday 12 June 2014 16:16
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5877
- Location: Eindhoven, Netherlands
- Contact:
Re: domoticz in synology as package! Available now.
Thanks! It's working for me now for http://www.jadahl.com/domoticz_stable_6/
I can finally get my Domoticz updates directly from Package Center!
I can finally get my Domoticz updates directly from Package Center!
- 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.
Updated beta to.jorik wrote:Thanks! It's working for me now for http://www.jadahl.com/domoticz_stable_6/
I can finally get my Domoticz updates directly from Package Center!
http://www.jadahl.com/domoticz_beta_6/
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
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
- jorik
- Posts: 17
- Joined: Thursday 12 June 2014 16:16
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5877
- Location: Eindhoven, Netherlands
- Contact:
Re: domoticz in synology as package! Available now.
When trying to restore my Domoticz database with the Restore Database option in the Domoticz webpage, it would immediately go back to the dashboard and in Synology Package Center I could see in the logs:
The backup was also not restored. I manually copied the .db-file back, so everything is fine now, but maybe this is related to the way Domoticz is packaged for Synology?
Code: Select all
Error: Webserver: File '/restoredatabase.webem': No such file or directory (2)
- 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.
Try to empty cash in your browser or use another browser.jorik wrote:When trying to restore my Domoticz database with the Restore Database option in the Domoticz webpage, it would immediately go back to the dashboard and in Synology Package Center I could see in the logs:The backup was also not restored. I manually copied the .db-file back, so everything is fine now, but maybe this is related to the way Domoticz is packaged for Synology?Code: Select all
Error: Webserver: File '/restoredatabase.webem': No such file or directory (2)
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
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
- jorik
- Posts: 17
- Joined: Thursday 12 June 2014 16:16
- Target OS: NAS (Synology & others)
- Domoticz version: 3.5877
- Location: Eindhoven, Netherlands
- Contact:
Re: domoticz in synology as package! Available now.
I tried emptying cache in my Safari browser, but unfortunately that didn't help. Also I tried Google Chrome instead and for both cases I saw the same error message in the log. I don't know exactly what this "webem" extension is, but something seems wrong.
- 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.
I have never seen this error before on synology.jorik wrote:I tried emptying cache in my Safari browser, but unfortunately that didn't help. Also I tried Google Chrome instead and for both cases I saw the same error message in the log. I don't know exactly what this "webem" extension is, but something seems wrong.
Backup/Restore database file have always worked for me.
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
https://paypal.me/Jumbotroll
Regards
Jumbotroll
http://www.jadahl.com
Who is online
Users browsing this forum: No registered users and 1 guest