pimatic / pimatic-homeduino

Pimatic plugin for using 433mhz devices and sensors with a connected Arduino with homeduino sketch
https://pimatic.org/
GNU General Public License v2.0
37 stars 29 forks source link

Translating RAW code for LIDL Powerfix RCB-I 3600R #86

Closed nephilim1973 closed 4 years ago

nephilim1973 commented 6 years ago

Hi there, I own multiple power switches POWERFIX RCB-I 3600 R, which learning function. Because they are still not supported in homeduino, I captured the RAW signal with the debug option:

https://pastebin.com/BSL8aVaY

The main reason to use these switches is the high power capability --> 3600 Watt !

Is there a chance to integrate the device in homeduino ? Could I use the RAW output and paste it in the "rawswitch" device config ?

Regards !

mwittig commented 6 years ago

Hi. this may take some time a to get done.

Meanwhile, you can try to setup a raw switch. I don't have an example at hand but there is an example for a raw shutter on pimatic forum - https://forum.pimatic.org/topic/2207/controlling-warema-ewfs-awning-shutter-with-rawshutter-protocol


Switch 1 ON
01:10:15.008 [pimatic-homeduino] debug: data: "RF receive 700 1340 26788 54956 15548 0 0 0 010011010010101010101010101010110010101102310011010010101010101010101010110010101104"
01:10:15.038 [pimatic-homeduino] debug: received: [ 700, 1340, 15548, 26788, 54956 ] 010011010010101010101010101010110010101103410011010010101010101010101010110010101102

Switch 1 OFF
01:10:59.330 [pimatic-homeduino] debug: data: "RF receive 700 1340 14928 0 0 0 0 0 010011010010101010101010110010101010110012"
01:10:59.347 [pimatic-homeduino] debug: received: [ 700, 1340, 14928 ] 010011010010101010101010110010101010110012

Switch 2 ON
01:13:14.563 [pimatic-homeduino] debug: data: "RF receive 692 1348 14868 0 0 0 0 0 010011010010101010101010110010110010110102"
01:13:14.581 [pimatic-homeduino] debug: received: [ 692, 1348, 14868 ] 010011010010101010101010110010110010110102

Switch 2 OFF
01:13:44.996 [pimatic-homeduino] debug: data: "RF receive 700 1340 15620 0 0 0 0 0 010011010010101010101010110010101010110012"
01:13:45.015 [pimatic-homeduino] debug: received: [ 700, 1340, 15620 ] 010011010010101010101010110010101010110012

Switch 3 ON
01:14:36.853 [pimatic-homeduino] debug: data: "RF receive 700 1336 15624 0 0 0 0 0 010011010010101010101010101100110010101012"
01:14:36.872 [pimatic-homeduino] debug: received: [ 700, 1336, 15624 ] 010011010010101010101010101100110010101012

Switch 3 OFF
01:15:07.438 [pimatic-homeduino] debug: data: "RF receive 696 1344 51384 21836 7940 14916 0 0 01001101001010101010101010110010101010110234010011010010101010101010101100101010101105"
01:15:07.457 [pimatic-homeduino] debug: received: [ 696, 1344, 7940, 14916, 21836, 51384 ] 01001101001010101010101010110010101010110542010011010010101010101010101100101010101103

Switch 4 ON
01:15:29.363 [pimatic-homeduino] debug: data: "RF receive 696 1344 14924 0 0 0 0 0 010011010010101010101010110100110010110012"
01:15:29.380 [pimatic-homeduino] debug: received: [ 696, 1344, 14924 ] 010011010010101010101010110100110010110012

Switch 4 OFF
01:16:00.750 [pimatic-homeduino] debug: data: "RF receive 692 1348 15660 0 0 0 0 0 010011010010101010101010110100101010110102"
01:16:00.768 [pimatic-homeduino] debug: received: [ 692, 1348, 15660 ] 010011010010101010101010110100101010110102

ALL ON
01:16:40.286 [pimatic-homeduino] debug: data: "RF receive 696 1344 15484 0 0 0 0 0 010011010010101010101010110101010010101012"
01:16:40.304 [pimatic-homeduino] debug: received: [ 696, 1344, 15484 ] 010011010010101010101010110101010010101012

All OFF
01:17:24.759 [pimatic-homeduino] debug: data: "RF receive 692 1348 15460 0 0 0 0 0 010011010010101010101010110101001010101102"
01:17:24.777 [pimatic-homeduino] debug: received: [ 692, 1348, 15460 ] 010011010010101010101010110101001010101102

DIMM
01:17:51.713 [pimatic-homeduino] debug: data: "RF receive 692 1348 15540 0 0 0 0 0 010011010010101010101010110101010100110012"
01:17:51.731 [pimatic-homeduino] debug: received: [ 692, 1348, 15540 ] 010011010010101010101010110101010100110012

BRIGHT
01:18:26.077 [pimatic-homeduino] debug: data: "RF receive 688 1352 14868 0 0 0 0 0 010011010010101010101010110101001100110102"
01:18:26.095 [pimatic-homeduino] debug: received: [ 688, 1352, 14868 ] 010011010010101010101010110101001100110102
mwittig commented 4 years ago

Device seems to be compatible with Globaltronics QUIGG GT-7000 which is already implement as switch13. Not sure yet, what the pulses are not detected as candidates

mwittig commented 4 years ago

Seems like the only difference is a different pattern of pulse lengths. Will be implemented as switch33

mwittig commented 4 years ago

https://github.com/pimatic/rfcontroljs/commit/17fd5abb8133ef45297160d444fe155e05b27cea

Closing this ticket now. Will be included with the next release of pimatic-homeduino