Skip to content

Power loss event?  #121

Open
Open

Description

@JohNan

Hi,

In the app I get notified when there's a power outage and it is also visible in the history tab in the app. Is it possible to have a binary sensor that flips to true if there's a power outage?

Activity

  1. persandstrom commented on Jul 29, 2020

    @persandstrom
    Owner

    Hi,

    I have not been able to catch notifications. You can view the history with the eventlog command and the power outage should be visible there. This module do not keep any state of your system so it will not be aware that something has changed, you will have to keep track of that in your application.

  2. JohNan commented on Jul 30, 2020

    @JohNan
    Author

    I did try the eventlog but could not find the power loss event. Do you know in what category it might be?

  3. krambriw commented on Jul 30, 2020

    @krambriw

    I don't think it is registered in the history. I know I had a power loss not long ago when they changed the meter but I cannot find any power loss event in history even if I look 1 year back

    It's a pity they seem not willing to make an open api for notifications so that Verisure could be integrated with home automation more efficient. Having to poll is what we do but kind of stone age. Besides, it loads their servers much more, especially if you start to poll the history frequently

  4. persandstrom commented on Jul 30, 2020

    @persandstrom
    Owner

    Is it possible to trigger the power loss event? I tried to unplug the main unit, but did not get any indication. Do I have to wait until the backup battery is depleted?

  5. krambriw commented on Jul 30, 2020

    @krambriw

    There is a timeout but I think it is several, maybe at least ten minutes

  6. persandstrom commented on Aug 13, 2020

    @persandstrom
    Owner

    I did a test and noticed that the power outage is visible in the overview.

    "installationErrorList": [
    {
      "cid": ***,
      "zone": ***,
      "statusType": "ACPWR",
      "state": true,
      "date": ***,
      "name": ***,
      "deviceLabel": ***,
      "deviceType": "GATEWAY1",
      "notificationDeviceType": "GATEWAY",
      "area": ***
    }
    

    When the cable is plugged back in again the item in the installationErrorList is removed again.

    I guess you can use the existence of this error as a "flag".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions