n0bel / PiClock3

A Fancy Clock built around a monitor and a Raspberry Pi and python3 + pyqt5
MIT License
15 stars 3 forks source link

How to write Plugins with alt data #6

Open vanosg opened 2 years ago

vanosg commented 2 years ago

@n0bel first, this project is still amazing and I can't believe you're still at it after all this time- kudos to you! The following this project has amassed is amazing.

As you build this, could I suggest you implement a framework/API that makes it simple for users to find real estate to bring-their-own data into PiClock. Specifically for my case, I'd love to be able to display tidal information (high/lows for the next 48 hours). I hacked out the old PiClock and, without really knowing QT, was able to overwrite some fields you had and display NOAA data for tides on the front page. However, my code was so far out of whack with your code that I can't easily merge in new code now (womp womp).

My suggestion is that having the ability for a user to add a textual update box (tides, in my case) and a video update box (radar graphics, traffic cams, weather cams, etc) might be a really cool way to allow people to customize without needing to dig in to your core code too much. Looking at the example config it looks like you're already on this path, but I just wanted to put an additional use case in front of you as you build this out.

I know you have a lot on your plate. I'm a mid-level CLI python guy but have no experience with anything GUI. If the GUI framework stabilizes and you have some directions on how to build out a plugin, I'd be happy to contribute some stuff that plugs in nicely. Or if you just need someone to bounce ideas off, I'm happy to help. Thanks again for all the hard work and effort!