Snagged on use of panel_iframe

Total noob to Home Assistant (HA). My current configuration includes Ubuntu/Docker/Docker-compose/Portainer/Home Assistant (2025.1.4; Front End 20250109.2). Hardware not yet fully configured (zigbee controller on order).
I’ve been following (ca. 2022) installation instructions. Mostly, still pretty good. I’m currently ‘snagged’ at ‘accessing Portainer within HA’. I added the following code to my configuration.yaml,

panel_iframe:
  portainer:
    title: "Portainer"
    url: "<my Portainer IP>:9000/#/containers"
    icon: mdi:docker
    require_admin: true

On HA restart, I get the following error.
Configuration warnings
Integration error: panel_iframe - integration ‘panel_iframe’ not found

Google search seems to indicate that panel_iframe is deprecated. Can someone help with a new work-around?

Try settings > dashboards > add dashboard, at the bottom >web page. Note it may have to be HTTPS to work, not tried this myself. Worth a try.

1 Like

Wow. Thanks Kdem. That seems to have worked perfectly (using http://…). Hopefully as I move into week 2 of exposure to HA, things like this will gradually become second nature.

1 Like

Hi Grizz952,

Many users have had problems with portainer with HA. Both Portainer and HA tend to want to do full control on the docker, and small battles tend to happen. Portainer is

Please mark my reply as “solution” if it fixed it, thanks.

I’m also using the Docker configuration and met the same problem. Luckily this solution worked for me too but when I try to login in Portrait I receive the error:
Failure Unable to retrieve user details: Unauthorized
Any idea of what the problem is?

Initially I logged in the first time outside homeassistant, then attached the dashboard.
I did the other way round and it worked!
Solution is: first attach Portainer to a new web page dashboard and then login the first time as admin

how to mark as “solution”?

From the guide here

:two::one: Somebody’s answer solved it!

Fantastic!

Now, before you go… please take the time to mark that as the answer, you do that by selecting the three dots under the post:

image

Then select the check box:

image

Don’t forget too while you’re down there to click the heart to like the post, as a way of saying thank you.

Sorry, my bad for not RTFM :confounded:
However there is not any checkbox on the bar
image
what’s wrong?

You are not the OP and I missed that when I answered you question to @Kdem :rofl: You won’t be able to mark it as the solution.