HandyHat / ha-hildebrandglow-dcc

Home Assistant integration for UK SMETS (Smart) meters pulling data from the DCC via the Hildebrand Glow API
MIT License
229 stars 31 forks source link

Can't add integration #312

Closed Peter-HVD closed 1 year ago

Peter-HVD commented 1 year ago

Describe the bug I have installed via HACS and restarted. When I go to Settings > Integrations > Add Integration I can select it from the list, but then get a window saying "Please wait, starting configuration wizard for Hildebrand Glow (DCC)" for about a minute which then ends with "Config flow could not be loaded: Unknown error"

To Reproduce Steps to reproduce the behaviour:

go to Settings > Integrations > Add Integration and select it from the list

Expected behaviour Configuration workflow should run

Version 2023.2.4 and the latest Hildebrand Glow (DCC)

Debug log None

Additional context None

HandyHat commented 1 year ago

Hey @Peter-HVD, if the config flow encounters an unknown error, it should log something as it is an exception. Can you confirm that logging is on (it's on by default) and that nothing was logged?

StephenMilner commented 1 year ago

Are you attempting to set up the integration from external to the HA network using a reverse proxy?

If so, you need to restart HA and do it via http not https on the local network address for HA

Peter-HVD commented 1 year ago

Hi. Sorry for not replying sooner.

Although I had restarted HA a couple of times to see if that got it working, as soon as I added the debug stuff to my config file and restarted, it worked! So I'm afraid that I can't be any more helpful.

Thanks all the same.

HandyHat commented 1 year ago

Happy to hear it's all working now!