domoticz in synology as package! Available now.

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

Moderator: leecollings

anatopeck
Posts: 12
Joined: Wednesday 06 April 2016 14:36
Target OS: NAS (Synology & others)
Domoticz version: last one
Location: france
Contact:

Re: domoticz in synology as package! Available now.

Post by anatopeck »

Hello,

Except the fibraro wallplug I can not install other kind of new devices on my system !
Someone can told me haw to install a new device ?
that is my config :

Image
Domoticz hardware
Image
right now I uninstall the domoticz server

Domoticz devices
Image


After my last reinstall I only have got the aeon stick, the wallplug fibraro and the netatmo
Image
Synology DS214play (DSM 6.0.1-7393 Update 1)
Domoticz Version: always the last one
Aeon Labs Z-Stick Gen5 - Version: 1.4-305-g150a299-dirty
Netatmo + module ext - Fibraro stuff - broadlink rm2
User avatar
datzmazzie
Posts: 26
Joined: Tuesday 28 July 2015 12:01
Target OS: NAS (Synology & others)
Domoticz version: 2.3430
Location: Zoetermeer, The Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by datzmazzie »

I'm trying to fixing a bug and need to make a change in a file (hardware/Limitless.cpp), but where can I find this file on de synology?
Raspberry Pi 3B, Arduino Mega, RFLink
My Blog
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 »

datzmazzie wrote:I'm trying to fixing a bug and need to make a change in a file (hardware/Limitless.cpp), but where can I find this file on de synology?
That file you don't find on the synology it's a source file and it must be modified before compiling.

Make a pull requests here: https://github.com/domoticz/domoticz
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
cherowley
Posts: 65
Joined: Tuesday 24 February 2015 15:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by cherowley »

Version 3.0.5271.-7
Running on Synology

Hi!

My system has been running stable for months until a few weeks ago when it suddenly started becoming non responsive after a day or two. I upgraded to the version above but still the same.

No hardware or software was changed, very strange!

Looking at the log shows all ok until for day until this:

2016-06-29 23:23:03.754 Error: Webserver: File '/styles/elemental/images/bg-track.png': No such file or directory (2)

Then nothing out of the ordinary until:

2016-06-30 23:26:32.674 Error: EventSystem: Error accessing lua script directory /usr/local/domoticz/var/scripts/lua/

They gradually become more frequent:
2016-06-30 23:27:11.655 Error: EventSystem: Error accessing lua script directory /usr/local/domoticz/var/scripts/lua/
2016-06-30 23:27:11.791 Error: EventSystem: Error accessing lua script directory /usr/local/domoticz/var/scripts/lua/
2016-06-30 23:27:14.555 Error: EventSystem: Error accessing lua script directory /usr/local/domoticz/var/scripts/lua/
2016-06-30 23:27:14.795 Error: EventSystem: Error accessing lua script directory /usr/local/domoticz/var/scripts/lua/
2016-06-30 23:27:17.983 Error: EventSystem: Error accessing lua script directory /usr/local/domoticz/var/scripts/lua/

Then a new error:
2016-06-30 23:42:46.102 Kodi: (Lounge) Connect to '192.168.2.105:9090' failed: (24) Too many open files
2016-06-30 23:42:48.952 Kodi: (Computer) Connect to '192.168.2.110:9090' failed: (24) Too many open files
2016-06-30 23:42:49.953 Kodi: (Computer) Connect to '192.168.2.110:9090' failed: (24) Too many open files
2016-06-30 23:42:51.958 Kodi: (Computer) Connect to '192.168.2.110:9090' failed: (24) Too many open files
2016-06-30 23:42:52.959 Kodi: (Computer) Connect to '192.168.2.110:9090' failed: (24) Too many open files

At this point domoticz stops responding..

Any ideas anyone?

Thanks!
trixwood

Re: domoticz in synology as package! Available now.

Post by trixwood »

File permissions are ok on /usr/local/domoticz/var/scripts/lua/?
Check that...

The too many files open, seems to be that domoticz isn't closing the file handlers after every error for some reason. And that adds up after 15 minutes. But that is my wild guess.
If all else fails make a copy of your current install, delete the one on synology (not upgrade, upgrading something that is broken hoping it will fix things did not work in this case), fresh install package, test that. If works copy db and scripts and any other thing you change back with the right permissions. (make your live easy, using a folder compare tool like beyond compare or deltawalker or ..) Else piss on it to show dominance
cherowley
Posts: 65
Joined: Tuesday 24 February 2015 15:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by cherowley »

Thanks for the reply Trix :)

Checked the permissions and the owner is domoticz/ root group. drwxr-xr-x

