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.
Decode RFXcom signals
Moderator: b_weijenberg
Decode RFXcom signals
Home-brewed HA system based on Linux, PHP5, MySQL and Beanstalkd
Re: Decode RFXcom signals
Check the RFXcom site or contact them for that.
http://www.rfxcom.com/receivers.htm way at the bottom
http://www.rfxcom.com/receivers.htm way at the bottom
Re: Decode RFXcom signals
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
I think Ron has implemented quite some parts of it.
Offtopic: too bad the code is under NDA

Re: Decode RFXcom signals
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).
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
- rawdata.png (9.2 KiB) Viewed 5116 times
Home-brewed HA system based on Linux, PHP5, MySQL and Beanstalkd
Re: Decode RFXcom signals
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.
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
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!