Page 1 of 1

Not able to choose RFXmitter to control Waveman

Posted: Thu Mar 17, 2011 10:43 pm
by rune
Hi

Im not able to choose the interface RFXCom transmitter to control my Waveman device (to turn it on/off).
I get the message "Selected interface does not support this devicetype!". Is this a bug? Or am i doing something wrong?
In the crfxcomtx.class i can see a Waveman procedure for the RFXMitter, so i thought that it could control my Waveman device.

Thanks

Re: Not able to choose RFXmitter to control Waveman

Posted: Fri Mar 18, 2011 2:37 pm
by RDNZL
To be honest, I have ported raw code, and didn't implement it fully because I didn't know anyone having Waveman modules.

Will see if I can complete it, and you can test it, if you want it.
Just hold on.

Re: Not able to choose RFXmitter to control Waveman

Posted: Fri Mar 18, 2011 3:18 pm
by rune
Of course I will test it. That would be great! Thanks!

Re: Not able to choose RFXmitter to control Waveman

Posted: Fri Mar 18, 2011 3:51 pm
by RDNZL
Well I have just tested it, and it works with version 0.1.195.

Do you run this version?
If you do can you post the result of this query, it should look like this:

Code: Select all

$ mysql -u root -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 280
Server version: 5.1.49-1ubuntu8.1 (Ubuntu)

Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> use domotiga;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> select * from interfaces where id=12;
+----+--------------------+-------------------------------------------------------------------------+------------+
| id | name               | type                                                                    | mode       |
+----+--------------------+-------------------------------------------------------------------------+------------+
| 12 | RFXCom Transmitter | X10 ARC AC RFXCom Visonic HEEU Digimax Harrison Koppla Waveman Flamingo | Read Write |
+----+--------------------+-------------------------------------------------------------------------+------------+
1 row in set (0.00 sec)

Re: Not able to choose RFXmitter to control Waveman

Posted: Fri Mar 18, 2011 7:07 pm
by rune
Here is the SQL dump:

*************************************************************************************
domotiga@ubuntu:~$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 155
Server version: 5.1.49-1ubuntu8.1 (Ubuntu)

Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> use domotiga;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> select * from interfaces where id=12;
+----+--------------------------------+-----------------------------------------------+-----------------+
| id | name | type | mode |
+----+--------------------------------+-----------------------------------------------+-----------------+
| 12 | RFXCom Transmitter | X10 ARC AC RFXCom Visonic | Read Write |
+----+--------------------------------+-----------------------------------------------+-----------------+

**************************************************************************************************
I use version 0.1.195 of Domotiga.

Re: Not able to choose RFXmitter to control Waveman

Posted: Sat Mar 19, 2011 4:15 pm
by RDNZL
My mistake, I was looking in my development database.

Please update yours with these commands, and try again, if all works, I will add it to the official version.

Code: Select all

$ mysql -u root -p
Enter password:

mysql> use domotiga;

mysql> UPDATE interfaces SET type = 'X10 ARC AC RFXCom Visonic Waveman' WHERE id = 12;
Query OK, 1 row affected (0.00 sec)
Rows matched: 1  Changed: 1  Warnings: 0

mysql> select * from interfaces where id = 12;
+----+--------------------+-----------------------------------+------------+
| id | name               | type                              | mode       |
+----+--------------------+-----------------------------------+------------+
| 12 | RFXCom Transmitter | X10 ARC AC RFXCom Visonic Waveman | Read Write |
+----+--------------------+-----------------------------------+------------+
1 row in set (0.00 sec)

Re: Not able to choose RFXmitter to control Waveman

Posted: Sat Mar 19, 2011 5:31 pm
by rune
That did the trick. Now I can turn my device on/off. Superb! :) Thanks for great support!!

Re: Not able to choose RFXmitter to control Waveman

Posted: Mon Mar 21, 2011 1:38 pm
by rune
Another question: On the receiver side (rfxcom receiver), do I need to do som database changes here too? To be able to receive from Waveman remote controllers? The log does not show any data received..

Re: Not able to choose RFXmitter to control Waveman

Posted: Mon Mar 21, 2011 4:44 pm
by b_weijenberg
The receiver does not support the Waveman protocol.