Page 43 of 94

Re: domoticz in synology as package! Available now.

Posted: Thursday 18 August 2016 22:51
by jnoel68
gizmocuz wrote:Yes,disable mydomoticz and see if it keeps working.
We did some updates
Thanks, will try it quickly and give you a feedback !

Re: domoticz in synology as package! Available now.

Posted: Friday 19 August 2016 0:47
by jnoel68
OK, good, since last update and mydomoticz up and running, I have no more issues, thx

Re: domoticz in synology as package! Available now.

Posted: Friday 19 August 2016 11:05
by gizmocuz
thanks for the feedback

Re: domoticz in synology as package! Available now.

Posted: Sunday 21 August 2016 10:39
by sanderl
Hi, I had Domotics running for several months on my synology 1815+ (as a sort of test thing next to Vera). But since a few months/weeks I can't access it anymore. I have to restart the package and then some time I can access it but it freezes/crashes in a few minutes. I added the beta link to the package center and then it updated to (the beta).

But this gives no relief. What do I have to do, where do I have to start troubleshooting?

Re: domoticz in synology as package! Available now.

Posted: Sunday 21 August 2016 10:48
by Egregius
Start with the logfile...
Problem is that it is cleared when domoticz is started.

This is a script that I use to push the power of my solar panels to domoticz. If domoticz doesn't respond it retries 2 more times. If all 3 actions failes it copies the logfile to another location and then stop/kills/starts domoticz. Could be an example of a script for you.

Code: Select all

#!/bin/bash
H=$(date +%H)
if (( 9 <= 10#$H && 10#$H < 23 )); then 
	string=$(tail -1 $(/bin/ls -1t /volume1/homes/guy/BackupWWW/RPi-PiHole/var/log/SBFSPOT/Zon-Spot*.csv | /bin/sed q))
	var=$(echo $string | awk -F";" '{print $1,$2,$3,$4,$5,$6,$7,$8,$9}')   
	set -- $var
	oost=$8
	west=$9
	var=$(echo $oost | awk -F"," '{print $1}')
	set -- $var
	oostint=$1
	var=$(echo $west | awk -F"," '{print $1}')
	set -- $var
	westint=$1
	sum=$((oostint + westint))
else
    sum=0
fi
DOMOTICZ=`curl -s --connect-timeout 2 --max-time 5 "http://127.0.0.1:8084/json.htm?type=command&param=udevice&idx=412&nvalue=0&svalue=$sum"`
STATUS=`echo $DOMOTICZ | jq -r '.status'`
if [ "$STATUS" == "OK" ] ; then
	exit
else
	sleep 5
	DOMOTICZ=`curl -s --connect-timeout 2 --max-time 5 "http://127.0.0.1:8084/json.htm?type=command&param=udevice&idx=412&nvalue=0&svalue=$sum"`
	STATUS2=`echo $DOMOTICZ | jq -r '.status'`
	if [ "$STATUS2" == "OK" ] ; then
		exit
	else
		sleep 5
		DOMOTICZ=`curl -s --connect-timeout 2 --max-time 5 "http://127.0.0.1:8084/json.htm?type=command&param=udevice&idx=412&nvalue=0&svalue=$sum"`
		STATUS3=`echo $DOMOTICZ | jq -r '.status'`
		if [ "$STATUS3" == "OK" ] ; then
			exit
		else
			curl -s --connect-timeout 2 --max-time 5 --data-urlencode "text=Domoticz Bad - Restarting" --data "silent=false" http://127.0.0.1/secure/telegram.php
			NOW=$(date +"%Y-%m-%d_%H%M%S")
			cp /volume1/appstore/domoticz/var/domoticz.log /volume1/files/temp/domoticz-$NOW.txt
			sudo /var/packages/domoticz/scripts/start-stop-status stop
			sleep 5
			sudo killall domoticz
			sudo killall domoticz
			sudo killall pass2php.php
			sudo killall pass2php.php
			sudo killall /usr/local/domoticz/bin/domoticz
			sudo killall /usr/local/domoticz/bin/domoticz
			sleep 12
			sudo /var/packages/domoticz/scripts/start-stop-status start
		fi
	fi
fi

Re: domoticz in synology as package! Available now.

Posted: Sunday 21 August 2016 11:05
by sanderl
Log file overloads me with:
Spoiler: show
2016-08-21 10:58:09.570 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

2016-08-21 10:58:09.571 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

2016-08-21 10:58:09.571 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

2016-08-21 10:58:09.571 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

2016-08-21 10:58:09.571 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

2016-08-21 10:58:09.571 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

2016-08-21 10:58:09.571 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

2016-08-21 10:58:09.571 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

2016-08-21 10:58:09.571 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

2016-08-21 10:58:09.571 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

2016-08-21 10:58:09.571 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

2016-08-21 10:58:09.571 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

2016-08-21 10:58:09.571 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

2016-08-21 10:58:09.571 Error: Getting error 'Transport endpoint is not connected' while getting remote_endpoint in connection_manager::start

Re: domoticz in synology as package! Available now.

Posted: Monday 12 September 2016 19:47
by RonB
Hi,

I also have the error: Serial port closed. My NAS is the 214play with the RFXCOM transceiver on /dev/ttyUSB0. The error occurs with both, the stable and the beta release. The stable release crashes the webserver. The Beta release ignores the error but Domoticz logs the error every 30 seconds. I've tried the 1005, 1006a but also the 250 and the 251 frmware versions. All with the same result.

Any Ideas on how to solve this?

Regards, Ronald

Re: domoticz in synology as package! Available now.

Posted: Monday 12 September 2016 22:08
by gizmocuz
Disable mydomoticz

Re: domoticz in synology as package! Available now.

Posted: Tuesday 13 September 2016 10:25
by RonB
Hi Gizmocuz,

Thank you for your response. I never applied for mydomoticz, and it is not enabled in the settings.
Any other ideas?

Regards, Ronald

Re: domoticz in synology as package! Available now.

Posted: Tuesday 13 September 2016 22:44
by gizmocuz
@Ron, sorry, i reacted on another post from someone else.
This thread is too diverse, everyone seems to put problems in here that are not specific for synology in here as well.

Re: domoticz in synology as package! Available now.

Posted: Friday 07 October 2016 16:31
by Gravityz
It wolud be great if Jumbotroll also makes a homebridge package voor synology.

might be to much to ask because of all the different platforms
I know there is a docker image but docker does not run on most synologies

Re: domoticz in synology as package! Available now.

Posted: Friday 07 October 2016 16:53
by jumbotroll
Gravityz wrote:It wolud be great if Jumbotroll also makes a homebridge package voor synology.

might be to much to ask because of all the different platforms
I know there is a docker image but docker does not run on most synologies
One day perhaps, when I have too much free time :D

Re: domoticz in synology as package! Available now.

Posted: Friday 07 October 2016 16:57
by Gravityz
Yes we appreciate the hard work so we are not gonna ask.

I am up for a new synology (DS716+II)
i am waiting for the right moment to buy it.
These things will never drop in price it seems.

Re: domoticz in synology as package! Available now.

Posted: Saturday 29 October 2016 19:33
by jumbotroll
New Stable Release Domoticz V3.5837!
Domoticz V3.5837 Stable for Synology DSM 6.x
OpenZWave 1.4.2222
http://www.jadahl.com/domoticz_stable_6/

Big Thank's to Gizmocuz!

Re: domoticz in synology as package! Available now.

Posted: Saturday 29 October 2016 19:43
by Gravityz
great.

will try it out as soon as i have my new nas
i am still on 5019 which seems extremely stable so i8 do not know if upgrading will give me any benefits(or trouble)

Re: domoticz in synology as package! Available now.

Posted: Sunday 30 October 2016 12:35
by jorik
jumbotroll wrote:New Stable Release Domoticz V3.5837!
Domoticz V3.5837 Stable for Synology DSM 6.x
OpenZWave 1.4.2222
http://www.jadahl.com/domoticz_stable_6/

Big Thank's to Gizmocuz!
Thanks Jumbotroll! I bought a Fibaro FGS223 and it is now recognized by the latest Domoticz running on my DS411+II. :)

BTW, do you have any idea why I am unable to add your package repository? I keep getting "invalid location", when using
http://www.jadahl.com/domoticz_stable_6/
(I also tried without trailing slash)

Manually installing works fine and other sources also work fine, e.g. I could add this one without issues:
http://isulnara.com/synology/

Re: domoticz in synology as package! Available now.

Posted: Sunday 30 October 2016 12:47
by jumbotroll
jorik wrote:
jumbotroll wrote:New Stable Release Domoticz V3.5837!
Domoticz V3.5837 Stable for Synology DSM 6.x
OpenZWave 1.4.2222
http://www.jadahl.com/domoticz_stable_6/

Big Thank's to Gizmocuz!
Thanks Jumbotroll! I bought a Fibaro FGS223 and it is now recognized by the latest Domoticz running on my DS411+II. :)

BTW, do you have any idea why I am unable to add your package repository? I keep getting "invalid location", when using
http://www.jadahl.com/domoticz_stable_6/
(I also tried without trailing slash)

Manually installing works fine and other sources also work fine, e.g. I could add this one without issues:
http://isulnara.com/synology/
I don't know why you not can add my package repository, It's working for me and there is only one another reporting this problem.

Re: domoticz in synology as package! Available now.

Posted: Sunday 30 October 2016 12:53
by jorik
Ok, thanks for the quick reply! Could you tell me how you configured your spk server? Do you use SPKSS from jdel? Maybe I can perform some testing with my own server if I can replicate the issue. E.g. I also cannot add http://packages.jdel.org/. I was wondering if it could have anything to do with certificates and newer DSM versions that check certificates when adding a new source or so.

Re: domoticz in synology as package! Available now.

Posted: Sunday 30 October 2016 12:58
by jumbotroll
jorik wrote:Ok, thanks for the quick reply! Could you tell me how you configured your spk server? Do you use SPKSS from jdel? Maybe I can perform some testing with my own server if I can replicate the issue. E.g. I also cannot add http://packages.jdel.org/. I was wondering if it could have anything to do with certificates and newer DSM versions that check certificates when adding a new source or so.
Yes I use http://packages.jdel.org SPKSS server and add all new NAS models manually in conf file.

In package center I allow: Yes I want to see beta versions! and in Trust Level Any Publisher.

Re: domoticz in synology as package! Available now.

Posted: Sunday 30 October 2016 23:15
by Jelmer
Thanks jumbotroll for compiling these simple packages.

I just started with domoticz on my synology 212 and it was a real struggle to add some neo coolcam PIR to the system. My very first node on the network controlled with a aeotec z-stick gen 5.

Everything is working well now, the controller is using the cdc-acm.ko driver (already in synology OS), why are you packaging the cp210x.ko, looks like it isnt used.

However, maybe it should... because I have 1 problem with the whole setup, I can not make any changes to the controller or the nodes, for example the network key on the controller, or the LUX report values on the neo coolcam PIR. When I hit apply, it show a red box with a error message (Problem updating node configuration!) and Domoticz crashes. Nothing to see in the logging.

Restart domoticz and everything works fine again, however there are unfortunately no changes applied.

Any idea?