Decode RFXcom signals

Forum about Rfxcom home automation Domotica devices.

Moderator: b_weijenberg

Post Reply
User avatar
ludom
Member
Member
Posts: 90
Joined: Fri Jun 11, 2010 12:30 am
Location: Netherlands

Decode RFXcom signals

Post 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.
Home-brewed HA system based on Linux, PHP5, MySQL and Beanstalkd
Bwired
Administrator
Administrator
Posts: 4704
Joined: Sat Mar 25, 2006 1:07 am
Location: Netherlands
Contact:

Re: Decode RFXcom signals

Post by Bwired »

Check the RFXcom site or contact them for that.
http://www.rfxcom.com/receivers.htm way at the bottom
Mdamen
Forum Moderator
Forum Moderator
Posts: 390
Joined: Sat Nov 22, 2008 6:58 pm
Location: Netherlands
Contact:

Re: Decode RFXcom signals

Post 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 :-(
User avatar
ludom
Member
Member
Posts: 90
Joined: Fri Jun 11, 2010 12:30 am
Location: Netherlands

Re: Decode RFXcom signals

Post 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).
Attachments
RAW RFXcom data
RAW RFXcom data
rawdata.png (9.2 KiB) Viewed 5114 times
Home-brewed HA system based on Linux, PHP5, MySQL and Beanstalkd
yjb
Member
Member
Posts: 211
Joined: Fri Apr 17, 2009 1:15 pm
Location: Venhuizen, Netherlands

Re: Decode RFXcom signals

Post 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.
Webtijn
Starting Member
Starting Member
Posts: 3
Joined: Wed Aug 25, 2010 4:15 pm

Re: Decode RFXcom signals

Post 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!
Post Reply

Return to “Rfxcom Receivers & Transmitters Forum”