enode icon indicating copy to clipboard operation
enode copied to clipboard

Automatic installation in HACS not working

Open peterdedecker83 opened this issue 1 year ago • 10 comments

Hi,

Great, interesting integration, especially as you also have an Xpeng G6 :-)

However, the automatic installation through HACS doesn't work. The link https://my.home-assistant.io/redirect/config_flow_start/?domain=enode in your readme.md doesn't work, I cannot find the Enode integration in the HACS store on my HA instance. Maybe you need to add an additional repository, or request integration of your repo into HACS?

I'll follow the manual installation method for now :-)

Thanks!

peterdedecker83 avatar Aug 02 '25 12:08 peterdedecker83

Tried the manual install. Placed the documents, added the integration in the settings menu, gave in the credentials, kept the default user ID, but got a "OAuth authorization error while obtaining access token." error. Probably a mistake in the credentials. However, the integration is not listed in the installed integration, and when I try to add it again I only get the step to choose the userID, can't insert/change the other credentials anymore. How can I re-install, or change credentials? I also see no logbook entries.

peterdedecker83 avatar Aug 02 '25 14:08 peterdedecker83

To install it via HACS you need to add the repository to it.

evilmarty avatar Aug 02 '25 21:08 evilmarty

Thanks. I deleted the directory in my custom_integrations, added the repository to HACS and tried to install the Integration again. On the integrations pane I click "add", select "enode" and then immediately the question for the user ID pops up. No question for enode credentials. They must have been saved from previous attempt and I don't have any possibility to alter them. The integration is not installed and not accessible from any menu. How do I reset these saved but unfortunately wrong credentials?

peterdedecker83 avatar Aug 03 '25 00:08 peterdedecker83

OK, I had to delete application_credentials manually and restart HA to be able to enter the right credentials again.

Now it works like a charm, thanks!

peterdedecker83 avatar Aug 03 '25 00:08 peterdedecker83

FYI: I also enabled and tested webhooks. The test function give a positive result: webhooks should work.

My installation is publicly accessible through a Cloudflare tunnel, but I don't have a Home Assistant Cloud subscription so I guess you don't need one.

peterdedecker83 avatar Aug 03 '25 01:08 peterdedecker83

I now know how to solve the Problem. Open the terminal and execute rm -R /config/.storage/application_credentials. Then restart Home Assistant. Now you can configure Enode from scratch.

aerucu avatar Aug 25 '25 19:08 aerucu

Does anyone have a production account yet? How long did it take for you to get activated? Do you have to enter your electric car's login details with Enode? Are the login details secure there?

aerucu avatar Aug 28 '25 08:08 aerucu

FYI: I also enabled and tested webhooks. The test function give a positive result: webhooks should work.

My installation is publicly accessible through a Cloudflare tunnel, but I don't have a Home Assistant Cloud subscription so I guess you don't need one.

@peterdedecker83, how did you set up Webhook on Home Assistant? My installation is also publicly accessible via a Cloudflare tunnel, and I don't have a Home Assistant Cloud subscription. However, I can't enable Webhook.

aerucu avatar Aug 28 '25 08:08 aerucu

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Sep 27 '25 20:09 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Oct 02 '25 20:10 github-actions[bot]