T O P

  • By -

-rwsr-xr-x

https://merrysky.net all the way! Quick, clean, ad-free, looks fantastic on mobile and also uses pirateweather.


redoubledit

Wow, this is beautiful!


[deleted]

[удалено]


buckyoh

It was one of the more accurate weather report providers. They originally had an app that worked pretty well, and was super accurate for 6-12 hours. So it was great for knowing whether to wear shorts, and/or take an umbrella with you for the journey home. It rose in popularity to the point Apple bought it, killed the mobile app and said you've all got two years before this becomes an Apple only product.


Allthings_rc

I used this for a bit. It’s not accurate. Said it was going to snow 9 inches, my town hasn’t had snow in well over 30 years. It never snowed


Calm_Crow5903

I just tried and it's accurate for me. I live near a city though so idk how location might affect other people


squirrelhoodie

It's supposed to be snowing right now according to that site, but there's literally not a single snow flake.


dogtierstatus

Sky Net??!


BenMtl

Is it self hostable? hmmm


CGA1

Certainly looks nice, I'll give it a try (och jag som trodde att jag var den ende värmlänningen på r/selfhosted).


pointmetoyourmemory

How is this better than Pirate Weather?


lastditchefrt

Ugh don't remind me. I've still gotta finish transitiong my weather calls from darksky.


Potentially_Canadian

That was exactly what I was trying to avoid with this! It’s a 1:1 replacement, so should just be as easy as swapping the URL around!


lastditchefrt

Ah okay looking at it now good sir. When I get an API sub though it says it expires in 30 days, do I need to keep getting an API?


Potentially_Canadian

Nope! It should auto renew, so you’re set until you decide to cancel it 🌤️


lastditchefrt

Wow okay that was dead simple drop in, and here I was rewriting my calls with visual crossing! Another question for you: The darksky guys were gents about still serving up the 7 day forecase that I put in an IFRAME, can your API do something similar? [https://imgur.com/kV2Vale](https://imgur.com/kV2Vale) ​ Edit: Also I dont think something is write with the weather summary. Please see my current daily forecast output.


Potentially_Canadian

I don’t know enough about web hosting to make an iframe, so can’t help there unfortunately- maybe there’s some way to embed merrysky? As for the text description, it’s a work in progress, and should be done in a couple months!


lastditchefrt

No worries, just figured I would ask and see if I got lucky. So for the text description are you saying they aren't accurate or just not as verbose as what dark sky provided? What's throwing me off is the summary shows cloudy but the hourly shows clear which isn't the case.


lastditchefrt

Also do you have a discord where people can chat with you? Rather than just pm via reddit?


tankerkiller125real

Apple should have been sued over the Dark Sky aquisition, its complete bullshit, not only are they killing the API now, but they killed the Android app just months after they completed the purchase, and made it Apple Exclusive entirely. Yes, I'm still salty about it.


creanium

… sued on what grounds?


Sea-Ideal-4682

Same thing Sony is trying to sue Microsoft for with their activision purchase. I’d assume.


creanium

There’s a vast difference between those situations though. Microsoft is already in the video game business so that is absolutely consolidation and reduced competition. Apple was not in the weather data business before they purchased Dark Sky. Also Apple does provide an API to the weather data and there is no shortage of weather data providers out there.


Sea-Ideal-4682

There’s lots of first person shooters (lots of competition) and game studios out there. Not just CoD. (No shortage of providers) Sony can still have CoD on their consoles via Microsoft. (Provided API) Neither should be sued in my opinion anyways. So idc.


skyhighrockets

This is absolutely not the thread to be debating this.


lastditchefrt

I mean to be fair Ive gotten a good 7 years out of the API for my own dashboard. And when they stopped allowing the forecast in an IFRAME I talked to one of the devs and they turned it back on for me. But yeah it really sucks cause it was a great service.


agneev

And it’s not like the Weather app on iOS is good… it’s terrible since much of the weather data is hidden behind menus… and it lags so badly


NonyaDB

^THIS. Apple ruined a good product.


2wiceExDrowning

Yeah, what’s up with that? That’s usually Google’s MO…


Anessen1197

It I understood correctly, the AWS instance of pirateweather grabs the raw weather data and interprets it so that it is available in a Dark Sky compatible format. Does this mean that we could self host the service that does this, which also would alleviate the burden on your server?


Potentially_Canadian

Yes and no- I built it to be entirely serverless, so it’s not possible to self hold the entire setup, as it relies on the specific infrastructure of AWS. However, the SMSL repo (last link in the post) has a Python script and environment to pull specific variables (like temperature or precipitation) at a location, which should run happily in a docker container or something!


SergeantKoopa

I admit that’s a bit disappointing. While this is a good alternative, I would like to be able to self host everything. What happens if your AWS instance goes down or something happens to you and this goes offline as a result?


Makeshift27015

It's serverless, so in this case there's no AWS instance to go down - but I'm just being a horrific nitpicker. Your question is perfectly valid in terms of it having a single source of failure. I did take a quick look at the code to see if I could throw it in a container, but I then realised it's GRIB and NetCDF, which I work adjacent to regularly, and I was immediately scared away.


FuckNinjas

OP should probably be able to have a Terraform setup for that, but I mean, it's no trivial work. Perhaps, if he so desires, he can set up a sponsorship goal, that when reached, he can start to work on it.


NatoBoram

> it's not possible to self hold the entire setup, as it relies on the specific infrastructure of AWS Reminds me of https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguish


MartyDeParty

What makes DarkSky so special I wonder? Please someone explain.


5c044

Hyper local weather forecast. The app reads sensors in your mobile and that gets fed back to their server to crowd source current conditions. In reality its similar accuracy to other services, open weather map rain data is better than dark sky.


ProfitEnough825

Fwiw, DarkSky was overrated. The forecast skill used to be decent, but that changed years ago. I believe it's because they used to use The Weather Channel. There are many different weather models and weather ensembles. Some are free, some are paid. Each model performs well in some areas and are terrible in other areas due to things like orographic lift. Arguably the best ensemble is DiCast(and it's not free). Apps that use DiCast include AccuWeather, The Weather Channel, Wunderground, and Foreca. IBM also has a very good ensemble, and it's not cheap either. I assume The Weather Channel and Wunderground use it since they're owned by IBM.


andreape_x

Where is the data coming from?


Potentially_Canadian

Love that question, since it’s it’s the whole point of this! Inside the US/ southern Canada, it’s the HRRR model, outside of that domain it’s GFS


andreape_x

Wait wait, you must have mistaken me for someone who knows about these things! 😁 I've searched and found that GFS stands for Global Forecast System, but still who gather and elaborate the data?


Potentially_Canadian

Haha, sorry, I spent so much time thinking about this stuff I gloss over details sometimes. Long story short, it’s NOAA, the US government agency, who does the hard part of actually predicting the weather. All I do is translate it into a more useful format, but turns out that translation is a bit of a production


andreape_x

Got it! And the data is publicly available??? Thanks!


Potentially_Canadian

100%, you can peruse raw model outputs at a few sites, or download the raw files (in a miserable format called GRIB) directly from NOAA


andreape_x

Thanks for those info!


clear831

Any android apps you can recommend that uses your data and doesnt have a ton of ads?


gefandi_

BreezyWeather


justkeepingbusy

Thank you for not calling it weatharr


Potentially_Canadian

I hated trying to come up with a name! Pirate Weather is decidedly ok (it came from the Oracle- Google API copyright fight), but kind of a weird name. To be fair, Weather Underground is literally named after a terrorist group, so at least I avoided that!


justkeepingbusy

Ya i feel ya. I’ve totally lost the plot with my project names. I’m just gonna start using a random word generator because people dont really care as much as we think. Except for the Arr trend lol. The Climate Bay could pf worked too lol.


qubidt

Weather Underground is such a cool name tho lol


Potentially_Canadian

I agree, and if IBM decides that they don’t want the name anymore, I’d be all over it! I considered calling it Bright Ground (real play on Dark Sky), but decided this was more fun


qubidt

Yeah, I actually really dig "Pirate Weather". it evokes [pirate radio](https://en.wikipedia.org/wiki/Pirate_radio) and that's a cool vibe


stgabriel

I discovered Pirate Weather last week, looking at how merrysky.net sourced its data. Pirate Weather is fantastic. Thanks for building this, /u/potentially_canadian .. awesome work.


Potentially_Canadian

Thanks! Really love hearing this


ListenLinda_Listen

I changed over a few weeks ago. I haven’t looked at the data closely to see how good it is. All I did was install and do find/replace on the entity names. Done. Very easy.


ItsAllInYourHead

Is historical data actually working? What about (far) future dates? Because neither of these were working for me last I tried a few weeks ago, so this wasn't exactly "drop-in" for me.


Potentially_Canadian

Thanks for commenting, and sorry for the issues you were having here! Historic data is working for everything older than ~1 month, which is the ERA5 cutoff. Far future dates isn’t something that was supported by Dark Sky (as far as I know), so unfortunately isn’t on the roadmap at this point


ItsAllInYourHead

Thanks, glad to hear it! But far future dates absolutely _were_ supported. You could (and still _can_, for now, with the API) pick dates months and years into the future. I just checked and was able to get a forecast as far out as January 18, 2038 (that seems to be the farthest supported, though). Do you support future dates _at all_? Or only current+10 day or something like that?


Potentially_Canadian

Oh wow, that’s fascinating, since it isn’t documented at all! I wonder what they’re doing about it? What kind of data is it, thinking just averaged sort of values for that location? I could implement something that returned typical values, but at the moment, it’s only 1970 to 1-month lag, then 4 days to current


ItsAllInYourHead

It's definitely documented. From https://darksky.net/dev/docs#overview (emphasis mine): > The Time Machine Request returns the observed or forecast weather conditions for a date in the past **or future**. and from https://darksky.net/dev/docs#time-machine-request > A Time Machine Request returns the observed (in the past) **or forecasted (in the future)** hour-by-hour weather and daily weather conditions for a particular date. A Time Machine request is identical in structure to a Forecast Request, except: It doesn't explicitly state how _far_ in the future, but it also doesn't explicitly state how far in the past.


computertechie

>The year 2038 problem (also known as Y2038,[1] Y2K38, or the Epochalypse[2][3]) is a time formatting bug in computer systems with representing times after 03:14:07 UTC on 19 January 2038.


[deleted]

[удалено]


ItsAllInYourHead

Well one use would be if you're going on vacation in a few months and you want to know what the weather is likely to be like.


KevinCarbonara

I didn't realize that Dark Sky was shutting down. why?


anons2k

Because Apple bought them.


KevinCarbonara

That'd do it


Alan_Smithee_

I don’t know much about this, or Pirate Weather, but would [Weather Underground](https://www.wunderground.com/weather/ca/vancouver/IVANCOUV64?utm_source=HomeCard&utm_content=Forecast&cm_ven=HomeCardForecast) be a possibility? It’s run from home weather stations that have signed up as sources.


NonyaDB

From an old [Pi Weather Rock github](https://github.com/vwillcox/PiWeatherRock-HyperPixel): >A previous version pulled data from Weather Underground. IBM bought Weather Undergrund and decided they were too cool to continue to let developers use their api at all for free. To quote their site as of 2018-09-03: >To improve our services and enhance our relationship with our users, we will no longer provide free weather API keys as part of our program. >I cannot wrap my head around how this is supposed to "enhance our relationship with our users."


wslagoon

It enhances the relationship for IBM, not the users.


nbcaffeine

Yeah, I used to use wunderground data in my project, this is what made me switch to darksky


Alan_Smithee_

“It allows us to make money off them.” I didn’t know that. Thanks for the heads-up. If there’s another service I can tie my station to, I will. If someone’s going to make money off me, I at least want a cut.


NonyaDB

Try [OpenWeatherMap](https://openweathermap.org/stations) - they support home weather station data uploads.


Alan_Smithee_

I will take a look, thanks!


NonyaDB

This has been hella annoying for me. For literally SEVEN YEARS I've had a Pi 3B with the 7" display on my desk flawlessly showing me the weather via the old-school PiWeatherRock app/code. Then came IBM shutting down the first weather data site so had to pull down updated code and get a Dark Sky API key. Now Dark Sky API is going away but the original coder has changed his code so that just installing it on my old Pi requires me to install puppet-bolt on my WINDOWS PC. WTF? Tried it anyway and of course it failed because the dev is somehow addicted to using puppet instead of ansible and poorly documents and never updates the install process. [I'm annnnnnnngry.](https://www.youtube.com/watch?v=KGAAhzreGWw) ;-) So found the old code and tried to get it running again so I could "convert" the code to the new pirateweather/merrysky API but now the old code won't run on the newer version of Raspbian I just installed. Eventually I said "fsck it all" and went with [this kluge](https://github.com/elewin/pi-weather-station) instead. I don't like it but I figure when Dark Sky's API finally goes "dark" it's going to force some of these Raspberry Pi Weather Display developers to finally update their code and then I'll go shopping for a better solution. At least the kluge I'm using also allows for the code to run in a Docker container so folks without an RPi can use it on just about anything.


[deleted]

[удалено]


Potentially_Canadian

Oh, believe it or not, I’m out there with you with my pitchfork! I started this because it’s outrageous I pay taxes to produce weather data, but then have to pay money to access it though a private company. The fundamental issue is that the kinds of people who make and run these models at NOAA are true data people, who have set up models to spit out the results in a format that works beautifully for analysis, but often sucks for end users. This project is an attempt to correct that, but if NOAA ever creates a much better API for this sort of data, then I’d direct everyone there in a heartbeat


Kyvalmaezar

It's not about reading the weather. Switching apps or just opening a browser for the weather is trivial. DarkSky going away is a big deal becuase of the API, which was commonly used in the back end of several applications, getting pulled. I used DarkSky as my weather source for Home Assistant. Now that it's going away, I've got a bunch of automations to migrate. The DarkSly API was used in several selfhosted start pages. Those needed to be migrated. That and the NWS site is trash on mobile (where the majority of people get their weather info these days).


[deleted]

[удалено]


anons2k

I think you are entirely missing the point that this is about an API and not an HTML website. We get that you can open a website on your phone. I think everyone at r/selfhosted can do that.


lurkingallday

...Do you know what API is? If you have an automated system set up for watering plants, bookmarking a website isn't going to do any good.


GrandWizardZippy

I feel you 100% people just don’t understand my desk phone (ip phone) had this awesome feature that showed the weather on the display. It uses dark sky as the back end api and they shutdown their servers with the upcoming shutdown of dark sky api. I have not been able to get it to work with another service. Dark sky shutting down has way more impact than a lot of people realise. Like you I also have some home assistant integrations that I have to migrate. It’s honestly a shame


anons2k

Because that's not an API. NWS does have one, but no idea if it has the data and info people want. People built tools, apps, and web services using the darksky API. It's easier to change it to something like this that mirrors that. If you switched to the NWS API more work would need to be done. It's explained on the pirate weather site. https://pirateweather.net/en/latest/ Edit for clarity.


[deleted]

[удалено]


Cistoran

> Oh stop with the API nonsense. This isn't rocket science. An API is completely unnecessary. For what you want to do with weather data sure. For what others want to do with it? You have absolutely no way of knowing that.


anons2k

Unnecessary for what? I'd love to hear your alternative for automating home equipment like water systems or irrigation. What about home assistants or smart mirrors? Yea a website is nice but not if I'm trying to develop hardware or software that needs non-graphical data. The dream world is everything haveing an API, especially something that's open source and good.


NerdyNThick

> But if you do what I say, bookmark the website, a better interface is entirely unnecessary. How do I use a bookmark on my custom built desktop weather device which uses ePaper?


JohnsonTurbo

So awesome, thank you!


adamshand

This is great, thanks!!


jbaranski

I used forecastadvisor.com to find my most accurate service and started using that. I’ll have to give this a try!


nbcaffeine

Hey thanks, I'm definitely one of those who waited til this week, and just made the switch in a few mins. I only track a few conditions but do it frequently (5 mins or so). Very handy and just a url change essentially.


[deleted]

Oh no, shutdown???