Coder Social home page Coder Social logo

Comments (13)

bdraco avatar bdraco commented on September 25, 2024 1

There were quite a few issues with the underlying library that have been fixed in 2024.7.x. Its possible this issue might be solved.

from core.

home-assistant avatar home-assistant commented on September 25, 2024

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

Code owner commands

Code owners of unifiprotect 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 unifiprotect 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)


unifiprotect documentation
unifiprotect source
(message by IssueLinks)

from core.

Mariusthvdb avatar Mariusthvdb commented on September 25, 2024

what exactly are you looking for in the debug logs? I have it running but don't see anything on the temp sensor

this is mostly it:

2024-05-12 22:27:59.566 DEBUG (MainThread) [pyunifiprotect.websocket] WS Timeout loop sleep 29.999413561075926
2024-05-12 22:28:03.516 DEBUG (MainThread) [pyunifiprotect.api] Skipping update since websocket is active
2024-05-12 22:28:23.517 DEBUG (MainThread) [pyunifiprotect.api] Skipping update since websocket is active
2024-05-12 22:28:29.567 DEBUG (MainThread) [pyunifiprotect.websocket] WS Timeout loop sleep 29.98191529326141
2024-05-12 22:28:43.519 DEBUG (MainThread) [pyunifiprotect.api] Skipping update since websocket is active
2024-05-12 22:28:59.551 DEBUG (MainThread) [pyunifiprotect.websocket] WS Timeout loop sleep 29.992280358448625
2024-05-12 22:29:03.520 DEBUG (MainThread) [pyunifiprotect.api] Skipping update since websocket is active
2024-05-12 22:29:23.521 DEBUG (MainThread) [pyunifiprotect.api] Skipping update since websocket is active
2024-05-12 22:29:29.545 DEBUG (MainThread) [pyunifiprotect.websocket] WS Timeout loop sleep 29.999935004860163
2024-05-12 22:29:43.523 DEBUG (MainThread) [pyunifiprotect.api] Skipping update since websocket is active
2024-05-12 22:29:59.546 DEBUG (MainThread) [pyunifiprotect.websocket] WS Timeout loop sleep 29.999549390748143
2024-05-12 22:30:03.524 DEBUG (MainThread) [pyunifiprotect.api] Skipping update since websocket is active
2024-05-12 22:30:23.524 DEBUG (MainThread) [pyunifiprotect.api] Skipping update since websocket is active
2024-05-12 22:30:29.547 DEBUG (MainThread) [pyunifiprotect.websocket] WS Timeout loop sleep 29.999599528498948
2024-05-12 22:30:43.525 DEBUG (MainThread) [pyunifiprotect.api] Skipping update since websocket is active

except for the updates on the cameras, and the initial setup:

2024-05-12 22:19:42.896 DEBUG (MainThread) [homeassistant.components.unifiprotect.sensor] Adding NVR sensor entity Uptime
2024-05-12 22:19:42.896 DEBUG (MainThread) [homeassistant.components.unifiprotect.sensor] Adding NVR sensor entity Storage Utilization
2024-05-12 22:19:42.896 DEBUG (MainThread) [homeassistant.components.unifiprotect.sensor] Adding NVR sensor entity Type: Timelapse Video
2024-05-12 22:19:42.896 DEBUG (MainThread) [homeassistant.components.unifiprotect.sensor] Adding NVR sensor entity Type: Continuous Video
2024-05-12 22:19:42.896 DEBUG (MainThread) [homeassistant.components.unifiprotect.sensor] Adding NVR sensor entity Type: Detections Video
2024-05-12 22:19:42.896 DEBUG (MainThread) [homeassistant.components.unifiprotect.sensor] Adding NVR sensor entity Resolution: HD Video
2024-05-12 22:19:42.896 DEBUG (MainThread) [homeassistant.components.unifiprotect.sensor] Adding NVR sensor entity Resolution: 4K Video
2024-05-12 22:19:42.896 DEBUG (MainThread) [homeassistant.components.unifiprotect.sensor] Adding NVR sensor entity Resolution: Free Space
2024-05-12 22:19:42.897 DEBUG (MainThread) [homeassistant.components.unifiprotect.sensor] Adding NVR sensor entity Recording Capacity
2024-05-12 22:19:42.897 DEBUG (MainThread) [homeassistant.components.unifiprotect.sensor] Adding NVR sensor entity CPU Utilization
2024-05-12 22:19:42.897 DEBUG (MainThread) [homeassistant.components.unifiprotect.sensor] Adding NVR sensor entity CPU Temperature
2024-05-12 22:19:42.897 DEBUG (MainThread) [homeassistant.components.unifiprotect.sensor] Adding NVR sensor entity Memory Utilization

from core.

Mariusthvdb avatar Mariusthvdb commented on September 25, 2024

sure, but I can not share all that private info just like that. Can I share that privately please?

from core.

Mariusthvdb avatar Mariusthvdb commented on September 25, 2024

ok diagnostics is in the opening post now

from core.

Mariusthvdb avatar Mariusthvdb commented on September 25, 2024

last 20+ minutes of logs:

protect logs.txt

from core.

Mariusthvdb avatar Mariusthvdb commented on September 25, 2024

second diagnostics

config_entry-unifiprotect-5c73fcd07770a42d4433322434afb585-2.json

from core.

Mariusthvdb avatar Mariusthvdb commented on September 25, 2024

in my config, it seems to be only the temp sensor, the others (I have enabled) do update.

Scherm­afbeelding 2024-05-12 om 22 19 59

Since this is new, and a regression from earlier versions: is this now actually considered a bug, and hopefully can be fixed?

I did consider enabling the real-time statistics, but considering the warning havent done so, especially since I never needed that before. Guess I could try it for now, awaiting a fix?

from core.

Mariusthvdb avatar Mariusthvdb commented on September 25, 2024

Btw, these entities are made by Protect integration, however they are listed on the UniFi Networks documentation ?

its where I expected them tbh as the temp sensor is in fact unrelated to the actual Protect diagnostics sensors for the NVR

Unifi Protect creates:

  "sensor.udm_pro_uptime",
  "sensor.udm_pro_storage_utilization",
  "sensor.udm_pro_cpu_temperature",

and these disabled sensors:

sensor.udm_pro_type_timelapse_video
sensor.udm_pro_type_continuous_video
sensor.udm_pro_type_detections_video
sensor.udm_pro_resolution_hd_video
sensor.udm_pro_resolution_4k_video
sensor.udm_pro_resolution_free_space
sensor.udm_pro_recording_capacity
sensor.udm_pro_cpu_utilization_2
sensor.udm_pro_memory_utilization_2

Unifi (Network)s creates:

 "sensor.udm_pro_state",
  "sensor.udm_pro_cpu_utilization",
  "sensor.udm_pro_memory_utilization"

and disabled

  "sensor.udm_pro_uptime_2",

from core.

issue-triage-workflows avatar issue-triage-workflows commented on September 25, 2024

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.

from core.

issue-triage-workflows avatar issue-triage-workflows commented on September 25, 2024

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.

from core.

bdraco avatar bdraco commented on September 25, 2024

These are expected to update every 15m when real time is disabled

from core.

issue-triage-workflows avatar issue-triage-workflows commented on September 25, 2024

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.

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.