Page 5 of 36

Re: RFXtrx

Posted: Fri May 18, 2012 8:57 pm
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.

Re: RFXtrx

Posted: Mon May 21, 2012 8:30 am
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:

Re: RFXtrx

Posted: Sun May 27, 2012 10:52 am
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!

Re: RFXtrx

Posted: Tue May 29, 2012 8:45 am
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

Re: RFXtrx

Posted: Tue May 29, 2012 12:00 pm
by krambriw
New version uploaded in first post

Re: RFXtrx

Posted: Tue Jun 05, 2012 10:35 am
by RexavE
Hi,

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

Thanks

Re: RFXtrx

Posted: Wed Jun 06, 2012 6:40 pm
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

Re: RFXtrx

Posted: Thu Jun 07, 2012 8:21 pm
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 ;-)

Re: RFXtrx

Posted: Fri Jun 08, 2012 6:25 am
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

Re: RFXtrx

Posted: Fri Jun 08, 2012 7:59 pm
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')

Re: RFXtrx

Posted: Fri Jun 08, 2012 9:07 pm
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 334 times

Re: RFXtrx

Posted: Wed Jun 13, 2012 9:09 pm
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 ?

Re: RFXtrx

Posted: Wed Jun 13, 2012 9:17 pm
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.

Re: RFXtrx

Posted: Thu Jun 14, 2012 10:09 pm
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 :-)

Re: RFXtrx

Posted: Thu Jun 14, 2012 10:38 pm
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.