Plugin for the USB RFXtrx from RFXCOM

[quote=“Catr, post:580, topic:170604”]@lolodomo
When I chose the menu Device creation from RFXtrx controller device the house code À to P must be filled in. But there is no box to filll in. For Unit code there is a box.
Add Impulse Switch is not creating a device!
How to get an IMPULSE switch working?[/quote]

I have added a chapter “Known problems” in the wiki page: RFXtrx Gateway
Here is the content of this chapter:

A bug in Vera firmware 1.5.408 has for consequence that fields in the Device creation tab of the RFXtrx Controller device are not what they should be; in particular the input field for the house code is not displayed, replaced by a label field from another tab...

This bug is not included in Vera firmware 1.5.346. So you have the choice between returning back to firmware version 1.5.346 or waiting for a new Micasaverde firmware (pray so that Micasaverde takes this problem into consideration).

[quote=“lolodomo, post:581, topic:170604”][quote=“Catr, post:580, topic:170604”]@lolodomo
When I chose the menu Device creation from RFXtrx controller device the house code À to P must be filled in. But there is no box to filll in. For Unit code there is a box.
Add Impulse Switch is not creating a device!
How to get an IMPULSE switch working?[/quote]

I have added a chapter “Known problems” in the wiki page: RFXtrx Gateway
Here is the content of this chapter:

A bug in Vera firmware 1.5.408 has for consequence that fields in the Device creation tab of the RFXtrx Controller device are not what they should be; in particular the input field for the house code is not displayed, replaced by a label field from another tab...

This bug is not included in Vera firmware 1.5.346. So you have the choice between returning back to firmware version 1.5.346 or waiting for a new Micasaverde firmware (pray so that Micasaverde takes this problem into consideration).

[/quote]

One solution to avoid the firmware bug would be to put everything in one unique tab (settings), that means moving the content of the Device creation tab in the Settings tab.
Will think about that for the next version.

I have a similar problem: there is a dimmer instance, but it does not work, so I can only turn the light on or off.
Is there someone who has it working whit KUKA (ACM-300)?

@lolodomo,
Flashed back the 346 software to the vera, now 8 switches are working. :slight_smile:

I have a similar problem: there is a dimmer instance, but it does not work, so I can only turn the light on or off.
Is there someone who has it working whit KUKA (ACM-300)?[/quote]

Try with RFXmngr to check if you can dim your light.

I have a similar problem: there is a dimmer instance, but it does not work, so I can only turn the light on or off.
Is there someone who has it working whit KUKA (ACM-300)?[/quote]

Try with RFXmngr to check if you can dim your light.[/quote]

In RFXmngr it’s working fine: I can dim the lights.

In Vera Lite: when I press Group Off and Group on I see the tranceivers leds blink. When I press dimm or bright, the tranceiver does not respond.
In the controls I changed D_X10ChaconRemote1.xml into D_DimmableLight1.xml and now I can dimm the lights. Only the status in the gui is not updated when the switch on the wall is used…

Hello,

Can somebody help me to get temperature from RFXSensor → RFXtrx USB into Vera?
It works fine with RFXMngr.exe so I guess I could add a device manually in Vera. Right?
Thnks

I have a similar problem: there is a dimmer instance, but it does not work, so I can only turn the light on or off.
Is there someone who has it working whit KUKA (ACM-300)?[/quote]

Try with RFXmngr to check if you can dim your light.[/quote]

In RFXmngr it’s working fine: I can dim the lights.

In Vera Lite: when I press Group Off and Group on I see the tranceivers leds blink. When I press dimm or bright, the tranceiver does not respond.
In the controls I changed D_X10ChaconRemote1.xml into D_DimmableLight1.xml and now I can dimm the lights. Only the status in the gui is not updated when the switch on the wall is used…[/quote]

You must do it through the plugin UI ! You go in the device creation tab, you enter your device information and then you push the button “AC dimmer”. It is the way to change from binary light type to dimmable light type.
Other solution is to send a dim command through your remote. In this case, the plugin will automatically change the type of the device.
It is definitively not the remote device that must be changed !

[quote=“kad77, post:587, topic:170604”]Hello,

Can somebody help me to get temperature from RFXSensor → RFXtrx USB into Vera?
It works fine with RFXMngr.exe so I guess I could add a device manually in Vera. Right?
Thnks[/quote]

No. You must implement something new in the plugin to add support for RFXSensor.

Ok. Is it planned in the future?

Probably not by myself. But everybody can contribute, I made the plugin as modular as possible.

[quote=“Catr, post:584, topic:170604”]@lolodomo,
Flashed back the 346 software to the vera, now 8 switches are working. :)[/quote]

I am waiting for the next public firmware, hoping the bug will be fixed.
If not, I will put everything in a unique big tab !

Do you mean I should be able t modify it myself?
Where can I find info how to do it?

Thanks for your help

I have a similar problem: there is a dimmer instance, but it does not work, so I can only turn the light on or off.
Is there someone who has it working whit KUKA (ACM-300)?[/quote]
Try with RFXmngr to check if you can dim your light.[/quote]

In RFXmngr it’s working fine: I can dim the lights.

In Vera Lite: when I press Group Off and Group on I see the tranceivers leds blink. When I press dimm or bright, the tranceiver does not respond.
In the controls I changed D_X10ChaconRemote1.xml into D_DimmableLight1.xml and now I can dimm the lights. Only the status in the gui is not updated when the switch on the wall is used…[/quote]

You must do it through the plugin UI ! You go in the device creation tab, you enter your device information and then you push the button “AC dimmer”. It is the way to change from binary light type to dimmable light type.
Other solution is to send a dim command through your remote. In this case, the plugin will automatically change the type of the device.
It is definitively not the remote device that must be changed ![/quote]

Unfortunately, still no luck. I tried to add the ac dimmer in the device creation tab and to send the dim command through the remote. Both with no result.
When Vera Lite detects a new dimmer device, 2 RFX devices pop up:

  1. RFX Light, I can turn the light on or off. Works fine.
  2. RFX remote, 4 buttons called dim-bright-on-off. When I push on / off, the leds of the transceiver blink. When I push dim or bright, the leds do not blink.

If you already have minimum knowledge in Vera plugin development, it should be doable.

Where can I find info how to do it?

Thanks for your help

Just open the L_RFXtrx.lua file.
Of course, you will have to ask RFXCOM for the SDK, a PDF document describing what are the messages exchanged. The message for the RFXSensor is described.

[quote=“mho, post:594, topic:170604”]Unfortunately, still no luck. I tried to add the ac dimmer in the device creation tab and to send the dim command through the remote. Both with no result.
When Vera Lite detects a new dimmer device, 2 RFX devices pop up:

  1. RFX Light, I can turn the light on or off. Works fine.
  2. RFX remote, 4 buttons called dim-bright-on-off. When I push on / off, the leds of the transceiver blink. When I push dim or bright, the leds do not blink.[/quote]

On the RFX remote device, the buttons are named “group ON” and “group OFF”. They allow to simulate the group buttons of your remote (if they exist). Of course, you must have previously added devices in your group. Please check the manual of your remote to understand how to do it. Maybe Kaku does not provide the group feature ?

Dim and Bright are for X10 lighting only, so it is normal that nothing happens for AC.

Regarding the dimming, did you succeed in using the device creation tab to change your BinaryLight device into a DimmableLight device ? In the advanced tab of this device, can you tell me what is the value of the “altid” variable ? Then, please check the logs, you should find in particular the message sent when you try to dim the light from this device. Please report the RFXtrx logs at this instant. You can then compare this message with the message produced by RFXmngr.

PS: you can use this command to filter RFXtrx logs: tail -f /var/log/cmh/Lua…log | grep RFXtrx
Sorry, I don’t remember the exact name of the log file.

I have tried uninstalling alpha 5 en installing alpha 6 by following manual:

[url=http://nodecentral.wordpress.com/2012/08/26/working-vera-on-a-different-frequency-rfxcoms-rfxrtx433/]http://nodecentral.wordpress.com/2012/08/26/working-vera-on-a-different-frequency-rfxcoms-rfxrtx433/[/url]

but I get always alpha 5 back. What i’am doing wrong?

I found the problem, copy L_RFXtrx.lua with wincp and the problem is solved

Peter

[quote=“Peter, post:597, topic:170604”]I have tried uninstalling alpha 5 en installing alpha 6 by following manual:

[url=http://nodecentral.wordpress.com/2012/08/26/working-vera-on-a-different-frequency-rfxcoms-rfxrtx433/]http://nodecentral.wordpress.com/2012/08/26/working-vera-on-a-different-frequency-rfxcoms-rfxrtx433/[/url]

but I get always alpha 5 back. What i’am doing wrong?

I found the problem, copy L_RFXtrx.lua with wincp and the problem is solved

Peter[/quote]

To upgrade, you have:

  1. download the ZIP file corresponding to the new alpha 6 version: alpha6 in tags – RFXtrx Gateway
  2. upload individually each file contained in the ZIP file
  3. reload
    That’s all !

[quote=“lolodomo, post:596, topic:170604”][quote=“mho, post:594, topic:170604”]Unfortunately, still no luck. I tried to add the ac dimmer in the device creation tab and to send the dim command through the remote. Both with no result.
When Vera Lite detects a new dimmer device, 2 RFX devices pop up:

  1. RFX Light, I can turn the light on or off. Works fine.
  2. RFX remote, 4 buttons called dim-bright-on-off. When I push on / off, the leds of the transceiver blink. When I push dim or bright, the leds do not blink.[/quote]

On the RFX remote device, the buttons are named “group ON” and “group OFF”. They allow to simulate the group buttons of your remote (if they exist). Of course, you must have previously added devices in your group. Please check the manual of your remote to understand how to do it. Maybe Kaku does not provide the group feature ?

Dim and Bright are for X10 lighting only, so it is normal that nothing happens for AC.

Regarding the dimming, did you succeed in using the device creation tab to change your BinaryLight device into a DimmableLight device ? In the advanced tab of this device, can you tell me what is the value of the “altid” variable ? Then, please check the logs, you should find in particular the message sent when you try to dim the light from this device. Please report the RFXtrx logs at this instant. You can then compare this message with the message produced by RFXmngr.

PS: you can use this command to filter RFXtrx logs: tail -f /var/log/cmh/Lua…log | grep RFXtrx
Sorry, I don’t remember the exact name of the log file.[/quote]

I did not did succeed in using the device creation tab to change your BinaryLight device into a DimmableLight device.
These are my settings of the RFXtrx controller device:
Settings tab:
AC and X10 are enabled, the rest is disabled.
On the device creation tab I enter 11 in Unit code (the altid of the device I want to dim is RC/L2.0/03AB872/11 and in RFXmngr that’s working). After that I press the button: Add AC dimmer. Nothing happens, I am not even prompted to save.
Advanced tab:
Controlled by: No Parent
Altid is empty. I also tried to fill this with RC/L2.0/03AB872/11 (and RC/L2.0/03AB872) and to add the AC dimmer after that, but no result.
I saved the log file onto USB, but I couldn’t read it yet on my Windows machine.
I’ll add log info asap.
Thanks for your help!!!

[quote=“mho, post:599, topic:170604”]I did not did succeed in using the device creation tab to change your BinaryLight device into a DimmableLight device.
These are my settings of the RFXtrx controller device:
Settings tab:
AC and X10 are enabled, the rest is disabled.
On the device creation tab I enter 11 in Unit code (the altid of the device I want to dim is RC/L2.0/03AB872/11 and in RFXmngr that’s working). After that I press the button: Add AC dimmer. Nothing happens, I am not even prompted to save.[/quote]

You just forgot to enter the remote id.
Enter 03AB872 in the remote id field, enter 11 in the unit code field; push the button “Add AC dimmer”.
If you have taken a look in the logs, you would have discovered a message telling you that your remote id is not valid. Unfortunately, there is no way with the flash interface to popup a message window. So the user is not informed about errors ! Not very cool, I know.