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

Configuration wizzard error #13

Open
kbalint opened this issue Jul 25, 2023 · 3 comments
Open

Configuration wizzard error #13

kbalint opened this issue Jul 25, 2023 · 3 comments

Comments

@kbalint
Copy link

kbalint commented Jul 25, 2023

Hi, I've installed the plugin via Hacks, and try to to configure it, it fails with the error:

Config flow could not be loaded: <html> <head><title>504 Gateway Time-out</title></head> <body> <center><h1>504 Gateway Time-out</h1></center> <hr><center>nginx</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page -->

I have the Xiaomi Miio plugin installed, and working with other integrations.

I'm running my HA as a docker container.

As per the config_flow.py I guess it must be something with the self-referencing URL of my Home assistant instance?
I tried to run it on the local addres (http://hass.custom.local:8123) and the outer address (eg. https://hass.example.com) but same error. How can I debug it? Thanks.

@kikofhm
Copy link

kikofhm commented Oct 20, 2023

I have the same problem. Doesn't show the login form page to insert mail and password from Xiaomi account

@KochergaAlex
Copy link

And I have the same problem. Doesn't show the login form page to insert mail and password from Xiaomi account

@luca-angemi
Copy link
Contributor

luca-angemi commented Jan 12, 2024

For those who feel comfortable changing storage data I managed to workaround this issue until it's fixed.

Add an entry into the core.config_entries file, such as this, change accordingly to your model and restart HA

      {
        "entry_id": "007e07a8326bf509ef2d3f0dc00a495d", 
        "version": 1,
        "minor_version": 1,
        "domain": "xiaomi_airfryer",
        "title": "Xiaomi Smart Air Fryer 6.5L", 
        "data": {},
        "options": {
          "config_flow_device": "device",
          "host": "192.168.1.36", 
          "token": "xxxxxxxxxxxxxxxxxxxxx",
          "model": "careli.fryer.maf10a",
          "mac": "aa:bb:cc:dd:ee:ff", 
          "cloud_username": "[email protected]",
          "cloud_password": "password",
          "cloud_country": "de"
        },
        "pref_disable_new_entities": false,
        "pref_disable_polling": false,
        "source": "user",
        "unique_id": "aa:bb:cc:dd:ee:ff",
        "disabled_by": null
      },
  • entry_id: any random 32 chars string
  • title: name of the integration, can be changed later
  • host: the local ip of your fryer
  • token: the token of your fryer
  • model: model of your fryer
  • mac: mac address of your device
  • cloud_username: email of your xiaomi account
  • cloud_password: password of your xiaomi account
  • cloud_country: server of your xiaomi account
  • unique_id: mac address of your device

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants