core icon indicating copy to clipboard operation
core copied to clipboard

Sleep Analyzer shown as gerneric "Withing" device

Open goschpl opened this issue 1 year ago • 7 comments

The problem

Hi there,

I have an issue with the Withing HA Integration. The oAuth connection seems to work, and 3 of my Withing devices looks correct integrated into HA (Thermo, BPM Connect, Body+), but the Sleep Analyzer is shown strangly generic as "Withing". Also, should there be an entitiy, where you can read out, If the Person on it, "is sleep" / "no sleep" state? Or are these sleep-entities list complete? sensor.withings_tiefschlaf sensor.withings_rem_schlaf sensor.withings_leichter_schlaf sensor.withings_zeit_zum_schlafen

Many thanks!

What version of Home Assistant Core has the issue?

2025.1.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Withings

Link to integration documentation on our website

https://www.home-assistant.io/integrations/withings

Diagnostics information

config_entry-withings-01JJKS2Y3791V2T3B25B2GBMPG.json

Example YAML snippet


Anything in the logs that might be useful for us?


Additional information

No response

goschpl avatar Jan 27 '25 12:01 goschpl

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 Jan 27 '25 12:01 home-assistant[bot]

Withings creates devices for the physical devices, and creates 1 "service" for the users where the measurements belong to. As we get the measurements on user level and not on device level

joostlek avatar Jan 27 '25 12:01 joostlek

Hi @joostlek,

thanks for reply. Then, i have to say, that my SleepAnalyzer is definitly not shown in HA. I can access it throw the withings-app, but it isn't shown in HA. Maybee the diagnostic file can bring up some claryfication on this.

thanks again!

goschpl avatar Jan 27 '25 12:01 goschpl

What information can I provide to help improve this?

I have 5 withings devices (blood pressure, thermometer, two scales, and a sleep sensor) connected to my withings account, they show up in the withings app, and they show up in apple health.

In Home Assistant it created 5 "devices", 4 of them had names & models, one of them had neither a name nor a model. (well it shows up with "Withings" as its name and as its model)

The 4 named/modeled devices are a BPM monitor, a Smart Body Analyzer, an older scale, and a thermometer. Those devices have no sensors in them, only their battery levels.

The 5th device that Home Assistant sees, just called 'withings' with model 'unknown' has a collection of sensors that seem to be sourced from the physical devices (heart rate, body temperature, air temperature, etc).

BUT that 5th 'umbrella' device also includes things that must be from the sleep analyzer. It has duractions of 'deep sleep', 'light sleep', it has a binary sensor for 'snoring' (which it gave the entity id of 'sleep_analyzer_snoring') and strangely it only appeared after being connected to home assistant for several days, the 'in bed' occupancy sensor.

So like yes it is working, I can detect bed presence, but also it is a bit confusing that it doesn't show up as a device.

DPattee avatar Feb 01 '25 21:02 DPattee

Hi @joostlek,

thanks for reply. Then, i have to say, that my SleepAnalyzer is definitly not shown in HA. I can access it throw the withings-app, but it isn't shown in HA. Maybee the diagnostic file can bring up some claryfication on this.

thanks again!

Hello @joostlek,

I've tried to integrate the withings plugin once again, but my sleep-analyzer is still missing.

Image

Do you have any hints on this?

Many thanks!

goschpl avatar Feb 04 '25 10:02 goschpl

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.

Thanks for the reply. I have the newest Updates installed. Sleep Analyzer is still Not expicite shown as a Device on its own. But since, the Attribute is accessable, in the generic Section, its fine with me to close the issue.

goschpl avatar May 05 '25 11:05 goschpl

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.

latest version is installed. Sleep Analyzer still not displayed.

goschpl avatar Aug 06 '25 16:08 goschpl

Hmm, I opened https://github.com/home-assistant/core/pull/150816 to be able to easily get some more data on what devices the HA integration actually receives, I hope that it will land in 2025.8.3

joostlek avatar Aug 17 '25 20:08 joostlek

latest version is installed. Sleep Analyzer still not displayed.

Same for me! I am new to HA, I can connect to my Withings account, A see three of my 4 devices and the generic "Withings" device. But not the sleep-analyzer.

Image

I am running HA 2025.9.4 via docker image.

mjechow avatar Sep 22 '25 15:09 mjechow

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.

Issue still exists

DPattee avatar Dec 21 '25 17:12 DPattee

Issue still exists

goschpl avatar Dec 21 '25 18:12 goschpl