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.
Post Reply
b_weijenberg
Posts: 27
Joined: Sun Jun 05, 2011 2:27 pm

Re: RFXtrx

Post by b_weijenberg »

KD101 smoke detectors get te same address if they are connected/paired.

SD90 smoke detectors have a configurable unique address.

The KD101 can also be controlled by the RFXtrx433 and can function as a siren.
Pallantir
Posts: 41
Joined: Mon May 14, 2012 6:41 pm

Re: RFXtrx

Post by Pallantir »

They are KD101, so they should have one address, then. And yes, it was the siren function I was after. My son's going to work this summer and live in the cabin, and I was thinking about waking him up with an inferno of smoke alarms! ;) Even a teenager shouldn't be able to sleep through that!

Edit: Next step will be to put the wires from an electrical cattle fence underneath his sheet, so if he doesn't get up within 10 seconds after the siren has started, he will be zapped up! :twisted:
henrock
Posts: 2
Joined: Sun May 27, 2012 10:47 am

Re: RFXtrx

Post by henrock »

Hi!

I noticed a bug in the part handling AC (lighting2) where your choices for the Unitcodes go from 0-15 but your Unitcodes array only contains 1-16 (as it should).

Change

Code: Select all

        list = [
            '0', '1', '2', '3', '4', '5', '6', '7', '8',
            '9', '10', '11', '12', '13', '14', '15', 'group'
        ]
to

Code: Select all

        list = [
            '1', '2', '3', '4', '5', '6', '7', '8',
            '9', '10', '11', '12', '13', '14', '15', '16'
        ]
on line 3229 and it should work.
Also how come the 'group' value is there?

Thanks for a great plugin!
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

Excellent, thank you!
I will fix this in the next upcoming version where I am currently also adding support for new device brands.

Best regards, Walter
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 in first post
RexavE
Posts: 9
Joined: Tue Jun 05, 2012 10:29 am

Re: RFXtrx

Post by RexavE »

Hi,

thanks for this plugins !
can you add support to the OWL 119 power meter ?

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

Re: RFXtrx

Post by krambriw »

Regarding OWL CM119/160, can you try this version? I am not 100% sure it will show everything correct. Please check if the readings are looking ok.
__init__.py
(180.79 KiB) Downloaded 369 times
RexavE
Posts: 9
Joined: Tue Jun 05, 2012 10:29 am

Re: RFXtrx

Post by RexavE »

Hi
Thx for your answer.

It doesn't work. The frame isn't decoded. see the log :

Code: Select all

Unknown message: ['11', '5a', '01', '0a', '51', '82', '00', '00', '00', '02', '53', '00', '00', '00', '9d', '52', '87', '69']
('Debug Info: ', 17, 36, '115a010a518200000002530000009d528769')
another frame decoded by rfxmngr:

Code: Select all

------------------------------------------------
115A0106518200000002530000009D2F9D69
Packettype    = ENERGY
subtype       = ELEC2 - OWL CM119, CM160
Sequence nbr  = 6
ID            = 20866
Count         = 0
Instant usage = 595 Watt
total usage   = 46056,8034479984 Wh
Signal level  = 6
Battery       = OK
------------------------------------------------
ask me if you need something ;-)
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

Thanks for the debug info. I think I found the problem. Could you try this version?
Best regards, Walter
__init__.py
(180.81 KiB) Downloaded 379 times
RexavE
Posts: 9
Joined: Tue Jun 05, 2012 10:29 am

Re: RFXtrx

Post by RexavE »

Thanks for your answer

here is my config in rfxmngr :

Code: Select all

------------------------------------------------
0D01000203532A000FEF00000000
Packettype        = Interface Message
subtype           = Interface Response
Sequence nbr      = 2
response on cmnd  = Set Mode
Transceiver type  = 433.92MHz
Firmware version  = 42
Hardware version  = 0.0
Undec             off
X10               enabled
ARC               enabled
AC                enabled
HomeEasy EU       enabled
Ikea Koppla       disabled
Oregon Scientific enabled
ATI               enabled
Visonic           enabled
Mertik            enabled
AD                enabled
Hideki            enabled
La Crosse         enabled
FS20              disabled
ProGuard          disabled
RollerTrol        disabled
RFU protocol 7    disabled
------------------------------------------------
i have to set up manually "Mertik" in rfxmngr, then quit and lauch eventghost to recieve OWL's frames

now the frame are identified by the eventghost plugings, but not well decoded (very huge id !) :p
i also got some errors

