-
-
Notifications
You must be signed in to change notification settings - Fork 8
Description
I was using the home assistant open meteo solar forecast. I have East, South and West facing panels.
In the home assistant integration the definition is:
Azimuth (0 = North, 90 = East, 180 = South, 270 = West)
I am preparing some data for EMHass and used the same values for azimuth. I got the following error on my west facing panels (azimuth = 270):
open_meteo_solar_forecast.exceptions.OpenMeteoSolarForecastRequestError: Bad request
After some debugging I found that the open meteo definition is:
Panel Azimuth (0° S, -90° E, 90° W, ±180° N) in Open Meteo
Azimuth in this package is defined according to the Open Meteo definition and not as in the home assistant integration.
In the home assistant integration azimuth is passed as follows:
azimuth=entry.options[CONF_AZIMUTH] - 180