X10 RF Protocol Decode - How to???

  • 1
  • 2
  • Seite 2 von 2
nwrightson
Benutzer
Avatar
Geschlecht:
Herkunft: Newcastle
Alter: 64
Homepage: nweha.homeserver.c…
Beiträge: 362
Dabei seit: 08 / 2003
Betreff:

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

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

Thanks for the links Avra.

Neil.
Mr Crusty
 
Avatar
 
Betreff:

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

 · 
Gepostet: 05.04.2012 - 12:39 Uhr  ·  #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
Geschlecht:
Alter: 25
Beiträge: 1473
Dabei seit: 03 / 2005
Betreff:

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

 · 
Gepostet: 05.04.2012 - 14:21 Uhr  ·  #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
Geschlecht:
Herkunft: Belgrade, Serbia
Alter: 54
Homepage: rs.linkedin.com/in…
Beiträge: 653
Dabei seit: 07 / 2002
Betreff:

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

 · 
Gepostet: 05.04.2012 - 15:45 Uhr  ·  #12
Mr Crusty
 
Avatar
 
Betreff:

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

 · 
Gepostet: 05.04.2012 - 17:09 Uhr  ·  #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
Geschlecht:
Herkunft: Belgrade, Serbia
Alter: 54
Homepage: rs.linkedin.com/in…
Beiträge: 653
Dabei seit: 07 / 2002
Betreff:

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

 · 
Gepostet: 05.04.2012 - 23:46 Uhr  ·  #14
Mr Crusty
 
Avatar
 
Betreff:

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

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

Best
Crusty
  • 1
  • 2
  • Seite 2 von 2
Gewählte Zitate für Mehrfachzitierung:   0

Registrierte in diesem Topic

Aktuell kein registrierter in diesem Bereich

Die Statistik zeigt, wer in den letzten 5 Minuten online war. Erneuerung alle 90 Sekunden.
MySQL Queries: 15 · Cache Hits: 14   114   128 · Page-Gen-Time: 0.032738s · Speichernutzung: 2 MB · GZIP: ein · Viewport: SMXL-HiDPI