Quick question about the banner

So, in dietpi-banner we can obviously choose to set all sorts of things, including what should be local weather…
But since it seems to be going off IP address, in my case the location it’s showing is over 60km eastward, away from the coastline and it’s moderate weather, and thus it’s usually about as accurate as me claiming to be any good at linux :frowning:

So my question is; is there a way/place to set/tweak the behavior for this so I can actually get local weather, or am I simply out of luck?
I’ve carefully tried digging around in the software but I’m not finding anything there, and on the forum all I’ve found is a workaround posted by Micha that… well let’s say I’m not exactly thrilled by it.

Quite normal, it’s not always given to get 100% exact geo location for an IP address.

At least with our default we don’t have an option to set a specific location.

You could use a custom banner entry if you have a weather provider who supports something like this via API

I was afraid that would be the answer…
Well, thanks in any case, I guess I’ll either have to sacrifice my custom banner space, or do without the weather.

Theoretically, the custom banner entry can be filled with as much information as you want. There are a number of examples of different bash code options within the forum.

I’ve got a (poorly written) stock ticker running in there that’s already pushing my Raspberry Pi 3’s limits, so I’m not sure if that would be entirely wise on a system that serves as a Pi-Hole for the entire household…
But it’s certainly an idea for when I finally stop being lazy and migrate the Pi-Hole to a Raspberry Pi 5.

The banner is generated once when you log in to the system. Somehow I can’t imagine what you can put in there to push an RPI to its limit

Allow me to clarify a bit; it’s not the banner itself, it’s the script it links to that takes up… well, about 50% of CPU cycles, next to Pi-Hole which serves 12 devices (Three smartphones, a walkman, two computers, a gaming console, a TV and other Raspberry Pi systems).
The script is a stock ticker that also continually shows on a Pimoroni Scroll pHAT, the code for which I wrote it myself, and needless to say it could stand to use some refinement and optimization (but again, I would need to stop being lazy).
I fear that stacking another script for weather on top would be a bit much for this old system, unless I managed to get it to only run when the banner polls it upon login/creation.