Page 21 of 36

Re: RFXtrx

Posted: Sun Feb 09, 2014 6:21 pm
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.

Re: RFXtrx

Posted: Mon Feb 10, 2014 6:49 am
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

Re: RFXtrx

Posted: Tue Feb 11, 2014 5:23 am
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

Re: RFXtrx

Posted: Tue Feb 11, 2014 5:50 am
by krambriw
You could check this discussion, there are some links as well

http://www.domoticaforum.eu/viewtopic.p ... 5e5#p61255

Re: RFXtrx

Posted: Tue Feb 11, 2014 7:13 am
by Mastiff

Re: RFXtrx

Posted: Fri Feb 14, 2014 7:18 am
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

Re: RFXtrx

Posted: Fri Feb 14, 2014 8:01 am
by krambriw
You have to add the plugin two times. For each you can set the correct com-port

Re: RFXtrx

Posted: Fri Feb 14, 2014 10:13 am
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

Re: RFXtrx

Posted: Fri Feb 14, 2014 11:58 am
by krambriw
Ooops, I need to look into this...

Re: RFXtrx

Posted: Fri Feb 14, 2014 12:51 pm
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

Re: RFXtrx

Posted: Fri Feb 14, 2014 2:10 pm
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)

Re: RFXtrx

Posted: Fri Feb 14, 2014 3:10 pm
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

Re: RFXtrx

Posted: Fri Feb 14, 2014 3:33 pm
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

Re: RFXtrx

Posted: Fri Feb 14, 2014 6:42 pm
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

Re: RFXtrx

Posted: Sat Feb 15, 2014 5:48 am
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