Code: Select all

['11', '5a', '01', '02', '51', '82', '00', '00', '00', '02', '33', '00', '00', '00', 'b6', 'e8', '0f', '69']
RFXtrx.Type: CM119/160 id: 2627942893704725676029896796142196564124583972389099125059822912882946074351233668867988895958192680717840218186966577773451228151155214665991168344648594505056477933679817470425616080596391474849110004664831470963872797826562208877536763624324085768148945130932646358311046171321551139636416496267583609702676139675169265680138524067349815345275833985366771036063926973144659447576480914016548086986790496833055555163553039506537880037231870311661627740031393898144022267443778697524944539848665285974381389250794107013259269801398305018674655411177456363097380917177817447380099309695499167627221859531289928578191746 ' Counter: 0 Instant power usage: 563.00 W Total energy usage: 53593.12 Wh signal: 6 battery: 9'
('Debug Info: ', 17, 36, '115a010251820000000233000000b6e80f69')
Unknown message: ['04', '00', '00', '01', 'd2']
('Debug Info: ', 4, 10, '04000001d2')
Message is incomplete: 0 2 00
Message is incomplete: 0 2 00
Message is incomplete: 0 2 00
['11', '5a', '01', '05', '51', '82', '03', '00', '00', '02', '33', '00', '00', '00', 'b6', 'eb', '48', '69']
RFXtrx.Type: CM119/160 id: 2627942893704725676029896796142196564124583972389099125059822912882946074351233668867988895958192680717840218186966577773451228151155214665991168344648594505056477933679817470425616080596391474849110004664831470963872797826562208877536763624324085768148945130932646358311046171321551139636416496267583609702676139675169265680138524067349815345275833985366771036063926973144659447576480914016548086986790496833055555163553039506537880037231870311661627740031393898144022267443778697524944539848665285974381389250794107013259269801398305018674655411177456363097380917177817447380099309695499167627221859531289928578191746 ' Counter: 3 Instant power usage: 563.00 W Total energy usage: 53596.81 Wh signal: 6 battery: 9'
('Debug Info: ', 17, 36, '115a010551820300000233000000b6eb4869')
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: RFXtrx

Post by krambriw »

I was making another bug :oops:

Now, this version should also show the id correctly

Best regards, Walter

Some errors of type "Message is incomplete" and "Unknown message" could be fully normal, all depending on your environment and what the receiver is picking up
__init__.py
(180.83 KiB) Downloaded 333 times
RexavE
Posts: 9
Joined: Tue Jun 05, 2012 10:29 am

Re: RFXtrx

Post by RexavE »

Hi,

thanks for this version. It works nice, but there is one more thing :o)

The RFXTRX seems not beeing initiated to recieve the OWL frames. I have to setup first with rfxmgr provided by rfxcom, and then run EventGhost. Is there any way to initiate it directly with evenghost ?
b_weijenberg
Posts: 27
Joined: Sun Jun 05, 2011 2:27 pm

Re: RFXtrx

Post by b_weijenberg »

OWL is enabled when the Oregon protocol is enabled.
An updated RFXtrx firmware version 43 with a change for the OWL has been uploaded today.
RexavE
Posts: 9
Joined: Tue Jun 05, 2012 10:29 am

Re: RFXtrx

Post by RexavE »

Nice ! I just upgraded the firmware and confirm that now the OWL is directly listened by the rfxtrx.

I can see some differences between the data displayed by the OWL and the data decoded by the rfxtrx :

RFXmgr decode :

Code: Select all

115A0113518200000001A200000150FAB379
Packettype    = ENERGY
subtype       = ELEC2 - OWL CM119, CM160
Sequence nbr  = 19
ID            = 20866
Count         = 0
Instant usage = 418 Watt
total usage   = 98737,7384135273 Wh
Signal level  = 7
Battery       = OK
But the total usage is 98,765KWh and the instant usage is 419W. The difference is not so big, but it could be great to have the good data :-)
b_weijenberg
Posts: 27
Joined: Sun Jun 05, 2011 2:27 pm

Re: RFXtrx

Post by b_weijenberg »

The difference is a rounding problem. Do not expect that the OWL and RFXtrx display the same value.
You have to know that the OWL is never able to receive a correct power usage value because the voltage is a fixed parameter and for a real power value you would need the line voltage. If you want a power usage measurement comparable with the utility meter (2% accuracy) you should use an RFXMeter.
Post Reply