H
Homarr3mo ago
Merijeek

Home Assistant Integration - Entities Unavailable

Specifically, I get this: WARN There are apps that have missing configuration options: [Home Assistant] please input the correct secrets once again for the concerned app(s), save them, exit edit mode and reload the page. I have the correct token. And since that didn't work, I generated a new one, and it still doesn't work. Direct copy and paste.
Solution:
Well, that's interesting. Closed all the possible Homarr tabs. Shut down and started the Docker instead of a restart and no errors
Jump to solution
37 Replies
Cakey Bot
Cakey Bot3mo ago
Thank you for submitting a support request. Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
❓ Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
Merijeek
MerijeekOP3mo ago
Running Homarr as a Docker on Unraid. Home Assistant is on a separate Odroid box.
Serenaphic
Serenaphic3mo ago
Since I don't know much about HA, I really won't be able to help unless you provide all the asked information there
Merijeek
MerijeekOP3mo ago
Version 0.15.4.
Merijeek
MerijeekOP3mo ago
No description
Merijeek
MerijeekOP3mo ago
The 192.168.1.221 address is the HA device
Serenaphic
Serenaphic3mo ago
This look like a communication issue between the 2 services could you also show me how you setup HA in homarr?
Merijeek
MerijeekOP3mo ago
No description
Merijeek
MerijeekOP3mo ago
No description
No description
Merijeek
MerijeekOP3mo ago
I've tried taking the path out of the URL, but it keeps adding it back in so I assume Homarr is insiting on it
Serenaphic
Serenaphic3mo ago
Huh? No it shouldn't do that, we actually recommend users not to add any path to the internal address
Merijeek
MerijeekOP3mo ago
Current:
No description
Merijeek
MerijeekOP3mo ago
Saved this, came back, still gone:
No description
Merijeek
MerijeekOP3mo ago
And now it took, even after a restart. That's nice. Hasn't actually helped though. This here: ERROR Failed to fetch from 'http://192.168.1.221:8123/config/dashboard/api': SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON (repeated 3 times) Makes me think that it's expecting a JSON and that's not what it's landing at. That URL is good. Just goes to the settings page.
Serenaphic
Serenaphic3mo ago
Yes, like I said earlier, there seems to be a communication issue between the services. The API path should return json objects. Getting an html page instead means it's not getting what it should. Usually this happens because the service is simply not accessible
Merijeek
MerijeekOP3mo ago
No description
Merijeek
MerijeekOP3mo ago
I don't know a more direct way to check for JSON (or not) than that And when I refresh I get this in my log:
ERROR Failed to fetch from 'http://192.168.1.221:8123/config/dashboard/api': SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON So, yeah, did HA move the JSON maybe?
Serenaphic
Serenaphic3mo ago
Well, you're not hitting the api so you won't get the json, but this is actually a good test to check that the service is available did you execute the wget from homarr's container? if not, try the same cmd from homarr's container to confirm they can communicate
Merijeek
MerijeekOP3mo ago
Yes, from the container
Serenaphic
Serenaphic3mo ago
alright, then maybe the api key is wrong You've been following the docs here right? https://homarr.dev/docs/widgets/home-assistant/
Merijeek
MerijeekOP3mo ago
I mean, anything is possible, but I've created and copied it a number of times. Unless my clipboard is F'd up or something... Yes, it's pretty straight forward.
Serenaphic
Serenaphic3mo ago
Yeah I figured
Merijeek
MerijeekOP3mo ago
If there's an actual "How to add Home Assistant" page somewhere, I don't see it. As far as settting up the integration.
Serenaphic
Serenaphic3mo ago
no proxies or anything that could be impeding on the trafic?
Merijeek
MerijeekOP3mo ago
Nope. All internal. That's also why I tried the Wget because I didn't have a much better way to test it.
Serenaphic
Serenaphic3mo ago
There's curl but even in advanced setup it's the best test wget and curl From what I see, it's still using the /config/dashboard path and it really shouldn't are you sure you've updated the internal address?
Merijeek
MerijeekOP3mo ago
Sorry, was done for the day.
Merijeek
MerijeekOP3mo ago
If there's somewhere else to check for the internal address, let me know.
No description
Serenaphic
Serenaphic3mo ago
Saved and reloaded? (I assume so with the time between) if "/config/dashboard" is still present in the address in your logs, there's a problem just in case could you send your logs again
Solution
Merijeek
Merijeek3mo ago
Well, that's interesting. Closed all the possible Homarr tabs. Shut down and started the Docker instead of a restart and no errors
Merijeek
MerijeekOP3mo ago
No description
Merijeek
MerijeekOP3mo ago
Does this matter? I've seen it in other people's postings, but I thhink this is the first I've seen it in my logs.
Merijeek
MerijeekOP3mo ago
Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production
Serenaphic
Serenaphic3mo ago
Doesn't matter I guess it's a common issue since the error does say to completely reload. All working then?
Merijeek
MerijeekOP3mo ago
Seems like it. Thanks for the help. I had Plex go funny a while ago so I may have to ask for help on that one too but that should probably be a separate thread if I can't figure itout
Serenaphic
Serenaphic3mo ago
Sure thing. I'll mark this as resolved. Have fun
Want results from more Discord servers?
Add your server