Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
livebox:universalrf [2012/11/25 11:45] – [Bye Bye Standby] minerva9 | livebox:universalrf [2014/06/08 09:20] (current) – [HomeEasy (advanced)] minerva9 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Generic RF Tx for the HAH ====== | ====== Generic RF Tx for the HAH ====== | ||
- | ** Requires a CHIP upgrade to the 328 ** | + | ** Requires a CHIP upgrade to the 328 (all kits from the Shop now ship with this) ** |
Historically, | Historically, | ||
Line 32: | Line 32: | ||
{{: | {{: | ||
- | GUI extended so up to 32 different RF devices can be controlled. | + | GUI extended so up to 32 different RF devices can be controlled. |
====== Sample 2-bit encoding ====== | ====== Sample 2-bit encoding ====== | ||
Line 184: | Line 184: | ||
Devices tested include the HE109 and the HE302. The HE302 sockets are interesting in that they can be trained to respond to both the BBSB and the HE Advanced protocol. However, the HE109 twin sockets will only respond to this ' | Devices tested include the HE109 and the HE302. The HE302 sockets are interesting in that they can be trained to respond to both the BBSB and the HE Advanced protocol. However, the HE109 twin sockets will only respond to this ' | ||
- | Re the message protocol itself. This always starts with a latch signal of 275uS hi and 2675uS low. Then a unique 'group code' which is 26bits long (each bit being to 'wire bits' | + | Re the message protocol itself. This always starts with a latch signal of 275uS hi and 2675uS low. Then a unique 'group code' which is 26bits long (each bit being two 'wire bits' |
Line 219: | Line 219: | ||
\\ | \\ | ||
Non-UK, European users might like to know that this [[http:// | Non-UK, European users might like to know that this [[http:// | ||
+ | |||
+ | HAH user kema01 supplied these as working with a HE109 | ||
+ | |||
+ | off=010200FA09C400FA00FA00FA044C000000000A012710421999999999A65999A6599A659999999A40 | ||
+ | | ||
+ | |||
+ | off=010200FA09C400FA00FA00FA044C000000000A012710421999999999A65999A6599A65999999A580 | ||
+ | | ||
+ | |||
+ | off=010200FA09C400FA00FA00FA044C000000000A012710421999999999A65999A6599A65999999A640 | ||
+ | | ||
+ | |||
+ | off=010200FA09C400FA00FA00FA044C000000000A012710421999999999A65999A6599A6599999A5980 | ||
+ | | ||
\\ | \\ | ||
\\ | \\ | ||
Arduino code [[http:// | Arduino code [[http:// | ||
+ | |||
+ | |||
+ | ===== HomeEasy Dimmable (advanced) ===== | ||
+ | Devices tested include the HE206 (dimmable ceiling rose) and the HE307 (dimmable wall socket). The HE307 sockets have ' | ||
+ | < | ||
+ | pulsedef=0200FA09C400FA00FA00FA044C00FA0000 | ||
+ | burstcount=12 | ||
+ | interburstdelay=10000 | ||
+ | frames=66 | ||
+ | </ | ||
+ | |||
+ | Pulse definition | ||
+ | ^ Encoding ^ HI ^ LO ^ | ||
+ | | 0 | 250 | 2500 | | ||
+ | | 1 | 250 | 250 | | ||
+ | | 2 | 250 | 1100 | | ||
+ | | 3 | 250 | 0 | | ||
+ | |||
+ | For simple ON/OFF control, the protocol itself is built up as follows: | ||
+ | |||
+ | A “0” Bit is sent as 250Hi 250Lo then 250Hi 1100Lo (i.e. two frames, 1 then 2 from above) | ||
+ | |||
+ | A “1” Bit is sent as 250Hi 1100Lo then 250Hi 250Lo (i.e. two frames, 2 then 1 from above) | ||
+ | |||
+ | The stream is made up of: | ||
+ | |||
+ | A latch signal to start – 250hi 2500lo = frame 0 from above | ||
+ | |||
+ | Then 26 group code bits – i.e 272946 or in binary 00000001000010101000110010 | ||
+ | |||
+ | Which gives: 1, | ||
+ | |||
+ | There is next a group ID bit, I set this to 0. i.e. 1,2 as frames (not sure what this is for!). | ||
+ | |||
+ | Then comes the on/off code bit. On = 1 which is 2,1 as frames, Off = 0 which is 1,2 as frames. | ||
+ | |||
+ | Next follows a four bit address code, I used 1010 or 2, | ||
+ | |||
+ | Finally we send the latch signal again, frame 0 | ||
+ | |||
+ | Add together and you get 33 bits or 66 frames in total. | ||
+ | |||
+ | If you use the RF helper to pack this up as follows: | ||
+ | < | ||
+ | Stream = 1999999A5999A5A5A599A659A59A65A580 | ||
+ | PulseDef = 0200FA09C400FA00FA00FA044C00FA0000 | ||
+ | Burst count = 12 | ||
+ | Interburst delay = 10000 | ||
+ | Frames = 66 | ||
+ | </ | ||
+ | |||
+ | You should get: 010200FA09C400FA00FA00FA044C00FA00000C012710421999999A5999A5A5A599A659A59A65A580 | ||
+ | |||
+ | |||
+ | For dimming, the protocol is altered as follows: | ||
+ | |||
+ | Change the on/off bit from either 2,1(on) or 1,2(off) to 1,1(the dim setting) | ||
+ | |||
+ | After the four ID bits but before the end latch signal add four further bits as follows: | ||
+ | |||
+ | Convert dim setting (0-15) to binary then to frames; | ||
+ | |||
+ | i.e. | ||
+ | |||
+ | level 7 = 0111, which is 1, | ||
+ | |||
+ | level 5 = 0101, which is 1, | ||
+ | |||
+ | While experimenting with RF helper I have found that ' | ||
+ | |||
+ | Odd addresses (bit 0 set to 1) Even address (bit 0 set to 0) | ||
+ | ^ Odd Suffix ^ Even Suffix ^ Level ^ | ||
+ | | 599A40| 999A40| DIM 1 | | ||
+ | | 59A580| 99A580| DIM 2 | | ||
+ | | 59A640| 99A640| DIM 3 | | ||
+ | | 5A5980| 9A5980| DIM 4 | | ||
+ | | 5A5A40| 9A5A40| DIM 5 | | ||
+ | | 5A6580| 9A6580| DIM 6 | | ||
+ | | 5A6640| 9A6640| DIM 7 | | ||
+ | | 659980| A59980| DIM 8 | | ||
+ | | 659A40| A59A40| DIM 9 | | ||
+ | | 65A580| A5A580| DIM 10 | | ||
+ | | 65A640| A5A640| DIM 11 | | ||
+ | | 665980| A65980| DIM 12 | | ||
+ | | 665A40| A65A40| DIM 13 | | ||
+ | | 666580| A66580| DIM 14 | | ||
+ | | 666640| A66640| DIM 15 | | ||
+ | |||
+ | Some example codes; | ||
+ | |||
+ | Socket address 11 (1011) | ||
+ | ^ stream ^ Description ^ | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C012710421999999A5999A5A5A599A659A599A5A640| OFF | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C012710421999999A5999A5A5A599A659A59A65A640| ON | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A6| PREFIX | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A6599A40| DIM 1 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A659A580| DIM 2 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A659A640| DIM 3 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A65A5980| DIM 4 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A65A5A40| DIM 5 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A65A6580| DIM 6 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A65A6640| DIM 7 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A6659980| DIM 8 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A6659A40| DIM 9 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A665A580| DIM 10 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A665A640| DIM 11 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A6665980| DIM 12 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A6665A40| DIM 13 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A6666580| DIM 14 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A6666640| DIM 15 | | ||
+ | |||
+ | Socket address 10 (1010) | ||
+ | ^ stream ^ Description ^ | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C012710421999999A5999A5A5A599A659A599A5A580| OFF | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C012710421999999A5999A5A5A599A659A59A65A580| ON | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A5| PREFIX | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A5999A40| DIM 1 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A599A580| DIM 2 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A599A640| DIM 3 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A59A5980| DIM 4 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A59A5A40| DIM 5 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A59A6580| DIM 6 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A59A6640| DIM 7 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A5A59980| DIM 8 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A5A59A40| DIM 9 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A5A5A580| DIM 10 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A5A5A640| DIM 11 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A5A65980| DIM 12 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A5A65A40| DIM 13 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A5A66580| DIM 14 | | ||
+ | | 010200FA09C400FA00FA00FA044C00FA00000C0127104A1999999A5999A5A5A599A659A59965A5A66640| DIM 15 | | ||
+ | |||
+ | |||
+ | |||
===== Bye Bye Standby ===== | ===== Bye Bye Standby ===== | ||
Line 269: | Line 417: | ||
Use http:// | Use http:// | ||
- | <note tip>It has been found that Byron RS3/RS17 RF Plugs and Byron RS61 ceiling switches respond to BBSB codes</ | + | <note tip>It has been found that Byron RS3/RS17 RF Plugs and Byron RS61 ceiling switches respond to BBSB codes. The Home Easy HE322W units also work with these codes.</ |
- | {{:livebox:rs61.jpg? | + | {{:livebox:rs17.jpg? |
===== Lidl RF socket ===== | ===== Lidl RF socket ===== | ||
{{ rfplug.jpg}} | {{ rfplug.jpg}} | ||
Line 423: | Line 570: | ||
Note that the red LED on the relay module is illuminated when 12V power is applied. It doesn' | Note that the red LED on the relay module is illuminated when 12V power is applied. It doesn' | ||
+ | |||
+ | ====== Decoded RF transmitters ====== | ||
+ | |||
+ | ===== HE305 ===== | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Pulse definition | ||
+ | ^ ::: ^ HI ^ LO ^ | ||
+ | | 0 | 370 | 2600 | | ||
+ | | 1 | 350 | 200 | | ||
+ | | 2 | 350 | 1200 | | ||
+ | |||
+ | < | ||
+ | pulsedef=0201720A28015400C8015404B000000000 | ||
+ | frames=66 | ||
+ | interburst=10000 | ||
+ | </ | ||
+ | |||
+ | ^ Contact ^ Stream ^ | ||
+ | | {{: | ||
+ | | {{: | ||
+ | |||
+ | Packed | ||
+ | ^ Apart | 010201720A28015400C8015404B0000000000A01271042199999999A659A6599A6599A599A659A50 | | ||
+ | ^ Close | 010201720A28015400C8015404B0000000000A01271042199999999A659A6599A6599A5999A59A50 | | ||