Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions tests/tr-502msv/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# TR-502MSV remote socket controller

The controller uses 433.92MHz frequency, OOK modulation and PWM encoding.
It can control 4 sockets with 4 pairs of on/off buttons. There are 2 additional
pairs of buttons - all on/off and brightness button dim/bright. Reset button
in the battery compartment can be used to change device id. For further
details see [the manual](tr502msv_rc710_manual.pdf).

Flex decoder:
`-X 'n=tr502msv,m=OOK_PWM,s=740,l=1400,t=70,r=84000'`

## Data structure
The data packet is repeated up to 4 times and comprises 21 bits:
`PIIIIIII IIIIISSS OCRUU`
- P: 1-bit preamble
- I: 12-bit device id
- S: 3-bit socket id
- O: 1-bit on/off
- C: 1-bit command - brightness/switch
- R: 1 reserved bit (always 0)
- U: 2 unknown bits, most likely a checksum

Sockets map to the socket ids as follows:
| Socket | Socket id |
| ------ | --------- |
| 1 | 000 |
| 2 | 100 |
| 3 | 010 |
| 4 | 110 |
| all | 111 |

## Samples
Directory `samples` contains captured samples whose names describe the
corresponding action (e.g. socket2 off/on/dim/bright).
137 changes: 137 additions & 0 deletions tests/tr-502msv/samples/soc1_off_433.92M_250k.cu8

Large diffs are not rendered by default.

123 changes: 123 additions & 0 deletions tests/tr-502msv/samples/soc1_on_433.92M_250k.cu8

Large diffs are not rendered by default.

136 changes: 136 additions & 0 deletions tests/tr-502msv/samples/soc2_off_433.92M_250k.cu8

Large diffs are not rendered by default.

128 changes: 128 additions & 0 deletions tests/tr-502msv/samples/soc2_on_433.92M_250k.cu8

Large diffs are not rendered by default.

179 changes: 179 additions & 0 deletions tests/tr-502msv/samples/soc3_off_433.92M_250k.cu8

Large diffs are not rendered by default.

172 changes: 172 additions & 0 deletions tests/tr-502msv/samples/soc3_on_433.92M_250k.cu8

Large diffs are not rendered by default.

128 changes: 128 additions & 0 deletions tests/tr-502msv/samples/soc4_off_433.92M_250k.cu8

Large diffs are not rendered by default.

124 changes: 124 additions & 0 deletions tests/tr-502msv/samples/soc4_on_433.92M_250k.cu8

Large diffs are not rendered by default.

103 changes: 103 additions & 0 deletions tests/tr-502msv/samples/soc_all_bright_433.92M_250k.cu8

Large diffs are not rendered by default.

122 changes: 122 additions & 0 deletions tests/tr-502msv/samples/soc_all_dim_433.92M_250k.cu8

Large diffs are not rendered by default.

125 changes: 125 additions & 0 deletions tests/tr-502msv/samples/soc_all_off_433.92M_250k.cu8

Large diffs are not rendered by default.

192 changes: 192 additions & 0 deletions tests/tr-502msv/samples/soc_all_on_433.92M_250k.cu8

Large diffs are not rendered by default.

Binary file added tests/tr-502msv/tr502msv_rc710_manual.pdf
Binary file not shown.