• 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
#31
I got that, but if I decode it like you I get a binary string from it. And before I post it here I want to check whether it's working or not.
 
Reply
#32
Just describe how you get to the binary string and what the 1's and 0's mean.
 
Reply
#33
Alright.
So far I took a closer look at the binary output from the first post.

e.g. 111000000000

the first digit means to turn on or off.
1 = on, 0 = off.

The next three digits seem to be the last 3 dip switches, in reversed order.
E.g. I have the six dips on the back set to 0 0 0 0 1 1 (italic = housecode) it would be 1 1 0 in binary. so far: 1 1 1 0 means turn the outlet with code 0 1 1 on.

Since I have no way to try it out, I would guess that the next 3 digits are for the housecode, again in reversed order.

The last 5 digits must have something to do with the S/N no. (at least I hope so, then I could turn on all my 8 outlet instead of just 3).

I hope this helps at least a bit.
 
Reply
#34
What you posted is how the protocol is currently implemented.
 
Reply
#35
Okay, I finally got the dev branch working.
The protocol is working flawless for my S/N 050701 devices.
I still don't get what id 0 - 7 mean (e.g. what dips do I have to set for id 1 ?)
Id 1 is turning my 2nd outlet on, but whatever, it works! Smile

We can now continue and try out different house codes.
 
Reply
#36
That's why we have pilight-receive Smile
 
Reply
#37
Hi dieterhatn,

can you please post what you entered on console and which unit (dip-setting) you have controled?

greetings holybabel
 
Reply
#38
(05-18-2014, 04:08 PM)curlymo Wrote: That's why we have pilight-receive Smile

I don't own a remote, I cant try it out with a remote.
Can you please add a method to add the next 3 digits? or all remaining digits?
So I can play arround with the last ones and see if I can get it working with different house codes and maybe even with different model types.


(05-18-2014, 04:17 PM)holybabel Wrote: Hi dieterhatn,

can you please post what you entered on console and which unit (dip-setting) you have controled?

greetings holybabel

It's quite easy, just enter
Code:
pilight-send -p ehome -i 0 -t
ID can be 0-7 and -t = on / -f = off
 
Reply
#39
Strange, my units with sn 050701 and housecode 000 doesn't work at all with these protocol :-(

Which housecode do you use?
 
Reply
#40
So, i tried a little bit with decoding and raw code.

It's a bit different to what dieterhatn says:

Example for 1_ON

Step 1:
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

Step 2:
Code:
01
01
01
01
01
01
01
10
01
10
01
10
01
10
01
10
01
10
01
10
01
10
01
10
01

Step3:
Code:
1
1
1
1
1
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1

Step4:
Code:
1111111010101010101010101

Step5:
Bit 1-2: ON/OFF Command: 11 = ON, 00 = OF

Bit 3-8: Unitcode in reversed order: 10 = 0, 11= 1
Possible Codes(DIP 4-6):
111110 (OFF,ON,ON)
111010 (OFF,OFF,ON)
101110 (OFF,ON,OFF)
101011 (ON,OFF,OFF)

Bit 9-25: ??

The housecode doesn't start at bit 9. I tried with raw code, but it doesn't work. I will try out some more possibilieties for the housecode. It must be somewhere in the last 17 bits.
 
Reply
  


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

Forum Jump:


Browsing: 1 Guest(s)