question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sonoff RF gives 2 events per action

See original GitHub issue

I have just upgraded to 2.0.3 Now for each action (ie ring doorbell) I get 2 events. I removed existing custom_components/sonoff before installing via hacs.

{
    "event_type": "sonoff.remote",
    "data": {
        "entity_id": "remote.sonoff_10007c517b",
        "command": 1,
        "ts": "2020-05-27T13:08:50.000Z",
        "name": "bell"
    },
    "origin": "LOCAL",
    "time_fired": "2020-05-27T13:08:51.189386+00:00",
    "context": {
        "id": "18d361da2aca45b68ecea9f72ad1a28b",
        "parent_id": null,
        "user_id": null
    }
}

Event 2 fired 2:08 PM:

{
    "event_type": "sonoff.remote",
    "data": {
        "entity_id": "remote.sonoff_10007c517b",
        "command": 1,
        "ts": "2020-05-27T13:08:50.000Z",
        "name": "bell"
    },
    "origin": "LOCAL",
    "time_fired": "2020-05-27T13:08:51.153641+00:00",
    "context": {
        "id": "a9a00705c36b4b27aff61facee86f3fc",
        "parent_id": null,
        "user_id": null
    }
}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
miketree1commented, May 27, 2020

I’ve sorted it. I noticed in the log a cloud event and a local event. I’ve set mode: local & now only one event. Thanks 😃

0reactions
AlexxITcommented, May 27, 2020

Fixed in 2.0.4

Read more comments on GitHub >

github_iconTop Results From Across the Web

Home Assistant Automation - Sonoff RF Bridge and PIR ...
In this Home Assistant Automation tutorial, we're going to be setting up the Sonoff RF Bridge and PIR Motion Sensor for use with...
Read more >
RF button press > Sonoff bridge> trigger an automation
Yes I want different actions per button, but I can Call Service as needed. I can also work with either data.command = 0...
Read more >
Sonoff RF Bridge – How To Setup with Home Assistant
Then, the automation has two parts – the trigger, and the action. The trigger in this case is any event of type 'sonoff.remote.'...
Read more >
A Simple Guide to SONOFF Smart Home Devices in eWeLink ...
The flexibility of eWeLink App makes SONOFF smart devices nicely suitable for every home, furthermore, the eWeLink Advanced Plan provides you ...
Read more >
433 Mhz sonoff RF hub missing events : r/homeassistant
I have a sonof RF bridge, flashed to tasmota, and 5x 433 Mhz door sensors (reporting both open and close events with separate...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found