SonoffLAN icon indicating copy to clipboard operation
SonoffLAN copied to clipboard

Issue with Sonoff RF Bridge

Open riyas1980 opened this issue 5 years ago • 3 comments

Hello,

I am trying to use a 2Gang 433 RF switch with Sonoff Bridge. I have an issue. I have created 2 automations (One for button) like this :

Button1

Button2

Actions

Actually, It works. But I can not switch on Button2 Directly. If I want to switch on Button2, I need to press Button1 first before Button2. If I press directly Button2, it won't work. And to switch off (I am using switch.toggle function), I need to repeat the same step: Button1 1st then Button2.

Maybe I am doing something wrong in the trigger section. But I am not able to find it. Can you please me?

Thanks

riyas1980 avatar Feb 15 '21 15:02 riyas1980

You shouldn't do automations on state. You should do automations on event. Have you read docs?

AlexxIT avatar Feb 15 '21 16:02 AlexxIT

@AlexxIT I've read your readme file. But I am not that good in Yaml configuration. Following your suggestion, I've tried to do automations on event like this.

RF_Event

But now I have another issue. As I told you before, I am using switch.toggle service to switch on or off (Please see the 3rd screenshot in my first message) . But even if I press the button only once, it switches on but it goes off immediately ( after 1 sec). What am I doing wrong here ? Please find attached the log

debug_sonoff.txt

Thanks

riyas1980 avatar Feb 15 '21 18:02 riyas1980

Actually it's working fine now. I have a Sonoff TX2. Before buying my bridge, it was paired with a 433 remote. Both remotes were conflicting. Once I deleted the pairing, everything is fine.

Sorry for the trouble and thanks again for your worderful work.

riyas1980 avatar Feb 15 '21 23:02 riyas1980