Hi, I just bought the Withings Sleep Sensor. But when I try to add it to Home Assistant. I’ve followed the documentation on Withings/Home Assistant to the T, but cannot get it to work. It consistantly shows as Unavailable. I’ve read about there being something to do with Internal and External URL’s but cannot find anything to do with that. Any help would be appreciated!
Do your Logs say something to this?
Supervisor - System
Are you using HA Cloud or are you selfhosting?
Hi! Sorry for the late reply My wifi died and I just managed to get it back.
This is the only red in my log, the rest is all to do with my meross cloud and other:
2021-05-01 17:18:11 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/ssdp/__init__.py", line 81, in async_scan
await async_search(async_callback=self._on_ssdp_response)
File "/usr/local/lib/python3.8/site-packages/async_upnp_client/search.py", line 45, in async_search
sock, source, target = get_ssdp_socket(source_ip, target_ip)
File "/usr/local/lib/python3.8/site-packages/async_upnp_client/ssdp.py", line 226, in get_ssdp_socket
sock.setsockopt(
OSError: [Errno 19] No such device
2021-05-01 17:19:11 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/ssdp/__init__.py", line 81, in async_scan
await async_search(async_callback=self._on_ssdp_response)
File "/usr/local/lib/python3.8/site-packages/async_upnp_client/search.py", line 45, in async_search
sock, source, target = get_ssdp_socket(source_ip, target_ip)
File "/usr/local/lib/python3.8/site-packages/async_upnp_client/ssdp.py", line 226, in get_ssdp_socket
sock.setsockopt(
OSError: [Errno 19] No such device
2021-05-01 17:20:11 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/ssdp/__init__.py", line 81, in async_scan
await async_search(async_callback=self._on_ssdp_response)
File "/usr/local/lib/python3.8/site-packages/async_upnp_client/search.py", line 45, in async_search
sock, source, target = get_ssdp_socket(source_ip, target_ip)
File "/usr/local/lib/python3.8/site-packages/async_upnp_client/ssdp.py", line 226, in get_ssdp_socket
sock.setsockopt(
OSError: [Errno 19] No such device
2021-05-01 17:21:11 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/ssdp/__init__.py", line 81, in async_scan
await async_search(async_callback=self._on_ssdp_response)
File "/usr/local/lib/python3.8/site-packages/async_upnp_client/search.py", line 45, in async_search
sock, source, target = get_ssdp_socket(source_ip, target_ip)
File "/usr/local/lib/python3.8/site-packages/async_upnp_client/ssdp.py", line 226, in get_ssdp_socket
sock.setsockopt(
OSError: [Errno 19] No such device
2021-05-01 17:22:11 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/ssdp/__init__.py", line 81, in async_scan
await async_search(async_callback=self._on_ssdp_response)
File "/usr/local/lib/python3.8/site-packages/async_upnp_client/search.py", line 45, in async_search
sock, source, target = get_ssdp_socket(source_ip, target_ip)
File "/usr/local/lib/python3.8/site-packages/async_upnp_client/ssdp.py", line 226, in get_ssdp_socket
sock.setsockopt(
OSError: [Errno 19] No such device
I am local hosting on a ras pi but use the paid cloud hosting by nabu cassa as well. Thank you so much for your help!
Hi,
have you solved it?
Hi, that’s a no. I’ve still been struggling with ifttt. I’ve recently moved to running Home Assistant on docker on Unraid, using the “hassio_supervisor” image which includes the supervisor, it’s temperamental but works. I’m not too sure if that’s relevant. Any help trying to figure it out would be amazing as I want to create a lot of automations around the bed sensor.
Hi … I’m also having issue getting it to work. i have added withings to configuration.yaml, and set external_url and internal_url. I then add withings as an integration, which sends me to withings page where i can press “allow this app”. On pressing “allow this app” im redirected back to my home assistant external url (using duckdns), but is meet with a blank/white page (in home assistant) and can do nothing from there and the integration is not working/updating.
any help would be appreciated.
kind regards
c_bb
edit: and my logs are showing no error?
Hi,
@cool_bombom
know this isn’t really helpful but I never managed to get the Withings sleep sensor to work and needed up having to make my own following Everything Smart Home’s instructions and it works amazingly with a 3 second delay at most. I would recommend doing that as it costs around £30 and is really easy. I can send a link if you want. Otherwise I’m going to have to leave it to people smarter than me to help you out
thnx for the response and i would appreciate the link to your solution. thnx in advance
kind regards
c_bb
3 years later and happy to report that the Wiithing Sleep works great with HA