[RELEASE] DarkSky.net Weather Driver, no PWS Required

@mluck Just wondering why are you putting any effort into using the DarkSky driver when DarkSky is pulling the plug on August 1, 2020?

Suggest using @Matthew 's excellent Open Weather driver

2 Likes

A rule like @craigspree's above should work to be true to the what the driver says Dark Sky is reporting. Just remember that 1) is it a forecast, that is not always accurate to your locations actual conditions. Some areas have more station density reporting to Dark Sky so they are more accurate than areas that have fewer stations reporting. And 2) the frequency you are polling Dark Sky. The conditions only update at the frequency you set in the driver. A rule like this will appear to perform better with more frequent intervals.

Good luck.

1 Like

Dark Sky is discontinuing the Android App on August 1, 2020. The IOS App should still function after that and the API (That this driver uses) will continue to work 'until the end of 2021'. Given that, this driver should function until the end of 2021, or whenever they do shutdown the Dark Sky API.

Yes I missed that exception for the API.

Weather forecasts, maps, and embeds available on the Dark Sky website will also shut down on August 1, 2020.

API
Our API service for existing customers is not changing today, but we will no longer accept new signups. The API will continue to function through the end of 2021.

Fair question. It’s just because I already use it and have for awhile. It’s on my list to move over, just haven’t gotten to it yet. I know the clock is ticking. :astonished:

1 Like

UPDATE: 09/14/2020 I am officially terminating ongoing support for this driver. Please switch over to the OWM version of this driver.

1 Like

why.. open weather is not currently working for alerts (due to a bug at noaa i belive not the driver) but alerts are still working here.

I believe he just means no further work is being done, not a issue as it works fine. As I understand it I have no choice but to keep using this driver as the OWM only works for Americans.

You can still use this driver. I still use this driver.

This is a community driver that @Matthew had made and was supporting - he is no longer supporting it which means no more updates to it with new features, or fixes if a bug is found.

I haven't experienced any bugs in ages so his lack of 'official support' for this should have zero impact on anyone using this driver currently. I will eventually switch over to OWM once we get closer to end-of-live for DarkSky.net public usage in the coming year.

4 Likes

well it will be going away in about a year anyway but until then... the color cast weather alerts i have ported also uses darksky but not this driver.. I will have to convert that over as well eventually to openweather.. not sure what you euros will do?

:man_shrugging:t3: Don't think anyone is working on anything so I guess we will just lose it. For me it improves things having it but it's not the end of the world if I don't have it.

To clarify: OWM is working for alerts. What is not optimal is that when there are no alerts, it does not provide a valid response code to the poll (looking for a response of 200 - OK). Today's update to that driver changed the logic so that condition now reported as 'There are no current alerts for this area' instead of 'Weather alerts are not available'.

Not true I had alerts last week through darksky but.open weather was failing. Search the threads.

As stated, the driver was updated today. If that happens with the current version, please me know.

OK will do

ok doing the same thing frost alert on darksky nothing on open weather

here are pics and log data

dev:7252020-09-16 12:37:40.479 pm infoDarkSky.net Weather Driver - INFO: DarkSkey.net Data: [alerts:[[severity:advisory, expires:1600347600, regions:[Alger, Baraga, Delta, Dickinson, Gogebic, Houghton, Iron, Keweenaw, Luce, Marquette, Northern Schoolcraft, Ontonagon, Southern Houghton, Southern Schoolcraft], description:...FROST ADVISORY IN EFFECT FROM 2 AM EDT /1 AM CDT/ TO 9 AM EDT /8 AM CDT/ THURSDAY... * WHAT...Temperatures as low as 32 will result in frost formation. * WHERE...Portions of central Upper and western Upper Michigan, especially inland from the Great Lakes. * WHEN...From 2 AM EDT /1 AM CDT/ to 9 AM EDT /8 AM CDT/ Thursday. * IMPACTS...Frost could kill sensitive outdoor vegetation if left uncovered. , time:1600322400, title:Frost Advisory, uri:https://alerts.weather.gov/cap/wwacapget.php?x=MI125F646D457C.FrostAdvisory.125F647D5B10MI.MQTNPWMQT.8085467a5b6351457cea6205478029d6]], currently:[summary:Clear, precipProbability:0, visibility:10, windGust:22.5, precipIntensity:0, icon:clear-day, cloudCover:0.31, windBearing:302, apparentTemperature:61.1, pressure:1015.2, dewPoint:53.51, ozone:313.1, nearestStormBearing:165, nearestStormDistance:33, temperature:61.1, humidity:0.76, time:1600274259, windSpeed:13.17, uvIndex:4], offset:-4, timezone:America/Detroit, latitude:47.12623, daily:[summary:No precipitation throughout the week., data:[[windGust:22.93, apparentTemperatureMinTime:1600315200, temperatureMax:61.72, icon:clear-day, precipIntensityMax:0.0025, windBearing:314, ozone:299.1, temperatureMaxTime:1600277160, apparentTemperatureMin:45.54, sunsetTime:1600301100, temperatureLow:42.78, precipType:rain, humidity:0.8, moonPhase:0.98, windSpeed:7.85, apparentTemperatureLowTime:1600340220, sunriseTime:1600256160, apparentTemperatureLow:38.88, summary:Clear throughout the day., precipProbability:0.2, temperatureHighTime:1600277160, visibility:10, precipIntensity:0.0008, cloudCover:0.32, temperatureMin:48.69, apparentTemperatureHighTime:1600277160, pressure:1015, dewPoint:50.12, temperatureMinTime:1600315200, uvIndexTime:1600279200, apparentTemperatureMax:61.22, temperatureHigh:61.72, temperatureLowTime:1600340520, apparentTemperatureHigh:61.22, time:1600228800, precipIntensityMaxTime:1600230420, windGustTime:1600272060, uvIndex:5, apparentTemperatureMaxTime:1600277160], [windGust:14.51, apparentTemperatureMinTime:1600340220, temperatureMax:53.61, icon:clear-day, precipIntensityMax:0.0019, windBearing:318, ozone:299.6, temperatureMaxTime:1600370160, apparentTemperatureMin:38.88, sunsetTime:1600387380, temperatureLow:40.76, precipType:rain, humidity:0.55, moonPhase:0.02, windSpeed:7.66, apparentTemperatureLowTime:1600425780, sunriseTime:1600342620, apparentTemperatureLow:38.07, summary:Clear throughout the day., precipProbability:0.1, temperatureHighTime:1600370160, visibility:10, precipIntensity:0.0002, cloudCover:0.07, temperatureMin:42.78, apparentTemperatureHighTime:1600370160, pressure:1025.4, dewPoint:32.21, temperatureMinTime:1600340520, uvIndexTime:1600364940, apparentTemperatureMax:53.11, temperatureHigh:53.61, temperatureLowTime:1600426200, apparentTemperatureHigh:53.11, time:1600315200, precipIntensityMaxTime:1600315620, windGustTime:1600315200, uvIndex:5, apparentTemperatureMaxTime:1600370160], [windGust:9.89, apparentTemperatureMinTime:1600425780, temperatureMax:54.9, icon:clear-day, precipIntensityMax:0.0004, windBearing:307, ozone:319.8, temperatureMaxTime:1600455540, apparentTemperatureMin:38.07, sunsetTime:1600473660, temperatureLow:40.4, precipType:rain, humidity:0.6, moonPhase:0.06, windSpeed:4.82, apparentTemperatureLowTime:1600512780, sunriseTime:1600429080, apparentTemperatureLow:36.76, summary:Clear throughout the day., precipProbability:0.09, temperatureHighTime:1600455540, visibility:10, precipIntensity:0.0002, cloudCover:0.1, temperatureMin:40.76, apparentTemperatureHighTime:1600455540, pressure:1030.2, dewPoint:34.23, temperatureMinTime:1600426200, uvIndexTime:1600451160, apparentTemperatureMax:54.4, temperatureHigh:54.9, temperatureLowTime:1600512720, apparentTemperatureHigh:54.4, time:1600401600, precipIntensityMaxTime:1600430040, windGustTime:1600488000, uvIndex:4, apparentTemperatureMaxTime:1600455540], [windGust:26.21, apparentTemperatureMinTime:1600512780, temperatureMax:60.02, icon:partly-cloudy-day, precipIntensityMax:0.0012, windBearing:185, ozone:295.6, temperatureMaxT

dev:332020-09-16 12:35:09.582 pm infoOpenWeatherMap.org Weather Driver - INFO: NWS Alert - response: [@context:[@version:1.1], type:FeatureCollection, features:[], title:current watches, warnings, and advisories for 47.12623 N, 88.602726 W, updated:2020-09-10T00:00:00+00:00]; Alert: null

dev:332020-09-16 12:35:09.358 pm infoOpenWeatherMap.org Weather Driver - INFO: Poll api.weather.gov/alerts/active: [uri:https://api.weather.gov/alerts/active?status=actual&message_type=alert,update&point=47.126230,-88.602726&urgency=unknown,future,expected,immediate&severity=unknown,moderate,severe,extreme&certainty=unknown,possible,likely,observed, requestContentType:application/json, contentType:application/json, timeout:30]

First, please move any additional support request for the OpenWeatherMap - NWS Alerts driver to that thread. They do not belong in the DarkSky thread.

DarkSky pulls their alert information from a number of different sources. The OpenWeatherMap - NWS Alerts driver pulls alerts exclusively from from your LAT/LON location from api.weather.gov/alerts/active. There is no assurance that just because DarkSky reports an alert condition that api.weather.gov will have that same alert. In fact when I put in the URL from your logs for the api.weather.gov/alerts/active it shows that it is not reporting any alerts. This is not an error in the driver.

The driver is reporting what api.weather.gov/alerts/active is showing. DarkSky must use some other logic (County/Region/Zone?) to pull in additional alerts that this driver does not. DarkSky uses the CAP (Common Alerting Protocol) section of weather.gov and this driver does not. That system cannot be accessed directly with just the LAT/LON coordinates and an additional query or queries would need to be made to replicate that. I have chosen not to do that at this time because I never saw any discrepancy in the alerts between the alerts DarkSky shows and what this driver shows from api.weather.gov/alerts/active. Obviously that is not the case in your area.

ok, thanks.. if you are not going to modify it.. I may take a look as frost warnings are particularly important for people with gardens etc.

Dark Sky is longer accepting new accounts for an API key. ApiXU still is but they do not work.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.