core icon indicating copy to clipboard operation
core copied to clipboard

In bed

Open matteos1 opened this issue 8 months ago • 22 comments

The problem

In the Withings integration, the in-bed sensor is missing, whereas it used to be available before.

What version of Home Assistant Core has the issue?

2024.4

What was the last working version of Home Assistant Core?

2024.1

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet


Anything in the logs that might be useful for us?


Additional information

No response

matteos1 avatar Apr 23 '25 17:04 matteos1

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

Code owner commands

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


withings documentation withings source (message by IssueLinks)

home-assistant[bot] avatar Apr 24 '25 08:04 home-assistant[bot]

Did you reinstall the integration?

joostlek avatar Apr 24 '25 08:04 joostlek

Did you reinstall the integration?

Yes, but now the ‘in bed’ sensor is missing after the reinstall

matteos1 avatar May 05 '25 20:05 matteos1

Just installed the integration first time and having the same issue.

grovolis avatar May 07 '25 10:05 grovolis

there is some news? Upgrading to 2025.5 integration also doesn't work. The sensor in bed has disappeared

matteos1 avatar May 08 '25 09:05 matteos1

Did you lay in bed? It should appear once you do so

joostlek avatar May 08 '25 09:05 joostlek

Yeah It did work for me once I made sure the webhook was accessible from outside my network and went to bed. I've just upgraded to 2025.5 and it still works, however some other stuff like sleep metrics have become unknown for now.

grovolis avatar May 08 '25 09:05 grovolis

Can you provide diagnostics?

joostlek avatar May 08 '25 09:05 joostlek

Can you provide diagnostics?

Sure can, how do I got about doing this?

grovolis avatar May 08 '25 09:05 grovolis

Go to the integration page and click the 3 dots and download them

joostlek avatar May 08 '25 09:05 joostlek

config_entry-withings-01JTN2XYRXRP9Y5C8AJFX1BRRC.json

Go to the integration page and click the 3 dots and download them

There you go, let me know if I can provide anything else

grovolis avatar May 08 '25 10:05 grovolis

Apparently it never received any sleep data for you. I would double check the withings app on if that shows what you expect

joostlek avatar May 08 '25 10:05 joostlek

Apparently it never received any sleep data for you. I would double check the withings app on if that shows what you expect

The app does show sleep data and it was definitely showing sleep data up until last night when I checked. See below

Image

grovolis avatar May 08 '25 11:05 grovolis

In theory we get the latest sleep data that was recorded since yesterday 12 AM

joostlek avatar May 08 '25 11:05 joostlek

In theory we get the latest sleep data that was recorded since yesterday 12 AM

I did sleep past midnight, could that be it?

grovolis avatar May 08 '25 12:05 grovolis

no solution?

matteos1 avatar May 12 '25 09:05 matteos1

It works fine for me

grovolis avatar May 12 '25 09:05 grovolis

@matteos1 you seem to have no webhooks connected. Can you enable debug logging and reload the integration?

joostlek avatar May 12 '25 10:05 joostlek

@matteos1 you seem to have no webhooks connected. Can you enable debug logging and reload the integration?

Ok

matteos1 avatar May 12 '25 10:05 matteos1

It seems to just subscribe to your webhook, so if that doesn't work, then it might be because of your firewall or however you configured your webhook

joostlek avatar May 12 '25 14:05 joostlek

Now work

matteos1 avatar May 13 '25 04:05 matteos1

I keep getting unknown status from the in bed sensor. Does anybody know how to fix it? Already tried resetting the device and reconnecting the integration.

Image

{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2025.5.3", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.13.3", "docker": true, "arch": "aarch64", "timezone": "America/Campo_Grande", "os_name": "Linux", "os_version": "6.6.74-haos-raspi", "supervisor": "2025.05.3", "host_os": "Home Assistant OS 15.2", "docker_version": "28.0.4", "chassis": "embedded", "run_as_root": true }, "custom_components": { "midea_ac": { "documentation": "https://github.com/mill1000/midea-ac-py", "version": "2025.4.0", "requirements": [ "msmart-ng==2025.3.3" ] }, "spotcast": { "documentation": "https://github.com/fondberg/spotcast", "version": "v4.0.1", "requirements": [ "spotipy==2.23.0" ] }, "virtual": { "documentation": "https://github.com/twrecked/hass-virtual/blob/master/README.md", "version": "0.9.2", "requirements": [] }, "alarmo": { "documentation": "https://github.com/nielsfaber/alarmo", "version": "v1.10.8", "requirements": [] }, "securitas": { "documentation": "https://github.com/guerrerotook/securitas-direct-new-api", "version": "1.1.1.0", "requirements": [] }, "samsungtv_smart": { "documentation": "https://github.com/ollo69/ha-samsungtv-smart", "version": "0.13.6", "requirements": [ "websocket-client!=1.4.0,>=0.58.0", "wakeonlan>=2.0.0", "aiofiles>=0.8.0", "casttube>=0.2.1" ] }, "ui_lovelace_minimalist": { "documentation": "https://ui-lovelace-minimalist.github.io/UI/", "version": "v1.3.18", "requirements": [ "aiofiles>=0.8.0", "aiogithubapi>=22.2.4" ] }, "hacs": { "documentation": "https://hacs.xyz/docs/use/", "version": "2.0.5", "requirements": [ "aiogithubapi>=22.10.1" ] }, "scrypted": { "documentation": "https://www.home-assistant.io/integrations/scrypted", "version": "0.0.9", "requirements": [] }, "localtuya": { "documentation": "https://github.com/rospogrigio/localtuya/", "version": "5.2.3", "requirements": [] }, "flightradar24": { "documentation": "https://github.com/AlexandrErohin/home-assistant-flightradar24", "version": "v1.26.0", "requirements": [ "FlightRadarAPI==1.3.34", "pycountry==23.12.11" ] }, "aarlo": { "documentation": "https://github.com/twrecked/hass-aarlo/blob/master/README.md", "version": "0.8.1.18", "requirements": [ "unidecode", "pyaarlo==0.8.0.17", "aiofiles" ] }, "alexa_media": { "documentation": "https://github.com/alandtse/alexa_media_player/wiki", "version": "5.7.2", "requirements": [ "alexapy==1.29.5", "packaging>=20.3", "wrapt>=1.14.0" ] } }, "integration_manifest": { "domain": "withings", "name": "Withings", "after_dependencies": [ "cloud" ], "codeowners": [ "joostlek" ], "config_flow": true, "dependencies": [ "application_credentials", "http", "webhook" ], "dhcp": [ { "macaddress": "0024E4*" } ], "documentation": "https://www.home-assistant.io/integrations/withings", "iot_class": "cloud_push", "loggers": [ "aiowithings" ], "requirements": [ "aiowithings==3.1.6" ], "is_built_in": true, "overwrites_built_in": false }, "setup_times": { "null": { "setup": 5.2277000008871255e-05 }, "01JW58A60MEB0CHGK9J27JPWXR": { "wait_import_platforms": -0.05215679600001977, "config_entry_setup": 5.732158552000016 } }, "data": { "has_valid_external_webhook_url": false, "has_cloudhooks": true, "webhooks_connected": true, "received_measurements": { "positional": {}, "non_positional": [] }, "received_sleep_data": true, "received_workout_data": true, "received_activity_data": true } }

VEM33 avatar May 26 '25 22:05 VEM33

You seem to have a different issue, please open a separate issue with logs

joostlek avatar May 26 '25 23:05 joostlek