Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

RFXtrx

Questions and comments specific to a particular plugin should go here.
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: RFXtrx

Post by Mastiff »

I had that problem, but I ordered the antenna and plugs that are mentioned at the top of this tread:

http://board.homeseer.com/showthread.php?t=133820

Works a lot better, my weak sensors jumped up 2 notches on signal strength. Just be careful to position it right. You'll soon see how to do that when you have it connected.

Oh, btw you should only use a short cable, max 1 meter if you're not using the correct RG8 coax cable. I use RG6, with half a meter now. Works very well.
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

I was wondering if it is possible to connect two RfxTrx units at the same time and to control them
Yes, the plugin is written to support multiple units anyway. I have not tested myself but it should work

BR
alonmalka
Posts: 29
Joined: Wed Dec 04, 2013 10:07 am

Re: RFXtrx

Post by alonmalka »

Great!!! I will be sure to try it tomorrow when the second unit arrives.
Also, can someone point me to a link of a shop that sells antenna that will extend the poor range of the rfxtrx433.

Thanks,

Alon
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

You could check this discussion, there are some links as well

http://www.domoticaforum.eu/viewtopic.p ... 5e5#p61255
Mastiff
Experienced User
Posts: 872
Joined: Thu May 03, 2012 10:43 am

Re: RFXtrx

Post by Mastiff »

alonmalka
Posts: 29
Joined: Wed Dec 04, 2013 10:07 am

Re: RFXtrx

Post by alonmalka »

krambriw wrote:
I was wondering if it is possible to connect two RfxTrx units at the same time and to control them
Yes, the plugin is written to support multiple units anyway. I have not tested myself but it should work

BR
Hi,

I tried using both but I have to choose one com port which means (I think) I can only use one. What an I missing?

Alon
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

You have to add the plugin two times. For each you can set the correct com-port
alonmalka
Posts: 29
Joined: Wed Dec 04, 2013 10:07 am

Re: RFXtrx

Post by alonmalka »

OK. It works great.
There is one issue though.
It creates the same event and because of that calls the macro twice. Is is possible for the event to be different?
For example:
Rfxtrx.Type: AC Address...
and
Rfxtrx2.Type: AC Address...

Thanks,
Alon
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

Ooops, I need to look into this...
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

I only have a quick solution for you at the moment:

1) in the second plugin folder, edit the __init__.py file
2) go to line 337 (in the latest version)
3) find the line
prefix="RFXtrx"
4) change to
prefix="RFXtrx2"
5) Save and restart EG
6) Now your events from the second RFXtrx should look similar to this:

Code: Select all

13:45:59   RFXtrx2.Type: Blyss_Thomson id: 4842 house: H unit: 01 command: on ' signal: 6'
To make a better solution, I will have to add a setting for 'prefix' in the configuration dialog of the plugin. Is not a big deal, I will include this in the next release but if you find something more, please report back

Best regards, Walter
alonmalka
Posts: 29
Joined: Wed Dec 04, 2013 10:07 am

Re: RFXtrx

Post by alonmalka »

Hi, how come I don't see a second plugin folder? just the one.
This is ofcourse after i duplicated the plugin (by adding it again)
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

Sorry, I see several problems here, I will try to quickly make a new version where you can configure also the prefix...it will take five minutes I think
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

You may try this one. I have made it possible to configure the prefix (default is RFXtrx) so you should be able to separate events from them.

1) replace with the attached __init__.py
(use released version in first post)
2) disable both entries of the RFXtrx plugin, save, restart eg

3) open RFXtrx plugin configuration, accept or change the prefix
Image4.jpg
4) repeat for second entry of plugin, set prefix name 'RFXtrx2' or what you prefer

5) enable both entries, they should start communicate with the both of the RFXtrx devices
Last edited by krambriw on Sat Feb 15, 2014 1:09 pm, edited 1 time in total.
alonmalka
Posts: 29
Joined: Wed Dec 04, 2013 10:07 am

Re: RFXtrx

Post by alonmalka »

Hi,

Thanks for all your help and your quick response.
I tried using your solution but I get an error as the plugin loads:
19:36:00 Error starting plugin: RFXtrx
19:36:00 Traceback (most recent call last) (1640):
19:36:00 File "C:\Program Files\EventGhost\eg\Classes\PluginInstanceInfo.py", line 177, in Start
19:36:00 self.instance.__start__(*self.args)
19:36:00 TypeError: __start__() takes exactly 26 arguments (25 given)

Alon
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

Hi,

Yes, you have to open the configuration for the plugin, accept the prefix or change it, and then click OK to save.

The error you get is because this has not been correctly done. Your configuration is from the previous version and needs to be aligned with the new version.

Please try again (for both entries if you have added the plugin two times)


BR
Post Reply