I LOVE the custom panel option and I use my BigTemperature panel and my whole family loves to see it.
One of the things I do in my panel is that I have a custom background in that single panel. It’s an animated GIF generated by another Raspberry Pi with a camera. It’s effectively showing a 15min GIF of the most recent weather outside my house.
The issue I have, is that I can’t get the panel to reload it self any more, since the new updates, so, even though the GIF is updated every 15 mins or so, it’s stale, in the panel.
I’m not a Python expert, but you gave me some code awhile back to set a Clock.schedule_interval to update reload/refresh the panel. I’ve tried to incorporate that into my custom one but just can’t get it right without crashing the display at the time interval, or causing the whole thing not to load.
Any possibility you could share the code I would need to use in the customPanels.py to allow the panel to reload every XX seconds?
@peter
Update on my reloading panel. I used ChatGpt to help fix the code I was trying to use and it actually gave me working code and helped fix my errors. lol. I had a couple of errors in what I was trying to use and it analysed the Python Traceback and told me what to fix.
You can ignore my request and work on more important things.
For anyone that’s interested, I created a wfpiconsole/backgrounds directory and I put an animated GIF in it. The GIF happens to be a timelapse of the sky in my backyard.
Wow - that is scary! I had sketched out some code for you but hadn’t had a chance to test it, and it is literally identical to what ChatGPT suggested. Glad you managed to get it working