Page 1 of 1

Decode RFXcom signals

Posted: Tue Sep 07, 2010 12:31 am
by ludom
Dear,

Since a few days I am a happy owner of a RFXcom LAN transmitter and receiver.

I am writing my own DOM application in PHP and i also like to integrate this RFXcom device.
On this moment I can receive signals within my PHP scripts but I have to decode these before I can use these, now is my question "how can I do this?"

Does anybody have some ideas or maybe a preview of a VBS script so i can make my own PHP version of it?

Thanks.

Re: Decode RFXcom signals

Posted: Tue Sep 07, 2010 8:58 pm
by Bwired
Check the RFXcom site or contact them for that.
http://www.rfxcom.com/receivers.htm way at the bottom

Re: Decode RFXcom signals

Posted: Tue Sep 07, 2010 11:43 pm
by Mdamen
Or you could check out some of the code used in Domotiga.
I think Ron has implemented quite some parts of it.

Offtopic: too bad the code is under NDA :-(

Re: Decode RFXcom signals

Posted: Wed Sep 08, 2010 1:36 am
by ludom
Thanks for your replies!

I am trying to find a solution to readout the device.

On this moment i will receive RAW data from the device (for example, when i press on a button of my KAKU remote), see attached screenshot. This data I also receive with my PHP scripts but it isn't usable on this moment. How can i decode this `crap` to readable data?

The com-port settings are the same as i use with the RFXreceive tool from RFXcom (there the data is readable).

Re: Decode RFXcom signals

Posted: Wed Sep 08, 2010 8:44 am
by yjb
Keep in mind that the raw data is binary data, so it doesn't make sense to look at the data using an ascii terminal application.

The RFReceive utility has 2 modes, in one it displays the raw hex data, the other mode will show you the decoded data.

Re: Decode RFXcom signals

Posted: Mon Sep 13, 2010 12:04 pm
by Webtijn
I've also tried to read out data from the rfxcom in PHP. The problem is that PHP isn't a propriate language for this stuff. You might want to look at the PHP funtions bin2hex and pack/unpack. Keep me posted!