Giter Club home page Giter Club logo

ha-familysafety's People

Contributors

dependabot[bot] avatar pantherale0 avatar scelfo avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

scelfo

ha-familysafety's Issues

Something went wrong in the Aggregator service

This issue is a note to say that I'm aware of errors in the update_coordinator that ends up with all of the entities in the integration unavailable. You might see an error such as below:


Logger: custom_components.family_safety.coordinator
Source: helpers/update_coordinator.py:235
Integration: Microsoft Family Safety (documentation, issues)
First occurred: 16:13:46 (25 occurrences)
Last logged: 21:33:08

Error fetching Microsoft Family Safety data: Error communicating with API ('HTTP Error', 500, '{"error":{"code":"500","message":"Something went wrong in the Aggregator service"}}')

I've implemented some changes in the beta release which partially addresses this (the fact that entities are unavailable) but the error itself comes directly from the Microsoft API.

Whether this is because the endpoint becomes overloaded, or another service issue is present is unknown at the moment.

Manage screen time requests

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

No

Describe the solution you'd like

Provide a means to grant additional screen time for an account. Surface new screen time requests on a per account basis.

Describe alternatives you've considered

N/A

Additional context

I use Microsoft's Family Safety to manage my kids screen time. Although they are on a established schedule, there are many times when additional time is needed. This process involves requesting time on their computers when it runs out, opening the Family Safety iOS app, opening the notification, and selecting how much additional time to grant.

Ideally, the need for the Family Safety iOS app could be eliminated through use of this integration. Signaling a screen time request (event, boolean change, etc.) would allow for creating an actionable notification to grant additional screen time with one click.

Better configuration method

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

I cannot get this integration configured following the existing configuration instructions. I never see a blank page when logging into login.live.com. There has to be a better way to find the token and possibly just manually put it into the integration somewhere.

Describe the solution you'd like

Instructions on a method to get the token and save it into the integration. I never get a blank page when logging in so I have no idea what URL to copy and paste. I've tried the URL that I end up on after logging in but that doesn't work. I've even tried going into Chrome's dev console and copying several URL's from the network tab but none of them work.

Describe alternatives you've considered

I've even tried going into Chrome's dev console and copying several URL's from the network tab but none of them work.

Additional context

Just an easier way to configure this would be great.

Authentication doesn't work

System Health details

System Information

version core-2024.2.1
installation_type Home Assistant Container
dev false
hassio false
docker true
virtualenv false
python_version 3.12.1
os_name Linux
os_version 6.1.49
arch x86_64
timezone Europe/Paris
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4970
Installed Version 1.34.0
Stage running
Available Repositories 1414
Downloaded Repositories 25
HACS Data ok
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Dashboards
dashboards 1
resources 14
views 7
mode storage
Recorder
oldest_recorder_run 11 février 2024 à 18:42
current_recorder_run 23 février 2024 à 23:13
estimated_db_size 3437.12 MiB
database_engine postgresql
database_version 13.13

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of currently previous issues..

Describe the issue

When trying to setup the integration, I do get the blank page and copy the URL, but get a message stating the authentication is invalid. The URL is in the form https://login.live.com/oauth20_desktop.srf?code=M.C107_BL2.2.[GUID]&lc=1036.

Reproduction steps

  1. Connect to the URL provided in the readme
  2. Authenticate (in my case, using passwordless auth, event though I believe it shouldn't make a difference)
  3. Copy the URL and paste it in the appropriate field of the intergation's config flow
  4. "Invalid authentication"

Debug logs

2024-02-23 23:26:45.084 ERROR (MainThread) [custom_components.family_safety.config_flow] HTTP Unauthorized
2024-02-23 23:26:45.084 WARNING (MainThread) [custom_components.family_safety.config_flow] Invalid authentication received:

Diagnostics dump

No response

Screen time values do not match Family Safety app

System Health details

System Information

version core-2024.2.1
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.1
os_name Linux
os_version 6.1.74-haos
arch x86_64
timezone America/New_York
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4711
Installed Version 1.34.0
Stage running
Available Repositories 1393
Downloaded Repositories 29
Home Assistant Cloud
logged_in true
subscription_expiration August 15, 2024 at 8:00 PM
relayer_connected true
relayer_region us-east-1
remote_enabled true
remote_connected true
alexa_enabled true
google_enabled false
remote_server us-east-1-1.ui.nabu.casa
certificate_status ready
instance_id ca203c98f2a9400796633ff5a0d45a6e
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 11.5
update_channel stable
supervisor_version supervisor-2024.01.1
agent_version 1.6.0
docker_version 24.0.7
disk_total 116.7 GB
disk_used 19.2 GB
healthy true
supported true
board generic-x86-64
supervisor_api ok
version_api ok
installed_addons Node-RED (17.0.6), Zigbee2mqtt (1.18.1-1), File editor (5.8.0), AirSonos (4.2.0), Glances (0.21.0), Home Assistant Google Drive Backup (0.112.1), Mosquitto broker (6.4.0), Duck DNS (1.15.0), Studio Code Server (5.15.0), Tautulli (4.0.1), Z-Wave JS UI (3.3.2), Tailscale (1.58.2.0), Advanced SSH & Web Terminal (17.1.0), ESPHome (2023.12.9), AdGuard Home (5.0.3), Ring-MQTT with Video Streaming (5.6.3)
Dashboards
dashboards 2
resources 17
views 23
mode storage
Recorder
oldest_recorder_run February 4, 2024 at 10:05 PM
current_recorder_run February 11, 2024 at 12:35 PM
estimated_db_size 139.72 MiB
database_engine sqlite
database_version 3.44.2

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of currently previous issues..

Describe the issue

The Used Screen Time sensor value differs from that as reported via the Family Safety website and iOS app.

Note: I have 2 kids with separate microsoft accounts. In both cases their used screen time sensor is inaccurate.

Screenshot 2024-02-11 at 1 02 33 PM

Screenshot 2024-02-11 at 1 13 47 PM jpeg

Reproduction steps

  1. Install, configure and authenticate integration
  2. Compare sensor value reported by integration vs value reported directly by Family Saftey

Debug logs

Not supplying debug logs unless requested by integration author. I don't believe this is specific to my setup.

Diagnostics dump

No response

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.