ESPHome #3488
-
DescriptionHi there, How can i solve it? homepage versionv0.8.13 Installation methodDocker ConfigurationNo response Container LogsNo response Browser LogsNo response Troubleshootingi tried putting the username and password on the widget but it didn't work:
|
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 8 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.
-
This discussion has been automatically closed because it was marked as answered. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
Ok, im not sure then.
I seem to have created a branch of work on ESPHome that allows basic auth many months ago but never made an actual PR for it until now esphome/esphome#7965
So I decided to make the changes for homepage too #4429