DarkSky end of life next january - How to replace
chad at holeinthewoodsfarm.com
chad at holeinthewoodsfarm.com
Tue Sep 27 10:13:44 EDT 2022
Just an off the wall thought…
There are several weather integrations for Home Assistant, each using a different backend api (it defaults to meteo.io from the Netherlands, I believe.a. I’m using the NOAA one. There are lots of others.). They all get slightly different info, in slightly different formats, with slightly different granularity favoring slightly different geographic areas, but they each abstract the data into home assistant similarly.
Point being, people have figured out the apis, whether because they were documented, or by reverse engineering them. And HA stuff is open source. So, if you wanted to use, say, the NOAA api in XTension, you might be able to get a head start by downloading the code for the HA integration from GitHub. It’s all above my coding pay grade, but might give you a head start.
FWIW, back in ‘97 or so, I worked through the NOAA api in AppleScript in my XTension attachments script. It was difficult and messy, but it worked much of the time. It’s certainly not a trivial thing…
Sent from my iPhone
> On Sep 27, 2022, at 09:57, James Sentman <james at sentman.com> wrote:
>
>
>
> I’ve been looking for an alternative weather API ever since Dark Sky shut theirs down. Technically it was Apple that shut them down as it wanted their super local forecasts in it’s own weather app and so has no plans to offer it to other people any longer than they have to.
>
> I’ve had a quick look at the Tempest stuff but it seems to be that you need a tempest weather station to have an account with them? I can’t see a way to create an account and get an auth token that doesn’t start with my buying a device. If anyone knows differently or has experimented with it please let me know.
>
> I’ve started several times over the years to write a direct plugin for the NOAA national weather data stuff as that is free for regular individual use, or was the last time I looked, it’s just more complex and I don’t think offers the same highly localized forecasts that Dark Sky used to. I know I’ve asked for suggestions here in the past and then basically dropped it when the sites either wouldn’t work easily or would cost a subscription.
>
> That being said if anyone has any ideas better than the national weather data please do chime in with more info.
>
>
>
>> On Sep 20, 2022, at 8:01 PM, Dave Fleck <dfleck at pacifier.com> wrote:
>>
>> Forecast is available here:
>> https://weatherflow.github.io/Tempest/api/swagger/#!/forecast/getBetterForecast
>>
>> There’s an example at the bottom, but I think you need to get an authorization token first.
>>
>> Dave
>>
>>> On Sep 20, 2022, at 2:13 PM, Sean Lavigne <sean at houselavigne.us> wrote:
>>>
>>> I’m definitely not a programmer, but I looked through the Tempest WeatherFlow REST API information and I didn't see any forecast information:
>>>
>>> https://weatherflow.github.io/Tempest/api/
>>>
>>> On the WebSocket page there IS a reference to Get Forecast:
>>>
>>> https://weatherflow.github.io/Tempest/api/swagger/#!/forecast/getBetterForecast
>>>
>>> I would have no idea what to do with that information…
>>>
>>> On the IFTTT page, there are options for “Forecast Temperature Drops Below…” and “Forecast Temperature Rises Above…”
>>>
>>> https://www.ifttt.com/weatherflow
>>>
>>> If you’re not averse to using IFTTT, that might be an option for getting future temperatures. It would be nice if this data was onboard the local Tempest device.
>>>
>>> Cheers,
>>>
>>> Sean
>>
>
> Thanks,
> James
>
>
> James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com
>
>
>
>
> _______________________________________________
> XTensionList mailing list
> XTensionList at machomeautomation.com
> http://mail.machomeautomation.com/mailman/listinfo/xtensionlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20220927/7295fa5e/attachment.html>
More information about the XTensionList
mailing list