Closed raiguard closed 3 years ago
I hope you will continue to participate in the Rainmeter community!
Oh don't worry, I'll still be around. I'm just not going to be adding stuff to MG anymore.
Dark Sky has just been purchased by Apple. New API signups are no longer being accepted and the API will be deprecated at the end of 2021. So Dark Sky is effectively dead as of now for new users, dead for everyone by the end of next year. :-(
https://blog.darksky.net/ https://forum.rainmeter.net/viewtopic.php?f=4&t=34918
You've gotta be KIDDING ME.
It's a good thing I never got around to continuing with my redesign of Weather Meter, because it was going to heavily depend on some DarkSky-specific stuff.
Freaking Apple... I already disliked that company, but now I dislike them even more.
Freaking Apple... I already disliked that company, but now I dislike them even more.
LOL, my sentiments exactly.
The good news is that JSMorley created a very nice set of "include" files that will let you somewhat easily restore your previous weather.com functionality. But it won't give you much more than what wxdata gave you earlier.
Yeah, I was in the process of redesigning Weather Meter to take full advantage of Dark Sky, with an hourly forecast and some other awesome stuff... then this happens. It's actually making me really angry, more so than it should. I need to calm down.
There is no other free API that I could find that provided hourly forecasts. OWM has three-hour forecasts, but that's not nearly as nice...
Updated the issue with revised plans. A complete iconography overhaul is unnecessary, because most of the icons are, in fact, legal. The only ones that were actually stolen are some of the weather icons. I will still be cleaning up the iconography, but most of the icons will remain FontAwesome.
Well, that was fast. Thanks jsmorley for the pre-built measures making that absolutely painless!
Also, a preview of the new icons. :D
These new weather icons are a pain... they don't have consistent margins or sizes, so I'm having to calibrate each of them manually. Now I understand why FontAwesome charges money... their icons are all standardized and consistent.
It's going to take quite a bit of time to calibrate the new weather icons, but once I'm finished, I plan on releasing them as a pack so others can use them.
Yeah, I was in the process of redesigning Weather Meter to take full advantage of Dark Sky, with an hourly forecast and some other awesome stuff... then this happens. It's actually making me really angry, more so than it should. I need to calm down.
There is no other free API that I could find that provided hourly forecasts. OWM has three-hour forecasts, but that's not nearly as nice...
While it sucks to lose Dark Sky, if you have an API key it work until the end of 2021, according to Dark Sky's blog. When you add a new weather API service, will we still be able to keep using Dark Sky? End of 2021 is still a lot of time left on it.
No, I do not plan on keeping Dark Sky in the code. The way I was using it was a legal grey-area, so I don't want that sticking around into the future anyway. Though the ethics of scraping a website are also questionable...
@raiguard - Just wanted to chime in and mention how much I appreciate the effort you've put into this project over the years. I've been using these on all 3 of my machines since not too long after you released them. It was my introduction into rainmeter and helping me get a better sense of monitoring my hardware in general.
I understand your loss of passion for this project - especially with the recent DarkSky fiasco, so I wish you the best in your future endeavors. Just wanted to chime in and mention how much your effort on this project has benefited me. Perhaps I will fork the project and use this as a foray into my own rainmeter customization! 😁😁😁
It's been a while since I've worked on this project, but I intend to work on it now until v1.7 is done and I've fixed all outstanding bugs. I finally got the motivation to finish this.
Anyway, have a look:
There are a few differences here. First, the whole gadget now uses the latest version of jsmorley's weather.com scraping measures, which will hopefully work for a while. Additionally... SunCalc is no more. SunCalc has proven to be extremely unreliable in extreme latitudes, and the information that it provided would straight-up be tens of minutes off. TWC provides sun and moon information, so I decided to completely axe SunCalc and use the information that I'm already downloading anyway.
This does mean a few things: first, the sun/moon altitude chart (shown on hovering the gadget) is no more. The other thing that i had to remove was the moon view angle. This is a shame, because the moon view angle was really really cool, and was my favorite part of the gadget. But it was also the only part of SunCalc that was actually accurate...
I have also decided not to do a forecast at all. Instead, clicking the icon will take you to the ten-day forecast on weather.com. I was never happy with the forecast design, and so I wouldn't be happy putting it back in the way it was. But I also don't have enough motivation to redesign it. In short, it's going away permanently due to my laziness. I'm sorry.
If I get time in the future, I will see about doing a mini-forecast again. However, as I am about to graduate from school and (hopefully) get my first full-time job, I'm not sure how much free time I'll actually have between work and the other projects that I have commitments to.
Anyway, that was a long rambling update. I have knocked out quite a few to-dos today, and I'm feeling pretty good. The only things left to do for Weather Meter are fix the high temperature display (easy) and spend 20 hours fiddling with and aligning all of the new weather icons (extremely hard).
You have a date in mind we can expect 1.7.0?
@Shrekmachine I don't want to make any promises, since I am quite an inconsistent person. But, it should be soon-ish (TM).
The biggest hurdle has been overcome: the weather icons. When I sat down to work on the icons, I realized that the icons also come in a font. This would let me CenterCenter
align the string meter, so I wouldn't have to do any manual fiddling and SVG editing to get all of the icons to line up. While I would like to use Shape meters instead of a font, this was probably 1% of the time for 99% of the same result.
So, Weather Meter is fully functional now!
I will probably end up making some minor modifications to Weather Meter, but as far as I'm concerned, it is good for release at the point it's at now.
OK, I lied. Now it's actually done.
In case anyone is interested, check out this thread on the Rainmeter forums about sun/moon data from a weather.com API. Raiguard, this might allow you to keep your elevation code, but I don't think it has anything you can use for calculating the moon angle/tilt (I'm not sure what the correct astro term for that tilt angle is). Mordasius's skins (which I swiped his Lua scripts from) have all the calcs EXCEPT that angle. 😢 His scripts give results that seem almost perfect (+/- 1 minute or less). I haven't been able to figure out how to get your angle calc integrated into his code, but I think all the necessary bits are there somewhere.
Yeah, unfortunately, that doesn't provide the needed data to get the view angle. The two things you need are the illuminated angle (the angle that the illuminated limb of the moon is pointing) and the parallactic angle, which is... something beyond my understanding. Here's the wikipedia page on it.
SunCalc would spit both of those out in radians, so I used this formula to get the value of the Rotate
modifier for the moon shape necessary to get the correct angle:
-deg([&MeasureSunCalcScript:GetData('moonIllumination', 'angle')] - [&MeasureSunCalcScript:GetData('moonPosition', 'parallacticAngle')])
Anyway yeah, I can re-implement the altitude calc now, but not the moon angle.
Can someone create a release for 1.7.0 now? Still see 1.6.3 as the official version... Sorry to hear you're moving on, but thanks for all the hard work to get it to this point! It's the only skin I use on several machines...
I'm still developing v1.7.0, it is not ready yet. I have not "moved on" yet. v1.7.0 will be the last feature update, everything after that will just be maintenance and bugfixes (and maybe small features here and there).
If you really want to use v1.7.0 now, you can clone the repository and copy it to your Rainmeter folder manually.
take your time and deliver 1.6.xx versions in the meantime :D
Thanks to the astro data that jsmorley discovered on weather.com, I was able to re-implement an more accurate depiction of the moon's status than I had purely with the includes. Now it retains its exact illumination value instead of being an approximation.
I don't mean to interrupt, but I just wanted to point out that the 41% lit portion is on the other side, since we're in the waning phase now...
Wait, I've had it backwards this entire time!? Oops. Thanks for pointing that out. :D
Haha, no worries, 1.6.3 seems fine. :-)
Oh man I was wondering what the status of the project was. I hope someone is able to contribute and keep supporting these widgets through future rainmeter and other software releases like hwinfo
But I have to say, thank you SO MUCH for the work so far. These are the most comprehensive and consistent-looking widgets with an extensive set of stats and I've installed and used them for YEARS now. This is superb stuff and thank you for your contribution
Once again, things have happened and work stalled for a while, but this time it wasn't due to disinterest in the project.
The list of things to do is relatively small, so hopefully I can have the version finished relatively soon. Thank you all for your patience!
Vim macros are so fricking satisfying.
After a few hours of focused work, the to-do list is finally done! I will be testing v1.7 for a little bit, then preparing updated screenshots and such, then it can finally be released!
I would like to apologize again for how long this has taken. I'm actually switching away from Windows entirely soon, so I'm not even using Rainmeter anymore. However, I will still fix bugs (especially around Weather Meter) and keep the suite usable for as long as Rainmeter exists.
Thank you for your support!
Not using Rainmeter anymore??? :worried: Who am I going to steal ideas from now? I just switched all my skins to use ColorPickerPlus instead of RainRGB, and finally got the moon zenith angle figured out using your suncalc.lua so I can get the moon tilted properly... :sob:
good points. raiguard, you should reconsider...
Now I'm grateful that I wrote detailed release instructions for SilverAzide, because I'm having to follow them myself! Making Rainmeter releases is such a pain... I might write a script to automate it somehow.
It is... FINISHED! 🚀 🎉
Thank you so much for all the many years of updates to this wonderful gadget pack. All the best with everything
Some people following this repository may have noticed, but work on ModernGadgets has dropped off in recent months. It's finally time that I come out in full. I feel that this project is mostly complete, and I have been occupied with several other projects, most of which are Factorio mods.
There are still a few things left to do, however. This issue will list those things.
After that, the only updates will be for bugfixes and minor QoL improvements.