Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weight sensor does not update #237

Open
4 tasks done
xteaun opened this issue Apr 19, 2024 · 2 comments
Open
4 tasks done

Weight sensor does not update #237

xteaun opened this issue Apr 19, 2024 · 2 comments

Comments

@xteaun
Copy link

xteaun commented Apr 19, 2024

System Health details

System Information

version core-2024.4.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.1.73-haos-raspi
arch aarch64
timezone Europe/Berlin
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4908
Installed Version 1.34.0
Stage running
Available Repositories 1402
Downloaded Repositories 16
Home Assistant Cloud
logged_in true
subscription_expiration 5. Juni 2024 um 02:00
relayer_connected true
relayer_region eu-central-1
remote_enabled true
remote_connected true
alexa_enabled false
google_enabled false
remote_server eu-central-1-7.ui.nabu.casa
certificate_status ready
instance_id 7b6439d4a36b4bd39c2df2716617fb42
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 12.2
update_channel stable
supervisor_version supervisor-2024.04.0
agent_version 1.6.0
docker_version 25.0.5
disk_total 58.0 GB
disk_used 45.4 GB
healthy true
supported true
board rpi4-64
supervisor_api ok
version_api ok
installed_addons File editor (5.8.0), Z-Wave JS (0.5.0), Advanced SSH & Web Terminal (17.2.0), Mosquitto broker (6.4.0), Spotify Connect (0.13.0), openWakeWord (1.10.0), ESPHome (2024.4.0), Music Assistant BETA (2.0.0b137), Home Assistant Google Drive Backup (0.112.1), Zigbee2MQTT (1.36.1-1)
Dashboards
dashboards 6
resources 9
views 9
mode storage
Recorder
oldest_recorder_run 14. April 2024 um 19:57
current_recorder_run 19. April 2024 um 02:47
estimated_db_size 640.38 MiB
database_engine sqlite
database_version 3.44.2
Spotify
api_endpoint_reachable ok

Checklist

  • I have enabled debug logging for my installation and pasted in the debug logs below.
  • 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 weight sensor does not get updated. It always says "unknown". On my phone the sensor gets updates and shows the correct weight it gets from vesync.

Integration Version

v1

Reproduction steps

  1. Install Google Fit integration
  2. Check weight data
  3. Find no data

Debug logs

2024-04-19 03:09:59.092 DEBUG (MainThread) [custom_components.google_fit] Fetching data for account [email protected]
2024-04-19 03:09:59.093 DEBUG (MainThread) [custom_components.google_fit] Verifying account access token
2024-04-19 03:09:59.093 DEBUG (MainThread) [custom_components.google_fit] Successfully retrieved existing access credentials.
2024-04-19 03:10:00.679 DEBUG (MainThread) [custom_components.google_fit] Skipping API query for infrequently updated sensor 'Height'
2024-04-19 03:10:00.679 DEBUG (MainThread) [custom_components.google_fit] Skipping API query for infrequently updated sensor 'Weight'
2024-04-19 03:10:00.679 DEBUG (MainThread) [custom_components.google_fit] Skipping API query for infrequently updated sensor 'Body Fat'
2024-04-19 03:10:00.680 DEBUG (MainThread) [custom_components.google_fit] Skipping API query for infrequently updated sensor 'Body Temperature'
2024-04-19 03:10:02.711 DEBUG (MainThread) [custom_components.google_fit] No float data points found for derived:com.google.blood_glucose:com.google.android.gms:merged
2024-04-19 03:10:02.930 DEBUG (MainThread) [custom_components.google_fit] No float data points found for derived:com.google.hydration:com.google.android.gms:merged
2024-04-19 03:10:03.179 DEBUG (MainThread) [custom_components.google_fit] Finished fetching google_fit data in 4.087 seconds (success: True)
2024-04-19 03:11:13.037 DEBUG (MainThread) [custom_components.google_fit] Setting up Google Fit integration from configuration b767c19b08743793fb83705f80c1ecf6
2024-04-19 03:11:13.041 DEBUG (MainThread) [custom_components.google_fit] Attempting to create OAuth2 session
2024-04-19 03:11:13.041 DEBUG (MainThread) [custom_components.google_fit] Initialising Google Fit Authentication Session
2024-04-19 03:11:13.041 DEBUG (MainThread) [custom_components.google_fit] Checking OAuth2 session is valid.
2024-04-19 03:11:13.041 DEBUG (MainThread) [custom_components.google_fit] Verifying account access token
2024-04-19 03:11:13.042 DEBUG (MainThread) [custom_components.google_fit] Creating Google Fit data access coordinator.
2024-04-19 03:11:13.042 DEBUG (MainThread) [custom_components.google_fit] Setting up Google Fit Coordinator. Querying every 5 minutes (every 60 minutes for less frequently used sensors).
2024-04-19 03:11:13.080 DEBUG (MainThread) [custom_components.google_fit] Requesting initial sensor value fetch.
2024-04-19 03:11:13.080 DEBUG (MainThread) [custom_components.google_fit] Fetching data for account [email protected]
2024-04-19 03:11:13.081 DEBUG (MainThread) [custom_components.google_fit] Verifying account access token
2024-04-19 03:11:13.081 DEBUG (MainThread) [custom_components.google_fit] Successfully retrieved existing access credentials.
2024-04-19 03:11:14.818 DEBUG (MainThread) [custom_components.google_fit] Querying infrequently updated sensor 'Height'
2024-04-19 03:11:15.118 DEBUG (MainThread) [custom_components.google_fit] Querying infrequently updated sensor 'Weight'
2024-04-19 03:11:15.308 DEBUG (MainThread) [custom_components.google_fit] No float data points found for derived:com.google.weight:com.google.android.gms:merge_weight
2024-04-19 03:11:15.308 DEBUG (MainThread) [custom_components.google_fit] Querying infrequently updated sensor 'Body Fat'
2024-04-19 03:11:15.560 DEBUG (MainThread) [custom_components.google_fit] Querying infrequently updated sensor 'Body Temperature'
2024-04-19 03:11:15.754 DEBUG (MainThread) [custom_components.google_fit] No float data points found for derived:com.google.body.temperature:com.google.android.gms:merged
2024-04-19 03:11:17.746 DEBUG (MainThread) [custom_components.google_fit] No float data points found for derived:com.google.blood_glucose:com.google.android.gms:merged
2024-04-19 03:11:17.950 DEBUG (MainThread) [custom_components.google_fit] No float data points found for derived:com.google.hydration:com.google.android.gms:merged
2024-04-19 03:11:18.199 DEBUG (MainThread) [custom_components.google_fit] Finished fetching google_fit data in 5.118 seconds (success: True)
2024-04-19 03:11:18.213 DEBUG (MainThread) [custom_components.google_fit] Integration setup successful.
@YorkshireIoT
Copy link
Owner

Hi @xteaun,

Is this only true of the weight sensor?

@xteaun
Copy link
Author

xteaun commented May 15, 2024

No. It was the same for Blood sugar, I think, and possibly for other sensors. However, I only used the weight sensor in HA. Now, I have deleted the integration, because it did not work for me and additionally always needed re-authentication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants