Grafana Lovelace Login Loop

Help! I’m about to loose my mind.

I’m trying to setup InfluxDB/Grafana for more advanced data logging (solar production/energy usage). I have InfluxDB working and recording sensor data, I have Grafana connected and was able to generate my first graph with no problems.


(tracking grid voltage fluctuations)

The problem started when I tried to add the graph from grafana to a lovelace iframe via the webpage card. The grafana login screen appears, I log in with the default admin/hassio, it flashes for a few milliseconds with green “logged in” before returning to the login screen.

I have tried for 2 days to get past this and I’m at the end of my rope. It’s times like this when the simplest part is failing, and I’ve been able to find zero relevant posts with similar problems that I question my intelligence and life choices.

I’m following the instruction on this video (https://youtu.be/e4qe_ghroe4).
System is a clean instal of Haos fully up to date, direct instal on baremetal PC (beelink n150)

I’ve been using HA for about 5 years, but I setup my first system and mostly ignored it. Now I’m upgrading hardware and working to expand capabilities, I have a very rudimentary understanding of HA, especially Yaml. (I understand the syntax of yaml, I’m just very confused to how Home Assistant structures and implements it, and where various settings need to go.)

There is no easy / good way to add grafana graphs to Home Assistant. There are two ways, both have issues/limitations.

Search the forum. There are plenty of topics about it.

I’d found a bunch of old topics but none with the login loop behavior I was experiencing.

I found the solution through days of banging my head against the screen. I was targeting the Grafana port in my url and needed to target the home assistant port.

Now I have it working for local, with the expected connection issues for remote that I’d like to work past but can live without for now.