bpennypacker / WeatherFlow-Indigo-Plugin

Indigo Plugin for obtaining weather from WeatherFlow
GNU General Public License v2.0
3 stars 2 forks source link

WeatherFlow forecast availability #38

Open 4ParMan opened 2 years ago

4ParMan commented 2 years ago

Hi, Is there a way to access the WeatherFlow forecast via the API. Looking here: https://weatherflow.github.io/Tempest/api/swagger/#!/observations/getObservationsByDeviceId , it looks pretty complete - even if I would love to have a sandstorm Icon here in the south of Spain:-)

Any thoughts?

bpennypacker commented 2 years ago

This plug-in uses the WeatherFlow Websocket interface to receive events asynchronously, and it doesn't look like forecasting is available that way. It looks like this is meant to be called occasionally via an HTTP request like https://swd.weatherflow.com/swd/rest/better_forecast?station_id=12345&units_temp=f... and returns a JSON blob as a result. If you're familiar with python programming then it should be trivial for you to script this as an Indigo action. In the meantime I'll take a closer look at this and see how to deal with it. It might make sense to create a new plug-in for something like this rather than overloading the existing plug-in.

4ParMan commented 2 years ago

Thanks for getting back to me.Unfortunately, programming is not Something I do:(.It would be a really great addition to the plugin - or separately.Since we’re talking, can you give any input to why i do not get any udp updates from my Tempest since June 25th? I have restarted plugin etc. I did update to the latest version of indigo somewhere there.Direct access And Tempest website does update correctly.Any input would be appreciatedThanksSent from my iPhoneOn Jul 21, 2022, at 20:55, Bruce Pennypacker @.***> wrote: This plug-in uses the WeatherFlow Websocket interface to receive events asynchronously, and it doesn't look like forecasting is available that way. It looks like this is meant to be called occasionally via an HTTP request like https://swd.weatherflow.com/swd/rest/better_forecast?station_id=12345&units_temp=f... and returns a JSON blob as a result. If you're familiar with python programming then it should be trivial for you to script this as an Indigo action. In the meantime I'll take a closer look at this and see how to deal with it. It might make sense to create a new plug-in for something like this rather than overloading the existing plug-in.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

sumocomputers commented 1 year ago

@bpennypacker

I know this is old, but I'd like to add a vote for the ability to get forecast data from Weatherflow.

With the shutdown of Dark Sky API, finding good weather forecasts is increasingly hard, and it turns out Weatherflow forecasts are pretty darn good.

I know "forecast" usually refers to something like "cloudy with a chance of rain", but I am even more interested in something like the high and low temp for tomorrow, which is a form of forecast as well.

Thanks,

Chris

sumocomputers commented 1 year ago

@4ParMan

I am not a programmer either, but figured out how to get all the forecast data I want from WeatherFlow into Indigo. I posted on the Indigo Forums here:

https://forums.indigodomo.com/viewtopic.php?f=128&t=27234

Chris