Giter Site home page Giter Site logo

Comments (8)

greymoment avatar greymoment commented on July 30, 2024 1

Update: I reloaded the integration as stated above and the system is back to normal. Thanks for the hint.

This entity is no longer being provided by the emporia_vue integration. If the entity is no longer in use, delete it in settings.

They are no longer providing readings by. the minute. I am very sad about this.

from ha-emporia-vue.

DabblerIOT avatar DabblerIOT commented on July 30, 2024

from ha-emporia-vue.

magico13 avatar magico13 commented on July 30, 2024

I just updated my instance and it loaded up without issue, so it doesn't seem to be an issue with the update. Sometimes things don't start up correctly, I recommend restarting Home Assistant and if that doesn't work then we'll need to know what errors are in the logs.

from ha-emporia-vue.

mattlewis19 avatar mattlewis19 commented on July 30, 2024

Hardware is a HP Prologic server running Hypervisor and HA OS.
Core 2024.5.1
Supervisor 2024.04.4
Operating System 12.2
Frontend 20240501.0

Logger: custom_components.emporia_vue
Source: custom_components/emporia_vue/init.py:97
integration: Emporia Vue (documentation, issues)
First occurred: 10:30:39 AM (3 occurrences)
Last logged: 10:44:06 AM

Could not authenticate with Emporia API

Emporia Credentials haven't changed and confirmed credentials on the web app.

2024-05-06 10:50:52.144 ERROR (MainThread) [custom_components.emporia_vue.config_flow] Unexpected exception
Traceback (most recent call last):
File "/config/custom_components/emporia_vue/config_flow.py", line 79, in async_step_user
self._abort_if_unique_id_configured()
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2165, in _abort_if_unique_id_configured
raise data_entry_flow.AbortFlow(error)
homeassistant.data_entry_flow.AbortFlow: Flow aborted: already_configured
2024-05-06 10:51:02.640 ERROR (MainThread) [custom_components.emporia_vue.config_flow] Unexpected exception
Traceback (most recent call last):
File "/config/custom_components/emporia_vue/config_flow.py", line 76, in async_step_user
info = await validate_input(self.hass, user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/emporia_vue/config_flow.py", line 47, in validate_input
if not await hub.authenticate(data[CONF_EMAIL], data[CONF_PASSWORD]):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/emporia_vue/config_flow.py", line 37, in authenticate
result = await loop.run_in_executor(None, self.vue.login, username, password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyemvue/pyemvue.py", line 355, in login
self.auth = Auth(
^^^^^
File "/usr/local/lib/python3.12/site-packages/pyemvue/auth.py", line 57, in init
self.cognito.authenticate(password=password)
File "/usr/local/lib/python3.12/site-packages/pycognito/init.py", line 490, in authenticate
tokens = aws.authenticate_user(client_metadata=client_metadata)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pycognito/aws_srp.py", line 398, in authenticate_user
tokens = boto_client.respond_to_auth_challenge(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/botocore/client.py", line 553, in _api_call
return self._make_api_call(operation_name, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

from ha-emporia-vue.

magico13 avatar magico13 commented on July 30, 2024

Flow aborted: already_configured usually is thrown when you're trying to set it up again but you already have it running. If you haven't rebooted, definitely recommend doing that first since that usually fixes any issues with the state machine trying to run two instances. If you have, you can try reloading the integration by going to the integration details and using the overflow menu.

image

from ha-emporia-vue.

mattlewis19 avatar mattlewis19 commented on July 30, 2024

Multiple reboots and reloads with no success, however I just deleted the hub and re-added it and that solved the problem. Thanks for trying to help!!

from ha-emporia-vue.

Esprit1st avatar Esprit1st commented on July 30, 2024

from ha-emporia-vue.

magico13 avatar magico13 commented on July 30, 2024

They are no longer providing readings by. the minute. I am very sad about this.

If the one-minute data failed to load properly, for example if the API is down or acting unreliable at startup, then those entities can fail to be created. That's another situation where a reload of the integration can fix it, but you might need to wait a bit for the API to stabilize itself first.

Sounds like the main problem for this issue is resolved so I'm going to close this.

from ha-emporia-vue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.