• 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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Fully Supported] Conrad RSL Switch
#21
Good news!
It's working. Not perfect but working.
It's in status OFF in GUI. When I press it to turn ON the light the light is turned ON and the button go to ON position and immediately go to OFF - the light is still ON. Now the button is in OFF position and the light is ON. When I press the button again it change status to ON and light is still ON.
Now when I press button light is turned OFF and the button go to OFF position but then immediately go to ON status (light is OFF)

Status is updated correctly when I'm using Conrad switch.
 
Reply
#22
Can you change this part in the libs/protocols/conrad_rsl_switch.c:
Code:
    if(state == 0) {
to
Code:
    if(state == 1) {

and
Code:
        conradRSLSwCreateMessage(id, state1);
to
Code:
        conradRSLSwCreateMessage(id, state2);

And check if it fixes you're GUI problems, and receiving is still correct?
 
Reply
#23
Now it's working perfect!
 
Reply
#24
[Image: 646608_LB_01_FB.EPS_250.jpg]

http://www.conrad.pl/?websale8=conrad&pi...=BiFRggjjT
http://www.conrad.com/ce/en/product/640455/NA?ref=list

more info about the product
http://www.produktinfo.conrad.com/datenb...T_RSL2.pdf

I bought this set. Im trying to use it with standard protocols for conrad equipment. And its hard for me to get it working correctly. Wallplugs have built in dimmer. If i hold on button (button pressed twice fast) it starts to dim the light until on is pressed again.

Remote has 10 buttons and a state switch.
This is pilight-receive for only 4 button on/off and all on/off.

Code:
1.ON
hardware:       433gpio
pulse:          4
rawlen:         66
binlen:         16
pulselen:       199

Raw code:
1194 597 597 1393 1194 597 1194 597 597 1194 1194 597 1194 597 597 1194 597 1194 597 1194 597 1194 597 1194 597 1393 1194 597 597 1393 597 1194 1194 597 597 1194 1194 597 597 1393 1194 597 597 1194 1194 597 1194 597 1194 597 1194 597 597 1194 597 1194 597 1194 597 1194 597 1393 597 1194 796 6766
Binary code:
1111111111111111


1.OFF
hardware:       433gpio
pulse:          4
rawlen:         66
binlen:         16
pulselen:       194

Raw code:
1358 582 582 1164 1164 582 1358 582 1358 582 1164 582 1358 582 582 1164 582 1358 582 1164 582 1164 582 1164 582 1358 1358 582 582 1358 582 1164 1358 582 582 1164 1358 582 582 1164 1358 582 582 1164 1358 582 1358 582 1358 582 1358 582 582 1164 582 1164 582 1164 582 1164 582 1164 582 1164 776 6596
Binary code:
1001110111100111

2.ON
hardware:       433gpio
pulse:          4
rawlen:         66
binlen:         16
pulselen:       201

Raw code:
1206 402 603 1206 603 1206 603 1206 1407 603 1407 603 1407 603 603 1206 603 1206 603 1206 603 1206 603 1206 603 1206 1407 603 603 1206 603 1206 1407 603 603 1206 1206 603 603 1206 1407 603 603 1206 1206 603 1407 603 1407 603 1206 603 603 1206 603 1206 603 1206 603 1206 603 1407 402 1206 804 6834
Binary code:
1101110111100111

2.OFF
hardware:       433gpio
pulse:          4
rawlen:         66
binlen:         16
pulselen:       202

Raw code:
1212 606 606 1212 606 1212 606 1212 606 1212 606 1212 606 1212 1212 606 606 1212 606 1212 606 1212 606 1212 606 1212 1212 606 606 1212 606 1212 1212 606 606 1212 1212 606 606 1212 1212 606 606 1212 1212 606 1212 606 1212 606 1212 606 606 1212 606 1212 606 1212 606 1212 606 1212 606 1212 808 6868
Binary code:
1110111111100111

3.ON
hardware:       433gpio
pulse:          4
rawlen:         66
binlen:         16
pulselen:       203

Raw code:
1218 609 609 1218 1218 609 609 1218 609 1218 1218 609 1218 609 609 1218 609 1218 609 1218 609 1218 609 1218 609 1218 1218 609 609 1218 609 1218 1218 609 609 1218 1218 609 609 1218 1218 609 609 1218 1218 609 1218 609 1218 609 1218 609 609 1218 609 1218 609 1218 609 1218 609 1218 609 1218 812 6902
Binary code:
1111111111100111

3.OFF
hardware:       433gpio
pulse:          4
rawlen:         66
binlen:         16
pulselen:       203

Raw code:
1218 609 609 1218 1218 609 609 1218 1218 609 1218 609 1218 609 609 1218 609 1218 609 1218 609 1218 609 1218 609 1218 1218 609 609 1218 609 1218 1218 609 609 1218 1218 609 609 1218 1218 609 609 1218 1218 609 1218 609 1218 609 1218 609 609 1218 609 1218 609 1218 609 1218 609 1218 609 1218 812 6902
Binary code:
1101110111100111

4.ON
hardware:       433gpio
pulse:          4
rawlen:         66
binlen:         16
pulselen:       203

Raw code:
1218 609 609 1218 609 1218 1218 609 609 1218 1218 609 1218 609 609 1218 609 1218 609 1218 609 1218 609 1218 609 1218 1218 609 609 1218 609 1218 1218 609 609 1218 1218 609 609 1218 1218 609 609 1218 1218 812 1218 609 1218 609 1218 609 609 1218 609 1218 609 1218 609 1218 609 1218 609 1218 812 6902
Binary code:
1011110111100111

4.OFF
hardware:       433gpio
pulse:          4
rawlen:         66
binlen:         16
pulselen:       202

Raw code:
1212 606 606 1212 606 1212 1212 606 1212 606 1212 606 1414 404 606 1212 606 1212 606 1212 606 1212 606 1212 606 1212 1212 606 606 1212 606 1212 1212 606 606 1212 1212 606 606 1212 1212 606 606 1212 1212 606 1212 606 1212 606 1212 606 606 1212 606 1212 606 1212 606 1212 606 1212 606 1212 808 6868
Binary code:
1001111111100111

ALL.ON
hardware:       433gpio
pulse:          4
rawlen:         66
binlen:         16
pulselen:       198

Raw code:
1188 594 594 1188 594 1188 1386 594 594 1188 594 1188 1188 594 1386 594 594 1188 594 1188 594 1188 594 1188 594 1188 1188 594 594 1188 594 1188 1188 594 594 1188 1386 594 594 1188 1188 594 594 1188 1386 594 1188 594 1188 594 1188 594 594 1188 594 1188 594 1188 594 1188 594 1188 594 1188 792 6732
Binary code:
1010111111100111

ALL.OFF
hardware:       433gpio
pulse:          4
rawlen:         66
binlen:         16
pulselen:       198

Raw code:
1188 594 594 1188 1188 594 594 1188 594 1188 594 1386 1188 594 1188 594 594 1188 594 1188 594 1188 594 1188 594 1386 1188 594 594 1188 594 1188 1386 396 594 1188 1188 594 594 1188 1188 594 594 1188 1188 594 1188 594 1188 594 1188 594 594 1188 594 1188 594 1188 594 1188 594 1188 594 1188 792 6732
Binary code:
1110111111100111

This is pilight-learn result:

Code:
hardware:       433gpio
pulse:          4
rawlen:         66
binlen:         16
plslen:         195

on-off bit(s):  1 2 6 11 12
all bit(s):     3
unit bit(s):

Raw code:
1365 585 585 1170 585 1170 585 1170 1365 585 1365 585 1170 585 585 1170 585 1170 585 1170 585 1170 585 1365 585 1170 1365 585 585 1365 585 1170 1170 585 585 1170 1170 585 585 1170 1365 585 585 1170 1170 585 1365 585 1365 585 1365 585 585 1170 585 1170 585 1170 585 1170 585 1170 585 1170 780 6630
Raw simplified:
On:     100110100110110101010101011001011001100110011110101001010101010111
Off:    100110100110110101010101011001011001100110011110101001010101010111
All:    100101100101101001010101011001011001100110011010101001010101010111
Unit 1: 101101100110110101010101011101011001100110111110101001010101010111
Unit 2: 101110010110111101010101111001011011100110111110101011010101011111
Unit 3: 101111011110111111010101011011011011101110111110101101010111111111
Binary code:
On:     1001110111100111
Off:    1111111111111111
All:    1010110111100111
Unit 1: 1001111111100111
Unit 2: 1101110111100111
Unit 3: 1101110111101111

raw on and off
http://pastebin.com/6scENDPm

pilight-debug shows:

Code:
{
        "code": {
                "id": 33248319,
                "state": "off"
        },
        "origin": "receiver",
        "protocol": "conrad_rsl_switch",
        "uuid": "0393-00-00-93-000300",
        "repeats": 1
}

Id works, sortof with webgui.
When i press the button on the remote webgui changes state but when i try to press the button on webgui nothing happens.

Off button on remote shows many IDs with a wrong protocol
conrad_rsl_contact


Code:
{"id":67064895,"state":"opened"},"origin":"receiver","protocol":"conrad_rsl_contact","uuid":"0393-00-00-93-000300","repeats":1}
{"code":{"id":33511231,"state":"closed"},"origin":"receiver","protocol":"conrad_rsl_contact","uuid":"0393-00-00-93-000300","repeats":1}
{"code":{"id":67067711,"state":"opened"},"origin":"receiver","protocol":"conrad_rsl_contact","uuid":"0393-00-00-93-000300","repeats":1}

This is my config.json
Code:
{
    "salon": {
        "name": "Salon",
        "lampka": {
            "name": "Lampka",
            "protocol": [
                "conrad_rsl_switch"
            ],
            "id": [
                {
                    "id": 33248319
                }
            ],
            "state": "off"
        }
    }
}

This is what pilight-daemon -D shows me:

http://pastebin.com/3AubGhEK


i have also bought this
http://www.conrad.com/ce/en/product/6464...A?ref=list
and will be using it with a switch with dimmer
http://www.conrad.pl/?websale8=conrad&pi...=AVHf7VpHv
will try it out in few days.

Can any one help me out to work it out Smile preaty plz
 
Reply
#25
What happens when you send the raw 'off' code with pilight-send ? (I assume it toggles your device off?

To me , when reading above, it seems pilight is not sending the off signal in a way it works (for you.)
 
Reply
#26
Raw codes works as expected. Problem is with webgui switching ON and OFF doesnt work. When i switch ON with a remote webgui button changes state to "OFF", it does not switch state to "ON" when i press "OFF" button on the remote...

Maybe i should add multiID?
 
Reply
#27
Begin reading here and try to add what is said in post #2.

If you use pilight-receive you get consistent ON messages and OFF messages? Collect and compare to make sure.

Only this one is working for me:

Code:
1.ON
hardware:       433gpio
pulse:          4
rawlen:         66
binlen:         16
pulselen:       199

Raw code:
1194 597 597 1393 1194 597 1194 597 597 1194 1194 597 1194 597 597 1194 597 1194 597 1194 597 1194 597 1194 597 1393 1194 597 597 1393 597 1194 1194 597 597 1194 1194 597 597 1393 1194 597 597 1194 1194 597 1194 597 1194 597 1194 597 597 1194 597 1194 597 1194 597 1194 597 1393 597 1194 796 6766
Binary code:
1111111111111111
All others you received don't match the protocol. (did try to toggle with some settings but no results)

Hope you get some better results after reading previous thread.

@Curlymo, adding his config gives me (on dev):

Code:
root@pi:~/pilight/libs/protocols# service pilight start
[....] Starting : pilight[Mar 27 22:30:08:675676] pilight-daemon: ERROR: could not compile regex
. ok
 
Reply
#28
I have the same regex error when starting pilight daemon manually. Im using APT Repo version.
 
Reply
#29
No issues here...
 
Reply
#30
I will try the git-clone not from apt.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  [SOLVED] Home Assistant switch gpio segalion 5 776 09-10-2018, 12:39 PM
Last Post: segalion
  pilight 8.1 and switch with date and time not working Pikeman 7 933 06-30-2018, 11:28 PM
Last Post: curlymo
  [Supported] Alecto WS4500 / WS3500 | Ventus W177 Tommybear1979 229 55,463 06-01-2018, 10:06 AM
Last Post: DieterD62
  pilight-send for like rc-switch "send" mindau 1 1,437 01-18-2018, 07:46 AM
Last Post: madmoses
  Conrad RSL Support Druide85 1 1,166 11-03-2017, 10:34 AM
Last Post: MorfelPi
  rev switch: maybe mismatch in sending on and off codes picrafter 2 1,559 04-15-2017, 02:49 PM
Last Post: redraid
  How to use pilight with raspberry Pi and Conrad 433mhz apbonn 0 1,298 03-30-2017, 10:56 AM
Last Post: apbonn
  Problem with a Switch rule viper2035 2 1,270 01-12-2017, 04:33 PM
Last Post: viper2035
  Light Switch with integrated ON/OFF Button ilir@ademi.org 4 1,884 01-04-2017, 09:22 PM
Last Post: ilir@ademi.org
  Supported shutter belt winders. muecke 0 704 12-18-2016, 12:02 PM
Last Post: muecke

Forum Jump:


Browsing: 1 Guest(s)