• 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


Elro/Flamingo FA20RF Smoke detector
#1
Time to start working on a protocol for Elro/Flamingo FA20R Smoke detectors. All smoke detectors have a unique ID, but you can group them. If you do that, all detectors will get the ID from the master. This protocol enabled pilight to detect the smoke alert, but also send a smoke alert to the detectors.

pilight-debug output:

Code:
Test Button press 1

--[RESULTS]--

hardware:       433gpio
pulse:          3
rawlen:         52
binlen:         13
pulselen:       393

Raw code:
8253 786 786 1572 786 2751 786 2751 786 2751 786 1572 786 1572 786 1572 786 2751 786 2751 786 1572 786 2751 786 2751 786 2751 786 1572 786 1572 786 2751 786 2751 786 1572 786 2751 786 2751 786 1572 786 2751 786 2751 786 1179 786 13362
Binary code:
1111111111111

Test Button press 2

--[RESULTS]--

hardware:       433gpio
pulse:          4
rawlen:         52
binlen:         13
pulselen:       393

Raw code:
8253 786 786 1572 786 2751 786 2751 786 2751 786 1572 786 1572 786 1572 786 2751 786 2751 786 1572 786 2751 786 2751 786 2751 786 1572 786 1572 786 2751 786 2751 786 1572 786 2751 786 2751 786 1572 786 2751 786 2751 786 1572 786 13362
Binary code:
1111111111111

Smoke Alert

--[RESULTS]--

hardware:       433gpio
pulse:          2
rawlen:         52
binlen:         13
pulselen:       391

Raw code:
8211 782 782 1564 782 2737 782 2737 782 2737 782 1564 782 1564 782 1564 782 2737 782 2737 782 1564 782 2737 782 2737 782 2737 782 1564 782 1564 782 2737 782 2737 782 1564 782 2737 782 2737 782 1564 782 2737 782 2737 782 1564 782 13294

Analysing the smoke alert and using information found on other websites, there are 28 bits in the message. 1 bit header, 24 bits device ID, 1 bit alert and 1 bit footer.

Header/Sync:

Code:
8211 782

Device ID bits:

Code:
782 1564
782 2737
782 2737
782 2737
782 1564
782 1564
782 1564
782 2737
782 2737
782 1564
782 2737
782 2737
782 2737
782 1564
782 1564
782 2737
782 2737
782 1564
782 2737
782 2737
782 1564
782 2737
782 2737

Alert Bit:

Code:
782 1564

Footer:

Code:
782 13294

Proposed protocol settings:

Code:
    protocol_plslen_add(elro_fa20rf, 392);
    elro_fa20rf->devtype = SWITCH;
    elro_fa20rf->hwtype = RF433;
    elro_fa20rf->pulse = 7;
    elro_fa20rf->rawlen = 52;
 
Reply
#2
What kind of devicetype would suit this device best? On one hand this is a doorbell-like sensor, on the other hand you can send data to the device....
 
Reply
#3
The device type should be ALARM or SMOKEDETECTOR
 
Reply
#4
Just bought them too. I think a seperate devicetype should indeed be more appropriate

Off the record: there was also a discount on a set off Flamingo s500s switches + remote for 9,95
 
Reply
#5
TIP: Still available at Kr...vat: set of 2 Flamingo FA20RF € 12.99 Angel
 
Reply
#6
If you have time, please post some pilight-debug output.
 
Reply
#7
After learn mode - -> normal situation:
testknop master:
Code:
hardware:       433gpio
pulse:          2
rawlen:         52
binlen:         13
pulselen:       555

Raw code:
8325 1110 555 1665 555 1665 555 2775 555 2775 555 2775 555 1665 555 1665 555 1665 555 2775 555 2775 555 2775 555 1665 555 1665 555 2775 555 2775 555 1665 555 1665 555 2775 555 1665 555 2775 555 1665 555 1665 555 1110 555 1110 555 18870
Binary code:
1111111111111

test knop slave:
Code:
hardware:       433gpio
pulse:          2
rawlen:         52
binlen:         13
pulselen:       555

Raw code:
8325 1110 555 1665 555 1665 555 2775 555 2775 555 2775 555 1665 555 1665 555 1665 555 2775 555 2775 555 2775 555 1665 555 1665 555 2775 555 2775 555 1665 555 1665 555 2775 555 1665 555 2775 555 1665 555 1665 555 1665 555 1110 555 18870
Binary code:
1111111111111

master learnmode
test knop:
Code:
hardware:       433gpio
pulse:          3
rawlen:         52
binlen:         13
pulselen:       507

Raw code:
8112 1014 1014 1521 507 2535 1014 1521 1014 2535 1014 2535 1014 2535 1014 2535 1014 1521 1014 1521 1014 1521 1014 1521 1014 1521 1014 1521 1014 2535 1014 2535 1014 1521 1014 1521 507 2535 507 1521 1014 2535 1014 1521 1014 2535 1014 2535 1014 1521 1014 17238
Binary code:
1111111111111

master test after learn:
Code:
hardware:       433gpio
pulse:          3
rawlen:         52
binlen:         13
pulselen:       507

Raw code:
8112 1014 507 1521 1014 2535 507 1521 1014 2535 507 2535 1014 3042 507 3042 507 1521 507 1521 507 1521 507 1521 1014 1521 1014 1521 1014 3042 507 3042 507 1521 1014 1521 1014 2535 507 1521 507 2535 507 1521 507 2535 507 3042 507 1521 1014 17238
Binary code:
1111111111111

slave test knop after learn:
Code:
hardware:       433gpio
pulse:          3
rawlen:         52
binlen:         13
pulselen:       507

Raw code:
8112 1014 1014 1521 1014 2535 1014 1521 1014 2535 1014 2535 1014 2535 1014 2535 1014 1521 1014 1521 1014 1521 1014 1521 1014 1521 1014 1521 1014 3042 507 3042 507 1521 507 1521 1014 2535 507 1521 1014 2535 1014 1521 507 2535 1014 2535 1014 1521 1014 17238
Binary code:
1111111111111

For more debug info let me know.
 
Reply
#8
Interesting to see such a difference in pulselen.
 
Reply
#9
Can both of you post pilight-raw output on pastebin to see the actual footer?
 
Reply
#10
on pastebin: http://pastebin.com/3iH1jSKp

raw code
test master, test slave, learn master
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Jaranda Water-Detector SR-02 Tobi 0 438 03-12-2018, 03:05 AM
Last Post: Tobi
  Flamingo, FA500R swiches. mightyuhu 2 7,388 05-06-2017, 02:36 PM
Last Post: andre
  Flamingo lvdp 118 73,480 05-02-2017, 05:28 PM
Last Post: andre
  Wireless Gas Detector dolapos 0 1,126 02-24-2016, 07:15 PM
Last Post: dolapos
  dimmer Protocol Elro HE878 fleisch 6 4,297 09-14-2015, 08:34 PM
Last Post: curlymo
  [Fully Supported] Elro 800 Series dominik 76 41,584 08-10-2015, 05:00 PM
Last Post: curlymo
Star Elro 800 Series Contact diman87 23 11,922 03-17-2015, 11:17 PM
Last Post: wo_rasp
  Elro 400 Series Dimmer its2loud 0 1,672 02-12-2015, 09:28 PM
Last Post: its2loud
Lightbulb Elro 800 Series Shutter pit 0 1,791 02-11-2015, 02:59 PM
Last Post: pit
  Elro Switch Variations curlymo 0 1,602 02-03-2015, 08:59 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)