Looks ok? Also wondering why it works ok for a couple of days then starts with the Error: EventSystem: Error accessing lua script directory /usr/local/domoticz/var/scripts/lua/ messages ...
b0bx
Posts: 2
Joined: Friday 06 September 2013 20:45
Target OS: Linux
Domoticz version:
Location: Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post by b0bx »

cherowley wrote:Thanks for the reply Trix :)

Checked the permissions and the owner is domoticz/ root group. drwxr-xr-x

Looks ok? Also wondering why it works ok for a couple of days then starts with the Error: EventSystem: Error accessing lua script directory /usr/local/domoticz/var/scripts/lua/ messages ...
hi cherowley,

I get the same error, but in my case there is no 'lua' folder inside the scripts folder. Also, I don't use scripts, only a couple of basic Blockly events. Strange thing is: those Blockly events and Domoticz itself works just fine.
I tried to create a folder called 'lua' inside the scripts folder but it says Operation Not Permitted. The owner/rights are the same as you, also running Domoticz on a Synology (214+), version 3.5292. I'll just follow this thread for now, hoping for a solution to get rid of that error (message).
User avatar
Egregius
Posts: 2589
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 »

Sudo mkdir should do the trick.
Then sudo chown en chmod to set owner and permissions.
cherowley
Posts: 65
Joined: Tuesday 24 February 2015 15:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by cherowley »

Hi,

I also don't have any scripts in that directory....

I find it perplexing that it works for a while then starts with the access errors..

This morning I awoke to find domoticz not working but no obvious error message ?! Thaat was having restarted the domoticz process on the synology last night as well..

I've uninstalled the package today then reinstalled and restored a backup config to see if that helps...

Edit: Since reinstalling I've just tried to connect to the web page and found its stopped working again. Nothing dodgy in the log as the log just stops several hours ago.

It's getting worse!
feelthepower
Posts: 1
Joined: Saturday 09 July 2016 11:55
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by feelthepower »

I'm currently running from the Jumbotroll "Stable" repository for Synology V6.0.
I don't like to live dangerously, so I usually prefer to run from stable's instead of Beta's. :lol:

However, I want to test some updates that I think have been made in the newer beta's, but not yet in the stable.
Can I manually install a Beta version, and will the auto-update for stables overwrite my beta version as soon as a new stable is released?
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 »

UPDATE.
Wizard for http and https port settings in beta packages.
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
demo
Posts: 4
Joined: Thursday 11 August 2016 13:58
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by demo »

Hello.

I installed "Domiticz" on my NAS synology (DS213J),
packet installed from www.jadahl.com. Latest version (V.3.0.4834).

The "ZWAVE process" makes my CPU to 100%.
Yet I do not use ZWAVE in domoticz.
How to uninstall or disable it?
Someone else had this problem?

Thank you.

P.S : I'm french (sorry for Google trad !)
Attachments
UC
UC
ScreenShot184.jpg (35.46 KiB) Viewed 2857 times
User avatar
gizmocuz
Posts: 2482
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: domoticz in synology as package! Available now.

Post by gizmocuz »

Did you install zwave ? I dont think that is needed
Quality outlives Quantity!
demo
Posts: 4
Joined: Thursday 11 August 2016 13:58
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by demo »

Is installed with Domoticz Package (Jadahl)
User avatar
gizmocuz
Posts: 2482
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: domoticz in synology as package! Available now.

Post by gizmocuz »

Okey, because normally this is linked statically.
Hope the auther (jadahl) can enlighten the issue, because if not used, it should not use any cpu power.
Quality outlives Quantity!
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 »

demo wrote:Is installed with Domoticz Package (Jadahl)
Hmm..
Strange, I have not this ZWAVE process running in my package.
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
demo
Posts: 4
Joined: Thursday 11 August 2016 13:58
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by demo »

Strange, because i don't install another package (about DOMOTICZ)
II will watch this weekend if I installed another package that would set me ZWAVE
demo
Posts: 4
Joined: Thursday 11 August 2016 13:58
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by demo »

I just look and I had forgotten that I had installed to test PulseStation (Package available in Syno).

Sorry Jumbotroll, this is not come from your package.

Thank you and good continuation for the synology package.
jnoel68
Posts: 12
Joined: Tuesday 14 June 2016 15:44
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post by jnoel68 »

I'm currently using JumboTroll (thanks for his wonderfull job) domoticz package (beta 3.0.5516-7) on my synology 1511, and since few days, my system is totally unstable :cry:
In facts, the domoticz service automatically stops himself after few hours, and I have to start it again manually.
No message in the domoticz log, nor in the synology log.
The only error messages comes from the PROXY (it seems that the my.domoticz.com site/service is currently down).
Any idea or help please ?
User avatar
gizmocuz
Posts: 2482
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: domoticz in synology as package! Available now.

Post by gizmocuz »

Yes,disable mydomoticz and see if it keeps working.
We did some updates
Quality outlives Quantity!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest