Page 1 of 1
Domotiga and z-wave events from devices
Posted: Mon Jan 09, 2012 9:22 pm
by uAlex73
I am new to Domotiga (and also z-wave

), i know Domotiga can poll the devices, but if the device sends an event itself, does Domotiga "sees" and processes this one successfully?
Re: Domotiga and z-wave events from devices
Posted: Fri Jan 13, 2012 7:39 pm
by uAlex73
Then i assume it doesn't work?

Re: Domotiga and z-wave events from devices
Posted: Fri Jan 13, 2012 9:00 pm
by jrkalf
Sorry I didn't see your message.
From what I've experienced for now: NO it doesn't work. (yet)
Re: Domotiga and z-wave events from devices
Posted: Mon Feb 06, 2012 11:20 pm
by RDNZL
You can try DomotiGa r817 together with latest open-zwave wrapper, it should pick up all value changes and report them back to DomotiGa.
If not, please e-mail me your debug log, I'm also looking for users with an ZWave thermostat to finish coding support for those device as well.
To revision 817 I also added support for Aeon Labs Micro Smart Energy Switch, switching and logging it's power usage, Fibaro FGS221, incl. multi-instance switching/reporting.
Also added logging luminance, temperature and battery status of other ZWave sensors, needs testing.
Re: Domotiga and z-wave events from devices
Posted: Tue Feb 07, 2012 11:11 pm
by jrkalf
Thanks for the update Ron.
It looks great.
I'm wondering though whether or not the value updates should be instant or on a poll basis. I don't see instant updates just yet.
I did see the multi-instance switching in action by using node configuration <realnode:virtualnode> addresses, that works nicely.
Re: Domotiga and z-wave events from devices
Posted: Sat Mar 10, 2012 3:05 pm
by jerome
I use Domotiga with Z-wave devices.
I have Everspring Door-Window SM103 detectors with Aeon lab stick S2 controller.
My configuration:
- Domotiga : rev.848 (if update database is OK)
- open-zwave : rev. 493
Domotiga catches events from SM103 without problem; Gambas console extract below :
NodeEvent: 21825879:6
2012-03-10 11:54:43:516 Node006, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x06, 0x03, 0x20, 0x01, 0x00, 0xd6
2012-03-10 11:54:43:516
2012-03-10 11:54:43:517 Node006, Received Basic set from node 6: level=0. Sending event notification.
NodeEvent: 21825879:6
2012-03-10 11:54:44:009 Node006, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x06, 0x03, 0x20, 0x01, 0x63, 0xb5
2012-03-10 11:54:44:009
2012-03-10 11:54:44:009 Node006, Received Basic set from node 6: level=99. Sending event notification.
(Note: 0="close"; 99="open")
But in the devices list (with refresh or autorefresh active), the state of "value 1" stays to "open". There isn't update.
Is it normal situation with rev. 848 ?
Do I change code in wrapper ?
Jérôme
Re: Domotiga and z-wave events from devices
Posted: Sun Mar 11, 2012 1:09 pm
by RDNZL
Can you catch and mail me the output of DomotiGa with open-zwave debug enabled?
It contains more info than the text above, so I can see whats wrong and fix it.
If you run the binary try something like DomotiGa.gambas >zwavedebug.log
Use DomotiGaServer.gambas if you run the cli version.
Re: Domotiga and z-wave events from devices
Posted: Mon Mar 12, 2012 8:43 pm
by jrkalf
Ron,
I just downloaded and compiled the latest versions of domotiga and open-zwave, but I can't compile the domozwave wrapper anymore. My error message:
Code: Select all
jelle@XXXXX:/opt/domotiga/wrappers/domozwave$ make
g++ -c -Wall -Wno-format -g -DDEBUG -fPIC -I open-zwave/cpp/src -I open-zwave/cpp/src/command_classes/ -I open-zwave/cpp/src/value_classes/ -I open-zwave/cpp/src/platform/ -I open-zwave/cpp/tinyxml/ -o DomoZWave.o DomoZWave.cpp
DomoZWave.cpp: In function ‘void DomoZWave_EnablePolling(int, int)’:
DomoZWave.cpp:773:44: error: no matching function for call to ‘OpenZWave::Manager::SetPollInterval(int&)’
DomoZWave.cpp:773:44: note: candidate is:
open-zwave/cpp/src/Manager.h:341:8: note: void OpenZWave::Manager::SetPollInterval(int32, bool)
open-zwave/cpp/src/Manager.h:341:8: note: candidate expects 2 arguments, 1 provided
make: *** [DomoZWave.o] Error 1
Re: Domotiga and z-wave events from devices
Posted: Mon Mar 12, 2012 11:00 pm
by j.hoekstra
Re: Domotiga and z-wave events from devices
Posted: Sun Mar 18, 2012 8:15 pm
by jerome
Ron,
Thank you for your reply.
I don't know to generate zwavedebug.log.
I find OZW_Log.txt and debug-2012-03.log files.
I have forgotten to indicate I use domotiga on ubuntu 11.10 with ide Gambas. So I can generate file of "Logs->Debug". But there are few informations.
Jérôme
Domotiga and z-wave events from devices
Posted: Sun Apr 15, 2012 5:48 pm
by jerome
I have tried open-zwave rev. 524.
it 's worst !
I have just one line in debug log:
2012/04/15 17:36:34 [Z-Wave] Initialising open-zwave wrapper.
And I haven't sensor state in console.
I want to back to rev. 493.
Re: Domotiga and z-wave events from devices
Posted: Mon Apr 16, 2012 8:28 pm
by uAlex73
Did you also recompile the wrapper from Domotiga?
Re: Domotiga and z-wave events from devices
Posted: Tue Apr 17, 2012 11:53 pm
by jerome
Yes, I recompile the wrapper.
I have changed polling time to 10000 (ms ??
http://www.domotiga.nl/issues/95#change-281) and now I have event (basic set) in the console.
But there isn't changement in the devices list.
This is debug log:
2012/04/17 22:07:38 [Z-Wave] Initialising open-zwave wrapper.
2012/04/17 22:07:38 [Z-Wave] Searching for nodes to poll.
2012/04/17 22:07:38 [Z-Wave] Got value changed notification for node 3 and instance 1 value1 changed to On.
2012/04/17 22:07:38 [Z-Wave] Got value changed notification for node 3 and instance 1 value1 changed to Closed.
2012/04/17 22:07:39 [Z-Wave] Got value changed notification for node 3 and instance 1 value1 changed to Closed.
2012/04/17 22:07:39 [Z-Wave] Got value changed notification for node 3 and instance 1 value255 changed to 100.
2012/04/17 22:07:39 [Z-Wave] Searching for nodes to poll.
But I want perharps a impossible solution !?
( I want intantaneous state in the devices list)
Re: Domotiga and z-wave events from devices
Posted: Wed Apr 18, 2012 10:49 pm
by jerome
uAlex73 : yes, I recompile the wrapper.
I use the method described in this page
http://www.domotiga.nl/projects/domotiga/wiki/Z-Wave.
First I compile open-zwave and next the wrapper.
Thanks for your help.
Re: Domotiga and z-wave events from devices
Posted: Fri Apr 20, 2012 10:45 pm
by RDNZL
Immediate status updates can only be done with associations between zwave device, then they report status changes to each other.
So when you include the stick it receives direct update, but not all zwave devices support this.
Please check documents.
Also if you fiddle with the open-zwave wrapper, make sure you remove the zwcfg*.cfg (in wrapper directory) every now and then after changing settings, otherwise the open-zwave wrapper doesn't query for all messages and create a new config file and keep using old configs per node.