• 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


[Fully Supported] Elro 400 Series
#1
BUTTON 1 ON:
Code:
pulse:          3
rawlen:         50
binlen:         12
pulselen:       295

Raw code:
295 885 295 885 295 885 295 885 295 885 295 885 295 885 295 885 295 885 295 885 295 885 295 885 295 885 295 885 295 885

295 885 295 885 295 885 295 885 885 295 295 885 885 295 295 885 885 295 295 10030
Binary code:
111111111000

BUTTON 1 OFF:
Code:
pulse:          3
rawlen:         50
binlen:         12
pulselen:       296

Raw code:
296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888

296 888 296 888 296 888 296 888 888 296 296 888 888 296 296 888 296 888 296 10064
Binary code:
111111111001

BUTTON 2 ON:
Code:
pulse:          3
rawlen:         50
binlen:         12
pulselen:       296

Raw code:
296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 888 296 296 888 296 888 296 888 296 888 296 888

296 888 296 888 296 888 296 888 888 296 296 888 888 296 296 888 888 296 296 10064
Binary code:
111101111000

BUTTON 2 OFF:
Code:
pulse:          3
rawlen:         50
binlen:         12
pulselen:       296

Raw code:
296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 888 296 296 888 296 888 296 888 296 888 296 888

296 888 296 888 296 888 296 888 888 296 296 888 888 296 296 888 296 888 296 10064
Binary code:
111101111001

BUTTON 3 ON:
Code:
pulse:          3
rawlen:         50
binlen:         12
pulselen:       296

Raw code:
296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 888 296 296 888 296 888 296 888

296 888 296 888 296 888 296 888 888 296 296 888 888 296 296 888 888 296 296 10064
Binary code:
111110111000

BUTTON 3 OFF:
Code:
pulse:          3
rawlen:         50
binlen:         12
pulselen:       296

Raw code:
296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 888 296 296 888 296 888 296 888 296 888 296 888 296 888 296 888 888 296 296 888 888 296 296 888 296 888 296 10064
Binary code:
111110111001


BUTTON 4 ON:
Code:
pulse:          3
rawlen:         50
binlen:         12
pulselen:       296

Raw code:
296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 888 296 296 888 888 296 296 888 296 888 296 888 296 888 296 888 296 888 296 888 888 296 296 888 888 296 296 888 888 296 296 10064

Binary code:
111100111000

BUTTON 4 OFF:
Code:
pulse:          3
rawlen:         50
binlen:         12
pulselen:       296

Raw code:
296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 888 296 296 888 888 296 296 888 296 888 296 888 296 888 296 888 296 888 296 888 888 296 296 888 888 296 296 888 296 888 296 10064

Binary code:
111100111001


Result from pilight-learn:
Code:
pulse:          3
rawlen:         50
binlen:         12
plslen:         296

on-off bit(s):  11
all bit(s):
unit bit(s):    4 5 8

Raw code:
296 888 296 888 296 888 296 888 296 888 296 888 296 888 296 888 888 296 888 296 888 296 888 296 296 888 296 888 296 888 296 888 888 296 888 296 296 888 888 296 296 888 888 296 296 888 888 296 296 10064
Raw simplified:
On:     01010101010101010101010101010101010101100110011001
Off:    01010101010101010101010101010101010101100110011001
All:    01010101010101010101010101010101010101100110010101
Unit 1: 01010101010101010101010101010101010101100110011001
Unit 2: 01010101010101010110010101010101010101100110011001
Unit 3: 01010101010101011010101001010101101001100110011001
Binary code:
On:     111111111000
Off:    111111111001
All:    111111111001
Unit 1: 111111111000
Unit 2: 111101111000
Unit 3: 111100110000
 
Reply
#2
The output of Button 4 isn't complete. Than you fix it please?
 
Reply
#3
Shouldn't this be the Home Easy variant then instead of Home Control?
 
Reply
#4
I checked my send and receive units... This is the Home Comfort variant of Elro. Here is more information: http://www.elro.eu/uploads/products/manu...Manual.pdf
 
Reply
#5
Can you test the latest version on git?
 
Reply
#6
I changed my config too elro_hc and tested it but unfortunately it ain't working... A few remarks
  • When I push a button of my remote it gives a result in pilight-daemon -D of elro_hc with other unitcode and systemcode (offcourse I tested that too, but that ain't working either)
  • When I change the switch in the webgui, it directly changes back, so I think there is something wrong. A time certain time back the original elro protocl had the same behavior.

Edit:
Second remark can be corrected with this part of the code:
Code:
void elroHCCreateMessage(int systemcode, int unitcode, int state) {
    elro_hc->message = json_mkobject();
    json_append_member(elro_hc->message, "systemcode", json_mknumber(systemcode));
    json_append_member(elro_hc->message, "unitcode", json_mknumber(unitcode));
    if(state == 0) {
        json_append_member(elro_hc->message, "state", json_mkstring("on"));
    } else {
        json_append_member(elro_hc->message, "state", json_mkstring("off"));
    }
}
state == 0 represents an "on" signal.

Strange part is that previously (by the 26th of october) the regular elro worked if I changed the plslen parameter to 296. I search back in the repocitory's, but couldn't find strange changes which could couse that the protocol broke.

Also the raw sending still doesn't work for this protocol.
 
Reply
#7
To be able to support a new protocol, the raw sending should work. Then we know what we can focus uppon. So, that means that the codes posted in the first post don't work when sended as raw?
 
Reply
#8
Ok after long search and investigating, I found a solution. I changed the hwmode to GPIO. Somehow the module mode ain't working any more for the ELRO protocol.

Can you process the code (in elro_hc.c) I remarked in previous message? Thank you in advance
 
Reply
#9
Done. Is it now totally working? And does the numbering make any sense, or do we need to tweak that a little?
 
Reply
#10
It is totally working over here! I even created a new protocol for the Elro Home Comfort Dimmers.

Indeed the numbering may need some tweaking, I don't see the logic now.
Button 1 = 0,1
Button 1 = 1,1
Button 3 = 0,17
Button 4 = 1,17
Button 5 = 0,9
Button 6 = 1,9
Button 7 = 0,25
Button 8 = 1,25
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  [Partially Supported] TFA / Conrad Weather Yves 203 29,723 03-27-2020, 01:21 PM
Last Post: Ascenion
  [Fully Supported] KlikAanKlikUit Motion Sensor koen01 37 15,801 03-26-2020, 02:46 PM
Last Post: Gisto
Lightbulb [Fully Supported] Kaku Door sensor (AMST-606) geerttttt 53 29,294 10-19-2019, 06:26 PM
Last Post: curlymo
  [Fully Supported] DHT22 IcedEarth 86 38,551 11-18-2018, 09:33 AM
Last Post: curlymo
  [Fully Supported] Arctech Old Martin 111 43,810 03-27-2018, 04:43 PM
Last Post: genfersee
  [Fully Supported] Clarus Switches Marcin 69 30,802 01-30-2018, 07:10 PM
Last Post: Niek
  [Fully Supported] Remote Control Socket (RC101-U/RC201) Sean 18 13,229 01-04-2018, 06:18 AM
Last Post: ettman8
  Elro/Flamingo FA20RF Smoke detector meloen 76 44,271 12-16-2017, 07:07 PM
Last Post: pilino1234
  [Fully Supported] LM75 and LM76 temperature sensor horst_dieter 64 29,594 11-19-2017, 08:54 PM
Last Post: edepi
  [Fully Supported] No-brand temp/humidity sensor (alecto_ws1700) meloen 57 41,336 12-25-2016, 09:53 PM
Last Post: creamers

Forum Jump:


Browsing: 1 Guest(s)