johnholbrook / streamdeck-pihole

Streamdeck plugin for monitoring & controlling Pi-hole
https://apps.elgato.com/plugins/us.johnholbrook.pihole
32 stars 5 forks source link

Yellow caution sign flashing despite connectivity to Pi #3

Closed robotdrake closed 2 years ago

robotdrake commented 2 years ago

Hello, Let me first say this is a nice addition for the stream deck.

My issue: Using the toggle button I have loaded the API key, and the toggle works as expected. I am able to use the button and see the pi hole disabled in the web console. On the flip side, I am able to enable / disable from the web console, and see the change reflected in the stream deck. I also see the statistics.

Despite all that, I have a yellow caution sign flashing on my stream deck. If there is an update to the display info or the enabled / disabled status of the pi hole the caution sign will stop flashing for a brief moment, update, then continue flashing.

Any idea what would be causing this? My network setup is fairly unremarkable; both the pi and the computer the deck is attached to are wired on a home LAN.

robotdrake commented 2 years ago

Disregard this. After rebooting the stream deck, the PC, and the Pi one of those seems to have resolved it.

johnholbrook commented 2 years ago

Thanks, glad to hear you find the plugin useful!

fcc48 commented 2 years ago

I have the same issue, but a reboot did not help. http://${settings.ph_addr}/admin/api.php?${cmd}&auth=${settings.ph_key} with filled parameters in my browser works.

johnholbrook commented 2 years ago

Hmm... What is the exact content of your "address" field?

fcc48 commented 2 years ago

Just the IP https://i.imgur.com/l3NVpI5.png

Edit: But i am using nginx on my pi which redirects to https I guess thats the problem

Edit2: Found the issue - i am using basic auth in nginx Without it -> no problem ;)