domoticz in synology as package! Available now.

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

Moderator: leecollings

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 »

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 !
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 »

OK, good, since last update and mydomoticz up and running, I have no more issues, thx
User avatar
gizmocuz
Posts: 2352
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 »

thanks for the feedback
Quality outlives Quantity!
sanderl
Posts: 21
Joined: Tuesday 22 December 2015 19:20
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post 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?
User avatar
Egregius
Posts: 2582
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 »

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
sanderl
Posts: 21
Joined: Tuesday 22 December 2015 19:20
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post 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
RonB
Posts: 3
Joined: Monday 12 September 2016 19:36
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post 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
User avatar
gizmocuz
Posts: 2352
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 »

Disable mydomoticz
Quality outlives Quantity!
RonB
Posts: 3
Joined: Monday 12 September 2016 19:36
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post 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
User avatar
gizmocuz
Posts: 2352
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 »

@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.
Quality outlives Quantity!
Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post 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
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 »

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
Last edited by jumbotroll on Friday 07 October 2016 16:59, edited 1 time in total.
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
Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post 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.
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 »

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!
Last edited by jumbotroll on Sunday 30 October 2016 11:31, edited 1 time in total.
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
Gravityz
Posts: 583
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2022.2
Location: Netherlands
Contact:

Re: domoticz in synology as package! Available now.

Post 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)
User avatar
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.

Post 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/
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 »

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.
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
User avatar
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.

Post 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.
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 »

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.
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
Jelmer
Posts: 4
Joined: Sunday 30 October 2016 16:53
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: domoticz in synology as package! Available now.

Post 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?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest