Page 1 of 2

DomotiGa, Aeon Labs Z-stick and Everspring AN158

Posted: Fri Oct 15, 2010 3:49 pm
by hetbeest
Hi all,

I'd like to start with Home Automation. I've got a Linux server at home switched on all the time. Therefor I'm thinking about using DomotiGa. I'm now wondering which technology and modules to use. Everspring has a new module, the AN158, which switches and measures energy consumption. Knowing my usage is important to me, for in the Netherlands power doesn't come cheap. My question is whether I can use the Aeon Labs Z-stick and Everspring AN158 modules in DomotiGa not only for switching but also for logging my power usage.

Thanks in advance,

Evert

Re: DomotiGa, Aeon Labs Z-stick and Everspring AN158

Posted: Mon Oct 18, 2010 8:09 am
by RDNZL
The RequestMeterReportNode and RequesPowerReportNode messages to get the usage values are known to DomotiGa, you can test them from the ZWave Commander in the Tools menu.
If that works, little work has to be done to poll the devices, if they aren't reporting it themselves..

As I don't have an Everspring device I can't test it.

Re: DomotiGa, Aeon Labs Z-stick and Everspring AN158

Posted: Mon Oct 18, 2010 8:47 am
by hetbeest
I'll be happy to test it and even help in some development. But I'll have to order the appliances first.

Re: DomotiGa, Aeon Labs Z-stick and Everspring AN158

Posted: Mon Oct 18, 2010 3:37 pm
by hetbeest
Do you have a driver for the Z-stick for Ubuntu or Debian? The download from the site is for creating RPMs (even that fails).

Re: DomotiGa, Aeon Labs Z-stick and Everspring AN158

Posted: Mon Oct 18, 2010 6:55 pm
by hetbeest
There was a problem with the stick itself. Now I see the stick and the devices. Switching on works. Switching off is my next challenge :)

EDIT: Challenge met. Switching off works too. So how to poll the usage?

Re: DomotiGa, Aeon Labs Z-stick and Everspring AN158

Posted: Fri Feb 17, 2012 8:58 pm
by raymonvdm
I know this is an old post but since today a also have the Everspring AN158 module. The switching using Domotiga is fine but how do i poll for the power usage. I din`t find any howto yet an hope to help other people in this post

Re: DomotiGa, Aeon Labs Z-stick and Everspring AN158

Posted: Fri Feb 17, 2012 9:42 pm
by jrkalf
raymonvdm wrote:I know this is an old post but since today a also have the Everspring AN158 module. The switching using Domotiga is fine but how do i poll for the power usage. I din`t find any howto yet an hope to help other people in this post
Hi Raymond, in order to use polling, you'll have to install open-zwave. Ron has written a wiki howto on his domotiga page here: http://www.domotiga.nl/projects/domotig ... ve-Wrapper

Download and compile open-zwave. Link the domowrapper to it and install it on your system. Then on the device tab select the open-zwave usage and the poll timer.

Chances are it doesn't work right now because open-zwave developers seem to be a bunch of "ohh-let me just screw over our entire development tree and do it differently" kind of guys. But it seems they'll fix that again soon™.

Re: DomotiGa, Aeon Labs Z-stick and Everspring AN158

Posted: Fri Feb 17, 2012 10:44 pm
by raymonvdm
I already had an issue running with ron for the open-zwave system kill intergration. Because i was using open-zwave in the past. Ron already upgraded Domotiga to fix the open-zwave issues an for now they seem okay. I also asked ron to take the open-zwave source up in his svn to prevent Domotiga users from having issues when using open-zwave

For know im using

DomotiGa Updated to revision 833.
open-zwave Checked out revision 437.


When i check the log i see the following

Code: Select all

2012-02-17 21:43:10:160 Received Meter report from node 11: Power=3W
However the kwh value does not seem to be there

Re: DomotiGa, Aeon Labs Z-stick and Everspring AN158

Posted: Fri Feb 17, 2012 11:01 pm
by jrkalf
I'm still having issues not receiving status updates from my fibaro when I switch the light using the "manual" switch on the wall.

Re: DomotiGa, Aeon Labs Z-stick and Everspring AN158

Posted: Sun Feb 19, 2012 1:41 am
by raymonvdm
The open-zwave issues are still there. I also have the problemen dat polling devices by open-zwave is not updating there status on domotiga. I can see that the logfile OZW_Log.txt status device=0 but domotiga still thinks the device is on when it is actuale switched off by hand.


Another problem that i have with the Everpring is this

Code: Select all


Look out
 When important devices are hooked up to the AN158, watch our for power failures . Apparently the AN158 does not switch automatically to its previous
 state. In my case it was connected to a freezer; luckily I remembered to manually switch the AN158 on after power was restored.

I would like to know if i can change the default device settings to be alway on with out remove the relay from the device

Re: DomotiGa, Aeon Labs Z-stick and Everspring AN158

Posted: Sun Feb 19, 2012 11:14 am
by j.hoekstra
Looking in the manual suggests it's not possible to configure that.
I have the same combination and pressing the button on the devices updates the status in domotiga directly, this seems to be the default configuration in de module.

Re: DomotiGa, Aeon Labs Z-stick and Everspring AN158

Posted: Sun Feb 19, 2012 6:22 pm
by raymonvdm
I also recieved an email from Tane that it is not possible to do this using the settings


Warranty void after this line


So i have lookup up my soldering iron an tried to fix it myself. For now the unit is always on but its power reporting seems weird. When nothing attached to the unit the power reading states 20W

So one problem solved an new problem created. But at least i made some pics

Pics

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

I have removed R9 which is a 2.5mm copper jumper feeding the relay switch and moved the powerfeed from LS to R9 (always on) but it seems like the power measurement circuit is also changed this way. Maybe i just had to get the power from R9 and not cut it. But i wil place a new jumber to get the thing back to normal again

I know for now that this device is not useful for measuring my refrigirator and server because the devices stay of after powerloss so i have to find another device for this. The best solution is a device wich uses coils to measure and can`t cut off power

Image

Image

Image

Image

Re: DomotiGa, Aeon Labs Z-stick and Everspring AN158

Posted: Sun Feb 19, 2012 11:26 pm
by raymonvdm
After rebuilding the module the meter function has really died. Switching is stil possible but i think the power measurement component got to hot when removing / adding the R9 bridge. Because the device was not suitable for me in the first place i now have to look into plugwise equipment (unless there is an always on after powerfail measurement alternative)

Re: DomotiGa, Aeon Labs Z-stick and Everspring AN158

Posted: Wed Feb 22, 2012 1:46 am
by raymonvdm
Since SVN revision 834 of Domotiga it is possible to see the W and KwH reading of the AN158 after recompiling the Z-Wave wrapper
and configuring this as Value 2 and 3

Code: Select all

$ cd /home/domotiga/domotiga/
domotiga@system:~/domotiga$ svn up
U    wrappers/domozwave/DomoZWave.cpp
Updated to revision 834.

domotiga@system:~/domotiga$ cd wrappers/domozwave/

domotiga@system:~/domotiga/wrappers/domozwave$ make

domotiga@system:~/domotiga/wrappers/domozwave$ sudo make install


Re: DomotiGa, Aeon Labs Z-stick and Everspring AN158

Posted: Wed Apr 25, 2012 10:41 am
by mrqnapper
I now have the Aeon Z-stick working with the AN158 device. I can switch the device on and off. Also if I switch on the device itself I see the status changing. So, next step is getting the energy read and have the output in a graph in Domotiga. Now I followed all the steps described in the wiki, in my newly created device I have value 2 and 3 setup for the energy ouput, have the RRD set and ... no energy consumption shown at all?
So I have all the latest revisons, etc. What is the way to get this energy reading going?

Also what's still worrying me, is that the communication between the stick and the device is still not very stable. This morning it seems to be working very well. After a while I could not shwitch the device on or off from within Domotiga? Now the distance between the stick and the device is no more than 1 meter! Is this something related to the AN158 device? Or has this something to do with the system (Ubuntu in a Virtualbox VM on a MacMini Server host)?