• 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
#11
Can you maybe tweak it a bit yourself.
 
Reply
#12
I can't switch my Elro Home Easy (HE8xx).
I've installed plight from git.
I tried to send with the following protocols
Elro
Elro_Old
Intertechno
KlikAanKlikUit
Sartano
All does not work for me as well.

For me, switching only works in RAW mode.
here is some output

pilight-receive shows

Code:
sudo pilight-receive
{
    "code": {
        "systemcode": 2,
        "unitcode": 10,
        "state": "on"
    },
    "origin": "receiver",
    "protocol": "sartano",
    "repeats": 10

Debug of Button 1 ON

Code:
pulse:        7
rawlen:        58
binlen:        14
pulselen:    144

Raw code:
288 1008 288 1008 864 432 288 1008 288 1008 864 432 864 432 864 432 864 288 864 432 864 432 864 432 864 432 288 1008 288 1008 288 1008 288 1008 288 1008 288 1008 864 432 864 432 864 432 288 1008 864 432 288 1008 864 432 864 432 288 1008 288 4896
Binary code:
11000011100001

Debug of Button 2 ON

Code:
pulse:        3
rawlen:        58
binlen:        14
pulselen:    144

Raw code:
288 1008 288 1008 864 432 288 1008 288 1008 864 432 288 1008 288 1008 288 1008 288 1008 288 1008 288 1008 288 1008 288 1008 288 1008 864 432 864 432 864 432 288 1008 288 1008 864 432 288 1008 864 432 864 432 1008 288 288 1008 288 1008 864 432 288 4896
Binary code:
11111111111111

Debug of Button 3 On

Code:
pulse:        3
rawlen:        58
binlen:        14
pulselen:    143

Raw code:
858 429 858 429 858 429 286 1001 286 1001 858 429 858 429 858 429 286 1001 286 1001 1001 286 286 1001 286 1001 286 1001 286 1001 858 429 858 429 858 429 286 1001 286 1001 286 1001 286 1001 858 429 858 429 286 1001 286 1001 286 1001 858 429 286 4862
Binary code:
11111111111111

plight-learn gives me

Code:
--[RESULTS]--

pulse:        3
rawlen:        50
binlen:        12
plslen:        294

on-off bit(s):    11
all bit(s):    9
unit bit(s):    6 7

Raw code:
294 882 882 294 294 882 294 882 294 882 882 294 294 882 882 294 294 882 882 294 294 882 882 294 294 882 294 882 294 882 294 882 294 882 294 882 294 882 882 294 294 882 882 294 294 882 882 294 294 9996
Raw simplified:
On:    01100101011001100110011001010101010101100110011001
Off:    01100101011001100110011001010101010101100110011001
All:    01100101011001100110011001010101010101011010010101
Unit 1:    01100101011001100110011001010110010101100110011001
Unit 2:    01100101011001100110011001100101010101100110011001
Unit 3:    01100101011001100110011001010101010101100110011001
Binary code:
On:    010000111000
Off:    010000111001
All:    010000111101
Unit 1:    010000101000
Unit 2:    010000011000
Unit 3:    010000111000


switch Button 2 to ON by send raw it works

Code:
sudo pilight-send -p raw -c "284 994 284 994 852 426 284 994 284 994 852 426 284 994 284 994 284 994 994 426 852 426 284 994 852 426 852 426 852 426 994 284 852 426 852 426 852 426 284 994 994 284 852 426 284 994 852 426 284 994 284 994 284 994 852 426 284 4828"

Switch Button 2 to OFF in raw

Code:
sudo pilight-send -p raw -c "286 1001 286 1001 858 429 286 1001 286 1001 858 429 858 429 286 1001 286 1001 286 1001 858 429 858 429 286 1001 286 1001 286 1001 286 1001 858 429 858 429 858 429 286 1001 286 1001 286 1001 858 429 286 1001 858 429 286 1001 286 1001 858 429 286 4862"

Switch 3 to ON in raw

Code:
sudo pilight-send -p raw -c "876 438 876 438 876 438 146 1168 146 1168 876 438 876 438 876 438 876 438 876 438 146 1168 876 438 876 438 146 1168 146 1022 876 438 146 1168 146 1168 876 438 876 438 876 438 876 438 876 438 876 438 876 438 146 1168 146 1168 876 438 146 4964"

Switch 3 to OFF in raw

Code:
sudo pilight-send -p raw -c "1001 286 1001 286 1001 286 286 1001 286 1001 1001 286 1001 286 1001 286 1001 286 1001 429 1001 286 286 1001 1001 286 286 1001 286 1001 1001 286 286 1001 1001 286 1001 286 1001 286 286 1001 1001 286 286 1001 1001 286 286 1001 1001 429 286 1001 858 286 286 4862"

What can I do now?
I have no ideas anymore.
 
Reply
#13
Did you test the stable git version or development?
In the development branch i cannot see elro anymore and elro_hc and elro_he instead, maybe you could give that a try
 
Reply
#14
Indeed, tested it to work with the elro_hc protocol.
 
Reply
#15
Question 
I'm sorry. This doesn't worked for me.

I installed the development version.
With plight-send i can't switch.
But in RAW-Mode i can switch like befor.

If I send
pilight-send -p elro_hc -u 29 -s 23 -f
then i see in the next line the binary code. Is this normal?

Code:
pi@minkiRasp ~ $ sudo pilight-send -p elro_hc -u 29 -s 23 -f
1110110111pi@minkiRasp ~ $ sudo pilight-send -p elro_hc -u 29 -s 23 -t
1110110111pi@minkiRasp ~ $ sudo pilight-send -p elro_hc -u 29 -s 23 -f
1110110111pi@minkiRasp ~ $

pilight-recive gives me

Code:
pi@minkiRasp ~ $ sudo pilight-receive
{
    "code": {
        "systemcode": 23,
        "unitcode": 29,
        "state": "off"
    },
    "origin": "receiver",
    "protocol": "elro_hc",
    "repeats": 1
}

pilight-learn shows
Code:
pi@minkiRasp ~ $ sudo pilight-learn

--[RESULTS]--

pulse:        3
rawlen:        50
binlen:        12
plslen:        293

on-off bit(s):    11
all bit(s):    
unit bit(s):    6 7

Raw code:
586 586 879 293 293 879 293 879 293 879 879 293 293 879 879 293 293 879 879 293 293 879 879 293 293 879 293 879 293 879 293 879 293 879 293 879 293 879 879 293 293 879 879 293 293 879 879 293 293 9962
Raw simplified:
On:    01100101011001100110011001100110010101100110011001
Off:    01100101011001100110011001100110010101100110011001
All:    11100101011001100110011001100110010101100110010101
Unit 1:    01100101011001100110011001010110010101100110011001
Unit 2:    00100101011001100110011001100101010101100110011001
Unit 3:    00100101011001100110011001010101010101100110011001
Binary code:
On:    010000001000
Off:    010000001001
All:    010000001001
Unit 1:    010000101000
Unit 2:    010000011000
Unit 3:    010000111000

pilight-debug

Code:
pi@minkiRasp ~ $ sudo pilight-debug
--[RESULTS]--

pulse:        3
rawlen:        58
binlen:        14
pulselen:    144

Raw code:
864 288 864 432 864 432 288 1008 288 1008 864 432 288 1008 864 432 288 1008 288 1008 864 432 864 288 864 432 288 1008 288 1008 288 1008 288 1008 864 432 288 1008 288 1008 864 432 864 432 288 1008 864 432 288 1008 288 1008 288 1008 864 432 288 4896
Binary code:
11111111111111
 
Reply
#16
So receiving works, but sending doesn't?
 
Reply
#17
Yes. Receiving from the Remote on the Raspi works fine.
But send with plight-send doesn't work.
I think the Sender is Ok because send RAW works fine too.
Besides, I've also tested with a second sender (Standard).
If i receive and send with the Raspberry at the same time i
see that the receiver receive the right command.
Maybe it doesn't works because it's not Home Control but Home Easy?
But then for example
Code:
pilight-send -p elro_he -u 29 -s 23 -f

should work.
But it doesn't too.
 
Reply
#18
From despair i've now solved it for me by my own "dirty" Solution.

I created for each Switch an separate Python-script (yes I know. Goes well with one.)
that sends with
Code:
sudo pilight-send -p raw -c "the Raw-Code"
and call the desired Python-script
by my website with a Button for each Switch by AJAX.
 
Reply
#19
does anyone now is a protocol like the following one is already in pilight:

Code:
pulse:        3
rawlen:        50
binlen:        12
plslen:        293

on-off bit(s):    10 11
all bit(s):    
unit bit(s):    5 6 7

Raw code:
293 879 293 879 293 879 879 293 293 879 879 293 293 879 293 879 293 879 879 293 293 879 879 293 293 1172 879 293 293 879 293 879 293 879 879 293 293 879 879 293 293 879 293 879 293 879 879 293 293 9962
Raw simplified:
On:    01010110011001010110010101100110011001100101011001
Off:    01010110011001010110010101100110011001100101011001
All:    01010110011001010110010101100110011001100110010101
Unit 1:    01010110011001010110010101100110011001100101011001
Unit 2:    01010110011001010110011001010110011001100101011001
Unit 3:    01010110011001010110011001100101011001100101011001
Binary code:
On:    100101000010
Off:    100101000001
All:    100101000001
Unit 1:    100101000010
Unit 2:    100100100010
Unit 3:    100100010010

cheers
 
Reply
#20
Did you try it with pilight and pilight-receive?
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  [Partially Supported] TFA / Conrad Weather Yves 203 34,601 03-27-2020, 01:21 PM
Last Post: Ascenion
  [Fully Supported] KlikAanKlikUit Motion Sensor koen01 37 17,052 03-26-2020, 02:46 PM
Last Post: Gisto
Lightbulb [Fully Supported] Kaku Door sensor (AMST-606) geerttttt 53 30,951 10-19-2019, 06:26 PM
Last Post: curlymo
  [Fully Supported] DHT22 IcedEarth 86 40,316 11-18-2018, 09:33 AM
Last Post: curlymo
  [Fully Supported] Arctech Old Martin 111 46,050 03-27-2018, 04:43 PM
Last Post: genfersee
  [Fully Supported] Clarus Switches Marcin 69 32,553 01-30-2018, 07:10 PM
Last Post: Niek
  [Fully Supported] Remote Control Socket (RC101-U/RC201) Sean 18 13,851 01-04-2018, 06:18 AM
Last Post: ettman8
  Elro/Flamingo FA20RF Smoke detector meloen 76 45,794 12-16-2017, 07:07 PM
Last Post: pilino1234
  [Fully Supported] LM75 and LM76 temperature sensor horst_dieter 64 31,222 11-19-2017, 08:54 PM
Last Post: edepi
  [Fully Supported] No-brand temp/humidity sensor (alecto_ws1700) meloen 57 42,775 12-25-2016, 09:53 PM
Last Post: creamers

Forum Jump:


Browsing: 1 Guest(s)