Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set up component :( #12

Open
GeraldG007 opened this issue Sep 20, 2023 · 3 comments
Open

Unable to set up component :( #12

GeraldG007 opened this issue Sep 20, 2023 · 3 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@GeraldG007
Copy link

Hi,

not able to use it as currently i get these 3 errors:

Unable to prepare setup for platform renpho.sensor: Unable to set up component.
21:53:50 – (FEHLER) setup.py

Logger: homeassistant.setup
Source: setup.py:366
First occurred: 21:53:50 (1 occurrences)
Last logged: 21:53:50
Unable to prepare setup for platform renpho.sensor: Unable to set up component.

Error during setup of component renpho
21:53:50 – (FEHLER) renpho (benutzerdefinierte Integration)
Logger: homeassistant.setup
Source: custom_components/renpho/api_renpho.py:173
Integration: renpho (documentation, issues)
First occurred: 21:53:50 (1 occurrences)
Last logged: 21:53:50
Error during setup of component renpho

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 256, in _async_setup_component
result = await task
File "/config/custom_components/renpho/init.py", line 27, in async_setup
await setup_renpho(hass, conf)
File "/config/custom_components/renpho/init.py", line 61, in setup_renpho
await renpho.get_info()
File "/config/custom_components/renpho/api_renpho.py", line 331, in get_info
await self.auth()
File "/config/custom_components/renpho/api_renpho.py", line 173, in auth
raise AuthenticationError("'terminal_user_session_key' missing.")
custom_components.renpho.api_renpho.AuthenticationError: 'terminal_user_session_key' missing

'terminal_user_session_key' not found in parsed object.
21:53:50 – (FEHLER) renpho (benutzerdefinierte Integration)

Logger: custom_components.renpho.api_renpho
Source: custom_components/renpho/api_renpho.py:331
Integration: renpho (documentation, issues)
First occurred: 21:53:50 (1 occurrences)
Last logged: 21:53:50
'terminal_user_session_key' not found in parsed object.

Any suggestions?

best thanks

best regards
Gerald

@scottsperry
Copy link

scottsperry commented Nov 17, 2023

antoinebou12#7 has a better discussion of the issue

I get the same error.

The problem for me is:
{"status_code": "50000", "status_message": "Account does not exist"}

Adding the error output in api_renpho.py is how I determined this.

if "terminal_user_session_key" not in parsed:
_LOGGER.error(
"'terminal_user_session_key' not found in parsed object." + json.dumps(parsed))
await self.close()
raise AuthenticationError("'terminal_user_session_key' missing.")

I've created an account and can login to the renpho.com.

@Amerigo1973
Copy link

Hi, I have the same problem. I will wait for the new version because I would have to change the accounts of the whole family :) For the moment I will get the data from Google Fit, the two apps do not synchronize instantly but they do

@antoinebou12
Copy link
Collaborator

Try the Renpho - Outdated Version APP and also try the new version with hacs

@antoinebou12 antoinebou12 added bug Something isn't working documentation Improvements or additions to documentation labels Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants