Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WeatherFlow forecast availability #38

Open
4ParMan opened this issue Jul 18, 2022 · 4 comments
Open

WeatherFlow forecast availability #38

4ParMan opened this issue Jul 18, 2022 · 4 comments

Comments

@4ParMan
Copy link

4ParMan commented Jul 18, 2022

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
Copy link
Owner

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
Copy link
Author

4ParMan commented Jul 21, 2022 via email

@sumocomputers
Copy link

sumocomputers commented Jun 10, 2023

@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
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants