pimatic/rfcontroljs

Flamingo ABR400R

incmve opened this issue · 5 comments

Hi,

I used this device under pilight with the protocol elro_hc, in pimatic it doens't seem to work.
here is a piece of the log
http://pastebin.com/PA1j0v3K

and my device

{
      "id": "beneden-buitenlicht",
      "name": "Buitenlamp",
      "class": "HomeduinoRFSwitch",
      "protocol": "switch3",
      "protocolOptions": {
        "houseCode": 8,
        "unitCode": 27
      }

In the output it is: houseCode: 17, unitCode: 16 Did you try with that?

Lol I should have mentioned that I used a different remote thats why the house and unit code don't match the config.

The receivers work in pilight with the house and unit codes so I used the same codes in pimatic, what I find strange is that I get all protocols in the debug log.

18:45:33.689 [pimatic-homeduino] debug: received: [ 300, 995, 10145 ] 01010110011001100101010101100110011001100101011002
18:45:33.723 [pimatic-homeduino] debug: switch2:  { houseCode: 17, unitCode: 16, state: true }
18:45:33.756 [pimatic-homeduino] debug: switch3:  { houseCode: 17, unitCode: 16, state: false }
18:45:33.788 [pimatic-homeduino] debug: switch4:  { unit: 17, id: 16, state: false }
18:45:33.821 [pimatic-homeduino] debug: switch5:  { id: 962474, unit: 0, all: true, state: false }
18:45:33.852 [pimatic-homeduino] debug: pir1:  { unit: 17, id: 16, presence: true }

I changed the dipswitches to another housecode and that seems to work..

I don't know if the houseCode in homeduino is the same as the houseCode in pilight.

You get all matching protocols in the output, switch2 - switch5 are all very similar because they use the same cips. Just the encoding of the information is different and so all possible ways to decode are emitted.

Got it, codes aren't the same as pilight that was my assumption ;)

Switch2 is the right one and is working as it should 👍
Switch3 also works but is inverted.