• 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


eHome Switches
#1
here the learn output:
Code:
pulse:     3
rawlen:     50
binlen:     12
plslen:     282

on-off bit(s):    0
all bit(s):    
unit bit(s):    1 2 3

Raw code:
282 846 282 846 282 846 846 282 282 846 846 282 282 846 282 846 282 846 846 282 282 846 846 282 282 846 846 282 282 846 846 282 282 846 846 282 282 846 846 282 282 846 846 282 282 846 846 282 282 9588
Raw simplified:
On:    01010110010101100110011001100110011001100110011001
Off:    01010110010101100110011001100110011001100110011001
All:    10100110010101100110011001100110011001100110011001
Unit 1:    01010101010101100110011001100110011001100110011001
Unit 2:    01010101011001100110011001100110011001100110011001
Unit 3:    01010110011001010110011001100110011001100110011001
Binary code:
On:    101000000000
Off:    001000000000
All:    001000000000
Unit 1:    111000000000
Unit 2:    110000000000
Unit 3:    100100000000


and here debug for all buttons:
1_on
Code:
pulse:        3
rawlen:        50
binlen:        12
pulselen:    283

Raw code:
283 849 283 849 283 849 283 849 283 849 283 849 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 9622
Binary code:
111000000000

1_off
Code:
pulse:        3
rawlen:        50
binlen:        12
pulselen:    283

Raw code:
849 283 849 283 283 849 283 849 283 849 283 849 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 9622
Binary code:
011000000000

2_on
Code:
pulse:        3
rawlen:        50
binlen:        12
pulselen:    283

Raw code:
283 849 283 849 283 849 283 849 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 9622
Binary code:
110000000000

2_off
Code:
pulse:        3
rawlen:        50
binlen:        12
pulselen:    284

Raw code:
852 284 852 284 284 852 284 852 284 852 852 284 284 852 852 284 284 852 852 284 284 852 852 284 284 852 852 284 284 852 852 284 284 852 852 284 284 852 852 284 284 852 852 284 284 852 852 284 284 9656
Binary code:
010000000000

3_on:
Code:
pulse:        3
rawlen:        50
binlen:        12
pulselen:    283

Raw code:
283 849 283 849 283 849 849 283 283 849 283 849 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 1132 849 283 283 849 849 283 283 9622
Binary code:
101000000000

3_off
Code:
pulse:        3
rawlen:        50
binlen:        12
pulselen:    283

Raw code:
849 283 849 283 283 849 849 283 283 849 283 849 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 9622
Binary code:
001000000000

4_on
Code:
pulse:        3
rawlen:        50
binlen:        12
pulselen:    283

Raw code:
283 849 283 849 283 849 849 283 283 849 849 283 283 849 283 849 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 849 849 283 283 9622
Binary code:
100100000000

4_off
Code:
pulse:        3
rawlen:        50
binlen:        12
pulselen:    282

Raw code:
846 282 846 282 282 846 846 282 282 846 846 282 282 846 282 846 282 846 846 282 282 846 846 282 282 846 846 282 282 846 846 282 282 846 846 282 282 846 846 282 282 846 846 282 282 846 846 282 282 9588
Binary code:
000100000000
 
Reply
#2
HI, i also have eHome Switches, but no remote. Can i control the switches with pilight and raspberry with the raw codes posted here?

My ehome switches are Typ YK-1. Which setting do you have for the six dip switches?
 
Reply
#3
Have you tried?
 
Reply
#4
No, i don't know how i have to set the six dip switches inside the ehome switch.
 
Reply
#5
Ok, tried it and it works perfect. Thanks. DIP 1-3 must be off.

DIP 4-6 must be:

1: OFF, ON, ON
2: OFF, OFF, ON
3: OFF, ON, OFF
4: ON, OFF, OFF

@curlymo: Is it possible to create a protocol from this data, so we can use the switches with the config-file?
 
Reply
#6
I'm currently finishing some last small pieces for pilight 4 so maybe @meloen has some time.

Also, what are the characteristics of these devices.
1. How many buttons does each remote have?
2. How many different codes can you theoretically define?
3. Is there a difference in a unit and/or id like elro or kaku?
 
Reply
#7
Ok, no problem, i can wait Smile
 
Reply
#8
Ok, no problem, i can wait for the answers to my questions.
 
Reply
#9
This are the switches:

http://www.ebay.de/itm/3-Funksteckdosen-...1168532094

The remote has 4 on and 4 off buttons, for each switch one pair of buttons and 3 dip switches inside. The switches have 6 dip switches inside. The first 3 must be identic to the remote, and the last 3 are for each switch.

The manual defines four possible adjustments for the dips inside the switches:

Switch No.1: OFF, ON, ON
Switch No.2: OFF, OFF, ON
Switch No.3: OFF, ON, OFF
Switch No.4: ON, OFF, OFF

If we can use other combinations like ON, ON, OFF i can't say, because i have no remote to try.
 
Reply
#10
Ok, found out that there must be a difference between units with other ids.

I have 5 units with S/N 050701 which work perfect and 3 units with S/N 050501 which aren't working at all with this codes.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Unitec Switches rien-ne-va-plus 48 32,893 05-29-2019, 02:16 PM
Last Post: bitboy
  RSL366T Switches juri 60 30,392 05-24-2018, 06:48 PM
Last Post: bobg
  [Fully Supported] Clarus Switches Marcin 69 29,683 01-30-2018, 07:10 PM
Last Post: Niek
  Unitec / Intertek Switches dieterhatn 1 1,382 03-07-2017, 07:04 PM
Last Post: pilino1234
  CLOSED: Unbranded White Programmable plug-in wall switches alasdairc 8 3,200 11-13-2016, 11:47 PM
Last Post: alasdairc
Brick Aukey Switches VrahoK 5 2,236 11-01-2016, 06:56 AM
Last Post: curlymo
  DBPower Switches joaoasilva 5 3,437 09-25-2014, 08:45 PM
Last Post: joaoasilva
  Support for Schwaiger/Goobay switches plinden 10 6,569 05-16-2014, 11:20 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)