Page 18 of 94

Re: domoticz in synology as package! Available now.

Posted: Wednesday 16 September 2015 13:57
by jumbotroll
I updated from OpenZWave 1.3.478 to 1.3.481 and 1.3.481 failed.
OpenZwave now updated to 1.3.482 with some bugfixes.
I can't be sure if this version work, because I am not able to test with Zwave stick.
This time you can roll back to prev version from my server if it's not working 8-)
Regards
Jumbotroll

Re: domoticz in synology as package! Available now.

Posted: Wednesday 16 September 2015 14:36
by mvveelen
Boom !

V2.3042 with OpenZWave 1.3.482 up and running on my DS414 (armadaxp) :D No crashes this time so far ;)

Re: domoticz in synology as package! Available now.

Posted: Wednesday 16 September 2015 15:18
by jumbotroll
mvveelen wrote:Boom !

V2.3042 with OpenZWave 1.3.482 up and running on my DS414 (armadaxp) :D No crashes this time so far ;)
Good to hear, then OpenZWave team have fixed the problem :P
I try to stay up to date with both domoticz and the OpenZWave module in my Synology packages, so I depend on testers if you want me to support OpenZWave.
Maybe I wil buy some Zwave product later for testing, but all my switches and sensors work with rfxcom, so it's waste of money to buy zwave product for me.


Regards
Jumbotroll

Re: domoticz in synology as package! Available now.

Posted: Wednesday 16 September 2015 15:54
by ThinkPad
jumbotroll, maybe a nice suggestion for your packages:

Would it be possible to create a backup of the domoticz.db when a upgrade would be initiated?
I already have a script running to make backups every night, but if i would need to do a rollback (removing package, installing again) and didn't make a backup before doing, i would have lost a few hours of logging (energy for example).

Making a backup of the database is very easy actually:

Code: Select all

/usr/bin/curl -s http://127.0.0.1:8084/backupdatabase.php > /volume1/Data/Domoticz_backup/database/domoticz.db
Maybe it can be stored in a folder inside the 'domoticz' folder (as the location used in the above code is only valid in my situation).
It is not very necessary (i think everyone should take his own responsibility for taking backups), but maybe it is a small effort for you to implement this. Would be a handy rescue for some people that forget backupping in the heat of the moment.

Just dropping the idea, don't feel obliged by it... would be a nice small addition, but if it is too much work/too difficult: just leave it

And about Z-Wave: you save me (and a lot of others) a lot of work by compiling these packages for us (multiple times a week!!).
I wouldn't mind giving you a small donation for that.... (did i already say i really like your effort ;) ? )
Gives you some budget to buy Z-Wave gadgets....

Re: domoticz in synology as package! Available now.

Posted: Wednesday 16 September 2015 16:49
by jumbotroll
ThinkPad wrote:jumbotroll, maybe a nice suggestion for your packages:

Would it be possible to create a backup of the domoticz.db when a upgrade would be initiated?
I already have a script running to make backups every night, but if i would need to do a rollback (removing package, installing again) and didn't make a backup before doing, i would have lost a few hours of logging (energy for example).

Making a backup of the database is very easy actually:

Code: Select all

/usr/bin/curl -s http://127.0.0.1:8084/backupdatabase.php > /volume1/Data/Domoticz_backup/database/domoticz.db
Maybe it can be stored in a folder inside the 'domoticz' folder (as the location used in the above code is only valid in my situation).
It is not very necessary (i think everyone should take his own responsibility for taking backups), but maybe it is a small effort for you to implement this. Would be a handy rescue for some people that forget backupping in the heat of the moment.

Just dropping the idea, don't feel obliged by it... would be a nice small addition, but if it is too much work/too difficult: just leave it

And about Z-Wave: you save me (and a lot of others) a lot of work by compiling these packages for us (multiple times a week!!).
I wouldn't mind giving you a small donation for that.... (did i already say i really like your effort ;) ? )
Gives you some budget to buy Z-Wave gadgets....
Thanks ThinkPad :)
I will look into this script things later and see if I can fix this in the update process.
I am not very good in programming, but I am learning with time.. (It is not easy to teach an old dog to sit)
Maybe I will put a donate button on my website later :)

Regards
Jumbotroll

Re: domoticz in synology as package! Available now.

Posted: Wednesday 16 September 2015 20:54
by G3rard
jumbotroll wrote:I updated from OpenZWave 1.3.478 to 1.3.481 and 1.3.481 failed.
OpenZwave now updated to 1.3.482 with some bugfixes.
I can't be sure if this version work, because I am not able to test with Zwave stick.
This time you can roll back to prev version from my server if it's not working 8-)
Regards
Jumbotroll
Domoticz version 2.3050 with OpenZWave 1.3.482 is succesfully installed here. Thanks again!
And I agree with the post of Thinkpad!

Re: domoticz in synology as package! Available now.

Posted: Wednesday 16 September 2015 21:52
by mvveelen
Me too, make a donation button !

Running v2.3050 here too ;)

Edit: one thing though....since updating I haven't had any log entries when I open one of the doors with a ZWave sensor. The mesh network seems OK, I receive data from other nodes (energy, switches), but no data from the wireless door sensors.

Re: domoticz in synology as package! Available now.

Posted: Thursday 17 September 2015 12:38
by mvveelen
The newest (v2.3055) crashes again (armadaxp). Hope you can fix this :) ?

domoticz in synology as package! Available now.

Posted: Thursday 17 September 2015 12:50
by G3rard
mvveelen wrote:Me too, make a donation button !

Running v2.3050 here too ;)

Edit: one thing though....since updating I haven't had any log entries when I open one of the doors with a ZWave sensor. The mesh network seems OK, I receive data from other nodes (energy, switches), but no data from the wireless door sensors.
I als have problems with the Zwave door sensors (not detecting open/close), but already for some weeks so seams to be caused by another reason. Also other ZWave nodes are working fine.
I have 3 of these door sensors, only 1 is working. They are lying next to each other on my desk so it isn't a problem with the distance to the USB stick.

Re: domoticz in synology as package! Available now.

Posted: Thursday 17 September 2015 13:03
by jumbotroll
mvveelen wrote:The newest (v2.3055) crashes again (armadaxp). Hope you can fix this :) ?
Wow, you are fast updating, I had to delete v2.3055 because of bug in domoticz source.
I think there is a bug in webserver.cpp. Webserver crash :cry:
v2.3055 is det last code, so I can't update before this bug is fixed.
Sorry but you have to roll back to v2.3050.

Regards
Jumbotroll

Re: domoticz in synology as package! Available now.

Posted: Thursday 17 September 2015 13:20
by mvveelen
Well, I rolled back top v2.3037 because that's the latest version I had on my HDD. But it's strange there are problems with the doorsensors too.

Re: domoticz in synology as package! Available now.

Posted: Thursday 17 September 2015 14:11
by jumbotroll
mvveelen wrote:Me too, make a donation button !

Running v2.3050 here too ;)

Edit: one thing though....since updating I haven't had any log entries when I open one of the doors with a ZWave sensor. The mesh network seems OK, I receive data from other nodes (energy, switches), but no data from the wireless door sensors.
Is this the sensor you have problem with?
AEOTEC Model: ZW089
http://www.domoticz.com/forum/viewtopic.php?f=17&t=5099

Regards
Jumbotroll

Re: domoticz in synology as package! Available now.

Posted: Thursday 17 September 2015 14:34
by mvveelen
No, I have the Fibaro FGK-101 door sensors. They worked (very) well since I've got them up and running with Domoticz, but since the latest ZWave update I'm not having on/off entries in the log anymore. Don't know if this has anything to do with the latest ZWave version, but it's really annoying.

Edit: feeling stupid......

I had an RFXCOM switch that suddenly didn't work anymore and had to reboot the Synology to try and fix that. And what do you know.....it's working again AND also the doorsensors are working again. The trick was......rebooting the Synology :oops:

Re: domoticz in synology as package! Available now.

Posted: Thursday 17 September 2015 15:16
by jumbotroll
mvveelen wrote:No, I have the Fibaro FGK-101 door sensors. They worked (very) well since I've got them up and running with Domoticz, but since the latest ZWave update I'm not having on/off entries in the log anymore. Don't know if this has anything to do with the latest ZWave version, but it's really annoying.

Edit: feeling stupid......

I had an RFXCOM switch that suddenly didn't work anymore and had to reboot the Synology to try and fix that. And what do you know.....it's working again AND also the doorsensors are working again. The trick was......rebooting the Synology :oops:
Great News!
I scratched my head here and went through the code, to see where the problem might be found.

Regards
Jumbotroll

Re: domoticz in synology as package! Available now.

Posted: Thursday 17 September 2015 15:20
by mvveelen
Problem was (I think): I added an external USB HDD to copy some files. Probably the Synology handles that the wrong way.

I see you uploaded the v2.3050 again, so I've updated to that version. Thanks.

Is the donation button already on your website ;) ?

Re: domoticz in synology as package! Available now.

Posted: Sunday 20 September 2015 16:42
by Isane
I've installed Domoticz on my Synology DS215J on the easy way (I used the pre-compiled package)

Now I want to buy the Aeon USB Adapter with battery GEN5 (AEOEZW090-C) but does it work directly with the USB drivers in the pre-compiled package?

Online (dutch) shop: http://www.hashop.nl/AEOEZW090-C
Manufacturer website: http://aeotec.com/z-wave-usb-stick/1358 ... ivers.html

Re: domoticz in synology as package! Available now.

Posted: Sunday 20 September 2015 20:51
by timovd
Hello fellow-Dutchies (and others). The complete package is great indeed.
I have a Gen5 Z-stick and I have a Fibaro Dimmer 2. I have a DS412+ and my UPS is installed in the front-USB.
Does it matter what port you use? In the back of my DiskStation, there are two USB-3.0 ports.
I tried to add the stick...
Domoticz-ZStick.PNG
Domoticz-ZStick.PNG (89.77 KiB) Viewed 2744 times
...but when I click on include node under the Z-stick setup, I can't find the Fibaro Dimmer 2. On the dimmer I clicked three times on the "B-button", to put the dimmer in learning mode.
Domoticz-includeNode.PNG
Domoticz-includeNode.PNG (118.45 KiB) Viewed 2744 times
Is the stick connected well to the Synology? And am I doing the right procedure to add the dimmer?

Re: domoticz in synology as package! Available now.

Posted: Sunday 20 September 2015 21:51
by G3rard
timovd wrote: Is the stick connected well to the Synology? And am I doing the right procedure to add the dimmer?
You have to choose another serial port (Setup - Hardware - Select the Zwave controller and then below you can change the serial port).
The Setup button is blue when the right serial port is choosen. Your's is red now.

Re: domoticz in synology as package! Available now.

Posted: Monday 21 September 2015 16:10
by ThinkPad
Does anyone here have succesful spindown of the disks while using the packages from jumbotroll?

Haven't paid attention to it yet, but most of the time my NAS is doing only stuff that doesn't require any disk activity like VPN-server or Domoticz. So the ideal situation would be to have the disks in spindown and only let them spin up when the disks really need to be accessed.
But i'm not sure if the disks spindown, will put a Z-Wave plug between the NAS powersupply so i can monitor it.

But if it doesn't go to sleep, would there be any options to modify Domoticz to prevent it from accessing the disks every now and then? (maybe it writes the log to the disks on a set interval?).
Anyone experience with that?

Re: domoticz in synology as package! Available now.

Posted: Monday 21 September 2015 18:34
by timovd
G3rard wrote:
timovd wrote: Is the stick connected well to the Synology? And am I doing the right procedure to add the dimmer?
You have to choose another serial port (Setup - Hardware - Select the Zwave controller and then below you can change the serial port).
The Setup button is blue when the right serial port is choosen. Your's is red now.
Thanks for your help! I cannot select a serial port; the drop-down is empty.

Edit: sorry! when using the USB 2.0 in the front a serial port can be connected. Only thing is that the UPS cannot be connected.
Now, when I click on "include node" I get the following pop-up.
Domoticz-includeNode2.PNG
Domoticz-includeNode2.PNG (128.8 KiB) Viewed 2662 times
On the FIbaro Dimmer 2, I press the B-button three times to put it in learning mode, but nothing is happening. There is about 2 meter distance between the Z-stick and the Dimmer. Am I still doing something wrong?