hi, how come the binary_sensor.withings_in_bed of the withings integration has always been an unavailable state.
I remember, that before adding the integration, and therefore only with the yaml configuration, it worked perfectly.
always with integration withings, almost every 12 hours it asks me to do the authentication?
Itās unavailable for me too.
I have a scanwatch and a sleep analyser.
Which product does this sensor get itās data from?
Is there some permission Iām missing?
Alright, got it working. Not sure exactly which step fixed it so hereās all of them:
- Added the āuse_webhook: trueā part to my configuration file (https://www.home-assistant.io/integrations/withings/)
- Added my nabu casa url to āexternal urlā
- Deleted the Withings integration
- Restarted Home Assistant
- Added the Withings integration again
- Made sure the withings webhook was enabled (Configuration->Home Assistant Cloud -> scroll to bottom)
- Restarted Home Assistant
- yay
Edit: Worth noting that the sensor will always be Unavailable after a Home Assistant restart, until it recives data (you get in or out of bed)
Iām trying to do the same (get sleep to register in bed) but i tried everything you did and its still unavailable. everything else works fine.
what did you put for the callback URL in withings partner dash? The URL in the integration docs or the webhook URL in Nabu casa cloud webhook list?
EDIT: got it working, not sure what fixed it, i think maybe i didnt lay on the bed long enough when testing it the last couple of times.
Iāve got a long standing issue with the Withings integration, it activates perfectly fine but within a day it is asking me to reconfigure.
I think I will have to remove it as others have and reinstall it, to see if this helps. I wonder what has caused this as it was working well in the past.
I still have that issue from time to time. At least the webhook stuff seems to work fine even when the integration asks for reconfiguration, but itās still a bit annoying.
There was also a version of Home Assistant where it happened constantly due to some broken features (on Withings side I think), which was disabled in a newer release.
You sir are a life saver!! Thank you!!!
Very useful, Thanks!
I had the same issue for 2 nights, tried all this stuff and still nothing worked. So I unplugged the sleep mat and set up the device again. The issue was with the mat and my wifi, not HA or Withings integration.
I was pulling my hair out till I read your post about it reporting āUnavailableā till it receives data. I just went and laid down on it and it came right up and started reporting again!.
-Thanks!
This solved my problem, thanks!
Thank you. Iāve followed your instructions, but still unable to get the bed sensor to work. It shows unavailable even if I lay in the bed for ~5 minutes. If Iām seeing this under Webhooks:
ā¦then it should be configured properly, right?
I notice that it will drop offline periodically. I assume thatās a sleep state. Does your bed sensor maintain a connection continuously or only when its state changes?
The two things that helped me get the Bed Sensor to work after installing the integration was:
- Fix the yaml code - The one in Withings - Home Assistant is wrong.
Change:
withings:
use_webhook: true
to:
withings:
use_webhook: true
(Donāt ask me why the one in the docs with the extra double space didnāt work)
- Go to āSettings > Network > Home Assistant URLā Turn OFF āUse Home Assistant Cloudā in āExternal URLā. Manually put itn your Nabu Casa URL:
RESTART HOME ASSISTANT after doing 1 and 2.
The bed sensor will always show us UNAVAILABLE/UNKNOWN when HA starts up for the first time. Just lay on your bed for 1 minute and it will (hopefully) show up for you.
Optional: If the above works you may need to change the sensitivity to high on the Withings app for better tracking.
I really hoped changing the double space would work but no dice. I tired the URL trick a few months back also with no luck. Still always shows as unavailable.
did you try both together?
Hi Eli,
I tried both changes without success. Any other ideas ?
Hi,
Sorry Iām fresh out of ideas. Have you tried deleting everything Withings and start fresh?
Are you at least getting past the Withings setup on the Withings developers website?
I have the same issue. Everything appears to be working except for the in_bed sensor. My scale info is being communicated, just not the bed sensor.
What do you mean? I was able to get the integration working.
It would be great to get a step by step list of actions to follow. Can you help me with this ?
have you tried putting the bed sensor to high sensitivity in the Withings app?
I did but I start to give upā¦
also, check to see if you have
my:
in your config. You need this if you donāt have:
default_config:
in there