One issue I see now is Withings requirement for a functioning callback URL - so it might mean having to open home assistant up to the world to get access to the API.
This is broken for me on 0.88.1 any ideas ?
With the current implementation is it possible to access more than one user - I have more than one user in the withings account that Iād like to access?
Is this your pull request? Itās exciting to see this making progress!
https://github.com/home-assistant/home-assistant/pull/21625
I hope this does get added, looking forward to using it with my scales and sleep
Getting this error
Error while setting up platform withings
Traceback (most recent call last):
File "/config/deps/lib/python3.7/site-packages/requests_oauthlib/oauth2_session.py", line 330, in request
http_method=method, body=data, headers=headers)
File "/usr/local/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 198, in add_token
raise TokenExpiredError()
oauthlib.oauth2.rfc6749.errors.TokenExpiredError: (token_expired)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/config/custom_components/withings/sensor.py", line 107, in async_setup_platform
yield from _add_device(creds)
File "/config/custom_components/withings/sensor.py", line 92, in _add_device
withings = WithingsSensor(hass, client)
File "/config/custom_components/withings/sensor.py", line 177, in __init__
r = self._client.request('user', 'getdevice', version='v2')
File "/config/deps/lib/python3.7/site-packages/nokia/__init__.py", line 202, in request
r = self.client.request(method, '/'.join(url_parts), params=params)
File "/config/deps/lib/python3.7/site-packages/requests_oauthlib/oauth2_session.py", line 343, in request
self.auto_refresh_url, auth=auth, **kwargs
File "/config/deps/lib/python3.7/site-packages/requests_oauthlib/oauth2_session.py", line 309, in refresh_token
self.token = self._client.parse_request_body_response(r.text, scope=self.scope)
File "/usr/local/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 415, in parse_request_body_response
self.token = parse_token_response(body, scope=scope)
File "/usr/local/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 425, in parse_token_response
validate_token_parameters(params)
File "/usr/local/lib/python3.7/site-packages/oauthlib/oauth2/rfc6749/parameters.py", line 435, in validate_token_parameters
raise MissingTokenError(description="Missing access token parameter.")
oauthlib.oauth2.rfc6749.errors.MissingTokenError: (missing_token) Missing access token parameter.
Is the any news concerning Withings Scale integration. Where can I download VangorraĀ“s code to test?
He submitted some code for updated configuration flows a few days back. It looks like there are still a few bugs. You can check out his code at the github link above.
I can find the Github page but not the code. Can you direct me?
Iām not a git super-user, but the way I understand it, Vangorra forks the home-assistant repo, makes his changes, then requests to merge his modified version back into home-assistant. You can see his fork, and drill down even further to see the component he added:
It looks like heās been addressing some change requests recently, this is looking really promising.
Itās close to ready - the maintainers would like another peer review. Anybody got the python chops to take a gander?
Looking forward to this, shame itās been sat there for 15 days waiting for another review though.
Iāve tried adding this to a custom component. It seems to load fine without any errors but I donāt get any sensors. Has anyone else tried it yet and been successful?
If anybody could tell me how to download and add this as a custom component, I would like to give it a tryā¦ thanks!
Config flow does not work for custom components. The pull request went staleā¦ Can anyone help?
Any news on integration I HA. Had hoped for 0.96 but obviously it isnāt there
The pull request was reviewed and changes were requested by balloob. The changes werenāt made within 30 days, so the pull request was automatically closed. It looks like just yesterday Vangorra re-opened the pull request after making the requested changes. Itās now awaiting peer review. It probably wonāt make it into 0.96, but perhaps 0.97. You can keep an eye on the new PR here:
I see it just got merged! woohoo \o/
Are there any docs for this? I searched for āwithingsā on the integrations page but nothing appears for me.
EDIT: I see itās still getting merged, I should be more patient!