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.
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

New version uploaded

Added support for FW release 433_1001 18-02-2016
# - IT (Intertek,FA500,PROmax)
# - Confexx CNF24-2435 blind motors
Henrik4223
Posts: 47
Joined: Fri Mar 04, 2016 10:18 am

Re: RFXtrx

Post by Henrik4223 »

I have just recieved the RFXtrx433E and started using your great plugin - and this sems to be better than Tellstick Duo in regards of support.

However, I have som problems with my chinese sensors. In Tellstick I can use a code for the brennenstuhl (code switch) that works fine but this is not directly supported by the RFXtrx.

BUT, I do seem to get the uncoded messages directly in eventghost. But they are in the form of a message like:

Undecoded: ['0b', '03', '01', '3f', '33', '7f', 'ff', '92', '75', 'ab', 'd7', '60'] arc

How can I use this log information as an event to trigger my macros?
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

Sounds good,

First of all, in RFXmngr, have you set the mode with the ARC box ticked? Currently the undecoded message is not an event as you have correctly noticed. It was meant to be used for debugging but it is easy to create an event in addition or instead
Henrik4223
Posts: 47
Joined: Fri Mar 04, 2016 10:18 am

Re: RFXtrx

Post by Henrik4223 »

Yes - I have tried setting the undec on and ARC on as the only ones.

How can I change it to send the undec message as an event insted?

It is a doorbell and it ALWAYS sends the same two undec messages when pressed so using a message as an event would mean that the doorbell would besupported :D
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

Since this is a special case (and not the very best way to do it) you can try a personalized modification.

1) Open the __init__.py file for the RFXtrx plugin

2) Find line 1586

3) Modify the lines below like this

Code: Select all

        try:
            #print 'Undecoded: ', msg, subtypes[str(msg[2])]
            self.TriggerEvent(str(msg))
        except:
            eg.PrintError(self.text.decodeError + str(msg))
Save & restart EG
Henrik4223
Posts: 47
Joined: Fri Mar 04, 2016 10:18 am

Re: RFXtrx

Post by Henrik4223 »

Very strange.

In the events in Eventghost I get the following (the bold number is counting it seems - thus the event is never the same):

RFXtrx.['08', '03', '01', '01', '1f', '1d', '07', '0b', 'a6']
RFXtrx.['08', '03', '01', '03', '1f', '1d', '07', '0b', 'a6']

In RFXtrx I always get the same "events" - see below:

UNDECODED ARC:1F1D070BA6
UNDECODED ARC:1B359AB260
UNDECODED ARC:1F1D070BA6
UNDECODED ARC:1B359AB260

Can the "counting" in the event/message in the RTX plugin be removed?
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

Honestly. This is not the proper way of doing it and the following code is just for your experiment and will not be included in future releases so you will have to modify future versions yourself. Why? The proper way is that the device should be supported by the RFXtrx itself and that will require a new firmware from RFXCOM (you could try to issue a question to them)

Anyway, lets look how we could filter out the information you can use as trigger for macros.

The event now looks like

RFXtrx.['08', '03', '01', '01', '1f', '1d', '07', '0b', 'a6']
RFXtrx.['08', '03', '01', '03', '1f', '1d', '07', '0b', 'a6']

We would actually skip the 4th element in the list (that is actually the message counter). So our target would be they should look like

RFXtrx.['08', '03', '01', '1f', '1d', '07', '0b', 'a6']


In code, the following will do that

Code: Select all

        try:
            #print 'Undecoded: ', msg, subtypes[str(msg[2])]
            del msg[3]
            self.TriggerEvent(str(msg))
        except:
            eg.PrintError(self.text.decodeError + str(msg))
Henrik4223
Posts: 47
Joined: Fri Mar 04, 2016 10:18 am

Re: RFXtrx

Post by Henrik4223 »

Dear krambriw

This is absolutely perfect - now my doorbell works :mrgreen:

I will save you code so that I can put it in when you update the plugin :D

ThanX!
Henrik4223
Posts: 47
Joined: Fri Mar 04, 2016 10:18 am

Panic command to several KD101 at the same time?

Post by Henrik4223 »

I have set up a burglar alarm using 8 KD101 alarms. 4 of the alarms are connected as a group to each other so when one activates all 4 activate. The other 4 are not grouped (it is not very nice to be in the house if all alarms start when we have an "accident" in the kitchen :mrgreen: ).

However, when the burglary alarm starts I need them all to start. However, sending 5 panic commands (1 command for the group and one command for each of the remaining alarms) they seem to wait for each other meaning that one alarm will first start when the previous alarm has ended.

Anyway to change this to get them all to start alarming on the same time (without grouping them all together)- maybe I need to change a setting?
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

The internal behavior of KD 101 is something we cannot control. One thing you could do is to allow a wait between the commands the each sensor. I have two of those detectors and if I activate panic in each of them with a short delay in between it works, I can verify I hear the siren from both simultaneously. And mine are not grouped.

Also important is to check that your batteries in each detector are good (the 3x 1.5V batteries)
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

New version released

Added support for FW release 433_1002
# 06-05-2016
# - BlindsT12 ÔÇô Confexx unit code corrected
# - Cartelectronic TIC and Encoder added
# - Livolo dim/scene commands added for On/Off
# module
# - RFY unit code All changed to channel 0
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

New version released

Added support for FW release 433_1006 08-08-2016
# - Lighting5 - MDRemote 108 LED added
# - Unit code added to BlindsT3
# - FAN ÔÇô SEAV TXS4 added
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

New version released

# 2016-11-04 Walter Kraembring: Added support for FW release 433_1008 & 1009
# Lighting1 - Philips SBC unit 1-16
# Security1 ÔÇô RM174RF added
# Westinghouse fan 7226640
# Thermostat4 added (MCZ 1 & 2 fan models)
tjabas
Experienced User
Posts: 98
Joined: Sun Feb 07, 2016 6:28 pm

Re: RFXtrx

Post by tjabas »

Im thinking of getting myself a RFXtrx433e, im thinking of replacing my old tellstick duo, do you think that the upgrade would give me more possibilities to program the RFX, instead of the duo? do i get more settings to work with in the RFX plugin compared to the duo plugin?
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

Depends what you are looking for but the main advantage with RFXtrx is its support for many more products. Besides it is much better in handling transmission of multiple commands and parallel receiving of sensor signals. It is also faster in the situation that you need to send out multiple commands to several devices. Let's say you have many lamps with different adresses that you would like to turn on at a certain time, then the RFXtrx is much faster in handling this.

But if you have specific needs, please just make a note here and I'm sure you will get an answer
Post Reply