• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


SW-R01 / Geekbes Wireless Lights Switch
#1
Hey,

I just bought these really awesome (they are very small) 220V-Relais-Switches. You can control them via a battery-powered wireless-switch. In the past week I tried to encode the 433mhz code. I used several tutorials (tried for +20h) but I am unable to control them. Please help me!

Product on aliexpress (search for SW-R01) and on amazon (TSSS Dual-Wege Wireless).
I got the following from pilight-debug. pilight-raw-send did not work (?):

First Key:
Key 1 on the wireless switch, First try: 

Code:
--[RESULTS]--

time:           Sat Oct 13 18:03:29 2018
hardware:       433gpio
pulse:          5
rawlen:         131
pulselen:       171

Raw code:
696 442 100 848 1050 557 105 265 238 98 764 101 221 98 1377 550 1112 100 233 454 378 98 405 97 374 433 100 462 349 457 132 318 118 109 109 372 97 255 305 233 97 107 203 1272 102 551 154 497 208 98 282 228 117 251 97 273 100 307 528 112 94 262 118 224 99 293 116 109 209 132 109 326 118 296 285 242 172 128 91 350 117 94 461 97 259 116 110 115 111 363 98 121 91 766 243 124 271 181 130 91 424 149 294 210 118 110 194 119 231 322 96 337 213 1237 244 120 108 88 119 92 186 1709 192 107 146 864 770 127 205 193 5831

Key 1 on the wireless switch, Second try: 

Code:
--[RESULTS]--

time:           Sat Oct 13 18:03:42 2018
hardware:       433gpio
pulse:          5
rawlen:         151
pulselen:       398

Raw code:
1457 425 826 141 91 1836 1256 1206 507 94 584 546 996 451 93 635 625 98 610 98 329 818 99 647 908 100 337 786 241 99 580 99 308 373 515 99 357 118 365 267 393 98 384 102 230 97 398 112 109 455 238 100 402 127 95 544 195 325 134 108 105 93 263 99 162 100 145 92 249 97 236 95 830 128 95 243 117 232 94 380 191 139 121 110 93 811 222 132 341 120 217 119 342 266 112 108 92 144 157 97 224 99 374 146 94 224 99 317 103 109 106 283 100 122 93 207 98 235 117 127 94 213 210 218 101 110 224 99 225 447 95 209 606 289 101 3493 242 104 110 123 105 93 179 110 203 102 4027 406 372 837 13541

Key 1 on the wireless switch, Third try: 

Code:
--[RESULTS]--

time:           Sat Oct 13 18:04:18 2018
hardware:       433gpio
pulse:          4
rawlen:         175
pulselen:       360

Raw code:
1935 1502 1558 97 1414 98 996 2115 1301 759 96 440 99 499 100 229 179 619 1111 100 440 99 584 119 574 927 101 834 795 104 396 100 263 97 301 118 338 99 229 99 246 120 523 97 475 179 247 119 247 100 288 98 526 96 513 97 308 562 100 238 96 121 394 454 117 90 213 387 252 104 447 255 127 94 241 99 243 95 421 117 117 288 124 157 159 211 117 820 140 111 89 135 113 386 106 340 99 217 117 212 119 230 101 119 352 117 277 114 93 242 117 203 369 431 99 694 113 391 195 231 273 241 246 99 251 999 182 124 97 120 95 231 116 105 300 120 89 147 270 124 92 403 132 109 109 107 106 304 117 190 166 99 340 100 218 175 130 961 119 191 100 1825 98 280 206 1911 163 124 107 246 97 223 103 219 12250

Key 1 on the wireless switch, Fourth try:
Code:
--[RESULTS]--

time:           Sat Oct 13 18:04:33 2018
hardware:       433gpio
pulse:          3
rawlen:         163
pulselen:       351

Raw code:
1220 106 1260 696 912 236 604 551 117 224 96 473 99 419 100 662 124 389 96 1085 110 738 98 356 105 838 146 613 102 312 101 230 96 243 94 358 102 243 142 98 502 133 106 471 128 94 433 126 237 238 314 252 245 99 406 98 516 101 766 129 314 112 231 139 109 91 232 297 194 123 221 120 248 120 401 102 226 120 352 103 223 608 187 155 99 212 182 129 94 228 1172 102 177 180 301 102 197 119 196 625 302 120 92 217 126 115 91 473 111 228 98 156 135 202 102 197 114 97 291 178 116 146 127 112 275 116 116 149 99 107 107 191 148 116 265 98 155 114 94 254 121 149 139 1868 103 4350 103 112 206 118 113 2047 214 142 181 104 973 139 109 121 92 106 11958

