Ah, well, I had most of the code already anyway. FYI, I uploaded a new version in my previous post to improve some things. Again, this has not been tested for a full day (d'oh!), but I guess it won't do much harm. Keep an eye on the log file (must not be stdout!) and let me know how it works.
Out of curiousity: what are you updating your screensaver every 5 minutes with? I'm getting bored already with my weather display and am thinking of freshing it up :-)
Next feature in my mind: use different intervals depending on whether the device is being charged or running on battery. Probably also a nice idea for another extension where it turns wifi on/off depending on that.
|