ESPHome #3488
Replies: 7 comments 4 replies
-
Thanks for posting a discussion about homepage here on GitHub. Homepage now uses a fancy new AI tool thanks to our friends at Glime, so the answer below is the AI bot's attempt to answer your question. If you feel it's sufficient you can mark the answer and close this post, otherwise feel free to leave it open of course! Thanks for using Homepage! ❤️ To resolve the "API Error Information" issue with your ESPHome widget on the Homepage dashboard, you should ensure that your configuration is correct and follows the documentation for the ESPHome widget. Based on the context provided, the ESPHome widget configuration does not include fields for Here are some steps you can take to troubleshoot the issue:
Since the ESPHome widget configuration provided in the context does not include authentication fields, it is likely that the widget is not designed to work with a password-protected ESPHome dashboard. You may need to disable password protection on your ESPHome dashboard or look for alternative methods to display ESPHome data on your Homepage dashboard. If you have any further questions or need additional assistance, please let me know. This comment was generated by Glime. |
Beta Was this translation helpful? Give feedback.
-
In my case the username and password are set via docker environment vars in my compose.yml
|
Beta Was this translation helpful? Give feedback.
-
This is my same problem. Would be awesome for a widget update. In the meantime I guess I will try to remove the uname/pass from my docker config and see if that works... EDIT/UPDATE: Commenting out my the whole "enviroment" block of my compose file worked fine. The widgets load and since this is a local only install I am not too worried about having it password protected... |
Beta Was this translation helpful? Give feedback.
-
I found out there is new possibility of using cookie, but even this does not work, I tried several ways on how to provide it and none worked. Maybe somebody made it work ? Current guide here says:
So I set it up as this, according to my cookie:
Doesn't work. Error in the log:
|
Beta Was this translation helpful? Give feedback.
-
Any news? Same problem.. |
Beta Was this translation helpful? Give feedback.
-
I can't get it to work either when authentication is active. I attempted to provide the authenticated cookie in a few different ways, but none of them work for me. |
Beta Was this translation helpful? Give feedback.
-
Hello 👋 ESPHome maintainer here (and user of homepage personally) I came across this issue and thought I would give it a test (don't normally have an ESPHome dashboard running) and it works with the below configuration: - ESPHome:
icon: esphome.svg
widget:
type: esphome
url: http://10.1.1.50:6052
key: "2|1:0|10:1731977187|13:authenticated|4:eWVz|abc123abc123" I found that I had to restart the whole homepage server after changing the key and the normal homepage refresh would not send the new/correct key. Now, this using the cookie like this is not ideal at all, if someone wants to contribute base64 encoded username and password in the I get way too many notifications on GH to notice if someone replies to me, but I will try to check back again in the future. Jesse |
Beta Was this translation helpful? Give feedback.
-
Description
Hi there,
My ESPHome dashboard is password protected. When i enable the widget for ESPHome is giving the "API Error Information" box.
How can i solve it?
homepage version
v0.8.13
Installation method
Docker
Configuration
No response
Container Logs
No response
Browser Logs
No response
Troubleshooting
i tried putting the username and password on the widget but it didn't work:
href: http://192.168.0.244:6052
description: ESPHome
icon: esphome.png
container: esphome
showStats: true
widget:
type: esphome
url: http://192.168.0.244:6052
username: admin
password: my_very_secure_password
Beta Was this translation helpful? Give feedback.
All reactions