• 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


REV Switch Typ 8342L
#1
Thanks a lot for pilight and your work to get it better every day.
i tried developer version with protocols:
rev1_switch
rev2_switch
rev3_switch

but still cant get the REV Switches to work.

when i try pilight-send with raw-code for each button from pilight-debug, it works very good.

DEVICE: REV Switch 8342L

pilight-debug:

Button 1 on:
Code:
time:        Sat Jan  9 14:45:24 2016
hardware:    433gpio
pulse:        3
rawlen:        50
pulselen:    258

Raw code:
258 774 774 258
258 774 774 258
258 774 774 258
774 258 774 258
774 258 774 258
258 774 774 258
258 774 774 258
258 774 258 774
258 774 258 774
258 774 258 774
774 258 774 258
258 774 258 774
258 8772

Button 1 off
Code:
time:        Sat Jan  9 14:49:57 2016
hardware:    433gpio
pulse:        3
rawlen:        50
pulselen:    258

Raw code:
258 774 774 258
258 774 774 258
258 774 774 258
774 258 774 258
774 258 774 258
258 774 774 258
258 774 774 258
258 774 258 774
258 774 258 774
258 774 258 774
258 774 258 774
774 258 774 258
258 8772

Button 2 on
Code:
time:        Sat Jan  9 14:54:48 2016
hardware:    433gpio
pulse:        3
rawlen:        50
pulselen:    258

Raw code:
258 774 774 258
258 774 774 258
258 774 774 258
774 258 774 258
258 774 774 258
774 258 774 258
258 774 774 258
258 774 258 774
258 774 258 774
258 774 258 774
774 258 774 258
258 774 258 774
258 8772

Button 2 off
Code:
time:        Sat Jan  9 14:59:10 2016
hardware:    433gpio
pulse:        3
rawlen:        50
pulselen:    258

Raw code:
258 774 774 258
258 774 774 258
258 774 774 258
774 258 774 258
258 774 774 258
774 258 774 258
258 774 774 258
258 774 258 774
258 774 258 774
258 774 258 774
258 774 258 774
774 258 774 258
258 8772

Button 3 on
Code:
time:        Sat Jan  9 15:00:30 2016
hardware:    433gpio
pulse:        3
rawlen:        50
pulselen:    258

Raw code:
258 774 774 258
258 774 774 258
258 774 774 258
774 258 774 258
258 774 774 258
258 774 774 258
774 258 774 258
258 774 258 774
258 774 258 774
258 774 258 774
774 258 774 258
258 774 258 774
258 8772

Button 3 off
Code:
time:        Sat Jan  9 15:12:30 2016
hardware:    433gpio
pulse:        3
rawlen:        50
pulselen:    258

Raw code:
258 774 774 258
258 774 774 258
258 774 774 258
774 258 774 258
258 774 774 258
258 774 774 258
774 258 774 258
258 774 258 774
258 774 258 774
258 774 258 774
258 774 258 774
774 258 774 258
258 8772
 
Reply
#2
Hi there, also tying to get these thing to work. I have the REV 8341L remote here, 3 buttons, no dimming.
I noticed that some REV protocols were removed with the pilight 7 release, don't know exactly why. I also tested them and none of them work for my 8341L/8342L.
It seems that the REV switches have a lot of variety in configurations, I already saw 3 buttons, 1 button + 2 dimmer, 3 buttons + 1 dimmer, ...

I found a German post (https://www.mikrocontroller.net/topic/131435) where someone disected the remote. This is a link to the datasheet of the controller chip: http://www.alldatasheet.com/datasheet-pd...60-R4.html
I also opened my remote and created an annotated picture: http://imgur.com/pffwThy

A0-A3 are the channel, which is hard-wired to B (= pin A1) in my case.
A4-A6 specify the remote ID. A7 is always ground. D3 and D2 also.
D1 is HIGH when turning on something, D0 is HIGH when turning off something.

I treied to implement the protocol I found in the german forum post and in the datasheet: https://github.com/r41d/pilight/commit/f...25ac3e1cba
Well, as I don't have any experience with pilight's internals, it doesn't work yet and I don't have an idea how to bring it to live.
 
Reply
#3
Quote:I noticed that some REV protocols were removed with the pilight 7 release, don't know exactly why.
Because...

Quote:I also tested them and none of them work for my 8341L/8342L.
...of this

Quote:It seems that the REV switches have a lot of variety in configurations, I already saw 3 buttons, 1 button + 2 dimmer, 3 buttons + 1 dimmer, ...
...and this.
 
Reply
#4
Good news, I figured it out.
My pilight REV protocol seems to work now: https://github.com/r41d/pilight/commit/6...868d02133e
The dumps from @madeluxe were really helpful.
Probably doesn't reach pilight's code quality, also it's not super-reliable, sometimes it does nothing and you need to hit it a few times, but I'm glad that I can finally control my REV switches with pilight =)

EDIT: When using from pilight GUI (Webbrowser or Android App) I don't have any reliability issues, it works near 100% of the time. From command line with pilight-send it would not trigger every time though.
I also tested another set of switches I own, also REV, but this one has 1 normal switch + 2 dimmers. Only tested the normal switch so far, and this one works Smile
 
Reply
#5
Hi,

I have an old pair of REVs here. I figure out some nasty workaround with different rules. Not happy with that solution... Big Grin

Can you help me, how to get your solution working on my Pi? Where do I have to save your code to?

Best regards,
Florian
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
Question AVM Smart home switch Rschnauzer 1 971 11-28-2019, 10:00 PM
Last Post: motmo
  Owsoo Wall Switch (Push Button / Sold for Sonoff devices with 433MHz)) hawkeyexp 0 134 10-14-2019, 10:32 PM
Last Post: hawkeyexp
  Etekcity Switch geokscott 2 944 07-11-2019, 03:48 PM
Last Post: hepcat72
  Smartwares switch SH5-RBU-04A and SH5-RBS-04A doesn't work with 8.0.3 flying_dutchman 51 13,120 05-22-2019, 11:16 AM
Last Post: bitboy
  SW-R01 / Geekbes Wireless Lights Switch gogosjon 0 439 10-13-2018, 05:29 PM
Last Post: gogosjon
  Switch Mumbi m-FS300 display as arctech-switch Rschnauzer 7 1,508 03-24-2018, 07:13 PM
Last Post: Rschnauzer
  Intertek with DIP Switch compuman1 12 8,519 01-15-2018, 07:59 PM
Last Post: madmoses
  Voltomat switch aszepeshazi 1 3,296 12-05-2017, 02:55 AM
Last Post: Archimdes
  DS-4 protocol (magnetic switch, EV1527 deviation) torwag 2 1,478 04-23-2017, 10:02 PM
Last Post: curlymo
  Smartwares SH5-RBU-04A Switch pati 9 6,589 01-31-2017, 09:22 AM
Last Post: wo_rasp

Forum Jump:


Browsing: 1 Guest(s)