Page 40 of 94
Re: domoticz in synology as package! Available now.
Posted: Wednesday 13 April 2016 19:29
by Egregius
I have 3.5052.
On DSM6 you'll need another repo.
Re: domoticz in synology as package! Available now.
Posted: Wednesday 13 April 2016 19:36
by mvveelen
I'm not using DSM6 yet. Don't want to mess things up. I keep reading a lot of things that aren't ready yet for DSM6.
Re: domoticz in synology as package! Available now.
Posted: Thursday 14 April 2016 17:29
by mvveelen
-> Wow, Jumbotroll......thanks for the update
!
Re: domoticz in synology as package! Available now.
Posted: Friday 15 April 2016 9:42
by anatopeck
Hello,
To update to version 5070, should I uninstall the previous version ?
What is the news on 5070 ?
Yesterday I tryed to install a new wall plug (greenwave ns310f) but I failed, Domoticz do not reconize the device, someone got a idea ?
thx
Re: domoticz in synology as package! Available now.
Posted: Friday 15 April 2016 9:49
by mvveelen
Why should you uninstall Domoticz? I can't see why. I also can't see which version you are using at the moment, but the way I do it:
Backup the DB and then update from the package center. It should run right after it's finished.
Re: domoticz in synology as package! Available now.
Posted: Friday 15 April 2016 10:01
by anatopeck
Synology DS214play (DSM 6.0-7321) - Domoticz (3.0.4834-7)
Aeon Labs Z-Stick Gen5
Thank I'm gonna try again, but I can not find a update switch
Re: domoticz in synology as package! Available now.
Posted: Friday 15 April 2016 10:24
by anatopeck
I tryed to update => not available
I uninstalled 3.0.4834 but 5070 not available as a new package
Re: domoticz in synology as package! Available now.
Posted: Friday 15 April 2016 10:32
by Egregius
I think you need the beta repo.
http://www.jadahl.com/domoticz_beta_6/
That one gives me now 3.5052
Re: domoticz in synology as package! Available now.
Posted: Friday 15 April 2016 10:33
by Egregius
And I think you can see here wich version is available:
http://www.jadahl.com/domoticz_beta_6/i ... llist=true
Re: domoticz in synology as package! Available now.
Posted: Friday 15 April 2016 10:34
by anatopeck
Yes thank I am just undestanding 5070 was a beta
Re: domoticz in synology as package! Available now.
Posted: Friday 15 April 2016 12:45
by anatopeck
Someone already install a wall plug (greenwave ns310f) on Domoticz
It can't reconize the device
thx
Re: domoticz in synology as package! Available now.
Posted: Friday 15 April 2016 12:52
by Eternity
@anatopeck
I have 3 of those and 2 Greenwave wall plug's with 5 outputs. All running smoothly.
Are you sure you are pressing the right button to pair it with Domoticz? The manual is misleading; use the small button at the bottom!
Re: domoticz in synology as package! Available now.
Posted: Friday 15 April 2016 14:36
by anatopeck
Thank you for your reply
Yes I selected 1 (or other except black and lock) and I press the small button at the botton then the green ring is turning then flashing at the end but domoticz say : "device not found"
Re: domoticz in synology as package! Available now.
Posted: Friday 15 April 2016 14:47
by Eternity
Are you
- "accepting new hardware' in Domoticz?
- close to the controller?
You could also try to reset the GreenWave completely. That makes sure it is not paired already (but to a different controller). Remove it from the wall socket. Press the little button and - keeping it pressed - insert in the wall socket. The GreenWave should now be reset to factory default.
After that, try to include it again!
Re: domoticz in synology as package! Available now.
Posted: Friday 15 April 2016 19:12
by anatopeck
Eternity wrote:Are you
- "accepting new hardware' in Domoticz? ----> YES
- close to the controller? -----> 1.5 meters
You could also try to reset the GreenWave completely. That makes sure it is not paired already (but to a different controller). Remove it from the wall socket. Press the little button and - keeping it pressed - insert in the wall socket. The GreenWave should now be reset to factory default.
After that, try to include it again!
I reset the greenwave as you said
I tryed 10 times I still have the message "failed time out "
Re: domoticz in synology as package! Available now.
Posted: Saturday 16 April 2016 8:46
by Egregius
Seems that the start-stop-status scripts work after all
Now I have this in a every minute schedule:
If domoticz is offline for more than 30 seconds it gets restarted without reboot of the syno. A copy of the logfile is saved to find out why it stopped.
Code: Select all
#!/bin/bash
DOMOTICZ=`curl -s --connect-timeout 2 --max-time 5 "http://127.0.0.1:8084/json.htm?type=devices&rid=1"`
STATUS=`echo $DOMOTICZ | jq -r '.status'`
if [ "$STATUS" == "OK" ] ; then
exit
else
sleep 15
DOMOTICZ=`curl -s --connect-timeout 2 --max-time 5 "http://127.0.0.1:8084/json.htm?type=devices&rid=1"`
STATUS2=`echo $DOMOTICZ | jq -r '.status'`
if [ "$STATUS2" == "OK" ] ; then
exit
else
sleep 15
DOMOTICZ=`curl -s --connect-timeout 2 --max-time 5 "http://127.0.0.1:8084/json.htm?type=devices&rid=1"`
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" https://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
sudo /var/packages/domoticz/scripts/start-stop-status start
fi
fi
fi
Re: domoticz in synology as package! Available now.
Posted: Saturday 16 April 2016 12:55
by Eternity
Cool Egregius!
Could you explain how you saved the script, where you stored it on the Syno and how you run it...please...?
Thanks!
@anatopeck
I am sorry I can't help you with this. Perhaps the PowerNode is broken?
Re: domoticz in synology as package! Available now.
Posted: Saturday 16 April 2016 13:04
by Egregius
I'm just using the built-in task sheduler of Syno:
(mine has a 'all' argument because I can call it to just do time-critical stuff, or to do everything)
Create the script and set it executable with chmod +x cron.sh.
Location isn't that important, easiest is where you can easy open it to change.
Re: domoticz in synology as package! Available now.
Posted: Saturday 16 April 2016 13:07
by Eternity
That's quick!
A noob question, how do I
set it executable with chmod +x cron.sh.
Re: domoticz in synology as package! Available now.
Posted: Saturday 16 April 2016 15:31
by Egregius
log in with ssh
chmod +x /volume1/path/script.sh
test is by typing
/volume1/path/script.sh