ha-emporia-vue
ha-emporia-vue copied to clipboard
Stuck at Failed Setup, will retry
This is the error i get. It almost acts like it will work but no luck. I have tried restarting home assistant but no luck.
Same here. Occurred following the update to 2023.8 and OS 10.4
Going to delete and reinstall unless someone has already tried that.
Here is my version sorry I didn't post it earlier.
Can you try installing the "master" version of the integration and see if that makes a difference? I haven't fully decoupled the first Usage call from the setup yet but that work is started on the master version. Most likely that call is failing because of something on the API side, though a 400 code implies it could be something on the request, not sure what that'd be though.
I'm dead in the water too. I got in touch with Emporia because I couldn't log in via their app, nor their web page URL. The support person claimed everything was fine and didn't know why I couldn't log in. I thought maybe it was a local issue so set my phone to use broadband and still wouldn't work. Eventually it did work. But as of now the web page interface does not work here. He claimed it was fine. So I'm not completely convinced the problem isn't on their end. They had me change my password which had no effect. He mentioned the servers are in Ohio...since I have geo-blocking set up but no log entries for that show (i.e., nothing blocked). No problem pinging their URL.
Since I changed the password I deleted the integration and it's just sitting here spinning trying to reinstall. It did quit working after I installed 10.4 (but didn't install 2023.8.x yet). Since I was having problems accessing it other ways...it may be just a coincidence.
OK so i removed the integration and reinstalled on the master version. I also removed special characters from my password. However I am having the same error as before.
I enabled a VPN service for my desktop and can now access their system via the web page above and was able to change my password (which doesn't appear to be the problem). Unfortunately, I can't route home assistant through that VPN so that still hangs.
EDIT: Packet trace shows errors trying to authenticate.
Installing HA 2023.8.1 seems to have solved it. I had removed the integration, then updated to 2023.8.1 then the integration added fine. I had switched to Master per @magico13 comment above. Thanks much for this integration too! :)
Updated HA and HA OS
Home Assistant 2023.8.1 Supervisor 2023.07.1 Operating System 10.4 Frontend 20230802.0 - latest
tried latest and greatest and the Master both doesnt work restarted before and after on setups.
Still no luck for me.
@greggitter what format do you have your password if you don't mind sharing. Maybe I need the right number of characters or something.
I am also running home assistant on a VMS through UNRAID latest version 6.12.3. Could that be my problem?
I'm back in business with 2023.8.1.
This is the second time this year that I've unexpectedly lost communication with the API... and I am currently running the latest and greatest available home assistant code. To restore, I had to remove the Device Integration (Emporia Vue), and then reinstall the hub with the same user and password. Everything came back after that... can't explain.
Do I need to do anything on the emporia energy website to get this to work. I have tried removing and reinstalling the integration with no luck.
Updated HA and HA OS
Home Assistant 2023.8.1 Supervisor 2023.07.1 Operating System 10.4 Frontend 20230802.0 - latest
tried latest and greatest and the Master both doesnt work restarted before and after on setups.
Still no luck for me.
@greggitter what format do you have your password if you don't mind sharing. Maybe I need the right number of characters or something.
I am also running home assistant on a VMS through UNRAID latest version 6.12.3. Could that be my problem?
Sorry for the delay, didn't see your reply to me.
I tried several passwords after seeing the suggestions in this thread, in the end I removed special characters but that didn't work either until I updated HA to 2023.8.1. I find it strange that when it won't connect via HA, I also can't access with their native app/web page. The packet trace shows an error authenticating. I wondered if a security failure blocked the IP for a period of time (like fail2ban) but the support person said no. However, when I connected via a VPN service I sub to (changing my IP and DNS), it worked...which supports the IP block theory. The question is, why is there a periodic failure to authenticate. I don't think password has anything to do with it because I've had this happening off and on for months and never changed the password during that period.
I run HA in a Proxmox VM...if that matters.
I added an automation that checks for unavailable status and reloads the integration every 15 minutes when it fails. I chose one of my sensors (AC circuit). Generally this works fairly well...but can take some time to come back. At least no manual intervention is normally needed.
alias: Reload Vue Services
description: ""
trigger:
- platform: time_pattern
minutes: /15
condition:
- condition: state
entity_id: sensor.a_c_9_1min
state: unavailable
action:
- service: homeassistant.reload_config_entry
data: {}
target:
entity_id: sensor.a_c_9_1min
mode: single