home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74.09k stars 31.1k forks source link

Blink: HA does not recognise offline camera #111279

Open GLehnhoff opened 9 months ago

GLehnhoff commented 9 months ago

The problem

If one of my blink cameras is offline - in my cases as of empty batteries - HA does not recognise it. To HA the camera is still online with - probably - the last values HA got from Blink. The camera went offline Feb 23, today is Feb 24 (just in case HA needs days or so to regonise it).

Camera in HA: image

Camera in Blink-App: image

What version of Home Assistant Core has the issue?

core-2024.2.2

What was the last working version of Home Assistant Core?

not known

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Blink

Link to integration documentation on our website

https://www.home-assistant.io/integrations/blink

Diagnostics information

Some data where I do not know whether these are personal data i masked with "xxxdeletedxxx".
Data, which is not relevant i nmy eyes, i deleted with "(....)".


{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2024.2.2",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.12.1",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Berlin",
    "os_name": "Linux",
    "os_version": "6.1.74-haos",
    "supervisor": "2024.02.0",
    "host_os": "Home Assistant OS 11.5",
    "docker_version": "24.0.7",
    "chassis": "vm",
    "run_as_root": true
  },

  (....) 

  "integration_manifest": {
    "domain": "blink",
    "name": "Blink",
    "codeowners": [
      "@fronzbot",
      "@mkmer"
    ],
    "config_flow": true,
    "dhcp": [
      {
        "hostname": "blink*",
        "macaddress": "B85F98*"
      },
      {
        "hostname": "blink*",
        "macaddress": "00037F*"
      },
      {
        "hostname": "blink*",
        "macaddress": "20A171*"
      }
    ],
    "documentation": "https://www.home-assistant.io/integrations/blink",
    "iot_class": "cloud_polling",
    "loggers": [
      "blinkpy"
    ],
    "requirements": [
      "blinkpy==0.22.6"
    ],
    "is_built_in": true
  },
  "data": {
    "config_entry": {
      "entry_id": "xxxdeletedxxx",
      "version": 3,
      "minor_version": 1,
      "domain": "blink",
      "title": "blink",
      "data": {
        "username": "**REDACTED**",
        "password": "**REDACTED**",
        "device_id": "Home Assistant",
        "uid": "BlinkCamera_xxxdeletedxxx",
        "token": "**REDACTED**",
        "host": "prde.immedia-semi.com",
        "region_id": "prde",
        "client_id": ***deleted***,
        "account_id": ***deleted***
      },
      "options": {
        "scan_interval": 300
      },
      "pref_disable_new_entities": false,
      "pref_disable_polling": false,
      "source": "user",
      "unique_id": "**REDACTED**",
      "disabled_by": null
    },
    "cameras": {

      (....) 

      "HSt Wohnzimmer": {
        "name": "HSt Wohnzimmer",
        "camera_id": "147565",
        "serial": "**REDACTED**",
        "version": "2.151",
        "temperature": 67,
        "temperature_c": 19.4,
        "temperature_calibrated": 67,
        "battery": "low",
        "battery_level": 2,
        "thumbnail": "https://xxxdeletedxxx",
        "video": null,
        "recent_clips": [],
        "motion_enabled": true,
        "motion_detected": false,
        "wifi_strength": 5,
        "network_id": 53524,
        "sync_module": "Haus Steinheim innen",
        "sync_signal_strength": 5,
        "last_record": null,
        "type": "white"
      },

      (....)  

    }
  }
}

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

Camera Model: BCM01100V
Syc-Module Firmware: 4.5.17

image

home-assistant[bot] commented 9 months ago

Hey there @fronzbot, @mkmer, mind taking a look at this issue as it has been labeled with an integration (blink) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `blink` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign blink` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


blink documentation blink source (message by IssueLinks)

GLehnhoff commented 9 months ago

I should mention, what you see in the logs to the right of the first pic, are actions done by me in HA, not by the Blink app. The camera is definitively offline since more than 24 hours.

issue-triage-workflows[bot] commented 6 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

GLehnhoff commented 6 months ago

I will test with current version soon.

issue-triage-workflows[bot] commented 3 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

GLehnhoff commented 3 months ago

Sorry for the late reply. No, the problem is not fixed, I just tested it. If a blink camera goes offline, e.g. because I release the batteries, HA does not recognize it and still shows camera online.

issue-triage-workflows[bot] commented 6 days ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.