pantherale0 / ha-familysafety Goto Github PK
View Code? Open in Web Editor NEWMicrosoft Family Safety Home Assistant integration
License: MIT License
Microsoft Family Safety Home Assistant integration
License: MIT License
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.
No
Provide a means to grant additional screen time for an account. Surface new screen time requests on a per account basis.
N/A
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.
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.
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.
I've even tried going into Chrome's dev console and copying several URL's from the network tab but none of them work.
Just an easier way to configure this would be great.
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 |
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 |
logged_in | false |
---|---|
can_reach_cert_server | ok |
can_reach_cloud_auth | ok |
can_reach_cloud | ok |
dashboards | 1 |
---|---|
resources | 14 |
views | 7 |
mode | storage |
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 |
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
.
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:
No response
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 |
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 |
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 |
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 | 2 |
---|---|
resources | 17 |
views | 23 |
mode | storage |
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 |
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.
Not supplying debug logs unless requested by integration author. I don't believe this is specific to my setup.
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.