X10 RF Protocol Decode - How to???

  • 1
  • 2
  • Page 2 of 2
nwrightson
Benutzer
Avatar
Gender:
Location: Newcastle
Age: 63
Homepage: nweha.homeserver.c…
Posts: 362
Registered: 08 / 2003
Subject:

Re: X10 RF Protocol Decode - How to???

 · 
Posted: 05.04.2012 - 12:25  ·  #9
Merlin,
Anything you have would be great.

Thanks for the links Avra.

Neil.
Mr Crusty
 
Avatar
 
Subject:

Re: X10 RF Protocol Decode - How to???

 · 
Posted: 05.04.2012 - 12:39  ·  #10
Merlin,
If possible can you copy me into the code you send to Neil? I have a similar problem, which this may help.

Does anyone know what the Honeywell CM Zone (domestic central heating wireless control system) uses as wireless protocol?

Regards
Crusty
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1408
Registered: 03 / 2005
Subject:

Re: X10 RF Protocol Decode - How to???

 · 
Posted: 05.04.2012 - 14:21  ·  #11
Since a few people asked for it...

Code
const

  DebounceLogic : array [0..15] of byte = (%0000, %0010, %0100, %0110, %0000, %0010, %0100, %1110,
                                      %0000, %1010, %1100, %1110, %1000, %1010, %1100, %1110);
  // 3 key debounce array.
  UnDebounced : byte = 0; // un-debounced input bit location
  Debounced   : byte = 3; // debounced bit location

var
  Inputs : array [0..17] of byte; // debounce control

function fDebounce( Location : byte; Value : boolean ) : boolean;
begin
  Setbit( Inputs[ Location ], Undebounced, Value );
  Inputs[ Location ] := DebounceLogic[ Inputs[ Location ]];
  return( bit( Inputs[ Location ], debounced ));
end;



It is meant to be quite fast. If you only have 1 input, obviously you don't need the array 'Inputs' which will make things run faster. The output only changes state when 3 successive input have the same value.
Avra
Schreiberling
Avatar
Gender:
Location: Belgrade, Serbia
Age: 53
Homepage: rs.linkedin.com/in…
Posts: 653
Registered: 07 / 2002
Subject:

Re: X10 RF Protocol Decode - How to???

 · 
Posted: 05.04.2012 - 15:45  ·  #12
Mr Crusty
 
Avatar
 
Subject:

Re: X10 RF Protocol Decode - How to???

 · 
Posted: 05.04.2012 - 17:09  ·  #13
Hi Avra,
Many thanks for the links,
I have the HR80 radiator thermostatic valves, which are networked by radio.
I suspect that there is some commonality between the HR20 and HR80 valves, so i can start my hack from this point.
The valves communicate with an HC60NG boiler control unit and as I have a spare of this I may start my attack at this point.
My aim in the first instance, is to be able to display which radiator is calling for demand.

Best
Crusty
Avra
Schreiberling
Avatar
Gender:
Location: Belgrade, Serbia
Age: 53
Homepage: rs.linkedin.com/in…
Posts: 653
Registered: 07 / 2002
Subject:

Re: X10 RF Protocol Decode - How to???

 · 
Posted: 05.04.2012 - 23:46  ·  #14
Mr Crusty
 
Avatar
 
Subject:

Re: X10 RF Protocol Decode - How to???

 · 
Posted: 06.04.2012 - 13:11  ·  #15
Avra,
Again many thanks, I am always amazed by the way you can find links.

Best
Crusty
  • 1
  • 2
  • Page 2 of 2
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 15 · Cache Hits: 14   114   128 · Page-Gen-Time: 0.031324s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI