• 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


Flamingo
#91
I've found a simple way to determine the raw code for the buttons on the remote (Flamingo FA500R). Just start
Code:
pilight-debug

Don't forget to stop pilight with the command
Code:
sudo service pilight stop

and keep pressing the desired button until you get an output with these parameters:
Code:
rawlen:    58
binlen:    14
pulselen:  147 (or 148)

The binary code was also always: 11111111111111.

This can take some time, even a minute or two, just try it over and over again until you get something with pulselen = 147.

Here are my pilight-debug outputs / raw codes:

A_ON
Code:
hardware:       433gpio
pulse:          2
rawlen:         58
binlen:         14
pulselen:       147

Raw code:      
294 1029 294 1029 1029 294 294 1029 294 1029 1029 441 294 1029 294 1029 294 1029 294 1029 882 441 882 294 294 1029 1029 441 882 294 1029 294 294 1029 294 1029 1029 294 882 294 294 1029 294 1029 294 1029 882 441 294 1029 1029 441 1029 294 294 1029 294 4998
Binary code:
11111111111111

A_OFF
Code:
hardware:       433gpio
pulse:          2
rawlen:         58
binlen:         14
pulselen:       147

Raw code:
294 1029 294 1029 882 294 294 1029 294 1029 1029 294 294 1029 1029 294 294 1029 294 1029 294 1029 1029 294 1029 294 1029 294 294 1029 1029 294 1029 441 882 294 1029 294 1029 294 1029 294 294 1029 294 1029 294 1029 294 1029 1029 294 1029 294 294 1029 294 4998
Binary code:    
11111111111111

B_ON
Code:
hardware:    433gpio
pulse:        3
rawlen:        58
binlen:        14
pulselen:    147

Raw code:
294 1029 294 1029 1029 294 294 1029 294 1029 1029 441 1029 294 1029 294 1029 294 882 441 1029 294 1029 441 882 294 1029 441 1029 294 294 1029 294 1029 882 441 1029 294 1029 294 294 1029 1029 441 1029 294 1029 294 1029 441 294 1029 294 1029 1029 441 294 4998
Binary code:
11111111111111

B_OFF
Code:
hardware:       433gpio
pulse:          2
rawlen:         58
binlen:         14
pulselen:       147

Raw code:
294 1029 294 1029 1029 294 294 1029 294 1029 1029 294 1029 294 294 1029 882 441 882 441 1029 441 882 294 294 1029 1029 294 1029 441 882 441 882 441 882 441 294 1029 294 1029 1029 441 882 441 294 1029 882 441 294 1029 1029 294 294 1029 1029 294 294 4998
Binary code:
11111111111111

C_ON
Code:
hardware:       433gpio
pulse:          2
rawlen:         58
binlen:         14
pulselen:       147

Raw code:
1029 294 1029 294 1029 294 294 1029 294 1029 1029 441 294 1029 294 1029 294 1029 882 441 1029 294 294 1029 294 1029 1029 294 1029 294 294 1029 882 294 1029 441 1029 294 294 1029 294 1029 1029 441 294 1029 1029 294 1029 294 294 1029 294 1029 1029 294 294 4998
Binary code:
11111111111111

C_OFF
Code:
hardware:       433gpio
pulse:          2
rawlen:         58
binlen:         14
pulselen:       147

Raw code:
1029 294 1029 441 882 294 294 1029 294 1029 1029 294 294 1029 294 1029 294 1029 1029 294 1029 294 294 1029 1029 294 1029 441 294 1029 1029 294 1029 441 294 1029 1029 294 294 1029 294 1029 1029 441 1029 441 882 294 294 1029 882 294 294 1029 1029 294 294 4998
Binary code:
11111111111111

D_ON
Code:
hardware:       433gpio
pulse:          2
rawlen:         58
binlen:         14
pulselen:       147

Raw code:
294 1029 882 294 1029 294 294 1029 294 1029 1029 441 294 1029 1029 294 294 1029 1029 294 1029 294 1029 294 294 1029 294 1029 1029 294 1029 294 1029 294 1029 441 294 1029 1029 294 294 1029 1029 441 294 1029 1029 294 1029 294 294 1029 1029 294 294 1029 294 4998
Binary code:
11111111111111

D_OFF
Code:
hardware:       433gpio
pulse:          2
rawlen:         58
binlen:         14
pulselen:       147

Raw code:
294 1029 882 294 1029 294 294 1029 294 1029 1029 294 1029 294 1029 294 294 1029 294 1029 1029 294 294 1029 1029 294 1029 441 1029 294 294 1029 294 1029 1029 294 294 1029 294 1029 1029 294 1029 441 1029 294 1029 294 294 1029 294 1029 1029 294 294 1029 294 4998
Binary code:
11111111111111

You can send the raw code with this command (for instance for turning on your switch with my code for button A):
Code:
sudo pilight-send -p raw -c "294 1029 294 1029 1029 294 294 1029 294 1029 1029 441 294 1029 294 1029 294 1029 294 1029 882 441 882 294 294 1029 1029 441 882 294 1029 294 294 1029 294 1029 1029 294 882 294 294 1029 294 1029 294 1029 882 441 294 1029 1029 441 1029 294 294 1029 294 4998"

Don't forget to turn on pilight again before sending codes:
Code:
sudo service pilight start

I've tested all my raw codes and they are working.

<strike>But the problem is, the codes are somehow overlapping. I was not able to control all three switches independently with my remote or the raw codes of my remote plus the two posted in this thread. Therefore I'll send them back to Amazon. I don't know what's broken – the remote which is not able to send distinct codes or the switches which are maybe not able to distinguish the codes.

So I'm going to begin to search for (probably not self-learning) switches again. Crying</strike>

Edit: I didn't know that you have to reverse the connection. I read it in the manual today. So there are no conflicting codes or something like that. The switches are just able to learn several codes.

I hope there will be a protocol sometime. These Flamingo things are the best-selling sockets on Amazon Germany. Maybe we should post our raw codes here while there is no protocol. I also added my remote (remote IV) in the wiki.
 
Reply
#92
diego, the codes you have posted work for my devices as well. Good job!
Now we just have to hope for a new protocol.
 
Reply
#93
I'm a newby here yet have been running Raspberry Pi's since day 1. I've got 4 of them.
So far I have been using Elro switches, X10 stuff, Action! switches etc., all driven from the Pi. Recently I bought 9 Flamingo switches (3 x FA500/3), so I am very interested in switching these too. That's why I came to this forum.
I've been trying the pilight-send commands as suggested above, yet my 433MHz transmitter is connected to the 'wrong' pins...
Any news on drivers that drive pin 8 (TxD) on the Pi's GPIO? I have tried to get pilight configured so that it uses TxD instead of GPIO.0, but so bar I did not succeed.
 
Reply
#94
Is this a Flamingo or a electronics question?
 
Reply
#95
(01-31-2015, 11:33 AM)curlymo Wrote: Is this a Flamingo or a electronics question?

It's Flamingo and pilight actually. No plans to rewire the GPIO.
Would be nice if someone could tell me how to modify the hardware.json file so that TxD can be used, but the most interesting part is the part about the Flamingo's and their control-codes.
 
Reply
#96
Is there any update on this Flamingo Protocol by now?
Am I right that its not possible to add it to the web interface by using the raw code, or can it be added if you write the raw code into a script file?

Kind regards
 
Reply
#97
Hi,
the raw Flamingo send function does work very well, so will there be a protocol in the future we can use?

That would be great!

Thx in advance!
 
Reply
#98
Hello :-)

I have 2 sets of Mumbi FS-300 / Flamingo without DIP-Switches. Today I figured out the codes for my 2 remote controls. Hope this helps somebody.

Code:
REMOTE 1:

Button "A" ON
pilight-send -p raw -c "294 1029 294 1029 882 294 294 1029 294 1029 1029 294 1029
294 294 1029 1029 294 294 1029 294 1029 1029 294 1029 294 1029 294 294 1176 294
1029 294 1029 882 294 294 1029 294 1029 294 1029 294 1029 294 1029 1029 294 1029
294 1029 294 1029 294 294 1029 294 4998"

Button "A" OFF
pilight-send -p raw -c "294 1029 294 1029 882 294 294 1029 294 1029 1029 294 294
1029 1029 294 294 1029 294 1029 294 1029 1029 294 1029 294 1029 294 294 1029 1029
294 1029 441 882 294 1029 294 1029 294 1029 294 294 1029 294 1029 294 1029 294
1029 1029 294 1029 294 294 1029 294 4998"

Button "B" ON  
pilight-send -p raw -c "296 1036 296 1036 1036 296 296 1036 296 1036 1036 296 296
1036 1036 296 296 1036 296 888 1036 444 1036 296 296 1036 296 1036 1036 296 444
888 1036 296 296 1036 1036 296 296 1036 1036 296 1036 296 296 1036 1036 296 1036
296 296 1036 296 1036 1036 296 296 5032"

Button "B" OFF  
pilight-send -p raw -c "292 1022 292 1022 1022 292 730 584 292 1022 1022 292 292
1022 1022 292 292 1022 1022 292 1022 292 1022 292 1022 292 292 1022 1022 292 292
1022 292 1022 1022 292 292 1022 1022 292 438 876 1022 292 292 1022 1022 292 292
1022 1022 292 292 1022 1022 292 292 4964"

Button "C" ON  
pilight-send -p raw -c "1015 290 1015 290 1015 290 290 1015 290 1015 1015 290
1015 290 1015 290 1015 290 1015 290 1015 290 290 1015 290 1015 290 1015 290 1015
290 1015 1015 290 1015 290 290 1015 1015 290 1015 290 1015 290 290 1015 1015 290
290 1015 290 1015 290 1015 1015 290 290 4930"

Button "C" OFF  
pilight-send -p raw -c "1015 290 1015 290 1015 290 435 870 435 870 1015 290 1015
290 435 870 435 870 435 870 435 870 1015 290 1015 290 1015 290 435 870 1015 290
1015 290 1015 290 435 870 1015 290 435 1015 1015 290 435 1015 290 1015 1015 290
1015 290 435 1015 1015 290 290 4930"

Button "D" ON  
pilight-send -p raw -c "292 1022 1022 292 1022 292 292 1022 292 1022 1022 292
1168 292 1022 292 292 1022 1022 292 1022 292 292 1022 292 1022 1022 292 1022 292
292 1022 1022 292 292 1022 292 1022 1022 292 1022 292 292 1022 292 1022 292 1022
292 1022 292 1022 1022 292 292 1022 292 4964"

Button "D" OFF  
pilight-send -p raw -c "292 1022 1022 292 1022 292 292 1022 292 1022 1022 292 292
1022 292 1022 1022 292 1022 292 292 1022 1022 292 1022 292 1022 292 1022 292 292
1022 1022 292 292 1022 292 1022 292 1022 292 1022 1022 292 292 1022 292 1022 1022
292 292 1022 876 292 292 1022 292 4964"

Code:
REMOTE 2:

Button "A" ON
pilight-send -p raw -c "432 864 432 864 1008 288 432 864 432 864 1008 288 432 864
1008 288 432 864 1008 288 1008 288 1008 288 1008 288 1008 288 432 864 1008 288
1008 288 432 864 432 864 1008 288 1008 288 432 1008 432 864 1008 288 1008 288
1008 288 1008 288 432 1008 432 4896"

Button "A" OFF
pilight-send -p raw -c "432 864 432 864 1008 288 432 864 432 864 1008 288 1008
288 1008 288 432 864 1008 288 432 1008 1008 288 1008 288 1008 288 432 864 1008
288 432 864 432 864 1008 288 432 864 1008 288 432 864 1008 288 1008 288 1008 288
432 1008 1008 288 432 1008 432 4896"

Button "B" ON
pilight-send -p raw -c "435 870 435 870 1015 290 435 870 435 870 1015 290 435 870
1015 290 435 870 435 870 435 870 435 870 1015 290 1015 290 435 870 435 870 1015
290 1015 290 435 870 435 870 1015 290 1015 290 435 1015 870 290 1015 290 435 1015
290 870 1015 290 290 4930"

Button "B" OFF
pilight-send -p raw -c "435 870 435 870 1015 290 435 870 435 1015 1015 290 1015
290 1015 290 1015 290 1015 290 290 1015 435 870 290 1015 1015 290 290 1015 1015
290 1015 290 290 1015 1015 290 290 1015 290 1015 435 870 290 1015 290 1015 1015
290 1015 290 290 1015 1015 290 290 4930"

Button "C" ON
pilight-send -p raw -c "1015 290 1015 290 1015 290 290 1015 290 1015 1015 290 290
1015 1015 290 290 1015 290 1015 290 1015 290 1015 1015 290 290 1015 1015 290 290
1015 290 1015 1015 290 290 1015 1015 290 1015 290 290 1015 1015 290 1015 290 1015
290 290 1015 290 1015 1015 290 290 4930"

Button "C" OFF
pilight-send -p raw -c "1015 290 1015 290 1015 290 290 1015 290 1015 1015 290
1015 290 290 1015 1015 290 1015 290 1015 290 1015 290 1015 290 290 1015 290 1015
290 1015 290 1015 1015 290 290 1015 1015 290 290 1015 290 1015 290 1015 1015 290
290 1015 1015 290 290 1015 1015 290 290 4930"

Button "D" ON
pilight-send -p raw -c "294 882 1029 294 1029 294 441 882 294 882 1029 294 441
1029 1029 294 1029 294 1029 294 1029 294 441 882 1029 294 294 882 1029 294 1029
294 441 882 294 882 1029 294 1029 294 1029 294 1029 294 294 1029 441 882 294 882
294 1029 1029 294 294 1029 294 4998"

Button "D" OFF
pilight-send -p raw -c "292 876 1022 292 1022 292 438 876 438 1022 1022 292 1022
292 438 1022 1022 292 1022 292 1022 292 1022 292 292 1022 1022 292 292 1022 292
1022 1022 292 584 876 292 1022 292 1022 1022 292 292 1022 1022 292 1022 292 1022
438 146 1022 1022 146 292 1022 292 4964"

When using pilight-debug, I was looking for:

Binary code:
11111111111111
and
pulse: 2
rawlen: 58
binlen: 14

Greetings from Germany, Peter
 
Reply
#99
(01-31-2015, 11:22 AM)Adam Wrote: I've been trying the pilight-send commands as suggested above, yet my 433MHz transmitter is connected to the 'wrong' pins...
Any news on drivers that drive pin 8 (TxD) on the Pi's GPIO? I have tried to get pilight configured so that it uses TxD instead of GPIO.0, but so bar I did not succeed.

Have you looked up your winringX number here? Configuring pilight is described here. Don't forget to stop pilight, otherwise the /etc/pilight/config.json could be overwritten with the old settings.
 
Reply
Hi everyone,

I am pretty new to the community and the software (since yesterday ;-) ). Since I have the same m-FS300 Kit from Mumbi and I don't intend to send it back, i wanted to contribute a bit. Thanks so far for the posted codes, i can confirm for some to work. Some have problems (A ON from Peter works for me, but OFF doesn't)
After a night of searching and collecting, i just compared the given codes. These are the Codes mostly posted in this thread, represented in binary under the assumption, that one puls is about 300mS and a one is (1 pulse/ 3 pulse) and a zero is (3 pulse / 1 pulse). The Codes are grouped by channel. They are alternating on/off (so three remotes per channel).

A
110110 10100000100110011000 011 ON
110110 00101000101101010001 011 OFF
110110 01011000111011111000 011 ON
110110 10111000100000011110 011 OFF
110110 11110010001100111010 011 On
110110 10111000100000011110 011 OFF
B
110110 10111100110011001001 101
110110 00001110100101111100 101
110110 10110011010101001001 101
110010 10100001011010101010 101
110110 00000000011000100001 101
110110 01000011000011001010 101
C
000110 10111101011010010001 101
000110 01000001111010111010 101
000110 00000111110010001011 101
000110 01111000100010101100 101
000110 11100110010001101001 101
000110 11100100100101100010 101
D
100110 10000101001100001111 011
100110 01000010110111010001 011
100110 00100110010110011111 011
100110 11001000010111101101 011
100110 10100011000010101001 011
100110 00110100011011000011 011

I grouped them like that, because i think, that there is a header and a footer per channel as you can see. The numbers in the middle do not make sense to me at the moment.

A funny thing is, that the ninjablocks (https://github.com/ninjablocks/433Utils) seem to understand it. With RFSniffer i get the following codes for my remote:

A
5243157 ON
5243156 OFF

B
5243925 ON
5243924 OFF

C
5244181 ON
5244180 OFF

D
5242901 ON
5242900 OFF

This makes kind of sense for me, but when i try to send these codes, nothing happens.

Maybe that helps.

Greetings from Germany, Daniel
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Elro/Flamingo FA20RF Smoke detector meloen 76 65,477 12-16-2017, 07:07 PM
Last Post: pilino1234
  Flamingo, FA500R swiches. mightyuhu 2 10,122 05-06-2017, 02:36 PM
Last Post: andre

Forum Jump:


Browsing: 1 Guest(s)