Hi.
I try to get openzwave to work with Domotiga.
I can make it read Z-Wave. But I can not make it activate Z-Wave.
Everything works fine, if I disable openzwave.
With openzwave Z-Wave Commander can read Home ID, Controller ID and make a list of devices.
But when I choose a device and try on/off nothing happens.
Also in Main menu - control when I try on/off nothing happens.
I have enabled debug mode.
There is nothing at all in the log, when I activate a Z-Wave device with openzwave. Reading with openzwave and both reading and activating without openzwave write log entry's.
Anyone with a good idea, how to make it work?
Regards
Morten
Openzwave will not activate devices.
Moderator: RDNZL
- RDNZL
- Forum Moderator
- Posts: 1008
- Joined: Sun Sep 24, 2006 1:45 pm
- Location: Dordrecht, The Netherlands
- Contact:
Re: Openzwave will not activate devices.
You see a lot of open-zwave debug output when it initializes?
If this is the case it could be that the zw_xxxx.cfg file was not created correctly.
I had this problem once too, I fixed it by deleting the old/wrong one, and restart DomotiGa.
rm ~/domotiga/wrappers/domozwave/zwcfg_*.xml
If this still doesn't fix this, can you try the cfg file created with open-zwaves test program, to build it;
Then copy the zw_cfg file it generated to your DomotiGa wrapper directory, and try again.
Also make sure you use the last DomotiGa code, and xmlrpc support is enabled.
If you don't see alot of debug output, just a serial port opened message maybe you need to apply this patch;
http://code.google.com/p/open-zwave/issues/detail?id=22
If this is the case it could be that the zw_xxxx.cfg file was not created correctly.
I had this problem once too, I fixed it by deleting the old/wrong one, and restart DomotiGa.
rm ~/domotiga/wrappers/domozwave/zwcfg_*.xml
If this still doesn't fix this, can you try the cfg file created with open-zwaves test program, to build it;
Code: Select all
$ cd ~/domotiga/wrappers/domozwave/open-zwave/cpp/examples/linux/MinOZW$
Edit the code so it has your sticks serialport name.
$ vi Main.cpp
// Add a Z-Wave Driver
// Modify this line to set the correct serial port for your PC interface.
Manager::Get()->AddDriver( "/dev/ttyUSB0" );
$ make
$ ./test
Also make sure you use the last DomotiGa code, and xmlrpc support is enabled.
If you don't see alot of debug output, just a serial port opened message maybe you need to apply this patch;
http://code.google.com/p/open-zwave/issues/detail?id=22
Regards, Ron.
Re: Openzwave will not activate devices.
Thanks Ron.
I moved zwcfg_*.xml to trash. That was no good. A new one was not build.
I restored it, and renamed it to .old. Now a new one was created.
On the way I rebooted some times, hence I have no idea, what made the difference between no new file and new file.
Now I have a fun error.
In Z-wave Commander on/off is swapped. When I push on, I get off and off = on. In main - Control it work the right way.
Regards
Morten.
P.s. It don´t know Manufacturer on some of my devices. I made a list of the Manufacturer IDs, i could find a while back here http://www.digiwave.dk/forum/viewtopic.php?f=8&t=29
I moved zwcfg_*.xml to trash. That was no good. A new one was not build.
I restored it, and renamed it to .old. Now a new one was created.
On the way I rebooted some times, hence I have no idea, what made the difference between no new file and new file.
Now I have a fun error.
In Z-wave Commander on/off is swapped. When I push on, I get off and off = on. In main - Control it work the right way.
Regards
Morten.
P.s. It don´t know Manufacturer on some of my devices. I made a list of the Manufacturer IDs, i could find a while back here http://www.digiwave.dk/forum/viewtopic.php?f=8&t=29
- RDNZL
- Forum Moderator
- Posts: 1008
- Joined: Sun Sep 24, 2006 1:45 pm
- Location: Dordrecht, The Netherlands
- Contact:
Re: Openzwave will not activate devices.
Can you try latest code to see if on/off is still swapped?mhn wrote:Thanks Ron.
In Z-wave Commander on/off is swapped. When I push on, I get off and off = on. In main - Control it work the right way.
I fixed a compare statement, which can give trouble on older gambas versions.
Regards, Ron.
Re: Openzwave will not activate devices.
Fixed it. Thanks.
My Gambas is the version, one get with Synaptic Package Manager in Ubuntu 10.04 LTS. I had problems, when I followed your Gambas instructions (sorry don't remember where.), so I took the easy way.
My Gambas is the version, one get with Synaptic Package Manager in Ubuntu 10.04 LTS. I had problems, when I followed your Gambas instructions (sorry don't remember where.), so I took the easy way.
Re: Openzwave will not activate devices.
Gambas 2.19.
Re: Openzwave will not activate devices.
Hi.
I think, I found a new error.
I added a Everspring SP103-2 to the network using the Aeon stick.
When opening Z-Wave Commander, there were no new device.
I went to setup and removed the x in openzwave. Now the device showed up in Z-Wave Commander.
I then set the openzwave x again, and the device was shown in Z-Wave Commander using openzwave.
Hence it look like openzwave will not see new devices.
(This is just information. I fixed my problem for now. )
Regards
Morten
I think, I found a new error.
I added a Everspring SP103-2 to the network using the Aeon stick.
When opening Z-Wave Commander, there were no new device.
I went to setup and removed the x in openzwave. Now the device showed up in Z-Wave Commander.
I then set the openzwave x again, and the device was shown in Z-Wave Commander using openzwave.
Hence it look like openzwave will not see new devices.
(This is just information. I fixed my problem for now. )
Regards
Morten