Second Key:
Key 2 on the wireless switch, First try: 
Code:
--[RESULTS]--

time:           Sat Oct 13 18:05:11 2018
hardware:       433gpio
pulse:          34
rawlen:         150
pulselen:       4188

Raw code:
302 217 114 305 134 112 167 222 138 111 93 285 122 301 135 109 97 295 119 300 119 306 146 110 113 108 108 108 109 127 115 107 110 125 107 108 109 104 107 108 110 107 108 110 104 109 106 109 108 109 106 89 310 119 108 91 342 149 246 120 111 108 109 91 301 102 320 105 520 128 578 134 111 111 96 330 102 315 101 323 116 120 96 304 117 108 92 311 118 110 93 313 104 321 121 109 92 309 99 360 146 245 118 107 109 108 109 108 107 107 111 107 125 112 108 109 107 107 121 109 108 108 109 107 109 110 109 108 107 108 108 92 316 117 110 93 311 102 340 118 112 108 108 386 103 315 103 317 103 142417

Key 2 on the wireless switch, Second try: 
Code:
--[RESULTS]--

time:           Sat Oct 13 18:06:34 2018
hardware:       433gpio
pulse:          34
rawlen:         149
pulselen:       4345

Raw code:
105 1156 309 736 108 798 101 760 98 1691 390 669 102 366 106 807 99 532 481 98 291 386 99 281 102 576 121 438 102 250 340 300 99 310 227 120 720 409 158 547 425 101 391 227 103 418 105 111 284 99 264 101 771 122 242 100 243 101 281 102 310 101 336 97 344 101 197 122 220 154 390 360 100 569 136 99 268 100 276 290 121 263 117 655 255 121 364 136 110 108 111 238 102 235 99 233 249 1278 191 231 369 219 96 314 120 278 170 99 110 154 2360 116 138 124 112 92 289 234 98 126 92 197 118 241 123 219 1676 118 222 141 96 204 116 97 4070 103 2468 104 134 95 271 113 179 224 843 186 201 3007 147733

Key 2 on the wireless switch, Third try: 
Code:
--[RESULTS]--

time:           Sat Oct 13 18:06:49 2018
hardware:       433gpio
pulse:          4
rawlen:         143
pulselen:       260

Raw code:
2882 686 104 1165 1454 1326 422 2100 104 1863 484 613 346 96 309 102 474 693 103 673 98 239 380 648 99 661 268 311 101 447 1056 100 347 141 297 104 324 121 413 96 264 96 228 103 486 94 546 122 380 119 413 659 405 376 131 122 90 281 99 226 99 205 97 762 439 107 303 589 160 364 115 260 213 119 240 120 197 117 237 101 169 242 100 238 115 110 91 347 121 211 100 236 304 327 1457 101 232 1107 199 102 213 157 194 118 236 131 95 321 100 109 1563 206 646 127 245 122 229 287 578 117 219 113 802 232 117 326 325 331 99 244 181 135 103 385 122 225 189 203 205 119 108 216 8843

When more debug-code is needed feel free to comment here. I really want to embed these switches into my home automation project. 

Have a nice day and thank you very much!
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Owsoo Wall Switch (Push Button / Sold for Sonoff devices with 433MHz)) hawkeyexp 0 21 10-14-2019, 10:32 PM
Last Post: hawkeyexp
  Cent-a-meter CM113 Wireless Electricity Monitor Nikau 0 233 08-04-2019, 06:55 AM
Last Post: Nikau
  Etekcity Switch geokscott 2 813 07-11-2019, 03:48 PM
Last Post: hepcat72
  Smartwares switch SH5-RBU-04A and SH5-RBS-04A doesn't work with 8.0.3 flying_dutchman 51 11,357 05-22-2019, 11:16 AM
Last Post: bitboy
  Switch Mumbi m-FS300 display as arctech-switch Rschnauzer 7 1,248 03-24-2018, 07:13 PM
Last Post: Rschnauzer
  Intertek with DIP Switch compuman1 12 8,116 01-15-2018, 07:59 PM
Last Post: madmoses
  Voltomat switch aszepeshazi 1 3,008 12-05-2017, 02:55 AM
Last Post: Archimdes
  REV Switch Typ 8342L madeluxe 4 3,673 08-02-2017, 05:08 PM
Last Post: Flotto
  DS-4 protocol (magnetic switch, EV1527 deviation) torwag 2 1,333 04-23-2017, 10:02 PM
Last Post: curlymo
  Smartwares SH5-RBU-04A Switch pati 9 6,138 01-31-2017, 09:22 AM
Last Post: wo_rasp

Forum Jump:


Browsing: 1 Guest(s)