• 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


Unitec Switches
#1
I have just started using pilight and one of my receiver set has been identified as protocol "clarus_switch". However, if I try

Code:
pilight-send -p clarus_switch -u 31 -i "F15" -t

I get

Code:
[Apr 04 22:01:53:165501] pilight-send: ERROR: clarus_switch: invalid id range

Maybe if you could loosen the restrictions at

Code:
else if((int)(id[0]) < 65 || (int)(id[0]) > 69) {
logprintf(LOG_ERR, "clarus_switch: invalid id range");
return EXIT_FAILURE;
} else if(atoi(&id[1]) < 0 || atoi(&id[1]) > 31) {
logprintf(LOG_ERR, "clarus_switch: invalid id range");
return EXIT_FAILURE;

Maybe it would work? I would do it myself but it's been a while and I'm afraid I'd break more than fix.

I'm not yet fully convinced that my receivers are supported - I was also not able to debug any "off" signal (or pilight-receive it for that matter)

Cheers
 
Reply
#2
https://github.com/pilight/pilight/commi...11c289f4e8
 
Reply
#3
I've updated the protocol. Please try again.
 
Reply
#4
I've just made a new build from the development branch and it's still saying "invalid id range". Do you think I should open a new thread to investigate into these receivers? The brand is "unitec" and I haven't seen them mentioned anywhere before...
 
Reply
#5
Can you post a pilight-debug output for this button?
 
Reply
#6
Alright, I made a fresh read out for the on button for the first receiver, the result is as follows.

Code:
hardware:       433gpio
pulse:          3
rawlen:         50
binlen:         12
pulselen:       185

Raw code:
185 555 185 555 185 555 185 555 185 555 185 555 185 555 185 555 185 555 185 555 185 555 185 555 185 555 185 555 185 740 185 555 185 555 185 555 185 555 185 555 555 185 555 185 555 185 555 185 185 6290
Binary code:
111111111100

Strangely enough, yesterday the result was:

Code:
184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 736 184 552 184 552 184 552 184 552 184 552 184 552 552 184 552 184 552 184 552 184 184 6256

Both RAW codes turn the receiver on when send with pilight-send raw. I have not been able to get a debug for the off button, which appears odd as well...

Cheers!
 
Reply
#7
I opened a new thread for these devices. It does seem different from the clarus ones.
Can you post as much debug info for as much buttons as possible.
 
Reply
#8
(04-05-2014, 07:00 PM)curlymo Wrote: I opened a new thread for these devices. It does seem different from the clarus ones.
Can you post as much debug info for as much buttons as possible.

Alright, I'll start from scratch again. My remote has 10 buttons for a maximum of 4 devices (1 on/off, 2 on/off, 3 on/off, 4 on/off, all on/off) and I will go through them one by one:

Device 1 on:

Code:
--[RESULTS]--

hardware:       433gpio
pulse:          3
rawlen:         50
binlen:         12
pulselen:       184

Raw code:
184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 552 184 552 184 552 184 552 184 184 6256
Binary code:
111111111100

Device 1 off:

(I'm not receiving anything with pilight-debug)

Device 2 on:

Code:
--[RESULTS]--

hardware:       433gpio
pulse:          3
rawlen:         50
binlen:         12
pulselen:       185

Raw code:
185 555 185 555 185 555 185 555 185 555 185 555 185 555 185 555 185 555 185 555 185 555 185 555 185 555 185 555 185 555 185 555 185 555 185 555 185 555 185 555 185 555 555 185 555 185 555 185 185 6290
Binary code:
111111111100

Device 2 off:

Code:
--[RESULTS]--

hardware:       433gpio
pulse:          3
rawlen:         50
binlen:         12
pulselen:       184

Raw code:
184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 184 552 552 184 552 184 184 552 184 6256
Binary code:
111111111101

Device 3 on:

(I'm not receiving anything with pilight-debug)

Device 3 off:

(I'm not receiving anything with pilight-debug)

Device 4 on:

(I'm not receiving anything with pilight-debug)

Device 4 off:

(I'm not receiving anything with pilight-debug)

All devices on:

(I'm not receiving anything with pilight-debug)

All devices off:

(I'm not receiving anything with pilight-debug)

Frankly, I'm confused by these results and I suppose it will be close to impossible to find a solution for this?

Regards,

Benjamin
 
Reply
#9
Any luck in finding more debug codes?
 
Reply
#10
Can you let me know what these outputs represents. On or off? Button number?
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  RSL366T Switches juri 60 25,547 05-24-2018, 06:48 PM
Last Post: bobg
  [Fully Supported] Clarus Switches Marcin 69 22,765 01-30-2018, 07:10 PM
Last Post: Niek
  Unitec / Intertek Switches dieterhatn 1 1,030 03-07-2017, 07:04 PM
Last Post: pilino1234
  CLOSED: Unbranded White Programmable plug-in wall switches alasdairc 8 2,436 11-13-2016, 11:47 PM
Last Post: alasdairc
Brick Aukey Switches VrahoK 5 1,651 11-01-2016, 06:56 AM
Last Post: curlymo
  eHome Switches ligi 95 31,188 12-01-2014, 04:40 PM
Last Post: curlymo
  DBPower Switches joaoasilva 5 2,939 09-25-2014, 08:45 PM
Last Post: joaoasilva
  Support for Schwaiger/Goobay switches plinden 10 5,571 05-16-2014, 11:20 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)