Site Tools


byte_codes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

byte_codes [2019/03/10 09:44]
95.61.101.230 created
byte_codes [2019/03/12 09:28] (current)
80.25.41.111
Line 27: Line 27:
 <- 55aa5aa57e 00 c00c000100 3347 0100 f000 00 007e <- 55aa5aa57e 00 c00c000100 3347 0100 f000 00 007e
 </​code>​ </​code>​
 +
 +The code received "​3347"​ is the ID for the relay device
  
 ===== Discover devices ===== ===== Discover devices =====
Line 32: Line 34:
  
 <​code>​ <​code>​
-                            ​Code N    Op      I          CCode+                            ​RID  ​N    Op      I          CCode
                             |    |    |       ​| ​         |                             |    |    |       ​| ​         |
 First device First device
Line 47: Line 49:
 </​code>​ </​code>​
  
-  * Code: Wifi rf code+  * RID: Wifi rf ID code
   * N: consecutive number   * N: consecutive number
   * Op:   * Op:
   * I: square of 2 number   * I: square of 2 number
   * CCode: Led controller code   * CCode: Led controller code
 +
 +===== Operation =====
 +
 +==== On / Off ====
 +
 +This are the bytes sent to turn on / off a device
 +
 +<​code>​
 +              N  ?          DID      Op      Com
 +              |  |          |        |       ​|  ​
 +-> 55aa5aa57e 03 0101000100 3f6e0100 0a01 00 00 007e
 +-> 55aa5aa57e 04 0101000100 3f6e0100 0a01 00 01 007e
 +</​code>​
 +
 +  * N: consecutive 2 byte number
 +  * ?: don't know yet
 +  * DID: Paired device ID Code
 +  * Op: code for operation
 +  * Com: 01=ON 00=OFF
 +
 +==== DIM ====
 +<​code>​
 +              N  ?          DID      Op      Val
 +              |  |          |        |       ​| ​
 +-> 55aa5aa57e 12 0101000100 3f6e0100 0107 00 00 000000000000 007e               
 +-> 55aa5aa57e 12 0101000100 3f6e0100 0107 00 b2 000000000000 007e
 +-> 55aa5aa57e 13 0101000100 3f6e0100 0107 00 6a 000000000000 007e
 +-> 55aa5aa57e 14 0101000100 3f6e0100 0107 00 ff 000000000000 007e
 +</​code>​
 +
 +Same as above, but Val is 2 byte Hex code between 0 and 255
byte_codes.txt ยท Last modified: 2019/03/12 09:28 by 80.25.41.111